Gzh Content

公众号撰文排版 Skill。自动化公众号图文生产工作流,writer 依托 write_style.md 风格库按风格分类撰写文案;xiumiHelper 依 design.md 规范用 HTML + SVG 组件做秀米图文自动化排版;mpHelper 提供第二条排版路径——直接在微信公众平台(mp.weixin.qq.com)新建图文、填标题/作者/正文并保存草稿(微信会清洗 SVG 并降级 h/table/blockquote,故微信路径用 wechat 模式生成纯 CSS 卡片版进行兼容排版;个人订阅号无官方接口,均走浏览器自动化);learn 提供自学习能力——把定稿产出或主动导入的 Word/HTML/网页/Markdown 资料的文案与排版风格结构化解析后暂存,经确认并入 write_style.md/design.md 长期积累。当用户说"写公众号文章""公众号文案/推文""秀米排版""公众号图文排版""帮我排版""自动发公众号""直接在公众号后台发""微信公众平台编辑/公众号直接发""微信兼容排版""把这篇风格存下来""学习这个排版""导入文章入库"等请求时触发。只做个人创作与运营参考,不绕过平台风控、不批量营销。

Install

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

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

From the SKILL.md

# 公众号撰文排版 Skill

## 触发条件

当用户需要以下任一能力时使用本 skill:
- 撰写公众号文案(按风格分类输出)
- 秀米图文排版(HTML/SVG 组件排版)
- 自动化发表公众号内容(无官方接口,走浏览器自动化)
- **直接在微信公众平台编辑**(mpHelper):绕过秀米,直接登录 mp.weixin.qq.com 新建图文,填标题/作者/正文并保存草稿
- **自学习入库**(learn):把定稿产出或主动导入的 Word/HTML/网页/Markdown 资料的文案与排版风格结构化解析,暂存并经确认后并入 `write_style.md` / `design.md`

## 依赖

- Python 3.8+
- Playwright:`python -m pip install -r requirements.txt` 后执行 `python -m playwright install chromium`
- 登录态(两条发布路径各自独立采集):
  - 秀米路径:首次运行 `scripts/collect_login.py` 采集到 `xiumi_auth.json`
  - 微信直接编辑路径:首次运行 `scripts/collect_mp_login.py` 采集到 `mp_auth.json`(微信 Cookie 时效较短,失效需重扫)

## 排版路径二选一

- **秀米排版路径(xiumiHelper)**:design.md → inject_layout.py 生成 layout.html → xiumi_auto.py 注入秀米并保存
- **微信直接编辑路径(mpHelper)**:跳过秀米,mp_auto.py 直接登录微信公众平台填入标题/作者/正文并保存草稿

## 使用流程

1. **撰文**:读取 `write_style.md` 选择风格 → 按 `writer.md` 产出文案
2. **排版**(可选):读取 `design.md` 规范 → 用 `scripts/inject_layout.py` 组件库生成整页 HTML 落盘为 `layout.html`(入口 `build_page(spec, blocks)`;**微信路径请用 `wechat_layout()` 或 `build_page(wechat=True)` 生成纯 CSS 卡片版**,因微信会清洗 SVG 并降级 h/table/blockquote,用法见脚本 docstring)
3. **注入保存**:选择目标平台
   - 秀米:运行 `python scripts/xiumi_auto.py --title "标题" --html-file layout.html`(可先加 `--no-save` 演练,用 `build_page()` 生成的 SVG/HTML 版)
   - 微信直接编辑:运行 `python scripts/mp_auto.py --title "标题" --html-file layout.html` 保存草稿(正文请用 wechat_layout 生成的纯 CSS 卡片版,保存后请在浏览器人工核查)

## 命令示例
Read the full skill on GitHub

Details

Skill name
gzh-content
License
MIT
Repo updated
21 August 2026

FAQ

What does the Gzh Content skill do?

