.agents/skills/system/i18n-translate/SKILL.md
Treat packages/web/i18n/zh-CN/<namespace>.json as the semantic and structural source of truth. Translate the specified namespace into all sibling locale directories without changing runtime behavior.
Before translating, read both of these references completely:
all from the user.app to packages/web/i18n/zh-CN/app.json.all to every JSON file directly under packages/web/i18n/zh-CN/, sorted by filename.zh-CN; ask for the Simplified Chinese source instead.packages/web/i18n/, excluding zh-CN.rg to find how the same product concept is translated elsewhere in packages/web/i18n/en/.知识库引用 overrides the separate entries for 知识库 and 引用.{{name}}, rich-text tags such as <bold>, URLs, literal escape sequences, and intentional line breaks exactly.en, write concise, natural North American product English. Translate intent rather than syntax, use sentence case by default, and favor familiar product terms over literal Chinese constructions.zh-Hant, write region-neutral, natural Traditional Chinese rather than applying blind character conversion. Prefer established repository terminology when regional variants differ.Run the bundled validator from the repository root:
node .agents/skills/system/i18n-translate/scripts/validate-namespace.mjs \
packages/web/i18n/zh-CN/<namespace>.json
For all, run the validator once for every source namespace and require every run to finish with zero errors and zero warnings.
Then:
git diff -- <source-and-target-files> for mistranslation, accidental key changes, stale values, inconsistent capitalization, and unrelated edits.Report:
Do not write a separate summary document.