Agent skill

Translate Skill

by vinvcn in vinvcn/mattpocock-skills-zh-CN

将 mattpocock/skills 的内容翻译、刷新或复核到简体中文本地化仓库 vinvcn/mattpocock-skills-zh-CN 时使用这个项目级 skill。适用于 skill files、README content、CLAUDE.md、GLOSSARY.md、docs,以及其他需要保留行为关键 identifiers 的上游用户可见内容。

MITAuto-check passedAgent Workflows

Install Translate Skill

skills CLI
$ npx skills add vinvcn/mattpocock-skills-zh-CN --skill translate-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vinvcn/mattpocock-skills-zh-CN translate-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vinvcn/mattpocock-skills-zh-CN.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.skills/translate-skill .claude/skills/translate-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
translate-skill
GitHub stars
4.7k
Token cost
~1.3k tokens
SKILL.md length
314 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
MIT

At a glance

将 mattpocock/skills 的内容翻译、刷新或复核到简体中文本地化仓库 vinvcn/mattpocock-skills-zh-CN 时使用这个项目级 skill。适用于 skill files、README content、CLAUDE.md、GLOSSARY.md、docs,以及其他需要保留行为关键 identifiers 的上游用户可见内容。

  • Works in 4 steps: 批准:维护者把术语登入术语表的「已决定的翻译」区并填「决定于」,请求行保留在请求区。 → 落地:开分支,按已决定的译法替换仓库中的字面出现位置(大小写不敏感匹配),只改与该… → 更新术语表:把请求行状态改为 applied(该状态在应用 PR… → …
  • Tasks that involve Translation
  • SKILL.md covers 操作原则, 翻译哪些内容, 原样保留哪些内容 and 仓库路径本地化, plus 10 more sections
  • Calls git and node

What it does

Translate Skill is an agent skill from vinvcn/mattpocock-skills-zh-CN. 将 mattpocock/skills 的内容翻译、刷新或复核到简体中文本地化仓库 vinvcn/mattpocock-skills-zh-CN 时使用这个项目级 skill。适用于 skill files、README content、CLAUDE.md、GLOSSARY.md、docs,以及其他需要保留行为关键 identifiers 的上游用户可见内容。

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Translation and Agent instruction files. The repository describes itself as: 这是 mattpocock/skills 的简体中文本地化版本。 The licence is MIT.

When your agent uses it

  • Tasks that involve Translation
  • Tasks that involve Agent instruction files

Example prompts

  • “/translate-skill”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 批准:维护者把术语登入术语表的「已决定的翻译」区并填「决定于」,请求行保留在请求区。
  2. 落地:开分支,按已决定的译法替换仓库中的字面出现位置(大小写不敏感匹配),只改与该术语相关的出现位置;dsh-plugin/skills/ 是构建产物(gitignored,由 dsh-plugin/scripts/copy-skills.mjs 从 skills/…
  3. 更新术语表:把请求行状态改为 applied(该状态在应用 PR 合并后生效),保留来源引用与历史行。
  4. 提交 PR:按 CONTRIBUTING.md 的 PR 检查清单执行(先 git add 再运行脚本);PR 描述链接术语表条目与相关 issue,除非明确要关闭该 issue,不要使用会自动关闭它的关键字。

What it can do on your machine

Read from SKILL.md and the folder at commit bf98e53. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Translate Skill loads about 1.3k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 314 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from vinvcn/mattpocock-skills-zh-CN at commit bf98e53, republished under its MIT licence (© vinvcn). 314 words, ~1,251 tokens.

Download SKILL.mdSave it as .claude/skills/translate-skill/SKILL.md (or your agent's skills folder).
name
translate-skill
description
将 mattpocock/skills 的内容翻译、刷新或复核到简体中文本地化仓库 vinvcn/mattpocock-skills-zh-CN 时使用这个项目级 skill。适用于 skill files、README content、CLAUDE.md、GLOSSARY.md、docs,以及其他需要保留行为关键 identifiers 的上游用户可见内容。

翻译 skill

使用这个 skill 把上游 mattpocock/skills 的内容翻译成简体中文,用于 vinvcn/mattpocock-skills-zh-CN。

这个 skill 用于内容本地化,不是 Git 同步。

操作原则

把用户可见的英文说明性文字翻译成自然的简体中文,同时原样保留所有行为关键内容。

目标仓库是一个独立的简体中文本地化版本。它应接收翻译后的内容,而不是上游的仓库元数据。

翻译哪些内容

翻译自然语言文本,包括:

text
README 说明
skill instructions
skill descriptions
用户可见的 frontmatter prompts
面向 agent 的指引
面向维护者的指引
docs 说明性文字
以说明性文字写成的示例
Markdown 标题(headings)
Markdown 标题的翻译规则

标题是说明性文字,翻译成简体中文;标题层级与 Markdown 结构保持不变。标题内嵌的 inline code、identifiers 原样保留。

  • docs 页面的固定 schema 标题(What it does、When to reach for it、Common questions、It's working if、Where it fits、Prerequisites)与 skill 文件的结构性标题(Steps、Reference 等)必须使用 TRANSLATION-GLOSSARY.md 登记的统一译法,保证所有页面一致。
  • 其余标题按页面语境意译,无需逐一登记。
  • 例外(作为术语保留英文,不译):bucket 名(Engineering、Productivity、Misc 等,与目录名一致);invocation 术语(User-invoked、Model-invoked)。
  • 修改标题时,同步更新同一文件内指向该标题的 anchor links(GitHub 会按标题文本生成 slug,中文标题生成中文 anchor)。

原样保留哪些内容

不要翻译或改写:

text
目录名
skill 名称
slash commands
CLI 命令
代码块
inline code
文件路径
package 名
tool identifiers
API identifiers
环境变量名
frontmatter keys
JSON/YAML/TOML keys
Markdown 链接 URL
行为关键 labels

保持 Markdown 结构、标题层级、列表嵌套、表格、链接目标、相对路径和 code fences 不变。

仓库路径本地化

翻译用户可见的安装示例时,把上游仓库路径:

text
mattpocock/skills

替换为本地化仓库路径:

text
vinvcn/mattpocock-skills-zh-CN

只有当命令或说明性文字是在告诉用户如何安装或使用本地化仓库时,才做这个替换。

不要移除对上游项目的署名。

Frontmatter 规则

原样保留 frontmatter keys。

按含义而不仅是字段名,对每个 frontmatter 值分类:

  • 保持 name 值不变。
  • 把用户可见或面向 agent 的自然语言文本翻译成简体中文,包括 description 和 argument-hint 的值。
  • 保持 identifiers、命令、路径、package 名、URL、工具名、布尔值、数字和其他有类型的配置值不变。
  • 在可翻译的值内部,原样保留内嵌的 slash commands、inline code、占位符、路径、URL、package 名、工具名和其他行为关键片段。
  • 对有歧义的值打复核标记,不要猜测。

示例:

yaml
---
name: teach
description: 在这个工作区中教用户一个新技能或概念。
disable-model-invocation: true
argument-hint: "你想学习什么?"
---

翻译风格

使用满足以下要求的简体中文:

text
自然
对开发者友好
简洁
准确
与本仓库现有语气一致

如果某个常见工程术语在开发者中是标准说法,或者翻译它会降低清晰度,就把它保留为英文。

术语参考

查阅仓库根目录的 TRANSLATION-GLOSSARY.md。

对已决定的术语,严格使用记录的译法。

术语决定与落地流程

术语的请求与认领流程见 CONTRIBUTING.md;译法以 TRANSLATION-GLOSSARY.md 为唯一权威。一次完整的落地流程:

  1. 批准:维护者把术语登入术语表的「已决定的翻译」区并填「决定于」,请求行保留在请求区。
  2. 落地:开分支,按已决定的译法替换仓库中的字面出现位置(大小写不敏感匹配),只改与该术语相关的出现位置;dsh-plugin/skills/ 是构建产物(gitignored,由 dsh-plugin/scripts/copy-skills.mjs 从 skills/ 生成),不要手改,源头修复后随插件构建自动同步。
  3. 更新术语表:把请求行状态改为 applied(该状态在应用 PR 合并后生效),保留来源引用与历史行。
  4. 提交 PR:按 CONTRIBUTING.md 的 PR 检查清单执行(先 git add 再运行脚本);PR 描述链接术语表条目与相关 issue,除非明确要关闭该 issue,不要使用会自动关闭它的关键字。

单文件工作流

翻译单个文件时:

  1. 确认文件路径和文件类型。
  2. 把文件归类为可翻译的自然语言文本、混合内容、config/metadata 或不可翻译。
  3. 翻译前先保护行为关键片段。
  4. 只翻译自然语言文本。
  5. 原样恢复被保护的片段。
  6. 检查命令、代码块、路径、URL、identifiers 和 frontmatter keys 保持不变。
  7. 检查本地化后的安装命令使用 vinvcn/mattpocock-skills-zh-CN。
  8. 返回翻译后的文件内容或 patch,并附上所有复核标记。

仓库刷新工作流

从上游刷新时:

  1. 把上游当作内容来源,而不是 Git 历史。
  2. 找出新增、变更和移除的内容文件。
  3. 翻译新增和变更的、含说明性文字的文件。
  4. 仅当不可翻译的支持文件属于刷新范围时,才复制或保留。
  5. 保持本地化仓库的 README 定位和安装路径不变。
  6. 按“验证步骤”完成同步后的结构、完整性、索引和行为关键内容检查。
  7. 在 README 同步记录中追加一条简短条目。
  8. 在 README 中记录本次验证结果、翻译执行者和翻译策略摘要。
  9. 把有歧义的文件、被移除的文件或有风险的转换打上复核标记,交维护者审查。
  10. 总结已翻译文件、复制或保留文件、移除文件、跳过文件、验证结果和复核标记。

验证步骤

每次上游内容刷新后,必须完成并记录以下检查:

  1. 运行 node scripts/check-translation.mjs,确认 Markdown 结构、frontmatter、README install path 和 license invariant 没被破坏。
  2. 检查公开 skill 索引一致性:engineering/、productivity/、misc/ 下的 skills 必须同时出现在顶层 README.md 和 .claude-plugin/plugin.json;personal/、in-progress/、deprecated/ 不应出现在 plugin 或顶层公开索引中。
  3. 对比 upstream/main 的 in-scope 文件清单,确认没有缺失上游文件,也没有保留已经从上游移除且不属于本地策略的 stale files。
  4. 检查共同 Markdown 文件的行为关键内容:frontmatter keys 和 name 值不变,fenced code blocks 平衡,路径、命令、URL、identifier 不被误改。
  5. 运行 git diff --check 和 git diff --cached --check,确认没有 whitespace 或 patch hygiene 问题。
  6. 检查 README 同步记录指向最新 upstream short SHA,并包含本地同步 commit;不能留下“待定”占位。
  7. 扫描 stale install path 和旧路径,例如仍指向上游 repo 的安装命令、旧的中文仓库短路径、已移除的 triage skill 名、已移除的 domain-model 相对路径等。
  8. 运行 node scripts/audit-english.mjs 作为人工复核队列。该脚本在本仓库会包含大量合理的英文术语、命令、示例和 identifiers,因此只作为 review flag,不作为硬性失败门槛。

验证结果应同步写入顶层 README.md,使用简短 checklist,不要把完整命令输出粘进去。

SYNC.md 同步记录

每次上游刷新都应在顶层 SYNC.md 的同步记录中新增一条简短条目。

条目应包含:

  • 刷新日期,使用 YYYY-MM-DD 格式
  • 上游来源 revision,通常是 mattpocock/skills@<short-sha>
  • 本地同步 commit(如果已存在);否则先写一句简短的待定说明,commit 后再替换
  • 一句话描述本次可见的内容变更

保持记录简短。

示例:

text
- 2026-05-09:已同步上游 `mattpocock/skills@733d312`,本地 commit `c9fe120`。为 `prototype` 和 `in-progress` 内容新增了中文翻译,并刷新公开 skill 索引。

复核输出格式

复核一次翻译刷新时,提供:

text
改动文件:
- ...

已翻译文件:
- ...

复制或保留文件:
- ...

移除或过时文件:
- ...

复核标记:
- ...

SYNC.md 同步记录:
- ...

验证结果:
- ...

不变量检查:
- 安装命令指向 vinvcn/mattpocock-skills-zh-CN
- 代码块保持原样
- frontmatter keys 保持原样
- 路径和 identifiers 保持原样
- Markdown 结构保持原样

Fail-closed 规则

拿不准一段文本是否行为关键时,先原样保留并打上复核标记。

不要悄悄改写任何可能影响安装、skill 发现、命令执行、文件引用、API 调用、工具使用或 agent 行为的内容。

© vinvcn, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .skills/translate-skill of vinvcn/mattpocock-skills-zh-CN.

Open the folder on GitHubat commit bf98e53

Compare with similar skills

Translate Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Translate Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Translate Skill this skillvinvcn/mattpocock-skills-zh-CN4.7k—~1.3kAutomated safety check: PassMIT
Dsh Web Documentationzhu1090093659/dsh-web8.5k—~479Automated safety check: PassApache-2.0
Review Steeringdralgorhythm/claude-agentic-framework125—~1.1kAutomated safety check: PassNone
Translate DocsMoonshotAI/kimi-code7.8k—~976Automated safety check: PassMIT
Using Agent Skillsaddyosmani/agent-skills103k4 repos~2.4kAutomated safety check: PassMIT
Claude ReflectBayramAnnakov/claude-reflect1.7k2 repos~627Automated safety check: PassMIT

Similar skills

  • Dsh Web Documentation

    zhu1090093659/dsh-web

    A skill your agent uses when adding or editing dsh-web README files, docs, AGENTS.md instructions, user-facing configuration text, or bilingual documentation pairs.

    8.5k GitHub stars~479 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Review Steering

    dralgorhythm/claude-agentic-framework

    Compiles REVIEW.md and keeps CLAUDE.md accurate as the two sanctioned surfaces for steering Anthropic's managed Code Review service, translating this repo's rules into terse reviewer imperatives.

    125 GitHub stars~1.1k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Translate Docs

    MoonshotAI/kimi-code

    Translate and sync bilingual user documentation between docs/zh/ and docs/en/ following the source-of-truth rules in docs/AGENTS.md.

    7.8k GitHub stars~976 tokensUpdated today
    Writing & ContentAuto-check passed
  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Claude Reflect

    BayramAnnakov/claude-reflect

    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

    1.7k GitHub starsUsed in 2 repos~627 tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed

More from vinvcn/mattpocock-skills-zh-CN

All 32 skills in this repo
  • Git Guardrails Claude Code

    vinvcn/mattpocock-skills-zh-CN

    设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。

    4.7k GitHub stars~461 tokensUpdated yesterday
    Auto-check passed
  • Codebase Design

    vinvcn/mattpocock-skills-zh-CN

    用于设计深模块的共享词汇。适用于用户想设计或改进模块接口、寻找深化机会、决定 seam 放在哪里、让代码更容易测试或更适合 AI 导航,或其他技能需要深模块词汇时。

    4.7k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Diagnosing Bugs

    vinvcn/mattpocock-skills-zh-CN

    面向棘手缺陷和性能回退的诊断循环。适用于用户说 “diagnose” / “debug this”,或报告某些东西 broken、throwing、failing、slow 时。

    4.7k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Domain Modeling

    vinvcn/mattpocock-skills-zh-CN

    构建并打磨项目的领域模型。适用于讨论 codebase 术语、编写或编辑 GLOSSARY.md,或记录或编辑 ADR。

    4.7k GitHub stars~477 tokensUpdated yesterday
    Auto-check passed
  • Migrate To Shoehorn

    vinvcn/mattpocock-skills-zh-CN

    将测试文件从 as 类型断言迁移到 @total-typescript/shoehorn。适用于用户提到 shoehorn、想替换测试中的 as,或需要局部测试数据时。

    4.7k GitHub stars~603 tokensUpdated yesterday
    Auto-check passed
  • PR

    vinvcn/mattpocock-skills-zh-CN

    用于撰写 PR 正文。适用于用户要求起草、改写或改进 PR 正文,或希望 PR 更便于审阅时. An agent skill from vinvcn/mattpocock-skills-zh-CN.

    4.7k GitHub stars~729 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Translate Skill

What does Translate Skill do?

将 mattpocock/skills 的内容翻译、刷新或复核到简体中文本地化仓库 vinvcn/mattpocock-skills-zh-CN 时使用这个项目级 skill。适用于 skill files、README content、CLAUDE.md、GLOSSARY.md、docs,以及其他需要保留行为关键 identifiers 的上游用户可见内容。. Translate Skill is an agent skill from vinvcn/mattpocock-skills-zh-CN.

When should I use Translate Skill?

Translate Skill fits situations like: tasks that involve Translation; tasks that involve Agent instruction files.

How do I install Translate Skill in Claude Code?

Run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill translate-skill -a claude-code`. Or copy the skill folder (.skills/translate-skill in vinvcn/mattpocock-skills-zh-CN) into .claude/skills/translate-skill in your project. Claude Code loads it when a task matches its description.

How do I install Translate Skill in Codex?

Run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill translate-skill -a codex`. Or copy the skill folder (.skills/translate-skill in vinvcn/mattpocock-skills-zh-CN) into .agents/skills/translate-skill in your project. Codex loads it when a task matches its description.

Can I use Translate Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vinvcn/mattpocock-skills-zh-CN --skill translate-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/translate-skill, .gemini/skills/translate-skill, .github/skills/translate-skill and .opencode/skills/translate-skill in your project.

What does Translate Skill need to run?

Going by SKILL.md and its folder, Translate Skill needs the command-line tools its instructions call (git and node).

Does Translate Skill access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Translate Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Translate Skill use?

Translate Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Translate Skill use?

About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Translate Skill?

Skills that share tags, products or a category with Translate Skill: Dsh Web Documentation (zhu1090093659/dsh-web, 8.5k stars), Review Steering (dralgorhythm/claude-agentic-framework, 125 stars), Translate Docs (MoonshotAI/kimi-code, 7.8k stars) and Using Agent Skills (addyosmani/agent-skills, 103k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Translate Skill?

vinvcn (a GitHub user) maintains it in vinvcn/mattpocock-skills-zh-CN, which has 4,682 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 8, 2026.

Source: vinvcn/mattpocock-skills-zh-CN on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.