# Cn To En Translator

> |

- **Type:** Skill
- **Install:** `agentstack add skill-ryanwangfun-claude-skills-cn-to-en-translator`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [RyanWangFun](https://agentstack.voostack.com/s/ryanwangfun)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [RyanWangFun](https://github.com/RyanWangFun)
- **Source:** https://github.com/RyanWangFun/claude-skills/tree/main/translation/cn-to-en-translator

## Install

```sh
agentstack add skill-ryanwangfun-claude-skills-cn-to-en-translator
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Chinese to English Article Translator

Translate Chinese markdown articles to English while faithfully preserving the original writing style, tone, and structure.

## Core Workflow

1. **Read** the source Chinese markdown file
2. **Translate** all text content to English
3. **Preserve** original writing style (narrative, technical, academic, etc.)
4. **Save** to same directory with English title as filename

## Translation Principles

### Style Fidelity

**Preserve the original article's style completely:**
- Narrative essays → maintain storytelling flow and personal voice
- Technical documentation → keep technical precision and structure
- Academic writing → preserve formal tone and argumentation
- Conversational pieces → retain casual, engaging tone

**Do NOT impose a generic translation style.** Adapt to match the source material.

### Content Handling Rules

**YAML Frontmatter:**
- Keep key names unchanged (e.g., `tags:`, `themes:`)
- Translate only the values
- Example: `tags: ["情绪解离"]` → `tags: ["emotional dissociation"]`

**Images:**
- Preserve completely: `![[image.png]]`, ``
- Do NOT translate filenames or paths

**Code Blocks:**
- Keep code unchanged
- Translate only comments and surrounding explanatory text
- Example:
  ```python
  # 计算总和
  def sum(a, b):
      return a + b
  ```
  →
  ```python
  # Calculate sum
  def sum(a, b):
      return a + b
  ```

**Terminology:**
- Use standard academic/industry English terms
- Examples:
  - "依恋理论" → "attachment theory"
  - "PARA 系统" → "PARA system"
  - "心理解离" → "dissociation"

**Chinese Scholars & Original Concepts:**
- Preserve pinyin for Chinese names
- Add clarification on first mention if needed
- Example: "武志红的'深度关系理论'" → "Wu Zhihong's 'Deep Relationship Theory'"

**Culture-Specific Expressions:**
- Use equivalent English expressions, not literal translations
- Example: "兜兜转转" → "going in circles"

**Links & References:**
- External URLs: Keep unchanged
- Internal links: Translate link text, preserve structure
- Example: `[查看详情](./guide.md)` → `[View Details](./guide.md)`

**Markdown Structure:**
- Preserve all heading levels (`#`, `##`, `###`)
- Keep list structures (`-`, `1.`, `>`)
- Maintain table formatting
- Preserve line breaks and spacing

## Quality Control

**Mandatory Requirements:**
- ❌ Do NOT skip any paragraphs
- ❌ Do NOT alter the original meaning
- ❌ Do NOT add content not in the source
- ✅ Ensure terminology consistency throughout the document

## Output Specification

**File Format:** Markdown (.md)

**Save Location:** Same directory as source file

**Filename Convention:**
1. Extract the translated H1 title (`# Title`) from translated content
2. Use translated title as filename
3. Example:
   - Source: `用Claude Code构建个人心理成长追踪系统.md`
   - Output: `Building a Personal Psychological Growth Tracking System with Claude Code.md`

## Execution Steps

When user requests translation:

1. **Read** the source file using Read tool
2. **Translate** the complete content following all rules above
3. **Extract** the H1 title from translated content for filename
4. **Write** the translated content to same directory using Write tool
5. **Confirm** completion with the output file path

## Example Usage

**Input:**
```
User: 翻译文章 /path/to/article/我的文章.md
```

**Process:**
1. Read `/path/to/article/我的文章.md`
2. Translate content (preserving style, images, code, formatting)
3. Extract English H1 title: "My Article"
4. Write `/path/to/article/My Article.md`

**Output:**
```
Translation completed: /path/to/article/My Article.md
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [RyanWangFun](https://github.com/RyanWangFun)
- **Source:** [RyanWangFun/claude-skills](https://github.com/RyanWangFun/claude-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-ryanwangfun-claude-skills-cn-to-en-translator
- Seller: https://agentstack.voostack.com/s/ryanwangfun
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
