Token导航 LogoToken导航

Agent Skill · 开发

article-translator(文章翻译者)

article-translator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

article-translator 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 21,446。

总安装 188周安装 8GitHub Stars 公开资料未说明下载 66核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:article-translator(文章翻译者)
来源仓库:https://github.com/foreveryh/deeptoai-skills
仓库路径:skills/article-translator
安装命令:
npx skills add https://github.com/foreveryh/deeptoai-skills --skill article-translator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/foreveryh/deeptoai-skills --skill article-translator

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

article-translator 专为 MDX/Markdown 技术文档设计,提供准确的多语言翻译能力。它能保护代码块不变、保留技术术语、兼容 Fumadocs 组件,并支持文化语境适配。

可与 fumadocs-article-importer 和 skill-article-publisher 配合使用形成完整工作流。安装前应检查是否具备读取源文件和写入翻译结果所需的权限。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/article-translator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/foreveryh/deeptoai-skills --skill article-tran…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

article-translator 怎么安装?

在终端执行 npx skills add https://github.com/foreveryh/deeptoai-skills --skill article-translator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

article-translator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

article-translator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

article-translator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

article-translator 用的人多吗?

公开数据是累计安装 188 次,近一周安装 8 次,下载 66 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

article-translator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
article-translator

文章翻译者 · 本页

188—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

技术文档翻译 Skill

专为 MDX/Markdown 技术文档设计的翻译 skill。

核心特性

  • ✅ MDX 兼容 - 正确处理 bold/italic 空格,避免渲染错误
  • ✅ 代码块保护 - 代码和命令完全不变
  • ✅ 技术术语保留 - API、SDK、React 等保持英文
  • ✅ Fumadocs 优化 - 适配 Fumadocs 组件和格式

与其他 Skills 配合

推荐工作流:

fumadocs-article-importer (下载文章)
         ↓
translator (翻译内容) ← 你在这里
         ↓
skill-article-publisher (发布)

调用时机:

  • article-importer 在 Step 7 自动调用
  • 或手动触发翻译已有文档

This skill enables accurate, context-aware translation between languages while preserving:

  • Technical terminology
  • Code blocks and syntax
  • Markdown formatting
  • Cultural appropriateness
  • Original tone and intent

Translation Workflow

Step 1: Analyze Source Content

Before translating:

  1. Identify the source language (if not explicitly provided)
  2. Understand the content type (technical documentation, article, UI text, etc.)
  3. Note any technical terms, code blocks, or special formatting
  4. Determine the appropriate tone and style

Step 2: Perform Translation

Apply professional translation principles:

Accuracy:

  • Preserve the exact meaning of the original text
  • Maintain technical accuracy, especially for domain-specific content
  • Keep numerical values, dates, and proper nouns appropriate for the target locale

Fluency:

  • Produce natural, idiomatic text in the target language
  • Avoid literal word-for-word translation
  • Use appropriate sentence structure for the target language

Format Preservation:

  • Keep all Markdown syntax exactly as-is (headings, lists, links, etc.)
  • Preserve code blocks completely unchanged
  • Maintain image references and paths
  • Keep HTML/JSX tags and attributes unchanged
  • CRITICAL for MDX - Bold/Italic spacing:

- Always add a space after **bold** or *italic* before the next character - Example: **Text:** word → Ensure space after the second ** - Correct: **粗体:** 文字 (space after **) - Wrong: **粗体:**文字 (no space, will break MDX rendering) - This is especially important for non-Latin languages (Chinese, Korean, Japanese) - Apply to all bold/italic patterns: **...**, *...*, __...__, _..._

Technical Terms:

  • For widely recognized technical terms (API, HTTP, Git), keep in English or use standard translations
  • For product names and brand names, keep original
  • Use target language conventions for technical documentation

Step 3: Language-Specific Guidelines

Chinese (Simplified - zh):

  • Use simplified Chinese characters (简体中文)
  • Technical terms: Keep English when widely used (e.g., API, SDK) or use standard Chinese translations
  • Punctuation: Use Chinese punctuation (。、,!?) for text, but keep English punctuation in code
  • Tone: Professional and clear, use 您 for formal contexts

French (fr):

  • Use proper French accents (é, è, à, ô, etc.)
  • Technical terms: Use standard French translations when they exist (e.g., "ordinateur" not "computer")
  • Tone: Maintain formal "vous" unless context clearly indicates informal tone
  • Numbers: Use French formatting (space for thousands: 1 000 not 1,000)

Korean (ko):

  • Use appropriate honorific level (formal 합니다 style for documentation)
  • Technical terms: Common terms stay in English, but use Korean for general concepts
  • Tone: Professional and respectful
  • Mixed script: Acceptable to mix Korean with English technical terms

English (en):

  • Use clear, professional English
  • Follow US spelling conventions unless specified otherwise
  • Technical terms: Use industry-standard terminology
  • Tone: Professional but accessible

Step 4: Translation Integrity Check (Critical!)

