Sansheng Write — Development skill for Claude Code
Claude Code skill for Chinese long-form & WeChat article production · 中文长文与公众号内容生产.
How to install Sansheng Write
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sanshengai/sansheng-write and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sansheng Write does
Claude Code skill for Chinese long-form & WeChat article production · 中文长文与公众号内容生产.
Alternatives in Development
- Create Blog Article For Claude Code Component — You will create a complete, SEO-optimized blog article for a Claude Code component 23.4k ★
- Wechat Article — 微信公众号文章:作者-编辑-读者三Agent协作 15.9k ★
- Seomachine — A specialized Claude Code workspace for creating long-form, SEO-optimized blog content for any business 2.8k ★
README
sansheng-write · 中文长文写作引擎
**把「选题 → 大纲 → 正文 → 改稿 → 排版 → 配图」跑完的 Claude Code skill。喂它你的语料,它长出你的声音。**
**中文** | [English](./README_EN.md)
[](LICENSE) [](../../stargazers) [](../../commits/main)
先看产出,再决定装不装
**↓ 20 秒手机实拍:一篇公众号长文从选题落定到成品排版,跑完整条链的样子。**
https://github.com/user-attachments/assets/7b5d8a8c-7caf-41e3-957e-5c2428859c79
一句「帮我写一篇关于 X 的文章」,它跑完这条链,最后给你一份**微信公众号能直接粘贴**的 HTML:
选题快评 → 大纲(含开篇策略分流)→ 正文 → 改稿(去 AI 味三层过滤)
→ 标题(内联锻造 5 个候选)→ 排版(10 个组件 + 契约门)→ 配图 / 封面
排版组件都在 `templates/`,配色跟着你的主题走:
| 组件 | 用途 |
|---|---|
| 导读栏 | 文首「一句话说清这篇讲什么」卡片 |
| PART 编号 H2 | 大标题 + 副标题,自动编号 |
| 时间线 H3 | 小标题竖线时间轴 |
| 要点卡 / 金句卡 | 左竖条 + 浅色底,轻盈不厚重 |
| 数字卡 / 步骤条 / 对比块 | 结构化信息,HTML 注释指令驱动 |
| 表格品牌化 | 主题色表头、列宽自动计算、手机端横滑 |
| 继续往下读 / 信息来源 / 关注卡 | 强相关旧文与自有阵地、可复核来源、文末转化 |
质量不靠自觉,靠**契约门**:作者审批绑定具体稿件摘要;本 Skill 的 visual planner 是唯一真实生产者,宝玉文章配图 / 信息图作为可复验的方法来源,最终像素只允许 `baoyu-image-gen`;封面与插图的全部内容文字必须和画面一次性原生生成,禁止 SVG 或本地字体后期补字。最终视觉、HTML 与微信草稿 media_id 用 receipt 逐层绑定。产出被改过,已完成下游会自动变成 `dirty`,不能拿旧绿灯继续发。
$ python scripts/format_layout.py 定稿.html --all --check
✅ 成功将 3 个原生 H2 转换为 PART 格式
✅ 表格品牌化完成(主题色表头 / 行分隔线 / 交替行色 / 圆角容器)
✅ 成功将 3 处重点标记转换为主题色文字
⚠️ 2 个警告(非阻塞),无错误
门里检查半角标点、加粗密度、词性比例、套话黑名单、信息图数量、封面比例……
这是什么
一套**中文长文的写作方法论 + 排版工程**,封装成 Claude Code 的 skill。
它**不是**「输入标题、输出文章」的一键生成器。它是一条有纪律的流水线: 每个阶段有它该读的规则,每个产出有它该过的门。你在里面的角色是主笔,不是甲方。
它也**不是**通用写作助手。它为「中文、长文、要发出去给人读」这个场景做了很多取舍: 排版针对微信公众号的 HTML 限制做了大量妥协,去 AI 味的规则针对中文的套话习惯。
它到底帮你做什么
| 阶段 | 它做什么 | 你做什么 |
|---|---|---|
| 选题 | 快评这个题值不值得写、从哪个角度切 | 拍板 |
| 大纲 | 分流开篇、搭骨架,并把材料/来源/断言边界逐节对账 | 改结构 |
| 正文 | 按你的风格手册写,注入你的金句库与声纹样本 | 挑开头(唯一法定停顿点) |
| 改稿 | 三层过滤去 AI 味 | 手改(它会从你的 diff 里学) |
| 标题 | 内联锻造 5 个候选并排序 | 选一个 |
| 排版 | 一键出微信 HTML,契约门把关 | 看一眼 |
| 配图 | 封面 / 信息图 / 数据图(数据图用 matp |
Related Skills
Ian Xiaohei Scenes
Xiaohei 2.0 Codex Skill for Chinese real-object article illustrations and long-scroll story images
Zh Article Analyzer Skill
Claude Code skill for deep linguistic analysis of Traditional Chinese articles—extract stylometrics, vocabular
Anime X Cover Skill
Claude Code / Codex skill — turn an article into a paste-and-go cover prompt or image. Two cover families: ani
Depictio Embl Admin Login
Auth as Depictio admin on an EMBL K8s deployment by injecting the on-pod long-lived token into the React /dash
Build Vsl
Build a VSL script using one of 5 framework variants (15-step / pull-push-persuade 11-step pull-push-persuade
Conversion Copywriter Skill
Writes conversion copy from scratch — landing pages, emails, and long-form Facebook ads. Built on Harry Dry's
Related Agents
Article Editor
Editorial critique for blog posts, essays, guides, and long-form articles — evaluates structure, opening stren
Writing
Articles, posts, long-form writing and editing. Use when the request says: "yaz", "blog", "makale", "draft", "
Remotion Engineer
Remotion engineer for the video studio team. Builds and renders video projects including talking head, podcast