Agent skill

Chinese Style Guide

by RightCapitalHQ in RightCapitalHQ/chinese-style-guide

This skill should be used when the user asks to "写文档", "撰写文章", "写邮件", "编辑中文", "检查格式", "修正排版", "中英文混排", "格式化文档", "review 文档格式", "proofread", or when the user is preparing to write or edit Chinese…

MITAuto-check passedWriting & Content

Install Chinese Style Guide

skills CLI
$ npx skills add RightCapitalHQ/chinese-style-guide --skill chinese-style-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install RightCapitalHQ/chinese-style-guide chinese-style-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/RightCapitalHQ/chinese-style-guide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/chinese-style-guide .claude/skills/chinese-style-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chinese-style-guide
GitHub stars
119
Token cost
~861 tokens
SKILL.md length
232 words
Files
5 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

This skill should be used when the user asks to "写文档", "撰写文章", "写邮件", "编辑中文", "检查格式", "修正排版", "中英文混排", "格式化文档", "review 文档格式", "proofread", or when the user is preparing to write or edit Chinese…

  • Works in 3 steps: 只修正格式和排版:不改变作者的表达内容和语义 → 保持原文风格:尊重作者的用词和语气 → 遵循规范:严格按照《中文写作排版风格指南》执行
  • The user is preparing to write
  • SKILL.md covers 核心原则, 触发场景, 修正范围 and 快速参考:关键规则, plus 7 more sections
  • Runs Python scripts from its folder; calls python

What it does

Chinese Style Guide is an agent skill from RightCapitalHQ/chinese-style-guide. 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.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `examples/before-after.md`, `references/quick-reference.md` and `references/style-guide-full.md`).

It sits in Writing & Content, covering Copy editing and proofreading. The repository describes itself as: 中文写作排版风格指南,一套中文和中英文混排的写作和排版标准。Chinese Style Guide, a set of standards for writing and formatting articles in Chinese language and Chinese-English mixed content. The licence is MIT.

When your agent uses it

  • The user is preparing to write
  • Edit Chinese documents
  • Any formal Chinese text content

Example prompts

  • “review 文档格式”
  • “proofread”
  • “/chinese-style-guide”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 只修正格式和排版:不改变作者的表达内容和语义
  2. 保持原文风格:尊重作者的用词和语气
  3. 遵循规范:严格按照《中文写作排版风格指南》执行

What it can do on your machine

Read from SKILL.md and the folder at commit 41ef95c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Chinese Style Guide loads about 861 tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 115 tokens; SKILL.md has 232 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~115
When it runs · the whole SKILL.md, loaded when a task matches
~861
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from RightCapitalHQ/chinese-style-guide at commit 41ef95c, republished under its MIT licence (© RightCapitalHQ). 232 words, ~861 tokens.

Download SKILL.mdSave it as .claude/skills/chinese-style-guide/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
chinese-style-guide
description
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.

中文写作排版风格指南 Skill

本技能用于对中文文档、文章、邮件、消息等正式文本进行格式和排版修正。

核心原则

  1. 只修正格式和排版:不改变作者的表达内容和语义
  2. 保持原文风格:尊重作者的用词和语气
  3. 遵循规范:严格按照《中文写作排版风格指南》执行

触发场景

当用户进行以下操作时应用此技能:

  • 撰写或编辑中文文档
  • 写中文邮件或消息
  • 中英文混排内容的编辑
  • 请求格式检查或排版修正

修正范围

应该修正
  • 中英文之间的空格
  • 全角/半角标点符号
  • 数字格式(千位分隔符等)
  • 日期时间格式
  • 电话号码格式
  • 货币格式
  • 引号类型
  • 括号类型(全角/半角)
不应修改
  • 文章的语义和表达
  • 用词选择(除非明显的错别字)
  • 句子结构
  • 段落组织

快速参考:关键规则

空格规则
场景规则正确示例
汉字与英文之间添加空格这是 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,000
  • 不超过 10 的数字:推荐中文数字
  • 10 及以上:使用阿拉伯数字
  • "万""亿"可配合阿拉伯数字:300 万
  • 其他中文单位只用汉字数字:三百
日期时间
  • 中文日期:2020 年 3 月 31 日 或 2020-03-31
  • 时间分隔使用半角冒号:9:05
  • 年份使用 4 位数
