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.

Stars
★ 4k
Last updated
10d ago
License
NOASSERTION
Primary language
HTML

At a glance

How it runs
Agent plugin / skillCLI
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Python 3 (for validation scripts)npx (for installation)Shell / CLINetwork accessLocal filesystem
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
Source review
68/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).

  1. 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.
  2. A tech writer producing tutorials or tool roundups uses the default 'Moyu Green' theme for automatic chapter numbering, code blocks, and card layouts.
  3. A product manager has a Word/PDF document; they normalize it to Markdown with format-normalize, then select an appropriate theme for WeChat publishing.
  4. A design-focused public account wants a minimal aesthetic; they choose 'Graphite Minimal' or 'Zen Whitespace' for generous whitespace and serif quotes.
  5. 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.
  6. An internal newsletter team uses 'Olive Notes' to produce editorial-style pieces with editor's notes and dark summary boxes.

How do you install or deploy this agent?

Install via one of three methods:

  1. One-liner (recommended): npx skills add https://github.com/isjiamu/gzh-design-skill
  2. 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.
  3. 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.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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 68 · Some gaps Agent plugin / skillFree ★ 4k 10d ago HTML Codex · Claude Code
md2wechat: AI-Agent CLI for WeChat Official Account Publishing 47 · Major gaps CLIFreemium ★ 3.7k 4d ago Go Codex · Claude Code
Story Skills 80 · Good Agent plugin / skillFree ★ 328 4d ago JavaScript Codex · Claude Code
Hypit Video Workflows 71 · Some gaps Agent plugin / skillFree + model costs ★ 24k today TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
68/ 100 5-point scale 3.4 / 5
Trust 17/29
Reliability 9/14
Adaptability 15/18
Convention 11/18
Effectiveness 12/13
Verifiability 4/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

Evidence shows: the skill processes local Markdown files and outputs HTML, with no network requests or external data access, indicating low privilege requirements. The workflow requires user confirmation for theme selection, runs validation scripts before output, and provides a preview page for user review. Data flow is transparent: input and output are local files with no hidden data processing. No sensitive data is involved, but this is not explicitly stated. Dependencies are limited to Python standard library, but no dependency list or security audit is provided. External effects are limited to generating HTML files, with no system-level changes. Rollback mechanism is not explicitly documented, but version control could be used. Source attribution is clear: README and LICENSE credit the authors. Deductions: dependency security lacks specific dependency list or audit; rollback mechanism is not explicitly documented.

Reliability9 / 14 · 3.2/5

Evidence shows: the workflow described in README is consistent with SKILL.md and other files; scripts and documentation corroborate each other. Dependencies are Python standard library, ensuring high availability. Validation scripts provide clear error messages guiding users to fix issues. Deductions: no actual runtime testing, but static review found no inconsistencies.

Adaptability15 / 18 · 4.2/5

Evidence shows: README details suitable and unsuitable scenarios, clearly defining capability boundaries. Trigger is clear: user provides Markdown file and specifies theme. Environment fit: supports Claude Code, Codex, Cursor, etc., but specific environment configuration requirements are not provided. Deductions: trigger precision lacks specific command examples; environment fit is not detailed.

Convention11 / 18 · 3.1/5

Evidence shows: README has clear structure, including installation instructions, usage examples, FAQ, known limitations (platform limits), license (AGPL-3.0), and maintenance responsibility (authors). However, no version history or changelog is provided. Deductions: versioning information is missing.

Effectiveness12 / 13 · 4.6/5

Evidence shows: output is paste-ready HTML with preview and copy button, high usability. Marginal value: provides 6 themes and generator, saving layout time. Cost-benefit: simple installation, free to use, but requires some technical ability. Deductions: cost-benefit not quantified, but overall good.

Verifiability4 / 8 · 2.5/5

Evidence shows: feature descriptions in README align with scripts and documentation, but no independent verification. Fact and inference separation: README clearly distinguishes functional descriptions from design philosophy. Deductions: cross-source corroboration is insufficient, relying solely on single source.

Risks and how to mitigate them
  • Dependency security lacks a specific dependency list or security audit; users should verify dependencies themselves.
  • Rollback mechanism is not explicitly documented; users are advised to use version control.
  • Version history or changelog is missing; users should monitor updates.
Evidence confidence: Low Reviewed Aug 11, 2026 Reviewed revision ba1f4175519b New commits since this review; the score may not cover them
Review evidence README.en.mdLICENSE
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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-skill
    View on GitHub ↗
  2. assets-v1 预览图资源 · Preview Assets
    Release notes excerpt
    README/文档用的主题预览长图,独立托管在 Release,不占仓库体积。
    View on GitHub ↗

FAQ

Will my styles be lost after pasting into WeChat?
No. All styles are inline and text is wrapped in <span leaf>, enforced by validation scripts, so formatting survives the paste.
Do I need a specific model? Will Chinese models work?
No. The typesetting logic lives entirely in components and scripts, so Claude, GPT, Gemini, DeepSeek, Kimi, Qwen, and others all produce consistent results.
Can I generate multiple themes at once for comparison?
Yes. Say 'render this article with these themes' to produce multiple HTML versions for selection.
What if the output is non-compliant?
Run scripts/validate_gzh_html.py; if it reports ERRORs, revise the assembly until both checks pass. Further issues can be filed on GitHub.
How do I update to the latest version?
Re-run the npx skills add command, or do a git pull in the installation directory.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents