Translate and sync bilingual user documentation between docs/zh/ and docs/en/ following the source-of-truth rules in docs/AGENTS.md.
69
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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.
If any of the following are missing, stop and report to the user before continuing:
docs/zh/ and docs/en/ mirrored directory structure.docs/AGENTS.md — terminology table, typography rules, and source-of-truth rules.release-notes/changelog.md): English is the source. Translate to Chinese.release-notes/breaking-changes.md): English is the source. Translate to Chinese.docs/en/ and docs/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.
Detect what needs syncing
git diff main..HEAD --stat docs/ — see which files changeddocs/en/ or docs/zh/, locate its mirror in the other locale (same relative path).Translate page by page, section by section
Apply terminology and typography rules from docs/AGENTS.md
,。;:?!()), space between Chinese and ASCII (letters / numbers / inline code / links).::: tip / ::: warning / ::: info / ::: danger) use the short Chinese labels from docs/AGENTS.md.Verify
git diff docs/ — scan for terminology drift or punctuation regressions.pnpm --filter docs run build or equivalent) to catch broken links and Markdown errors.docs/AGENTS.md writing-style examples); preserve that tone in Chinese; preserve sentence-case headings and concise English style in English.example.com, example.test, and YOUR_API_KEY in both locales.Wire, MCP, ACP, JSON, OAuth, macOS, uv, etc.).example placeholders.77618e3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.