draft-announcement — Claude Code command for Slack drafts
The draft-announcement Claude Code command drafts a formatted Slack announcement and saves it for review. It asks about the channel, audience, message, timing, and tone when those details are missing.
MIT ★ 36,654 updated 2026-10-24
/plugin marketplace add anthropics/knowledge-work-plugins
/plugin install slack-by-salesforce@knowledge-work-pluginsWhat draft-announcement does
The command gathers the announcement context, including its destination channel, audience, main point, date or deadline, and tone. It skips questions already answered in the request.
It then writes a Slack-formatted draft with a clear opening and, where relevant, bullets and a call to action. The draft is shown for review first. After approval, the command looks up the channel with slack_search_channels and creates the draft using slack_send_message_draft; it does not send the message.
What it helps with
- write an announcement for a Slack channel
- turn a key message into a clear call to action
- save an approved announcement as a Slack draft
Example prompts for the agent
- Draft a Slack announcement about the release date moving.
- Write a draft for the team channel announcing a new process.
- Prepare an employee announcement with a date and a registration call to action.
How to install draft-announcement
1Plugin marketplace
/plugin marketplace add anthropics/knowledge-work-plugins/plugin install slack-by-salesforce@knowledge-work-plugins2Manually: put the files in place
.claude/commands/draft-announcement.mdCall it with /draft-announcement. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/draft-announcement.mdCall it with /prompts:draft-announcement. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/draft-announcement.prompt.mdManually: put the files in place
.gemini/commands/draft-announcement.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about draft-announcement
How do I install draft-announcement in Claude Code?
Add the marketplace with /plugin marketplace add anthropics/knowledge-work-plugins, then install the plugin with /plugin install slack-by-salesforce@knowledge-work-plugins. The command file is also listed as .claude/commands/draft-announcement.md.
What does draft-announcement do?
It gathers missing details, writes a Slack-formatted announcement, and presents it for review. Once approved, it creates a draft in Slack rather than sending the message.
What happens after I approve the announcement?
The command finds the target channel ID with slack_search_channels, then creates a draft through slack_send_message_draft. The draft can be reviewed and sent from the Slack client.
Source text
draft-announcement.md · MIT
--- description: Draft a well-formatted Slack announcement and save it as a draft --- Given the topic or context provided in $ARGUMENTS: 1. Ask the user the following clarifying questions (skip any that are already clear from the provided context): - Which channel should this announcement be posted in? - Who is the target audience? - What is the key message or call to action? - Is there a deadline or date to highlight? - What tone is appropriate — formal, casual, or urgent? 2. Compose the announcement following Slack formatting best practices: - Use Slack's mrkdwn syntax: `*bold*` for emphasis (not `**bold**`), `_italic_` for secondary emphasis, `>` for callouts. - Lead with the most important information — don't bury the point. - Use a clear, descriptive opening line that works as a headline. - Keep paragraphs short (2-3 sentences max). - Use bullet points for lists of items or action steps. - Include relevant emoji sparingly to aid scanning (e.g., :mega: for announcements, :calendar: for dates, :point_right: for action items). - End with a clear call to action or next step if applicable. 3. Present the draft to the user for review. Offer to adjust tone, length, or formatting. 4. Once the user approves, use `slack_search_channels` to find the target channel ID, then use `slack_send_message_draft` to create the draft in Slack. 5. Let the user know the draft is ready in Slack and they can review and send it from the Slack client.
© Salesforce · MIT · anthropics/knowledge-work-plugins