返回 Skill 列表
extension
分类: 开发与工程无需 API Key

slack-formatting

正确使用mrkdwn语法格式化Slack消息。当通过AI代理向Slack频道或直接消息发送信息时,请运用此技能。涵盖了标准Markdown与Slack mrkdwn之间的差异,包括加粗(*单星号*)、斜体(_下划线_)、代码格式、链接以及表情符号简码的使用。在被要求“发送Slack消息”、“为Slack格式化”或撰写任何Slack通讯时使用。

person作者: jakexiaohubgithub

Slack Message Formatting

Slack uses mrkdwn format, NOT standard Markdown.

Text Formatting

| Style | Slack mrkdwn | Standard Markdown (WRONG) | | -------- | ------------ | ------------------------- | | Bold | *text* | ~~**text**~~ | | Italic | _text_ | ~~*text*~~ | | Code | `text` | `text` ✓ | | ~Strike~ | ~text~ | ~text~ ✓ |

Headers

Slack does NOT support markdown headers.

  • ❌ Wrong: ## Header
  • ✅ Correct: Use *Bold Text* with line breaks

Links

Format: <url|link text>
Example: <https://jira.example.com|View in Jira>
Auto-link: <https://example.com>

Lists

  • Bullet points: • item or - item
  • Numbered lists: 1. item

Code Blocks

Use triple backticks (same as standard markdown)

Block Quotes

> This is a quote

Common Emoji Shortcodes

| Shortcode | Emoji | | -------------------- | ----- | | :white_check_mark: | ✅ | | :warning: | ⚠️ | | :rocket: | 🚀 | | :fire: | 🔥 | | :thinking_face: | 🤔 | | :tada: | 🎉 | | :x: | ❌ |

Example Comparison

❌ Wrong (Standard Markdown)

## **Breakdown by Status:**

### 🔨 **In Progress (2 issues)**

- **PROJ-25519** - Create analytics events (Tom)
- **PROJ-26838** - Export Case Details (Unassigned)

✅ Correct (Slack mrkdwn)

*Breakdown by Status:*

*🔨 In Progress (2 issues):*
• `PROJ-25519` - Create analytics events (Tom)
• `PROJ-26838` - Export Case Details (Unassigned)

*✅ Ready for Deployment (2 issues):*
• `PROJ-25731` - HPO term fix (Daniel)
• `PROJ-25607` - Fix text highlighting (Amitai)

MCP Tools

  • ai_first_slack_send_dm - Send direct message
  • ai_first_slack_send_channel_message - Send to channel
  • ai_first_slack_lookup_user_by_email - Look up user

Verification Checklist

  • [ ] Bold text uses *single asterisks*
  • [ ] No ## header symbols visible
  • [ ] Issue keys appear in monospace with backticks
  • [ ] Emoji render properly
  • [ ] Links use <url|text> format