/ 目录 / 演练场 / wechat-article-formatter-skill
● 社区 iamzifei ⚡ 即开即用

wechat-article-formatter-skill

作者 iamzifei · iamzifei/wechat-article-formatter-skill

Format markdown articles for 微信公众号 publishing — turn a draft into properly-styled WeChat-ready HTML with one prompt.

WeChat公众号's editor is notoriously picky about HTML. This skill takes a Markdown article and produces the inline-styled HTML WeChat accepts — headings, quotes, code blocks, images all rendered in your chosen theme. Supports custom styling.

为什么要用

核心特性

实时演示

实际使用效果

wechat-article-formatter-skill.replay ▶ 就绪
0/0

安装

作者仓库 · Claude Skills 官方文档

使用场景

实战用法: wechat-article-formatter-skill

Publish a technical article to 公众号 without formatting pain

👤 Chinese-speaking tech writers, 运营 ⏱ ~10 min beginner

何时使用: You wrote in Markdown and need to post to WeChat within 15 minutes.

步骤
  1. Feed the draft
    使用 wechat-article-formatter-skill. 这是我的Markdown文章,帮我转成公众号可用的HTML:[paste draft]✓ 已复制
    → Inline-styled HTML output with proper heading hierarchy
  2. Tweak the theme
    把主色从蓝色换成绿色,正文字号略小一点。✓ 已复制
    → Updated HTML with theme diff
  3. Copy and paste
    给我最终版本,我要复制到公众号编辑器。✓ 已复制
    → Clean HTML block ready for WeChat

结果: An article that looks good on WeChat without manual CSS fighting.

注意事项
  • Images break — WeChat requires re-uploaded images — Upload images in WeChat's media library first; skill leaves img placeholders

Build a reusable brand theme for every post

👤 公众号 teams wanting visual consistency ⏱ ~20 min intermediate

何时使用: You're about to post the 10th article and realize each one looks different.

步骤
  1. Define the theme
    用 wechat-article-formatter-skill 帮我定义品牌主题: 主色 #1A73E8,标题 PingFang,正文行距 1.8。✓ 已复制
    → Saved theme file with all token defaults
  2. Apply across drafts
    对 drafts/ 里的所有文章应用这个主题。✓ 已复制
    → Batch-formatted HTMLs

结果: Every post looks like it came from the same brand.

搭配使用: filesystem

组合

与其他 MCP 搭配,撬动十倍杠杆

wechat-article-formatter-skill + filesystem

Batch-format a drafts/ folder

格式化 drafts/ 里的每一篇文章,输出到 formatted/。✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
format_article markdown, theme name Every article 0
save_theme theme spec Once per brand 0
preview_html html string Before pasting 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
Modest — text in, HTML out
费用
Free
提示
Save theme once; don't re-specify every article.

安全

权限、密钥、影响范围

凭据存储: None
数据出站: None from skill

故障排查

常见错误与修复

Layout broken after paste into WeChat

WeChat stripped something; re-run with fallback inline styles

Images missing

Upload to WeChat media library and replace placeholders manually

Code blocks don't preserve language highlighting

WeChat doesn't support JS-based highlighters; skill bakes colors inline — verify the theme has them

替代方案

wechat-article-formatter-skill 对比其他方案

替代方案何时用它替代权衡
md2wechat / wechat-format online toolsOne-off, no Claude integrationCan't batch; no customization via prompts
wechat-article-publisher-skillYou want to auto-publish, not just formatRequires WeChat API credentials

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills