wechat-article-formatter
Installation
SKILL.md
WeChat Article Formatter & Publisher
Format markdown articles with bm.md styling and publish directly to WeChat Official Account drafts via the official API.
Overview
- Read markdown file (typically
wechat.mdfrom article directory) - Upload local images to WeChat CDN via
media/uploadimgAPI - Replace local image paths with WeChat CDN URLs in markdown
- Render markdown to styled HTML via bm.md API with custom CSS
- Publish to WeChat draft via official
draft/addAPI
CRITICAL: Do NOT use third-party publishing APIs (e.g. 微绿 wechat-publish). They strip inline CSS styles. Always use WeChat's official draft/add API directly.
Credentials
Read from ~/.env:
| Variable | Purpose |