
Wechat Article Formatter
Converts Markdown articles into HTML formatted specifically for WeChat's publishing platform, complete with syntax highlighting, responsive tables, and custom components like info cards and badges. The tool uses an AI-focused purple-blue-green theme and supports special syntax for alerts (:::), badges ([!NEW], [!AI]), and WeChat-specific formatting quirks like auto-removing H1 tags since WeChat has a separate title field. The workflow is straightforward: point it at your Markdown file, run the Python converter with the preview flag, copy the rendered HTML straight into WeChat's editor. The inline CSS means styles survive the copy-paste, though you'll need to re-upload any images. Cuts formatting time from 30 minutes to about 2 minutes if you're publishing technical content to Chinese audiences.
- skills.sh installs
- 157
- GitHub stars
- 72
- last updated
- Aug 21, 2026
Install
$ npx -y skills add solar-luna/fully-automatic-article-generation-skill --skill wechat-article-formatter --agent claude-codeInstalls into .claude/skills of the current project.
Files
微信公众号文章格式化工具(Claude 执行指南)
目标: 将 Markdown 文章转换为适配微信公众号的精美 HTML,实现一键发布。
核心价值: 效率提升 15 倍(30分钟 → 2分钟),格式一致专业。
全新升级: 使用 AI 科技主题,专为 AI 领域内容设计,支持丰富的视觉组件和自定义语法。
主题说明
本工具使用 AI 科技主题(ai-tech-theme),专为 AI 领域内容设计:
- 渐进式紫蓝绿配色(保留原紫色,扩展至青、绿等辅助色)
- 丰富的视觉组件(信息卡片、徽章、表格、代码块等)
- AI 领域专用组件(模型对比、Prompt 示例、API 调用、性能指标)
- Atom One Dark 代码高亮
- 响应式设计,移动端友好
新增组件使用
信息卡片
使用 ::: 语法创建不同类型的信息框:
::: info
这是一条信息提示
:::
::: success
操作成功!模型训练完成。
:::
::: warning
注意:此操作会消耗大量 tokens
:::
::: danger
错误:API key 无效
:::
::: tech
技术提示:使用 --temperature 参数控制输出随机性
:::
徽章标签
使用 [!TEXT] 语法添加徽章:
GPT-4 [!NEW] 支持多模态输入 [!AI]
Claude Opus [!推荐] 具有最强推理能力
支持的徽章类型:
[!NEW]- 渐变紫蓝徽章(新功能)[!AI]- 青色徽章(AI 相关)[!推荐]- 紫色徽章(推荐内容)[!成功]- 绿色徽章(成功状态)[!警告]- 黄色徽章(警告提示)
⚡ 执行流程(严格遵守)
步骤1:获取输入文件
场景判断:
| 场景 | 如何处理 |
|---|---|
| 用户提供文件路径 | 直接使用该路径 |
| 用户粘贴 Markdown 内容 | 先使用 Write 工具保存为 .md 文件 |
| 刚使用过 wechat-tech-writer | 自动查找最新生成的 .md 文件(见集成指导) |
| 用户只说"美化文章" | 询问用户:文件路径或粘贴内容 |
Sponsors
Details
- Repository
- github.com/solar-luna/fully-automatic-article-generation-skill
- Category
- Frontend Development
- First seen
- Jun 3, 2026