Wechat Article Formatter

Format markdown and publish to WeChat Official Account via bm.md rendering + WeChat official API 新手引导:输入 `/公众号排版 新手`、「这个怎么用」「第一次用」「能干嘛」时,走 SKILL.md 的〈新手上路〉,不要直接开始干活。

77 stars 11 forksWriting & Content

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add iamzifei/wechat-article-formatter-skill --skill wechat-article-formatter
Manual install
git clone --depth 1 https://github.com/iamzifei/wechat-article-formatter-skill.git /tmp/wechat-article-formatter-skill
mkdir -p ~/.claude/skills
cp -r /tmp/wechat-article-formatter-skill/. ~/.claude/skills/wechat-article-formatter

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the 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

1. Read markdown file (typically `wechat.md` from article directory)
2. Upload local images to WeChat CDN via `media/uploadimg` API
3. Replace local image paths with WeChat CDN URLs in markdown
4. Render markdown to styled HTML via bm.md API with custom CSS
5. Publish to WeChat draft via official `draft/add` API

**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 |
|----------|---------|
| `WECHAT_APP_ID` | WeChat Official Account AppID |
| `WECHAT_APP_SECRET` | WeChat Official Account AppSecret |

If not found, prompt the user to provide them and save to `~/.env`.

## Workflow

### Step 1: Identify Input

The user provides a markdown file path (e.g. `wechat.md` in an article directory).

Detect the article directory to find:
- `promotion.md` → extract digest/summary
- `_attachments/` → local images
- Brand config from the conversation context → author name

### Step 2: Get WeChat Access Token

```python
params = urlencode({
    'grant_type': 'client_credential',
    'appid': WECHAT_APP_ID,
    'secret': WECHAT_APP_SECRET
})
# GET https://api.weixin.qq.com/cgi-bin/token?{params}
```
Read the full skill on GitHub

Details

Skill name
wechat-article-formatter
Repo updated
12 August 2026

FAQ

What does the Wechat Article Formatter skill do?

Format markdown and publish to WeChat Official Account via bm.md rendering + WeChat official API 新手引导:输入 `/公众号排版 新手`、「这个怎么用」「第一次用」「能干嘛」时,走 SKILL.md 的〈新手上路〉,不要直接开始干活。

How do I install the Wechat Article Formatter skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add iamzifei/wechat-article-formatter-skill --skill wechat-article-formatter. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Wechat Article Formatter popular?

It lives in iamzifei/wechat-article-formatter-skill, which has 77 GitHub stars and 11 forks.

Related skills

Unslop

79

asavvin-pixel/unslop

Removes signs of AI generation from English text and prevents them from appearing in new writing. Works on three levels: typography and mechanics, vocabulary and rhetoric, structure and epistemics. Use whenever the user asks to "humanize", "unslop", "de-AI", "make this sound human", "remove the AI style", "make it not sound generated". Also apply from the first draft when writing ANY English text for people: posts, articles, emails, reports, docs, landing pages, product copy. Do not wait to be asked. If the text is in English and a person will read it, this skill applies.

Writing & Content

Typefully

63

typefully/agent-skills

Create, schedule, and manage social media posts via Typefully. ALWAYS use this skill when asked to draft, schedule, post, or check tweets, posts, threads, or social media content for Twitter/X, LinkedIn, Threads, Bluesky, Mastodon, or Substack Notes, or when the user drops a Typefully draft URL such as https://typefully.com/?a=<social_set_id>&d=<draft_id>.

Writing & ContentIn 1 list

Content Risk Detector

57

liuxingqitd/content-risk-detector

检测短视频逐字稿是否违反抖音、小红书、视频号的社区规范,识别违规风险点,提供分级风险报告和具体修改建议。触发词: "内容合规检测"、"逐字稿检测"、"风险检测"、"短视频合规"、"平台规范检测

Writing & Content10

Developer Documentation

81

NateBJones-Projects/developer-documentation-skill

Create, restructure, or maintain accurate developer documentation for software, tools, automations, packages, APIs, SDKs, CLIs, installations, migrations, operations, and troubleshooting. Use when the user asks for a README, overview, quickstart, tutorial, how-to guide, concept page, reference, API or CLI documentation, installation guide, runbook, migration guide, release notes, troubleshooting page, or a complete documentation set.

Writing & Content

Knoxhub Blog

61

rediumvex/seo-blog-writer-claude

Transform any research material into SEO+GEO-optimized blog posts for Knox Hub. Takes any input (URL, article text, notes, video transcript, competitor post, topic idea) and rewrites it as natural human-sounding content, then fills in all fields for the Knox Hub post editor: title, excerpt, SEO settings, FAQ schema, table of contents, sticky sidebar, and full article content in Markdown. Output is ready to copy-paste into your blog/CMS post editor. Use when asked to "write a post", "rewrite this", "сделай пост", "напиши статью", "перепиши это для блога", "create blog post", or any content crea

Writing & Content

Gc Muted Zine Poster V0 1

90

moonlin1213/muted-zine-poster-v01

Generate Muted Zine Poster v0.1 poetic paper-poster prompts and the matching generated image. Use when the user gives a theme, sentence, object, mood, article idea, photo, or content brief and wants a quiet Japanese/Korean zine-like editorial poster with large negative space, aged paper texture, experimental typography, and a restrained muted palette without high-chroma color blocks. This is the low-saturation sibling of gc-minimal-zine-poster-v0-1.

Writing & Content

Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.