gzh-design-skill — WeChat Article Typesetting Agent
Turn Markdown into paste-ready WeChat article HTML with 6 curated themes, a theme generator, and two-stage quality checks.
- Source repo
- isjiamu/gzh-design-skill
- Stars
- ★ 4.5k
- Last updated
- 1mo ago v1.0.0
- FARS reviewed
- Nov 08, 2026
- License
- NOASSERTION
- Primary language
- HTML
- FA score
- 67/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A blogger finishes a long-form opinion piece in Markdown and wants a classic editorial look; they use the 'Red-White' theme to auto-generate keyword underlines and highlighted quotes.
- Not a fit if
- Teams publishing to platforms other than WeChat Official Account
- Users wanting the AI to write articles; it only formats existing Markdown
- Closed-source or commercial projects unwilling to accept AGPL-3.0 terms
- Maintenance
- Commits in the last 6 monthslast commit 2026-10-21latest release v1.0.0 (2026-07-06)+6.9 ★/day over 7 days
- Source review
- 67/100 · Some gaps
What does this agent do, and when should you use it?
gzh-design-skill is a skill for AI agents (Claude Code, Codex, Cursor, etc.) that converts Markdown into polished, fully-inline HTML ready to paste into the WeChat Official Account editor. It ships with 6 hand-crafted themes (Moyu Green default, Red-White, Graphite Minimal, Zen Whitespace, Moyu Ticket, Olive Notes), each a complete component library, plus a theme generator that creates new themes from a one-line description or a reference image. The workflow is defined in SKILL.md and relies on references/theme-*.md component libraries and two validation scripts (scripts/component_lint.py and scripts/validate_gzh_html.py) to enforce platform constraints and prevent formatting loss. Output includes clean HTML and a preview page with a one-click copy button. The skill is model-agnostic, producing consistent results across Claude, GPT, Gemini, and Chinese models.
The skill reads a Markdown file, recommends a theme based on article type, reads the corresponding theme component library (references/theme-*.md) and shared components (references/common-components.md), then parses headings, sections, bold, highlights, quotes, images, code blocks, and lists. It assembles HTML using real components from the library, applying features like automatic section numbering, keyword underlining, full-width punctuation normalization, and deduplicated author signatures. It then runs scripts/validate_gzh_html.py to verify compliance (zero ERRORs required) and outputs clean HTML plus a preview page with a copy button. The theme generator workflow (references/theme-generator.md) collects user preferences, generates 45-75 block component libraries, converts them to standard theme library format, registers in theme index, and runs component_lint.py until clean. It also includes format normalization for docx/pdf/plain text (references/format-normalize.md).
- A blogger finishes a long-form opinion piece in Markdown and wants a classic editorial look; they use the 'Red-White' theme to auto-generate keyword underlines and highlighted quotes.
- A tech writer producing tutorials or tool roundups uses the default 'Moyu Green' theme for automatic chapter numbering, code blocks, and card layouts.
- A product manager has a Word/PDF document; they normalize it to Markdown with format-normalize, then select an appropriate theme for WeChat publishing.
- A design-focused public account wants a minimal aesthetic; they choose 'Graphite Minimal' or 'Zen Whitespace' for generous whitespace and serif quotes.
- A user wants a unique style; they ask the agent to generate a new theme from a description like 'monochrome magazine, Klein blue accents, serif font' and reuse it later.
- An internal newsletter team uses 'Olive Notes' to produce editorial-style pieces with editor's notes and dark summary boxes.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx skills add https://github.com/isjiamu/gzh-design-skill
- Config files
~/.claude/skills/gzh-design
How do you install or deploy this agent?
Install via one of three methods:
- One-liner (recommended):
npx skills add https://github.com/isjiamu/gzh-design-skill - Let the agent install it: tell any agent 'Please find and auto-install the skill at https://github.com/isjiamu/gzh-design-skill' — it will clone it to the skills directory.
- Manual clone:
git clone https://github.com/isjiamu/gzh-design-skill.git ~/.claude/skills/gzh-design
How do you use this agent?
After installation, tell the agent: 'Use Moyu Green to format this article as WeChat HTML: article.md'. The agent will recommend a theme for confirmation, read the component library, parse the Markdown, assemble the HTML, run validation, and output a preview page. Open the preview in a browser, click 'Copy to WeChat' in the top-right, and paste into the editor. To manually verify, run python3 scripts/validate_gzh_html.py out.html.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Two-stage validation scripts (component_lint.py + validate_gzh_html.py) deterministically check platform restrictions, not relying on model compliance.
- All styles are inline and text is wrapped in <span leaf> to avoid WeChat's content filters, ensuring paste fidelity.
- Includes 6 curated themes plus a theme generator for custom styles, covering most content types.
- Model-agnostic: works consistently across Claude, GPT, Gemini, and Chinese LLMs because logic is embedded in components and scripts.
- Tailored exclusively for WeChat Official Account; not suitable for other platforms or web pages.
- Requires command-line experience (Python validation scripts), which may be a barrier for non-technical users.
- Generated themes must pass component_lint.py with zero errors to be usable; otherwise they may violate platform rules.
- Licensed under AGPL-3.0, requiring derivative works to be open-sourced; commercial or closed-source use is restricted.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| gzh-design-skill — WeChat Article Typesetting Agent This agent | 67 · Some gaps | Agent plugin / skillFree | ★ 4.5k | 1mo ago | HTML | Codex · Claude Code |
| md2wechat: AI-Agent CLI for WeChat Official Account Publishing | 70 · Some gaps | CLIFreemium | ★ 3.8k | 6d ago | Go | Codex · Claude Code |
| Story Skills | 79 · Good | Agent plugin / skillFree | ★ 480 | 2d ago | JavaScript | Codex · Claude Code |
| Academic Translation Skills | 73 · Some gaps | Agent plugin / skillFree + model costs | ★ 146 | 2d ago | Python | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
SKILL.md describes theme confirmation, with confirmation skipped only when the user explicitly requests automatic layout. It identifies the input, component libraries, output files, and validation scripts, and its described scope is centered on local layout work. Deductions: there is no guidance for handling sensitive articles or images; dependency security and recovery practices are not described, including recovery from overwritten files; the co-author statement provides attribution clues, but publisher identity remains unverified.
README and SKILL.md are broadly consistent about theme selection, component libraries, HTML output, and validation, and describe fixing errors and filing an issue if problems persist. Deductions: claims about deterministic validation are not supported by script source in this sample, and dependency setup and availability are only briefly covered.
README lists several article types and suitable themes, and excludes web pages, slides, and article writing. SKILL.md gives concrete trigger phrases and boundaries for non-WeChat use. Deduction: although support for Claude Code, Codex, Cursor, and other agents is claimed, the sample does not show installation or capability differences across environments.
SKILL.md organizes the workflow around input, theme selection, parsing, assembly, validation, and output. README provides installation options, examples, an FAQ, and platform constraints. The LICENSE file contains the AGPL-3.0 text. Deductions: the supplied license metadata is NOASSERTION and conflicts with the repository LICENSE; version history, maintenance ownership, and maintainer details are limited, and installation notes do not cover dependencies or environment differences.
The stated deliverables include paste-ready HTML, a preview page with a copy button, six themes, a theme generator, and long-form layout rules, which could reduce manual formatting work. Deduction: theme generation and non-Markdown input handling add steps; the claimed benefit is described but not supported by execution results in this sample.
README and SKILL.md both describe two validation gates and output rules, with named scripts, commands, and an error-handling path. Deductions: this sample contains no script source, test results, or independent material to corroborate those claims; the documentation separates design guidance from operating steps, but some performance guarantees remain unverified project claims.
- This is a static review of the supplied README, SKILL.md, and LICENSE excerpts; the validators, dependencies, and actual output were neither shown in the materials nor executed.
- Check the license metadata against the LICENSE file before use. The materials do not explain data handling between local files, images, and model services when processing sensitive content.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v1.0.0 v1.0.0 · 联名首发
Release notes excerpt
甲木 × 摸鱼小李 联名首发 🎉 微信公众号排版技能 —— 把 Markdown 一键排成可直接粘进公众号编辑器的精致 HTML。 核心 - 6 套精选厚主题:摸鱼绿(默认)· 红白 · 石墨极简 · 留白禅意 · 摸鱼票据 · 橄榄手记 - 主题生成器:一句话 / 参考图现造新主题并复用 - 文章类型 → 配方表装配、关键词下划线、全角标点、图片自适应 - 双关卡质量校验、一键复制预览页、样式粘贴不掉 - AGPL-3.0 · 欢迎 AI Agent / 模型厂商共创 安装:npx skills add https://github.com/isjiamu/gzh-design-skillView on GitHub ↗ -
assets-v1 预览图资源 · Preview Assets
FAQ
Will my styles be lost after pasting into WeChat?
Do I need a specific model? Will Chinese models work?
Can I generate multiple themes at once for comparison?
What if the output is non-compliant?
How do I update to the latest version?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.