skill-translatorlisted
Install: claude install-skill xiehuacheng/skills
# skill-translator
Translate a skill's `SKILL.md` from its source language into a target language, overwriting the original file. Supports Chinese (`zh-CN`) and English (`en`).
## Can do
- Parse a user's natural-language request to identify the target skill and target language.
- Read the source `SKILL.md` from a skill directory.
- Detect the source language (Chinese or English).
- Translate the `description` frontmatter and the body into the target language.
- Preserve untranslatable elements: code blocks, file paths, command names, technical identifiers, URLs, and the `name` frontmatter.
- Validate the resulting `SKILL.md` with `scripts/quick_validate.py`.
## Cannot do without explicit approval
- Batch-translate every skill in a directory.
- Translate files other than `SKILL.md`.
- Automatically infer the target language; the user must confirm it.
## Default behavior
- Activation is conversational: the user says something like "translate ask-for-tools to English".
- If the request is ambiguous, ask for the skill name and target language with `AskUserQuestion`.
- If the source language equals the target language, stop and report the mismatch.
- The final write happens only after the user confirms the translated content.
## When to use
Trigger this skill when the user:
- Says "translate `<skill>` to English/Chinese".
- Says "把 `<skill>` 翻译成英文/中文".
- Asks to localize or internationalize an existing skill.
- Wants to migrate a legacy Chinese skill to English while kee