.claude/skills/chinese-style-guide/SKILL.md
This skill should be used when the user asks to "写文档", "撰写文章", "写邮件", "编辑中文", "检查格式", "修正排版", "中英文混排", "格式化文档", "review 文档格式", "proofread", or when the user is preparing to write or edit Chinese documents, emails, messages, or any formal Chinese text content. This skill provides formatting and typographical corrections based on the Chinese Style Guide, focusing on layout and formatting without altering the author's intended expression.
npx skillsauth add rightcapitalhq/chinese-style-guide chinese-style-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本技能用于对中文文档、文章、邮件、消息等正式文本进行格式和排版修正。
当用户进行以下操作时应用此技能:
| 场景 | 规则 | 正确示例 |
|------|------|----------|
| 汉字与英文之间 | 添加空格 | 这是 English 文本 |
| 汉字与数字之间 | 添加空格 | 共 100 个 |
| 汉字标点与英文之间 | 不加空格 | 在《Book》中 |
| 汉字与半角标点之间 | 不加空格 | 100 美元/月 |
| 格式化内容与汉字之间 | 不加空格 | 这是**重点**内容 |
| 标点 | 中文句子使用 | Unicode | |------|-------------|---------| | 句号 | 。 | U+3002 | | 逗号 | , | U+FF0C | | 问号 | ? | U+FF1F | | 感叹号 | ! | U+FF01 | | 冒号 | : | U+FF1A | | 分号 | ; | U+FF1B | | 引号 | "" | U+201C/U+201D | | 书名号 | 《》 | U+300A/U+300B | | 括号 | () | U+FF08/U+FF09 | | 破折号 | —— | 两个 U+2014 | | 省略号 | …… | 两个 U+2026 |
()()正确示例:
RightCapital (a fintech company) 的手机应用(app)于近日发布。
3,000,000300 万三百2020 年 3 月 31 日 或 2020-03-319:05139-1234-5678(3-4-4 分组)010 6123-4567 或 (010) 6123-4567+86 10 6123-4567执行格式修正时遵循以下步骤:
- 这是English文本
+ 这是 English 文本
- 共100个
+ 共 100 个
- 在《 Book 》中
+ 在《Book》中
- 请问,这是什么?
+ 请问,这是什么?
- 他说:"好的"
+ 他说:"好的"
- 北京-上海高铁
+ 北京—上海高铁
- 3000000 行代码
+ 3,000,000 行代码
- 03 月 31 日
+ 3 月 31 日
当文档包含英文段落时,英文部分遵循:
'(U+2019),引号用 ""—,左右不留空格–(2018–2019)在技术文档中:
`$id``null`、`255``TINYINT UNSIGNED`使用 Python 脚本自动检查格式问题:
python .claude/skills/chinese-style-guide/scripts/check_format.py <file.md>
# 选项
--skip-tables 跳过 Markdown 表格行
--warnings-only 只显示警告,不返回错误退出码
脚本检查项:
... 替代 ……-- 替代 ——详细规则和完整示例请查阅:
references/style-guide-full.md - 完整的风格指南规则references/quick-reference.md - 快速参考卡片examples/before-after.md - 修正前后对比示例本技能基于以下标准:
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.