Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

tech-doc-style-chinese技术文档风格中文

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

4,382

周安装

179

GitHub Stars

39

下载量

1,403
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tech-doc-style-chinese(技术文档风格中文)
来源仓库:https://github.com/aradotso/trending-skills
仓库路径:skills/tech-doc-style-chinese
安装命令:
npx skills add https://github.com/aradotso/trending-skills --skill tech-doc-style-chinese
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aradotso/trending-skills --skill tech-doc-style-chinese

简介

tech-doc-style-chinese 提供中文技术文档写作规范指导。

  • 统一术语表达、优化中英混排间距与标点符号使用习惯。
  • 禁止使用直接称呼与营销话术,保持客观专业语气。tech-doc-style-chinese 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 推荐使用直角引号「」替代弯引号,符合中文排版标准。
  • 适用于产品说明、API 文档与用户界面文案的统一风格管理。

SKILL.md

Chinese Tech Doc Style

Skill by ara.so — Daily 2026 Skills collection.

A reusable writing skill for Chinese technical documentation, product copy, and UI text. Enforces clarity, correct typography, proper spacing between CJK and Latin characters, and avoids common translation pitfalls and internet buzzwords.

What This Project Does

This skill provides opinionated, practical rules for writing Chinese technical content:

  • Typography: Correct spacing between Chinese, English, and numbers; use of corner brackets 「」 instead of curly quotes
  • Tone: No direct address (//同学), no marketing fluff, no buzzwords (赋能/抓手/闭环)
  • Translation: Avoid mechanical translation of English status words (Success已完成, not 成功)
  • Structure: Information density rules for landing pages, API docs, FAQs, changelogs
  • Linting: Built-in zero-dependency Python script to catch violations automatically

Installation

Via npx (Recommended)

# Interactive install
npx skills add https://github.com/Fenng/tech-doc-style-chinese

# Non-interactive, global install to Codex
npx -y skills add https://github.com/Fenng/tech-doc-style-chinese -a codex -g

Pin a specific release

CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
mkdir -p "$CODEX_HOME/skills"

git clone --depth 1 --branch v0.1.0.2.4 \
  https://github.com/Fenng/tech-doc-style-chinese.git \
  "$CODEX_HOME/skills/tech-doc-style-chinese"

Local / development install

CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
mkdir -p "$CODEX_HOME/skills/tech-doc-style-chinese"
cp -R ./* "$CODEX_HOME/skills/tech-doc-style-chinese/"

# Verify
test -f "$CODEX_HOME/skills/tech-doc-style-chinese/SKILL.md" && echo "installed"

Running the Lint Script

# Lint everything
python scripts/lint_copy_rules.py

# Lint specific files or directories
python scripts/lint_copy_rules.py SKILL.md NoCode-Skill.md references/

CI runs automatically on pull_request and pushes to main via .github/workflows/skill-lint.yml.

Repository Structure

tech-doc-style-chinese/
├── SKILL.md                        # Skill entry point for Codex
├── NoCode-Skill.md                 # Human-readable spec (share this)
├── README.md
├── agents/
│   └── openai.yaml                 # Skill metadata
└── references/
    └── Project-Overrides.md        # Per-project customization example

Core Rules Reference

Typography & Spacing

Add a space between Chinese and English/numbers in visible body text:

# Wrong
支持JSON格式和XML格式

# Correct
支持 JSON 格式和 XML 格式
# Wrong
版本号为1.2.3,发布于2024年

# Correct
版本号为 1.2.3,发布于 2024 年

Exception: Do NOT apply spacing rules to code literals, JSON keys, URLs, API paths, database field names, or any machine-readable identifiers.

Quotation Marks

Use corner brackets 「」 for visible Chinese body text, not curly quotes:

# Wrong
这是一个"示例"说明

# Correct
这是一个「示例」说明

Avoid Direct Address

# Wrong
您可以通过以下步骤完成配置。
你好同学,欢迎使用本产品。

# Correct
通过以下步骤完成配置。
欢迎使用本产品。

Status Word Translation

Avoid mechanical translation of English HTTP/API status terms:

EnglishWrongCorrect
Success成功请求已完成 / 操作成功
Invalid无效的参数格式不正确
Bad Request坏请求请求参数有误
Forbidden被禁止的无访问权限
Not Found没有找到资源不存在

Banned Buzzwords

The linter flags these terms as errors in visible body text:

赋能  抓手  闭环  打通  沉淀  赋能  链路  颗粒度
生态  矩阵  倒逼  落地  变现  复盘  对齐  拉齐

Common Chinese Typos (Lint Catches These)

WrongCorrect
阀值阈值
登陆登录
布署部署
配制配置
起用启用
反回返回
回朔回溯
标示标识
帐户账户
帐号账号
截止截至

Term Casing (Lint Enforces)

# Wrong
id  http  url  json  api  ai  JS  Js  H5  llm  aigc  rag

# Correct
ID  HTTP  URL  JSON  API  AI  JavaScript  HTML5  LLM  AIGC  RAG

Content Type Guidelines

Landing Pages & First Screens

# Wrong — vague, marketing-heavy
我们致力于打造业界领先的、赋能开发者的一站式 AI 平台解决方案。

# Correct — concrete, scannable
支持 REST 和 GraphQL 接口,5 分钟完成接入,每月免费额度 100 万次调用。
  • Lead with what the product does, not what it "empowers"
  • Put concrete numbers (latency, limits, pricing) above the fold
  • One primary CTA per screen; button text must name the next action

API & Parameter Docs

## 请求参数

| 参数名    | 类型   | 必填 | 说明                          |
|-----------|--------|------|-------------------------------|
| user_id   | string | 是   | 用户唯一标识,长度 8–32 位    |
| page      | int    | 否   | 页码,从 1 开始,默认为 1     |
| page_size | int    | 否   | 每页条数,范围 1–100,默认 20 |

Rules:

  • State type, whether required, default value, and constraints explicitly
  • Use / for required, not required / optional
  • Error codes must explain cause AND recovery action

Error Code Docs

## 错误码说明

| 错误码 | 说明                         | 处理建议                              |
|--------|------------------------------|---------------------------------------|
| 40001  | 缺少必填参数 `user_id`       | 检查请求体是否包含 `user_id` 字段     |
| 40301  | 当前账号无访问该资源的权限   | 联系管理员确认角色权限配置            |
| 50001  | 服务端处理超时               | 稍后重试,如持续出现请提交工单        |

FAQ Pages

# Wrong — repeats the question
Q: 如何重置密码?
A: 重置密码的方法如下……

# Correct — answers immediately
Q: 如何重置密码?
A: 进入「账号设置」→「安全」→「修改密码」,输入手机验证码后设置新密码。

Changelogs

## v2.3.0 — 2024-03-15

### 新增
- 支持通过 API 批量导入用户,单次上限 1000 条

### 修复
- 修复在 Safari 16 下登录页闪烁的问题

### 变更
- `GET /v1/users` 返回结构新增 `created_at` 字段

Button & UI Copy

# Wrong — abstract, duplicates surrounding heading
立即体验  了解更多  点击查看

# Correct — names the next action
开始免费试用  查看接口文档  下载 SDK

Project-Level Overrides

Keep the core skill generic. Put project-specific conventions in references/Project-Overrides.md:

# Project Overrides for [Your Project]

## 版本展示约定
版本号格式统一为 `vMAJOR.MINOR.PATCH`,不加「版本」二字。

## 术语表
- 「工作流」:指 Workflow 功能模块,不用「流程」
- 「智能体」:指 Agent,不用「代理」

## 文档结构偏好
- 每个功能页必须包含「适用场景」和「限制说明」两节

Then invoke both in your agent task:

Use $tech-doc-style-chinese and references/Project-Overrides.md to rewrite this Chinese technical copy.

Invoking the Skill

After installation, reference it explicitly in your task:

Use $tech-doc-style-chinese to rewrite this Chinese technical copy.
Use $tech-doc-style-chinese to clean up this API error code table.
Use $tech-doc-style-chinese to optimize this landing page copy.
Use $tech-doc-style-chinese to review the FAQ section for style violations.

Troubleshooting

Lint script reports false positives on code blocks The script targets visible body text. Wrap code samples in fenced blocks (``` ` ```); the linter skips content inside them.

Spacing rules applied to URLs or JSON keys These are explicitly out of scope. If the linter flags them, they are likely outside a code block — move them inside one.

Skill not loading after install Restart Codex after installation. Verify with:

test -f "$CODEX_HOME/skills/tech-doc-style-chinese/SKILL.md" && echo "OK"

Team members get different lint results Pin to a release tag to ensure everyone runs the same version:

git clone --depth 1 --branch v0.1.0.2.4 \
  https://github.com/Fenng/tech-doc-style-chinese.git \
  "$CODEX_HOME/skills/tech-doc-style-chinese"

License

MIT — see LICENSE.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.9%
按下载量换算504

Claude

30.54%
按下载量换算428

Cursor

19.62%
按下载量换算275

Gemini CLI

9.57%
按下载量换算134

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills