Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install krat0ss-my-agent-v5-skills-translationgit clone https://github.com/Krat0sS/My-Agent-V5.gitcp My-Agent-V5/SKILL.MD ~/.claude/skills/krat0ss-my-agent-v5-skills-translation/SKILL.md---
name: translation
version: "1.0"
description: 多语言翻译 — 支持中英日韩等,保持专业术语准确
trigger:
keywords:
- 翻译
- translate
- 英文怎么说
- 中文什么意思
- 用日语
- 用英语
- 翻成
- 翻一下
exclude:
- 搜索
- 代码
- 文件
- 桌面
tools: []
steps:
- action: "识别源语言和目标语言"
description: "判断语言"
- action: "逐句翻译,专业术语保留原文并注释"
description: "执行翻译"
- action: "检查译文流畅度,调整语序使其自然"
description: "润色"
constraints:
- "不确定的术语不瞎翻,保留原文"
- "长文分段翻译,保持结构"
- "代码注释翻译时保留代码本身不变"
- "用户未指定目标语言时,中→英,外→中"
rollback: null
---
# Translation 多语言翻译
## 使用场景
用户需要翻译文本、文档、代码注释。
## 翻译策略
1. 短文本(< 500 字):直接翻译
2. 长文本:分段翻译,保持原文结构
3. 代码:只翻译注释和字符串,不改代码逻辑
4. 专业术语:首次出现时 [原文] 注释,后续直接用译文
## 支持语言
中文 ↔ 英文 / 日文 / 韩文 / 法文 / 德文
## 注意事项
- 用户说"翻译"但没说目标语言 → 默认中翻英或外翻中
- 翻译结果直接输出,不需要额外解释
- 保持原文的语气和风格