AgentSkillsCN

slack-formatting

Slack 消息撰写格式化指南。每当代理撰写、草拟或发布 Slack 消息时均可参考使用。

SKILL.md
--- frontmatter
name: slack-formatting
description: Formatting guidelines for composing Slack messages. Use whenever the agent composes, drafts, or posts a Slack message.

Slack Message Formatting

When composing Slack messages, use proper formatting:

Code & Technical Terms

  • Use backticks for: code snippets, function names, variable names, file paths, CLI commands, class names, package names
  • Example: "The fetchData function in src/api/client.ts returns a Promise"

Formatting Syntax

  • *bold* for emphasis or important terms
  • _italic_ for subtle emphasis
  • `code` for inline code
  • ~strikethrough~ for corrections
  • > for quotes

Links

Link nouns, not verbs. Avoid calls to action.

Azure DevOps Resources

Always link to Azure DevOps resources when mentioning them:

Best Practices

  • Keep messages concise and scannable
  • Use bullet points for lists
  • Mention users with @name only when their attention is needed