电话号码
  • 手机:139-1234-5678(3-4-4 分组)
  • 座机:010 6123-4567 或 (010) 6123-4567
  • 国际号码:+86 10 6123-4567

修正工作流程

执行格式修正时遵循以下步骤:

  1. 识别文档类型:确定是纯中文还是中英文混排
  2. 扫描格式问题:按以下顺序检查
    • 空格问题(中英文/中数字之间)
    • 标点符号问题
    • 数字格式问题
    • 日期时间格式
    • 其他排版问题
  3. 逐项修正:保持修改的最小化原则
  4. 复核:确保未改变原文语义

常见错误修正示例

空格问题
diff
- 这是English文本
+ 这是 English 文本

- 共100个
+ 共 100 个

- 在《 Book 》中
+ 在《Book》中
标点问题
diff
- 请问,这是什么?
+ 请问,这是什么?

- 他说:"好的"
+ 他说:"好的"

- 北京-上海高铁
+ 北京—上海高铁
数字问题
diff
- 3000000 行代码
+ 3,000,000 行代码

- 03 月 31 日
+ 3 月 31 日

英文部分规则要点

当文档包含英文段落时,英文部分遵循:

  • 拼写:使用美式英语(color, center, canceled)
  • 标点:使用英文标点,撇号用 '(U+2019),引号用 ""
  • 牛津逗号:在三个及以上并列词组中使用
  • 破折号:使用 em dash —,左右不留空格
  • 区间:使用 en dash –(2018–2019)

代码格式规则

在技术文档中:

  • 变量名、函数名、类名格式化为代码:`$id`
  • 字面量格式化为代码:`null`、`255`
  • 数据库字段类型格式化为代码:`TINYINT UNSIGNED`

附加资源

自动检查脚本

使用 Python 脚本自动检查格式问题:

bash
python .claude/skills/chinese-style-guide/scripts/check_format.py <file.md>

# 选项
--skip-tables     跳过 Markdown 表格行
--warnings-only   只显示警告,不返回错误退出码

脚本检查项:

  1. 中英文之间缺少空格
  2. 中文与数字之间缺少空格
  3. 半角标点在中文句子中
  4. 直引号替代弯引号
  5. 省略号 ... 替代 ……
  6. 破折号 -- 替代 ——
  7. 时间使用全角冒号
  8. 书名号/括号内多余空格
  9. 大数字缺少千位分隔符
参考文件

详细规则和完整示例请查阅:

  • references/style-guide-full.md - 完整的风格指南规则
  • references/quick-reference.md - 快速参考卡片
示例文件
  • examples/before-after.md - 修正前后对比示例

重要提醒

  1. 尊重原意:格式修正不应改变作者想表达的内容
  2. 最小修改:只修正明确违反规范的地方
  3. 保持一致:同一文档内保持格式一致性
  4. 解释修改:如有重大格式调整,向用户说明原因

标准参考

本技能基于以下标准:

  • GB/T 15834 标点符号用法
  • GB/T 15835 出版物上数字用法
  • GB 3100/3101/3102 量和单位
  • Chicago Manual of Style(英文部分)

© RightCapitalHQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in .claude/skills/chinese-style-guide of RightCapitalHQ/chinese-style-guide.

  • SKILL.md
  • examples/before-after.md
  • references/quick-reference.md
  • references/style-guide-full.md
  • scripts/check_format.py

Open the folder on GitHubat commit 41ef95c

Compare with similar skills

Chinese Style Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chinese Style Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chinese Style Guide this skillRightCapitalHQ/chinese-style-guide119—~861Automated safety check: PassMIT
User-Facing Text Cleanupguillaumemeyer/watermarks-remover24k—~3.5kAutomated safety check: PassMIT
Story Multi-Perspective Reviewzenstory-ai/oh-story-claudecode7.4k3 repos~3kAutomated safety check: PassMIT
Chinese Text Humanizerop7418/Humanizer-zh19k—~2kAutomated safety check: PassMIT
Baoyu TranslateJimLiu/baoyu-skills27k1 repos~3.9kAutomated safety check: PassMIT
Natural Japanese Business Writingcoji/natural-japanese1.9k—~2.1kAutomated safety check: PassMIT

Similar skills

  • User-Facing Text Cleanup

    guillaumemeyer/watermarks-remover

    Audits prose for invisible Unicode characters and rewrites it while keeping facts, citations, code and required disclosures unchanged and the writer's voice intact.

    24k GitHub stars~3.5k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Story Multi-Perspective Review

    zenstory-ai/oh-story-claudecode

    Reviews Chinese web-novel text with several reviewer agents in parallel, falling back to a single-agent pass, and reports structure, character, prose and setting problems with fixes.

    7.4k GitHub starsUsed in 3 repos~3k tokens
    Writing & ContentAuto-check passed
  • Chinese Text Humanizer

    op7418/Humanizer-zh

    Edits Chinese articles, comments and documents to remove filler, repetition and template phrasing while keeping the facts, the level of certainty and the author's voice.

    19k GitHub stars~2k tokensUpdated 18 days ago
    Writing & ContentAuto-check passed
  • Baoyu Translate

    JimLiu/baoyu-skills

    Translates articles and files in quick, normal or refined mode, with a custom glossary, saved preferences and a review-and-polish workflow for publication quality.

    27k GitHub starsUsed in 1 repo~3.9k tokens
    Writing & ContentAuto-check passed
  • Writes and edits Japanese business documents so they read clearly and naturally, removes AI-sounding phrasing and can score how AI-like a text reads.

    1.9k GitHub stars~2.1k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Defensive Writing Editor

    lennney/stop-that-shit

    Cuts defensive disclaimers, stacked hedging and self-protective narration from proposals and summaries, keeping only limits that affect the reader's decision.

    2.5k GitHub starsUsed in 1 repo~1.2k tokens
    Writing & ContentAuto-check passed

Questions about Chinese Style Guide

What does Chinese Style Guide do?

This skill should be used when the user asks to "写文档", "撰写文章", "写邮件", "编辑中文", "检查格式", "修正排版", "中英文混排", "格式化文档", "review 文档格式", "proofread", or when the user is preparing to write or edit Chinese…. Chinese Style Guide is an agent skill from RightCapitalHQ/chinese-style-guide. 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.

When should I use Chinese Style Guide?

Chinese Style Guide fits situations like: the user is preparing to write; edit Chinese documents; any formal Chinese text content.

How do I install Chinese Style Guide in Claude Code?

Run `npx skills add RightCapitalHQ/chinese-style-guide --skill chinese-style-guide -a claude-code`. Or copy the skill folder (.claude/skills/chinese-style-guide in RightCapitalHQ/chinese-style-guide) into .claude/skills/chinese-style-guide in your project. Claude Code loads it when a task matches its description.

How do I install Chinese Style Guide in Codex?

Run `npx skills add RightCapitalHQ/chinese-style-guide --skill chinese-style-guide -a codex`. Or copy the skill folder (.claude/skills/chinese-style-guide in RightCapitalHQ/chinese-style-guide) into .agents/skills/chinese-style-guide in your project. Codex loads it when a task matches its description.

Can I use Chinese Style Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add RightCapitalHQ/chinese-style-guide --skill chinese-style-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chinese-style-guide, .gemini/skills/chinese-style-guide, .github/skills/chinese-style-guide and .opencode/skills/chinese-style-guide in your project.

What does Chinese Style Guide need to run?

Going by SKILL.md and its folder, Chinese Style Guide needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Chinese Style Guide access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Chinese Style Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Chinese Style Guide use?

Chinese Style Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chinese Style Guide use?

About 861 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to Chinese Style Guide?

Skills that share tags, products or a category with Chinese Style Guide: User-Facing Text Cleanup (guillaumemeyer/watermarks-remover, 24k stars), Story Multi-Perspective Review (zenstory-ai/oh-story-claudecode, 7.4k stars), Chinese Text Humanizer (op7418/Humanizer-zh, 19k stars) and Baoyu Translate (JimLiu/baoyu-skills, 27k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chinese Style Guide?

RightCapitalHQ (a GitHub organization) maintains it in RightCapitalHQ/chinese-style-guide, which has 119 GitHub stars. The repository was last updated on August 12, 2026.

Source: RightCapitalHQ/chinese-style-guide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.