What problem does it solve?
Maintaining bilingual documentation is tedious and error-prone: translators often break Markdown structure, mistranslate technical terms, or accidentally translate code blocks and configuration keys. This Skill automates the translation of English docs under docs/en/ into their Chinese counterparts under docs/zh/ while preserving formatting and terminology.
Core Features & Use Cases
- Path Validation and Resolution: Verifies the source file exists under
docs/en/ with a .md extension, then maps it to the corresponding docs/zh/ target path, creating directories when needed.
- Incremental or Full Translation: Updates only changed sections when a Chinese version already exists, or translates the entire document when it does not.
- Terminology and Format Preservation: Keeps technical terms (FSDP, GRPO, PPO, vLLM, SGLang, etc.), file paths, code blocks, CLI flags, and config keys untranslated while preserving Markdown structure and tables.
- Use Case: After updating an English tutorial in
docs/en/tutorial/agentic_rl.md, run this Skill to produce a synchronized Chinese version in docs/zh/tutorial/agentic_rl.md without manual copy-editing.
Quick Start
Translate the document docs/en/tutorial/agentic_rl.md into Chinese and write it to the matching path under docs/zh.