chinese-documentation
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。
npx skills add jnMetaCode/superpowers-zh --skill chinese-documentation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 中文技术文档写作规范 ## 概述 中文技术文档最常见的问题不是内容不够,而是**读起来别扭**——中英文挤在一起没有空格、全角半角混用、一股机翻味。本技能提供一套完整的中文技术文档写作规范,让你的文档**专业、好读、不出戏**。 **核心原则:** 排版服务于阅读体验,规范服务于一致性,内容服务于读者。 **参考标准:** [中文文案排版指北](https://github.com/sparanoid/chinese-copywriting-guidelines) ## 中文排版规范 ### 空格 **中英文之间加空格:** ``` # 好 使用 Git 进行版本管理,配合 Jenkins 实现持续集成。 # 坏 使用Git进行版本管理,配合Jenkins实现持续集成。 ``` **中文与数字之间加空格:** ``` # 好 本次更新包含 3 个新功能和 12 个 Bug 修复。 # 坏 本次更新包含3个新功能和12个Bug修复。 ``` **数字与单位之间加空格:** ``` # 好 文件大小不超过 5 MB,响应时间控制在 200 ms 以内。 # 坏 文件大小不超过5MB,响应时间控制在200ms以内。 ``` **例外:度数、百分比等不加空格:** ``` # 好 今天气温 32°C,CPU 使用率 95%。 # 坏 今天气温 32 °C,CPU 使用率 95 %。 ``` **链接前后加空格:** ``` # 好 请参考 [官方文档](https://example.com) 获取更多信息。 # 坏 请参考[官方文档](https://example.com)获取更多信息。 ``` ### 标点符号 **中文语境使用全角标点:** ``` # 好 注意:该接口需要鉴权,请先获取 Token。 # 坏 注意:该接口需要鉴权,请先获取 Token. ``` **全角标点与英文/数字之间不加空格:** ``` # 好 项目使用 MIT 协议,详见 LICENSE 文件。 # 坏 项目使用 MIT 协议 ,详见 LICENSE 文件 。 ``` **括号的使用:** ``` # 中文语境用全角括号 请运行安装命令(详见下方说明)。 # 括号内有英文或数字时用半角括号 该项目基于 Spring Boot (v3.2.0) 开发。 # 纯英文内容用半角括号 See the documentation (README.md) for details. ``` **引号的使用:** ``` # 中文使用直角引号(推荐) 「确定」按钮触发表单提交,「取消」按钮关闭弹窗。 # 也可以使用弯引号(视团队规范而定) "确定"按钮触发表单提交,"取消"按钮关闭弹窗。 # 嵌套引号 他说:「请点击『确定』按钮。」 ``` ### 数字 ``` # 阿拉伯数字(技术文档中统
- 概述
- 中文排版规范
- 空格
- 标点符号
- 数字
- 中英混排最佳实践
- 术语处理原则
- 首次出现标注翻译
- 避免过度翻译
- API 文档中英对照格式
- 接口文档模板
- 金额表示约定
- README.md 中文模板
- 常见问题与避坑指南
What does the chinese-documentation skill do?
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。
How do I install it?
Run `npx skills add jnMetaCode/superpowers-zh --skill chinese-documentation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jnMetaCode/superpowers-zh, a repository with 7,457 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
