translate-to-chn
БесплатноБез исполняемых скриптовНе проверенTranslate a specific article from ai-thoughts/docs/ into Simplified Chinese, writing the output to an exactly-same-filename "-chn.md" file. Use when the user…
от j3ffyang967 установок в других каталогахОб этом скилле
Translate to Chinese (-chn.md)
Translate one article from ai-thoughts/docs/ into Simplified Chinese and write it to a new file with the same filename plus a -chn.md suffix.
Approval gate — read before anything else
- Never translate, write, or create anything without explicit user approval. This skill converts on demand only; it does not run automatically and it does not pick candidate articles on its own.
- No action if no article is specifically chosen. The user must point out exactly one article (by filename, slug, or date). If they don't, do nothing except ask which one.
- Before writing the output, confirm the plan with the user: the source file, the exact output path, and whether an existing
-chn.mdshould be overwritten.
Inputs
source— Path to the source article, e.g.ai-thoughts/docs/260803-ollama-to-llamacpp.md. Required. If the user only names an article by slug or date, locate it inai-thoughts/docs/.
Outputs
outputPath— Path to the translated article:docs/<exact-same-filename>-chn.md(replace the.mdsuffix with-chn.md, keeping theYYMMDD-slugprefix and all characters exactly). Example:260803-ollama-to-llamacpp.md→260803-ollama-to-llamacpp-chn.md.
Procedure
- Wait for the user to point out the article to translate. Do not start until they name it explicitly.
- Confirm the plan with the user: the source file and the output path. Get their go-ahead before writing anything.
- Check for an existing
-chn.md. Ifdocs/<same>-chn.mdalready exists, stop and ask whether to overwrite it, diff against it, or skip. Never overwrite silently. - Read the source article from
source. Understand the full content before translating. - Translate the body into Simplified Chinese:
- Keep the title as an H1 with the key term followed by a Chinese
translation (match the style of existing
-chn.mdpairs). - Right after the H1, add the source link line, using the absolute GitHub URL (the
j3ffyangrepo), not a relative link:**原文:** [<source-filename>](https://github.com/j3ffyang/ai-thoughts/blob/main/docs/<source-filename>) - Translate the running text, headings, and bullets faithfully and naturally. Do not add, remove, or reorder content.
- Write Simplified Chinese by default; Traditional Chinese only when the source was originally written that way.
- Apply the bilingual-gloss style below: gloss technical terms and section titles, and add plain-language explanations for unfamiliar concepts.
- Keep the title as an H1 with the key term followed by a Chinese
translation (match the style of existing
- Do not translate specific terms — leave them verbatim:
- Product, tool, and agent names: Hermes Agent, OpenCode, OpenClaw, Astro, etc.
- Technical terms, commands, flags, config and file names (
AGENTS.md,SOUL.md,.cursorrules,hermes -c), environment variables, URLs. - Code blocks, inline code, CLI keystrokes (
Ctrl+C,Alt+Enter). - Existing proper nouns already in Latin script. Only translate the surrounding prose; never translate inside code.
- Preserve everything else exactly:
../imgs/<file>image references (keep the path verbatim — Chinese files mirror English per AGENTS.md), links, HTML, tables, frontmatter (if any), and Markdown structure. - Write the output to
docs/<same-filename>-chn.mdwith the source link line followed by the translated body. - Arch sign-off: if the source ends with
btw, i use arch, append the identical line at the bottom of the-chn.md. Keep it verbatim English — do not translate. - Report
outputPathto the user. Do not modify the source file, and do not toucharticles.yamlor the READMEs (out of scope for this skill).
Bilingual-gloss style (default)
Every -chn.md uses this style: Simplified Chinese is the primary text, and English is added as glosses so a Chinese-only reader still gets the technical vocabulary. The source article stays as-is; the glosses and explanations live only in the -chn.md.
- Gloss technical terms inline. The first meaningful time a technical term appears, follow it with the English in parentheses:
技能 (skill),无头 (headless),密钥链 (keychain),接口额度 (API quota). Don't gloss every repetition or everyday words — only technical or specialized vocabulary. - Gloss section titles. Add the gloss to headings that contain technical terms:
## 技能 (skill) 是什么,## 无头 (headless) 环境下的认证. - Add plain-language explanations. For concepts a general reader won't know (e.g. what 无头 (headless) 环境 means), add a short, simple explanation in plain Chinese at the first use. Understanding beats literal fidelity here — the explanation may be a small addition to the source, since the goal is a standalone readable article for a Chinese audience.
- Gloss inside tables too. The same rules apply to table cells — gloss technical terms on first appearance:
| 我——思维流 (thought-flow) | OpenCode + git——工作流 (workflow) |.
The verbatim exceptions from Procedure ste
Установить translate-to-chn в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл translate-to-chn?
Translate a specific article from ai-thoughts/docs/ into Simplified Chinese, writing the output to an exactly-same-filename "-chn.md" file. Use when the user names a specific article and asks to translate it (e.g. "translate 260803-ollama-to-llamacpp", "翻译 xxx", "make a -chn.md version"). Never runs automatically; only acts on an explicitly chosen article.
Как установить скилл translate-to-chn?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл translate-to-chn запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic