translate-docs
Skill53 starsChanged 14 days agoMITView on GitHub
Translate and sync bilingual user documentation between docs/zh/ and docs/en/ following the source-of-truth rules in docs/AGENTS.md.
- Reads credentials
8 other projects use a version of this; 1 new project in the last 4 weeks, against 0 the 4 before.
Adopted by
Surging: 1 new project took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- kanap-hq/KANAPtheir own version, first seen Nov 8, 2026
- CherryHQ/cherry-studiotheir own version, first seen Oct 25, 2026
- reactive/data-clienttheir own version, first seen Oct 17, 2026
- clice-io/clicetheir own version, first seen Oct 8, 2026
- xiaolai/vmarktheir own version, first seen Oct 8, 2026
- MoonshotAI/kimi-codeword for word, first seen Oct 8, 2026
Other versions8 projects use a version of this.
Word for word · 1
- MoonshotAI/kimi-code★ 8.2k100% same
Edited · 0
None found.
Wrote their own version · 7
- CherryHQ/cherry-studio★ 53ksame name
- ArcReel/ArcReel★ 6.3ksame name
- reactive/data-client★ 2ksame name
- clice-io/clice★ 1.4ksame name
- xiaolai/vmark★ 908same name
- kanap-hq/KANAP★ 7same name
- OxyFlax/AI★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- agent-core-devSkill
- agent-core-reviewSkill
- gen-changesetsSkill
- gen-docsSkill
- kiki-docs-catchupSkill
- kiki-docsSkill
- kiki-docs-writingSkill
- pre-changelogSkill
- sync-changelogSkill
- write-tuiSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
If any of the following are missing, stop and report to the user before continuing:
- Distinctive: line 27
When non-changelog pages change in either locale, sync the mirror before release.
- Distinctive: line 38
Keep heading hierarchy, list structure, code blocks, callout blocks, and link targets identical between the two versions.
- Distinctive: line 39
When in doubt about a technical term, read the actual code to confirm behavior rather than guessing.
- Distinctive: line 43
Use the term table exactly.
- Very specific: line 51
Run the docs build if available (pnpm --filter docs run build or equivalent) to catch broken links and Markdown errors.
- Distinctive: line 55
Do not one-sided fixes: if the changed locale has an unclear or incorrect statement, fix it there first.
- Distinctive: line 57
Code blocks and identifiers stay as-is: do not translate code, command names, flag names, or file paths.
- Very specific: line 58
Public examples: Do not introduce real internal endpoints, key names, account names, or service names while translating.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Translate Docs
Overview
This repository keeps bilingual user documentation under docs/zh/ and docs/en/. This skill synchronizes the two locales, page by page, after either side has been updated.
This skill is invoked by both gen-docs (incremental updates) and audit-docs (full pre-release audit) to keep locale mirrors in sync.
Prerequisites
If any of the following are missing, stop and report to the user before continuing:
docs/zh/anddocs/en/mirrored directory structure.docs/AGENTS.md— terminology table, typography rules, and source-of-truth rules.
Locale sync rules
- Changelog (
release-notes/changelog.md): English is the source. Translate to Chinese. - Breaking changes (
release-notes/breaking-changes.md): English is the source. Translate to Chinese. - All other pages:
docs/en/anddocs/zh/are mirrored pairs. After either side changes, update the other locale in the same change.
When non-changelog pages change in either locale, sync the mirror before release. When the English changelog changes, sync the Chinese changelog.
Workflow
Detect what needs syncing
git diff main..HEAD --stat docs/— see which files changed- For each changed file under
docs/en/ordocs/zh/, locate its mirror in the other locale (same relative path).
Translate page by page, section by section
- Keep heading hierarchy, list structure, code blocks, callout blocks, and link targets identical between the two versions.
- When in doubt about a technical term, read the actual code to confirm behavior rather than guessing.
Apply terminology and typography rules from
docs/AGENTS.md- Use the term table exactly. Do not invent translations or use synonyms.
- English H2+ uses sentence case (proper nouns excepted, per the term table).
- Chinese typography: full-width punctuation (
,。;:?!()), space between Chinese and ASCII (letters / numbers / inline code / links). - Callout titles (
::: tip/::: warning/::: info/::: danger) use the short Chinese labels fromdocs/AGENTS.md.
Verify
git diff docs/— scan for terminology drift or punctuation regressions.- Run the docs build if available (
pnpm --filter docs run buildor equivalent) to catch broken links and Markdown errors.
Rules and conventions
- Do not one-sided fixes: if the changed locale has an unclear or incorrect statement, fix it there first; do not patch only the mirror.
- Match style, not just words: Chinese docs use a narrative tone (see
docs/AGENTS.mdwriting-style examples); preserve that tone in Chinese; preserve sentence-case headings and concise English style in English. - Code blocks and identifiers stay as-is: do not translate code, command names, flag names, or file paths.
- Public examples: Do not introduce real internal endpoints, key names, account names, or service names while translating. Keep or replace them with neutral placeholders such as
example.com,example.test, andYOUR_API_KEYin both locales.
Common mistakes
- Rewriting only the mirror because a phrase feels awkward in the target language — fix the changed locale first, then sync.
- Letting English headings slip into Title Case (only sentence case is allowed for H2+).
- Forgetting to add spaces between Chinese characters and inline code or English words.
- Translating proper nouns listed in the term table (
Wire,MCP,ACP,JSON,OAuth,macOS,uv, etc.). - Updating only one direction and leaving the other locale stale — always finish all pages flagged by the diff.
- Copying real internal values into the mirror instead of using neutral
exampleplaceholders.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

