Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

slack-message-formatterSlack message 格式化工具

Agent Skill

用于处理 Slack 工作区里的频道、消息、线程、用户和通知信息。它适合让 Agent 查询团队沟通记录、整理上下文、回复线程或辅助协作提醒。使用时需要确认机器人或用户 token 是否具备目标频道访问权,私有频道和历史消息通常有额外权限限制;发送消息、@成员或批量读取对话时,应避免泄露内部讨论和敏感工作信息。

总安装

267

周安装

11

GitHub Stars

2,837

下载量

87
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:slack-message-formatter(Slack message 格式化工具)
来源仓库:https://github.com/davepoon/buildwithclaude
仓库路径:skills/slack-message-formatter
安装命令:
npx skills add https://github.com/davepoon/buildwithclaude --skill slack-message-formatter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/davepoon/buildwithclaude --skill slack-message-formatter

简介

将 Markdown 内容转换为 Slack 兼容格式,支持富文本预览与 webhook 推送两种输出路径。

  • 适用于公告撰写、通知格式化及 CI/CD 自动化消息发送等场景。
  • 可选择复制粘贴 HTML 或生成 mrkdwn 语法供机器人调用,保留排版样式一致性。
  • 使用前请确认目标渠道允许外部内容渲染,避免因权限问题导致显示异常。
  • slack-message-formatter 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Slack Message Formatter

Format messages for Slack with pixel-perfect accuracy. Converts Markdown to Slack-compatible output with two delivery paths:

  1. Copy-paste — Rich HTML that preserves formatting when pasted into Slack's compose box
  2. API/Webhook — Slack mrkdwn syntax for bots, automation, and CI/CD

When to Use This Skill

  • User asks to write a Slack message, announcement, or notification
  • User asks to format something "for Slack"
  • User wants to preview how a message will look in Slack
  • User wants to send a message via Slack webhook
  • User has Markdown content they want to share in Slack

What This Skill Does

  1. Generates content in Markdown — Claude writes the message in standard Markdown, its native format
  2. Converts to Rich HTML — Transforms Markdown into rich HTML that preserves formatting when pasted into Slack's compose box
  3. Converts to Slack mrkdwn — Transforms Markdown into Slack's proprietary mrkdwn syntax for API/webhook delivery
  4. Generates a Slack-themed preview — Creates an HTML preview page styled like the Slack UI and opens it in the browser
  5. Copies to clipboard — Automatically copies the rich HTML to the system clipboard for one-step paste into Slack

How to Use

Basic Usage

Write a Slack message announcing our Q2 product launch
Format this for Slack: We shipped 3 new features this week...
Create a Slack announcement for the engineering team about the new CI pipeline

Webhook/API Delivery

Send a deploy notification to Slack via webhook

Formatting Features

The converter handles all Markdown features and translates them correctly for Slack:

  • Bold, italic, strikethrough, inline code
  • Links and headings (converted to bold in Slack)
  • Tables (rich HTML tables for paste, code blocks for API)
  • Task lists with emoji checkboxes
  • Nested lists and blockquotes
  • Code blocks with syntax highlighting
  • Slack mentions (<@U012AB3CD>, <!here>, <!channel>)
  • 150+ emoji shortcodes converted to Unicode

Example

User: "Write a Slack message announcing our new feature"

Output (opened as a Slack-themed preview in the browser + copied to clipboard):

The preview shows a pixel-perfect Slack UI rendering. The user pastes directly into Slack with Cmd+V / Ctrl+V and the formatting is preserved.

User: "Send a deploy notification to our #deploys channel via webhook"

Output (sent via mrkdwn to the configured webhook):

*:rocket: Deploy Successful*

*Service:* payment-api
*Version:* v2.5.1
*Environment:* production
*Duration:* 47s

:white_check_mark: All health checks passing

Configuration

Env VariableDefaultDescription
SLACK_FORMATTER_CLIPBOARDtrueSet to false to disable auto-clipboard copy
SLACK_FORMATTER_PREVIEW_DIR/tmp/slack-formatterDirectory for preview HTML files
CCH_SLA_WEBHOOK(none)Slack webhook URL for sending messages

Tips

  • Always let the converter handle the Markdown-to-Slack translation; never write mrkdwn or HTML by hand
  • Slack mentions (<@U...>, <#C...>, <!here>) can be included directly in the Markdown
  • Tables work beautifully via the copy-paste path; for API delivery they become code blocks (Slack has no table syntax)
  • Preview files are timestamped so you can revisit them from conversation history

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.05%
按下载量换算30

Claude

30.61%
按下载量换算27

Cursor

18.98%
按下载量换算17

Gemini CLI

9.29%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills