humanizer
Rewrites AI-sounding text so it reads like the writer wrote it, without changing the meaning. Useful for editing or reviewing prose to remove typical AI patterns such as staged openers and one-line closers.
fenng/tech-doc-style-chinese is a skill for writing, rewriting, proofreading and reviewing Chinese technical documentation, product copy and UI text. It favors restrained, accurate Chinese and offers guidance on mixed Chinese and English typography and terminology.
Claude Code
$ npx -y skills add fenng/tech-doc-style-chinese --agent claude-code
Codex
$ npx skills add fenng/tech-doc-style-chinese -a codex
Cursor
$ npx skills add fenng/tech-doc-style-chinese -a cursor
Gemini CLI
$ npx skills add fenng/tech-doc-style-chinese -a gemini-cli
GitHub Copilot
$ npx skills add fenng/tech-doc-style-chinese -a github-copilot
OpenCode
$ npx skills add fenng/tech-doc-style-chinese -a opencode
Windsurf
$ npx skills add fenng/tech-doc-style-chinese -a windsurf
本项目是一份面向中文技术文档、产品文案与界面文案的写作 Skill,支持撰写、改写、校对和审阅。
这份 Skill 的目标很明确:中文技术写作应更克制、更准确、更易读。不追求宣传感,也不试图把所有内容都写成统一模板,而是聚焦几类高频问题:
如果需要一套适合中文技术文档的基础写作规范,这份 Skill 可以直接拿来使用,或是作为参考。
本 Skill 适合以下内容:
文档中的以下内容保持原样,不应用文案改写和排版替换:
这份 Skill 主要覆盖以下规则:
「」Success、Invalid、Bad Request 等英文状态词赋能、抓手、闭环、打通完整规范请阅读:
本项目的受控中文技术写作模块借鉴 ASD-STE100(Simplified Technical English,简称 STE)的受控语言思路,通过一致的术语、明确的动作和清晰的逻辑顺序,减少技术说明中的歧义。
模块将可迁移的方法适配到中文写作中:
这些方法主要用于操作手册、安装与部署、故障排查、运维文档、安全说明和多步骤 API 流程。概念说明和产品介绍可选择性采用术语一致、指代明确等规则,不把品牌文案、叙事文本、固定引用或短按钮文案机械改成操作步骤。
STE 面向英文技术文档,其受控词典、词性、时态和句长规则不能直接套用于中文。本项目不是该标准的中文版本,也不承诺输出符合该标准;自动检查结果不代表 STE 合规。标准背景见 ASD-STE100 官方说明。
tech-doc-style-chinese/
├── SKILL.md
├── NoCode-Skill.md
├── README.md
├── agents/
│ └── openai.yaml
├── references/
│ ├── api-status-copy.md
│ ├── controlled-technical-chinese.md
│ ├── project-overrides-example.md
│ └── terminology-and-typography.md
├── scripts/
│ ├── lint_copy_rules.py
│ └── unwrap_md_paragraphs.py
└── tests/
├── test_lint_copy_rules.py
├── test_skill_structure.py
└── test_unwrap_md_paragraphs.py
各文件的作用:
SKILL.md:正式技能入口,供 Codex、Claude Code 等 Agent 使用NoCode-Skill.md:对外说明稿,适合公开阅读和分享README.md:GitHub 仓库首页说明agents/openai.yaml:技能展示元数据references/:按任务读取的详细规则和项目覆盖模板scripts/lint_copy_rules.py:轻量检查器scripts/unwrap_md_paragraphs.py:展开段落硬换行的工具tests/:检查器、技能结构和硬换行工具的回归测试如果本机有 Node.js 环境,可直接用 npx skills 安装:
# 直接安装
npx skills add https://github.com/Fenng/tech-doc-style-chinese
如需无交互并明确安装到全局 Codex,可使用:
npx -y skills add https://github.com/Fenng/tech-doc-style-chinese -a codex -g
参数说明:
-a codex 表示安装到 Codex agent-g 表示全局安装(用户级),不加则安装到当前项目范围-y 表示跳过交互确认,便于自动化执行安装后建议重启 Codex,以确保新 Skill 被加载。
固定版本安装,便于团队复现:
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
mkdir -p "$CODEX_HOME/skills"
git clone --depth 1 --branch <release-tag> \
https://github.com/Fenng/tech-doc-style-chinese.git \
"$CODEX_HOME/skills/tech-doc-style-chinese"
<release-tag> 可替换为已发布版本,例如 v0.1.0.2.4。
如果正在本地修改或调试,可直接复制目录:
mkdir -p "$CODEX_HOME/skills/tech-doc-style-chinese"
cp -R ./* "$CODEX_HOME/skills/tech-doc-style-chinese/"
安装后可快速校验:
test -f "$CODEX_HOME/skills/tech-doc-style-chinese/SKILL.md" && echo "installed"
安装完成后,可在任务中显式调用:
Use $tech-doc-style-chinese to rewrite this Chinese technical copy.
或者直接在相关任务中触发,例如:
如果当前 Claude Code 环境支持安装 Skills,可让它读取本仓库并安装:
请安装这份 Skill:https://github.com/Fenng/tech-doc-style-chinese
这种方式较省事,但具体装到项目级还是全局取决于 Claude Code 当时的能力与判断。团队协作或需要写进文档、CI 的场景,建议用下面的 npx 命令。
如果本机有 Node.js 环境,可直接用 npx skills 安装:
# 安装到当前项目
npx skills add https://github.com/Fenng/tech-doc-style-chinese -a claude-code
如需无交互并明确安装到全局 Claude Code,可使用:
npx -y skills add https://github.com/Fenng/tech-doc-style-chinese -a claude-code -g
参数说明:
-a claude-code 表示安装到 Claude Code-g 表示全局安装(用户级,写入 ~/.claude/skills/),不加则安装到当前项目范围(写入 ./.claude/skills/)-y 表示跳过交互确认,便于自动化执行安装后建议重启 Claude Code,以确保新 Skill 被加载。
如果正在本地修改或调试,可直接复制目录:
mkdir -p ~/.claude/skills/tech-doc-style-chinese
cp SKILL.md ~/.claude/skills/tech-doc-style-chinese/
cp -R references ~/.claude/skills/tech-doc-style-chinese/
安装后可快速校验:
test -f ~/.claude/skills/tech-doc-style-chinese/SKILL.md && echo "installed"
Claude Code 会根据 SKILL.md 里的 description 自动判断何时调用该 Skill,无须手动触发,例如:
这份 Skill 只放通用规则,不把某个项目的版本展示、品牌语气、术语表或信息架构硬编码到核心规范里。
如果项目存在自己的约定,在目标项目中建立单独的覆盖文件。可以从以下模板开始:
references/project-overrides-example.md这类覆盖文件适合放:
模板本身不包含默认生效的业务术语。不要把示例文件当成目标项目约定。
仓库内置了一个零依赖校验脚本,用于检查高频规则。结果分为:
error:高度确定的错误,默认导致非零退出warning:依赖语境的可疑表达,需要人工判断style:项目风格和术语偏好检查器会保护代码块、行内代码、URL、Markdown 链接目标和单段或多段 API 路径。截止日期、登陆月球、配制溶液、H5 等语境项不再作为确定错误。
本地执行:
python scripts/lint_copy_rules.py
仅检查指定文件或目录:
python scripts/lint_copy_rules.py SKILL.md NoCode-Skill.md references/
将警告和风格提示也作为失败处理:
python scripts/lint_copy_rules.py --strict SKILL.md references/
忽略单行检查:
需要保留的原文 <!-- copy-lint-disable-line -->
运行回归测试:
python -m unittest discover -s tests -v
GitHub Actions 配置文件为 .github/workflows/skill-lint.yml,会在 pull_request 和 main 分支 push 时自动运行。
为了控制源码行宽而在段落中间手动断行,会让源文件读起来很碎;中文与英文边界上的断行还会在部分渲染器里多出或吞掉空格。仓库提供一个零依赖脚本,把段落和列表项还原为「一段一行」,正文靠编辑器软换行阅读。
检查是否存在硬换行,不改动文件:
python scripts/unwrap_md_paragraphs.py --check .
展开指定文件或目录,直接写回:
python scripts/unwrap_md_paragraphs.py docs/ README.md
只查看结果,不写回文件:
python scripts/unwrap_md_paragraphs.py --stdout docs/guide.md
拼接边界按中西文留白规则处理:中文与中文之间不加空格,中文与半角英文、数字之间加一个空格,全角标点两侧不加空格。
脚本先扫描结构再拼接段落,因此以下内容按整块保留,不只保护起始行:front matter、围栏代码块(包括写在列表标记之后的 - ```sh)、缩进代码块(包括列表项内的缩进代码)、表格行、标题、分隔线、多行 HTML 块(<pre>、<script>、<style>、<textarea> 和注释)、链接引用定义、引用块,以及行尾两个空格或反斜杠表示的显式换行。
需要整份文件跳过时,在代码块之外单独用一行写出标记:
<!-- unwrap-disable-file -->
标记只在独立成行且不在代码块、HTML 块内时生效,因此上面这段代码示例不会让本文件免检。
脚本只处理拼接边界,不修改段落内部已有的留白、标点和措辞。展开后仍需人工复查一遍边界留白和列表、表格结构。
如果只是公开分享规范内容:
NoCode-Skill.mdREADME.md 做仓库首页说明如果希望别人能直接安装使用:
SKILL.mdagents/openai.yaml本项目采用 MIT License。
详见 LICENSE。
See 12 tech-doc-style-chinese alternatives
Rewrites AI-sounding text so it reads like the writer wrote it, without changing the meaning. Useful for editing or reviewing prose to remove typical AI patterns such as staged openers and one-line closers.
Edits drafts into sharper, more direct writing that keeps the author's personal voice, or flags common AI-written patterns without rewriting the text.
A Chinese-language writing skill that removes AI writing tells by rewriting only the patterns on an explicit whitelist, leaving all other text and the article's structure untouched. Useful for cleaning up a finished draft.
Helps you write Chinese web novels from start to finish: it scans rankings for trends, breaks down existing books, drafts long or short chapters, removes AI-sounding phrasing, and makes cover images. It keeps story details consistent across files as the book grows.
Install it with the command on its page. It includes Tech-Doc-Style-Chinese. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it