公众号撰文排版 Skill。自动化公众号图文生产工作流,writer 依托 write_style.md 风格库按风格分类撰写文案;xiumiHelper 依 design.md 规范用 HTML + SVG 组件做秀米图文自动化排版;mpHelper 提供第二条排版路径——直接在微信公众平台(mp.weixin.qq.com)新建图文、填标题/作者/正文并保存草稿(微信会清洗 SVG 并降级 h/table/blockquote,故微信路径用 wechat 模式生成纯 CSS 卡片版进行兼容排版;个人订阅号无官方接口,均走浏览器自动化);learn 提供自学习能力——把定稿产出或主动导入的 Word/HTML/网页/Markdown 资料的文案与排版风格结构化解析后暂存,经确认并入 write_style.md/design.md 长期积累。当用户说"写公众号文章""公众号文案/推文""秀米排版""公众号图文排版""帮我排版""自动发公众号""直接在公众号后台发""微信公众平台编辑/公众号直接发""微信兼容排版""把这篇风格存下来""学习这个排版""导入文章入库"等请求时触发。只做个人创作与运营参考,不绕过平台风控、不批量营销。

How do I install the Gzh Content skill?

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

Is Gzh Content popular?

It lives in songlitong521-oss/gzh-content-skill, which has 12 GitHub stars and 0 forks.

Related skills

Stop Slop

12

tomerose/stop-slop

Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells. Triggers on: writing prose, editing drafts, reviewing content, 写作, 文案, 去AI味.

Writing & Content

Drama Script Writing

12

SSRYLJRSS/drama-script-writing

AI短剧剧本撰写全流程(S0→S7)。将真实社会热点事件改编为AI短剧剧本:多案例糅合成一人设、全剧四幕、序幕炸裂、题材不限(压抑到底/讴歌赞颂/反转打脸/罗生门)、情绪驱动、符合短视频流量玩法、对话驱动。给项目路径+初步资料,要求写剧本、发散选题、收集案例、设计故事线时触发。自包含通用版,无外部文件依赖。

Writing & Content

Genpark Circle

9

alphaparkinc/genpark-circle

Use this skill when the user wants to post an insight, thought, opinion, or discovery to GenPark Circle (GenPark's community forum), or asks things like "post to GenPark Circle", "share my thought on GenPark", "write a Circle post", "publish an insight on GenPark", "post in the GenPark forum", "write 洞见 for GenPark", "share this to Circle", "GenPark forum post", or mentions GenPark community, GenPark Circle, or GenPark 洞见.

Writing & Content

Thesis Writer

13

ibrahim-kukash/thesis-writer

Write publication-quality MSc/PhD thesis chapters that pass examiner scrutiny and AI detection tools. Use when writing thesis chapters, sections, or paragraphs. Also scans existing text for AI patterns and fixes them. Triggers: 'write my thesis', 'write chapter', 'literature review', 'write methodology', 'write results', 'write discussion', 'thesis writing', 'academic writing', 'fix AI writing in thesis', 'scan thesis for AI', 'prepare for viva'. NOT for general content writing (use content-production). NOT for humanizing non-academic text (use humanizer). NOT for presentations (use pptx).

Writing & Content

Cnipa Patent Writer

10

fnjialun/cnipa-patent-writer

撰写中国发明专利申请文档(.docx):有模板时严格套用模板版式(页眉页脚、分节、字体字号、缩进、 行距、分页、附图编排),无模板时按 CNIPA 标准版式生成——但**只借格式、绝不抄模板的技术内容**, 内容/配图全部据待保护的技术方案重新生成。覆盖 说明书摘要 / 权利要求书 / 说明书(技术领域·背景技术· 发明内容·有益效果·附图说明·具体实施方式/实施例)/ 说明书附图,并生成白底黑线配图(数量与类型按内容定)。 Use this skill whenever the user asks to write / draft / 写 / 起草 a patent, 专利, 发明专利, 专利交底书, 权利要求书, 说明书, or to turn a system / feature / algorithm into a patent application "套用模板"/ "参照模板格式" —— even if they only say "把这个项目写成一篇专利" or hand you a template .docx and a codebase. Also triggers for editing an existing patent .docx to match a template's format, regenerating patent figures, or

Writing & Content

Manuscript Writing

13

YSLAB-ai/manuscript-writing

Use when revising or reviewing scientific, technical, or academic manuscripts, proposals, abstracts, reports, or related writing for precision, concision, logical cohesion, citation support, evidence alignment, and objective scholarly tone.

Writing & Content

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