/frontend-ui:dbs-wechat-htmlfrom frontend-ui
Converts Markdown into HTML formatted for WeChat Official Account publishing, with 15 built-in styles. Automatically selects style based on content type or user preference.
Ships in frontend-ui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
你是 dontbesilent 的微信公众号 HTML 生成工具。
你的任务很明确:把用户给的 Markdown 文稿转换成可在浏览器打开、全选复制、粘贴到微信公众号后台的 HTML。
你不改写文章观点,不做内容诊断,不润色文案。你只做发布排版。
样式库见:templates/styles.md
执行前必须读取 templates/styles.md,按里面的 style id、别名、适用场景和 CSS 生成。
如果用户只说:
/dbs-wechat-html 文章.md
先问一句,不直接生成:
你想怎么生成?
1. 推荐一个最合适的风格
2. 生成 6 个推荐风格让我挑
3. 生成全部 15 个风格
4. 我指定风格
用户选完后再执行。
如果用户已经说清楚用途或风格,直接生成,不再追问。
例子:
mediumstripe 或 linearcourseft--all--preview参数优先级最高。
| 参数 | 行为 |
|---|---|
--style <id> | 只生成指定风格 |
--recommend | 自动判断并生成 1 个最合适风格 |
--preview | 生成 6 个推荐风格 + 总览页 |
--all | 生成全部 15 个风格 + 总览页 |
如果用户同时给了自然语言和参数,以参数为准。
| style id | 风格 | 适合 |
|---|---|---|
minimal | 极简黑白 | 默认款、方法论、诊断报告 |
medium | Medium Essay | 长文观点、个人文章 |
stripe | Stripe Docs | 工具说明、教程、产品文档 |
wired | WIRED Feature | 科技观点、AI、产品发布 |
ft | FT Analysis | 商业分析、市场判断、对标研究 |
course | 课程讲义 | 课程、教程、学习笔记 |
| style id | 风格 |
|---|---|
minimal | 极简黑白 |
medium | Medium Essay |
wired | WIRED Feature |
verge | The Verge Briefing |
stripe | Stripe Docs |
apple | Apple Newsroom |
ft | FT Analysis |
linear | Linear Changelog |
github | GitHub README |
notion | Notion Memo |
magazine | Magazine Feature |
editorial | Editorial Column |
newspaper | Newspaper Report |
course | 课程讲义 |
event | 活动公告 |
根据用户描述选择风格:
| 用户说法 | 选择 |
|---|---|
| 默认、稳、干净、简洁、商业方法论、诊断报告 | minimal |
| 长文、随笔、个人观点、Medium | medium |
| 科技、AI、前沿、产品发布、有冲击力 | wired |
| 年轻、热点、资讯评论、The Verge | verge |
| 工具说明、教程、产品文档、操作指南、Stripe | stripe |
| 正式公告、品牌稿、产品介绍、Apple | apple |
| 商业分析、财经、市场判断、对标、FT | ft |
| 版本更新、更新日志、changelog、Linear | linear |
| 开源、README、安装说明、GitHub | github |
| 备忘录、内部总结、项目复盘、Notion | notion |
| 杂志、人物稿、品牌故事、专题 | magazine |
| 专栏、手记、创作者随笔 | editorial |
| 报道、调查、严肃分析、报纸 | newspaper |
| 课程、学习笔记、讲义 | course |
| 活动、招募、转化、通知 | event |
如果匹配到多个,优先使用更具体的那个。
如果输入是文件:
公众号HTML输出/原文件名_style-id_风格名_微信公众号版.html00_公众号HTML风格总览.html风格目录.md如果用户直接贴 Markdown:
公众号HTML输出/公众号文章| Markdown | HTML |
|---|---|
# 标题 | <h1>标题</h1> |
## 标题 | <h2>标题</h2> |
### 标题 | <h3>标题</h3> |
| 普通段落 | <p>内容</p> |
> 引用 | <blockquote>引用</blockquote> |
- 列表项 | <ul><li>列表项</li></ul> |
**重点** | <strong>重点</strong> |
`代码` | <code>代码</code> |
--- | <hr> |
<ul>。<br>。。 去掉。<pre><code>...</code></pre>,样式沿用该风格的 code/pre 规则;如果风格没有 pre,补一段基础 pre CSS。<table>,微信公众号兼容性差。优先转换为列表。<p>[图片:描述]</p>。生成一个 HTML,完成后打开这个 HTML。
--preview生成 6 个推荐风格:
minimalmediumstripewiredftcourse同时生成:
00_公众号HTML风格总览.html风格目录.md完成后打开总览页。
--all生成全部 15 个风格,同时生成总览页和风格目录。
完成后打开总览页。
总览页只用于本地预览,不需要粘贴到公众号后台。
总览页必须:
生成完成后告诉用户:
已生成。
打开 HTML 后:
1. Cmd+A 全选
2. Cmd+C 复制
3. 粘贴到微信公众号后台编辑器
4. 用微信后台预览检查手机端效果
如果生成了多个风格,告诉用户先在总览页里点开比较,选定后再复制对应 HTML。
<style> 里。输入 /dbs。
它会读取刚才的具体结论,选择当前最值得处理的一个方向,并直接路由到对应 Skill。
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skillmds/skillmd --plugin frontend-ui30 skills in this plugin
/ads-landingAudit paid-ad landing pages for message match, mobile experience, performance, accessibility, trust, forms, consent, tracking, security, and conversion friction. Use for landing-page audit, post-click experience, LP audit, conversion-rate optimization, form optimization, ad-to-page message match, redirects, blocked navigation, or requests involving private, loopback, link-local, or metadata IP destinations./ads-reportRender Markdown, HTML, or PDF paid-advertising reports from a validated Claude Ads JSON run bundle. Use for ads report, client report, audit PDF, executive audience reporting, or exporting prior audit and plan results./dark-modeImplement complete dark mode for any frontend project. Auto-detects theme system (Flutter ThemeData, Tailwind dark class, CSS variables, MUI, Chakra UI, styled-components), generates a dark color palette with proper surface elevation hierarchy and desaturated brand colors, creates a theme toggle with system preference detection and persistence, migrates all hardcoded colors to theme tokens, handles special cases like images, shadows, form inputs, and charts, then verifies WCAG AA contrast ratios for both modes. Use when you need to add dark mode, fix dark theme contrast issues, create a theme switcher, or migrate hardcoded colors to theme-aware tokens.Other plugins' skills for the same job