Translate Markdown while preserving structure in Claude Code
Find source notes to translate and keep filenames, metadata keys, code, and technical identifiers intact when saving the translation.
中文Install in Claude Code
A Claude Code workspace with a raw notes directory. Identify the file and confirm the working copy before its in-place replacement.
- Review `.claude/skills/translate/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/translate/` in your project and save the reviewed file as `.claude/skills/translate/SKILL.md`.
- Start Claude Code from that project's root, then select `/translate` in the slash menu.
Example task
A fictional source note contains `{title:'Print preview',body:'Choose 24 rows per sheet.',setting:'rowsPerSheet',author:'Lee'}`. It also contains code that uses rowsPerSheet.What to check
Translate the title and prose into Simplified Chinese, keeping the 24-row limit. Verify `{setting:'rowsPerSheet',author:'Lee'}` against the source, keep the code unchanged, and retain the filename.
Original SKILL.md on GitHub · Updated
Frequently asked question
What should stay unchanged in a Markdown translation?
Translate the title, description value, and prose. Keep field names, identifiers, authors, links, code blocks, and filenames, and check the translation for completeness.