⚠️ 防止 "中文显示英文" 问题:

检查清单(翻译后必须验证):

# 1. 检查文件是否真的被翻译(不是复制英文)
# 对比中英文文件的前 100 个字符
diff <(head -c 100 content/docs/en/article.mdx) \
     <(head -c 100 content/docs/zh-CN/article.mdx)

# 如果输出为空,说明中文版是直接复制的!
# 必须重新翻译

自动检测未翻译内容:

# 检测中文文件中是否包含英文段落
grep -E '\b(is|the|and|to|for|with|from)\b' content/docs/zh-CN/article.mdx

# 如果有大量匹配,说明翻译不完整

常见问题:

问题原因解决方案
中文显示英文直接复制英文文件使用 article-translator 重新翻译
部分未翻译只翻译了部分段落检查并翻译所有段落
标题未翻译忘记翻译 frontmatter翻译 title 和 description

必须验证的字段:

---
title: 必须翻译
description: 必须翻译
---

Step 5: MDX Safety Rules (Critical!)

MDX 特殊字符处理(必须遵守):

字符问题解决方案示例
<被解析为 JSX 标签使用 < 或替换为文字<5% → <5% 或 under 5%
>被解析为 JSX 标签使用 > 或替换为文字>80% → >80% 或 over 80%
{ }被解析为 JSX 表达式使用 { } 或避免使用{variable} → {variable}
&HTML 实体冲突使用 &A & B → A & B

图片文件名规则(重要!):

❌ 错误:img-1.png, screenshot-10.png(MDX 会解析 -1, -10)
✅ 正确:img01.png, screenshot10.png, openclaw01.png(无连字符+数字)

翻译后自检清单:

- [ ] 所有 `<` 已替换为 `<` 或 "under/less than"
- [ ] 所有 `>` 已替换为 `>` 或 "over/more than"
- [ ] 图片文件名不含连字符+数字(img-1 → img01)
- [ ] 代码块保持原样(包括注释)
- [ ] Frontmatter 格式正确
- [ ] Markdown 链接和图片引用正确

Step 5: Quality Check

Before delivering translation:

  1. Verify all code blocks remain unchanged
  2. Check that Markdown formatting is preserved
  3. Ensure technical terms are handled consistently
  4. Confirm the translation reads naturally in the target language
  5. Validate that links, images, and references still work
  6. Run MDX safety check (Step 4)

Output Format

Present translations clearly:

For single translations: Provide the translated text directly, maintaining all original formatting.

For multiple languages: Use clear section headers to separate each language:

## English (en)
[Translated content]

## 中文 (zh)
[Translated content]

## Français (fr)
[Translated content]

## 한국어 (ko)
[Translated content]

Special Cases

Code Comments

  • Translate comments inside code blocks only if explicitly requested
  • Default: Keep code (including comments) unchanged

Mixed Content

  • For content mixing multiple languages, preserve the intentional multilingual parts
  • Only translate what should be translated

Cultural References

  • Adapt idioms and cultural references to equivalent concepts in target language
  • When no equivalent exists, provide a culturally neutral translation that preserves meaning

Acronyms and Abbreviations

  • Keep widely-known acronyms in original form (HTML, CSS, API, REST, etc.)
  • Spell out and translate acronyms specific to the source language

Examples

Example 1: Technical Documentation

Source (en):

# Getting Started

Install the package using npm:

\`\`\`bash
npm install my-package
\`\`\`

The API provides three endpoints for data retrieval.

Target (zh):

# 快速开始

使用 npm 安装该包:

\`\`\`bash
npm install my-package
\`\`\`

该 API 提供三个数据检索端点。

Example 2: Preserving Technical Terms

Source (en): "The React component uses hooks for state management."

Target (zh): "该 React 组件使用 hooks 进行状态管理。"

Target (fr): "Le composant React utilise des hooks pour la gestion d'état."

Target (ko): "React 컴포넌트는 상태 관리를 위해 hooks를 사용합니다."

Example 3: Markdown Preservation

Source:

> **Note:** This is important.

See [documentation](https://example.com) for details.

Translation maintains exact same structure:

> **注意:** 这很重要。

详情请参阅[文档](https://example.com)。

Best Practices

  1. Context is key: Understanding the content type and audience improves translation quality
  2. Consistency: Use the same translation for recurring terms throughout a document
  3. Natural flow: Prioritize readability in the target language over literal translation
  4. Preserve intent: Maintain the original purpose and tone of the content
  5. Ask when uncertain: If target language or specific terminology is unclear, ask for clarification

Notes

  • This skill uses Claude's native multilingual capabilities, no external translation APIs required
  • Translation quality benefits from understanding the full context of the content
  • For very large documents, consider translating section by section to maintain quality
  • Always preserve code, links, and formatting exactly as they appear in the source

平台分布

Codex

34.98%
按下载量换算23

Claude

30.6%
按下载量换算20

Cursor

16.94%
按下载量换算11

Gemini CLI

8.81%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills