formatting-slack-messages
Skill by PostHog
Builds and validates Slack Block Kit messages, modals, and App Home layouts. Useful for anyone formatting Slack output with tables, cards, buttons, and menus.
Install formatting-slack-messages
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/.agents/skills/formatting-slack-messages ~/.claude/skills/formatting-slack-messagesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install formatting-slack-messages in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/.agents/skills/formatting-slack-messages ~/.gemini/antigravity-cli/skills/formatting-slack-messagesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install formatting-slack-messages in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The formatting-slack-messages skill guides an AI assistant through building Slack Block Kit messages, modals, and App Home layouts. It starts by identifying the surface and the change, then reads the live Block Kit schemas before choosing components such as sections, tables, cards, carousels, and task cards. It covers text formats like mrkdwn and native markdown blocks, and accessibility and fallback text.
It ends with validation through the blocks.validate method, which checks a payload's schema without requiring any scopes. The skill then recommends inspecting the layout in Block Kit Builder or a live authorized message. It is for Slack formatting work and excludes workspace setup. Its comparison tables are not treated as permanent schemas.
Written from the project's SKILL.md and checked against it.
What it can do
- Surface identificationIdentifies whether a payload is a message, modal, or App Home view before changing it.
- Block selectionMatches content to blocks such as tables, cards, carousels, and task cards.
- Live schema readingReads current Block Kit schemas and examples before building a payload.
- Payload validationValidates blocks, messages, or views with the blocks.validate method and reads error pointers.
- Text formattingHandles mrkdwn, native markdown blocks, and rich_text, and escapes dynamic values.
- Accessibility supportAdds useful alt text and fallback text, and checks that button labels explain their action.
- Chart handlingChooses between an image block and a native chart block for chart data.
- Rendering reviewGuides layout checks in Block Kit Builder and on live messages with sample content.
What you need
- An available Slack API client or connector, for validation
- Block Kit Builder, for rendering inspection
- Slack CLI, only if one is available
Try asking
- Build a Slack Block Kit message with a table of this week's results.
- Validate this Slack modal JSON and fix any blocks.validate errors.
- Redesign this App Home view with empty-state and refresh handling.
Good to know
- Not for workspace setup.
- Schema validation does not confirm surface support, block counts, or visual layout.
- Legacy colored attachments can collapse, so check block support before nesting.
- Comparison tables in the skill are not permanent schemas; read live docs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/formatting-slack-messages/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/block-selection.md10 KB
Alternatives to formatting-slack-messages
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
formatting-slack-messages: common questions
Does this skill validate Slack payloads?
Yes. It sends one of blocks, message, or view to blocks.validate and fixes reported errors. Schema success does not prove visual or functional approval.
Does it help with Slack workspace setup?
No. The description says it is not for workspace setup.
Does it need another Slack skill installed?
No. The source says it is self-contained and another installed skill is not required.
How do I install formatting-slack-messages?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is formatting-slack-messages free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is formatting-slack-messages safe to use?
It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to formatting-slack-messages?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
