translate-doc — for Claude Code translate-doc, agent-cracker, community, for Claude Code, ide skills, 可以是: - 单个文件路径:, all-docs, to en, to zh, README_CN.md

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、readme 等所有 markdown 文件。. 本地化技能摘要: translate-doc helps AI agents handle repository-specific developer workflows with documented implementation details.

功能特性

翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、README 等所有 Markdown 文件。
/translate-doc <target # 单文件或目录
/translate-doc <target --to en # 强制指定目标语言
单个文件路径:docs/aider.md、demos/aider/search-replace/README.md
目录路径:demos/aider/(翻译目录下所有 .md 文件)

# 核心主题

7hinkDifferent 7hinkDifferent
[2]
[0]
更新于: 3/19/2026

技能概览

先看适用场景、限制条件和安装路径,再决定是否继续深入。

适用场景: Ideal for AI agents that need 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、readme 等所有 markdown 文件。. 本地化技能摘要: translate-doc helps AI agents handle repository-specific developer workflows with documented implementation details.

核心价值

推荐说明: translate-doc helps agents 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、readme 等所有 markdown 文件。. translate-doc helps AI agents handle repository-specific developer workflows with documented implementation

适用 Agent 类型

适用场景: Ideal for AI agents that need 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、readme 等所有 markdown 文件。.

赋予的主要能力 · translate-doc

适用任务: Applying 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、README 等所有 Markdown 文件。
适用任务: Applying /translate-doc <target # 单文件或目录
适用任务: Applying /translate-doc <target --to en # 强制指定目标语言

! 使用限制与门槛

  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

关于来源内容

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

translate-doc 是什么?

适用场景: Ideal for AI agents that need 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、readme 等所有 markdown 文件。. 本地化技能摘要: translate-doc helps AI agents handle repository-specific developer workflows with documented implementation details.

如何安装 translate-doc?

运行命令:npx killer-skills add 7hinkDifferent/agent-cracker/translate-doc。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

translate-doc 适用于哪些场景?

典型场景包括:适用任务: Applying 翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、README 等所有 Markdown 文件。、适用任务: Applying /translate-doc <target # 单文件或目录、适用任务: Applying /translate-doc <target --to en # 强制指定目标语言。

translate-doc 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

translate-doc 有哪些限制?

限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add 7hinkDifferent/agent-cracker/translate-doc。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    translate-doc 已启用,可立即在当前项目中调用。

! 来源说明

此页面仍可作为安装与查阅参考。继续使用前,请结合上方适用场景、限制条件和上游仓库说明一起判断。

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

translate-doc

安装 translate-doc,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看功能、使用场景、限制条件与安装命令。

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Translate Doc

翻译项目中的文档文件(中↔英),支持单文件、目录批量、和全项目模式。适用于 docs/、demos/、README 等所有 Markdown 文件。

Trigger

/translate-doc <target>           # 单文件或目录
/translate-doc <target> --to en   # 强制指定目标语言
  • <target> 可以是:
    • 单个文件路径:docs/aider.mddemos/aider/search-replace/README.md
    • 目录路径:demos/aider/(翻译目录下所有 .md 文件)
    • 特殊关键词:all-docs(翻译 docs/ 下所有分析文档)

语言检测与输出

自动检测方向

  • 文档主要语言为中文 → 翻译为英文
  • 文档主要语言为英文 → 翻译为中文
  • 可用 --to en--to zh 强制指定

输出路径规则

源文件输出文件
docs/aider.mddocs/aider.en.md
demos/aider/README.mddemos/aider/README.en.md
demos/aider/search-replace/README.mddemos/aider/search-replace/README.en.md
README_CN.mdREADME.md(特殊处理)

后缀规则:<name>.<target-lang>.md(如 .en.md.zh.md

保持不变的内容

以下元素 不翻译

  1. 代码块(``` 围栏块)— 保持原样
  2. 行内代码反引号内容)— 保持原样
  3. 文件路径URL — 保持原样
  4. 技术标识符 — 变量名、函数名、类名、CLI flag
  5. Mermaid/ASCII 图表 — 保持原样
  6. YAML frontmatter — 保持原样
  7. 表格结构 — 翻译单元格内容,保留 |- 格式
  8. HTML 注释标记 — 如 <!-- PROGRESS_START --> 等 marker,保持原样
  9. Skill 命令 — 如 /analyze-agent/create-demo 等,保持原样

领域术语表

翻译时使用统一的术语对照,确保跨文档一致性:

中文English备注
主循环Agent Loop
上下文管理Context Management
上下文窗口Context Window
编辑应用Edit Apply
工具系统Tool System
提示词工程Prompt Engineering
错误处理与恢复Error Handling & Recovery
关键创新点Key Innovations
跨 Agent 对比Cross-Agent Comparison
MVP 组件MVP Components不翻译 MVP
进阶机制Advanced Mechanisms
完整串联Full Integration
分析文档Analysis Doc
机制复现Mechanism Reproduction / Demo
维度Dimension如 D1-D8
单一数据源Single Source of Truth
浅克隆Shallow Clone
覆盖缺口Coverage Gap
分析漂移Analysis Drift

首次出现技术术语时,可附带原文:如 "Agent Loop(主循环)" 或 "主循环 (Agent Loop)"。后续出现直接使用目标语言。

翻译质量要求

  • 保持相同的标题层级(###### 等)
  • 保持相同的章节编号
  • 保留 Markdown 格式(加粗、斜体、列表、链接)
  • 使用自然、地道的目标语言表达
  • 中译英时避免直译,用英文技术文档的惯用表达
  • 英译中时保留常用英文技术术语不强行翻译(如 agent、demo、hook、skill)

工作流

单文件模式

  1. 读取源文件
  2. 检测主要语言
  3. 按上述规则翻译
  4. 写入翻译文件(与源文件同目录)
  5. 报告:源文件、目标文件、翻译方向

目录模式

  1. 扫描目录下所有 .md 文件(不含已有的 .en.md/.zh.md 翻译件)
  2. 列出待翻译文件清单,确认后开始
  3. 逐一翻译,跳过已有最新翻译的文件
  4. 汇总报告:翻译了 N 个文件,跳过 M 个

all-docs 模式

  1. 扫描 docs/ 下所有 <agent>.md(排除 TEMPLATE.md 和已有翻译件)
  2. 列出待翻译清单
  3. 逐一翻译
  4. 汇总报告

相关技能

寻找 translate-doc 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具