GZH Design Skill: Converting Markdown to Paste-Ready HTML for WeChat Official Accounts

Introduction

The backend editor of WeChat Official Accounts (MP) has limited support for layouts. A common practice is to hand-write HTML, use third-party formatting tools, and then paste the content in bulk. Since manuscripts often originate from Word, PDF, or plain text, they must first be organized into clearly structured Markdown. This is followed by separate processing for tables of contents, code blocks, blockquote styles, and theme unification—steps that are numerous and prone to layout distortion after pasting.

Here, we introduce GZH Design Skill: a tool that runs within an Agent to convert manuscripts into HTML tailored for the Official Account editor. It supports selecting themes from a library or generating custom component libraries on demand.

What is this?

GZH Design Skill is a community Skill on SkillHub (located at @user_c1ee5550/gzh-design-skill, version 1.0.0, category content-creation). The publisher is user_c1ee5550, and the tags indicate requires_api_key=false, meaning no additional API Key is needed.

It is positioned as a typesetting engine for WeChat Official Account articles: converting Markdown into HTML that can be pasted directly into the Official Account editor. It is not intended for general web pages, landing pages, or PPTs; for such needs, front-end or PPT-specific Skills should be used.

SkillHub Page: https://www.skillhub.cn/skills/user_c1ee5550/gzh-design-skill
API Endpoint: https://api.skillhub.cn/user_c1ee5550/gzh-design-skill

Core Features

The following capabilities are derived from the official description. After installation, you can execute them according to the SKILL.md and references/theme-index.md within the Skill package.

Input & Normalization

  • Supports Markdown, Word (.docx), PDF, and plain text.
  • Non-Markdown inputs are automatically normalized before entering the typesetting pipeline.

Layout & Structure

  • Automatic chapter numbering.
  • Keyword underlining/highlighting.
  • Quote cards and table of contents navigation.
  • Common Official Account modules such as code blocks, images/GIFs, and author signatures.

Themes

  • Themes are selected from a custom theme library registered in references/theme-index.md.
  • Custom theme component libraries can be generated based on text descriptions or reference images and saved locally for reuse.

One-Click Auto-Formatting

  • Automatically infers article structure and selects a theme, suitable for long-form articles where the final style is not yet finalized.

Installation & Activation

The Skill is based on the standard SKILL.md format and is installed into the current Agent’s skills directory via the SkillHub CLI. If installed in the wrong directory, the Agent will not load the Skill.

1. Install SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, you can run the full installation (CLI + default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install GZH Design Skill

Point --dir to the skills directory of your current environment. Common path examples:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
skillhub install @user_c1ee5550/gzh-design-skill --dir ~/.cursor/skills/

Alternatively, you can provide the following prompt to your Agent and let it complete the installation following the SkillHub installation documentation:

Please install `@user_c1ee5550/gzh-design-skill` according to https://skillhub.cn/install/skillhub.md.

After installation, refresh or restart your session as required by your client to ensure the Skill is recognized.

Typical Usage

The Skill is triggered by intent during conversation; there is no need to memorize fixed CLI subcommands. The typical scenarios listed by the official source are as follows:

Convert manuscript to Official Account HTML

  1. Provide a Markdown file, or upload .docx / PDF / plain text.
  2. Specify the need for “Official Account formatting” or “convert to paste-ready Official Account HTML”.
  3. The Agent selects a theme and generates HTML according to Skill rules; you simply paste the result into the Official Account backend.

Example phrasing:

Use gzh-design to format this Markdown into an Official Account article. Select the tech-blog style theme from the theme-index.

One-Click Auto-Formatting

Suitable when the structure is undecided and you want the Agent to infer chapters and match a theme:

One-click formatting: Export this Word document to Official Account HTML and automatically select a theme.

Custom Themes

Generate a set of Official Account layout components based on this reference image, register it in theme-index, and reuse it later.

Specific theme names and component naming are subject to references/theme-index.md within the Skill package.

Use Cases & Notes

Suitable for

  • Frequent writers of long Official Account articles who want consistency between Markdown and the final backend layout.
  • Mixed manuscript sources (Word/PDF/notes) that require normalization before unified formatting.
  • Users who need fixed brand styles or occasional theme library expansion based on reference images.

Not suitable for

  • Generating standalone websites, marketing landing pages, or slideshows; corresponding front-end or presentation Skills should be used instead.

Usage Notes

  • The output target is HTML acceptable by the Official Account editor. It is still recommended to preview in the backend after pasting (especially for images, external links, and code blocks).
  • Themes and components are indexed by references/theme-index.md in the local Skill package. After upgrading the Skill version (the current page marks v1.0.0), pay attention to any changes in theme registration items.
  • SkillHub Statistics (based on script scraping): Rating 100000, Downloads 12373; data displayed on the page changes over time, please refer to SkillHub for the latest.

Conclusion

GZH Design Skill consolidates “Normalize Manuscript → Select Theme → Generate Official Account HTML” into the Agent conversation, supporting one-click formatting and local theme extensions. If you are already writing with Cursor, Claude Code, or Codex, you can install @user_c1ee5550/gzh-design-skill and simply describe your formatting needs in natural language.

Official URL: https://www.skillhub.cn/skills/user_c1ee5550/gzh-design-skill

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye