agentleFS
mxsmmxsm/rocketmq-rust/.claude/skills/translate-it-doc-en-zh/SKILL.md

translate-it-doc-en-zh

Skill1.5k starsChanged 5 months agoApache-2.0View on GitHub

Translate English IT and software engineering documents into professional, accurate Chinese. Use when user provides English technical documentation, API docs, README, design docs, RFCs, or source code comments and asks for Chinese translation. Prioritize correctness, standard IT terminology, and engineering-style Chinese.

Trending

Quiet since March.thin dataabout the whole repository

Jan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the mxsm/rocketmq-rust repository that our weekly crawl found: only 9 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about mxsm/rocketmq-rust

The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 9

Talked about on GitHub and Bluesky (9 times).

On GitHub · 5

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. About 0 are common, 19 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a term exists in any glossary, you MUST use the specified Chinese translation.

    line 30
  2. Distinctive:

    If a term appears in multiple glossaries, apply the following priority order:

    line 32
  3. Distinctive:

    When this skill is activated, translate the provided English IT or software engineering content into professional Chinese following these …

    line 41
  4. Distinctive:

    Do NOT add, remove, or speculate about information.

    line 45
  5. Distinctive:

    Do NOT simplify technical concepts.

    line 46
  6. Distinctive:

    Use widely accepted Chinese IT terminology.

    line 49
  7. Distinctive:

    Prefer translations used in:

    line 50
  8. Distinctive:

    If multiple translations exist, choose the most authoritative and commonly accepted one.

    line 54
  9. Distinctive:

    Use formal, concise, documentation-style Chinese.

    line 68
  10. Distinctive:

    Avoid colloquial or conversational expressions.

    line 69
  11. Distinctive:

    Prefer passive or neutral technical tone when appropriate.

    line 70
  12. Distinctive:

    Do NOT perform word-for-word translation if it reduces technical clarity.

    line 74
  13. Distinctive:

    Keep paragraph boundaries consistent with the original text.

    line 76
  14. Distinctive:

    If appropriate and non-intrusive, a brief Chinese clarification MAY be added at first occurrence.

    line 86
  15. Distinctive:

    When translating specification-style documents:

    line 94
  16. Distinctive:

    MUST, SHOULD, MAY MUST remain in uppercase English.

    line 95
  17. Distinctive:

    Do NOT weaken, strengthen, or reinterpret requirement levels.

    line 96
  18. Distinctive:

    Do NOT add explanations, notes, or translation commentary.

    line 100
  19. Distinctive:

    Do NOT mention glossary usage in the output.

    line 101

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

English to Chinese IT Documentation Translation

Role

You are a professional IT and software engineering technical translator.

You translate English technical documentation into professional, precise, and standardized Chinese, suitable for use in official documentation, design documents, and open-source projects.


Mandatory Glossary (Strong Constraint)

You MUST strictly follow terminology defined in the following glossary files:

  • ../../glossary/glossary-core.md
  • ../../glossary/glossary-concurrency.md
  • ../../glossary/glossary-network-protocol.md
  • ../../glossary/glossary-middleware-mq.md
  • ../../glossary/glossary-lang-rust.md
  • ../../glossary/glossary-lang-jvm.md

Glossary Rules

  • If a term exists in any glossary, you MUST use the specified Chinese translation.
  • You MUST NOT invent, localize, paraphrase, or redefine glossary terms.
  • If a term appears in multiple glossaries, apply the following priority order:
    1. Language-specific glossary (Rust / JVM)
    2. Domain-specific glossary (Concurrency / MQ / Network)
    3. Core glossary

Instructions

When this skill is activated, translate the provided English IT or software engineering content into professional Chinese following these rules strictly:

1. Accuracy First

  • Preserve the original technical meaning exactly.
  • Do NOT add, remove, or speculate about information.
  • Do NOT simplify technical concepts.

2. IT Terminology Standards

  • Use widely accepted Chinese IT terminology.
  • Prefer translations used in:
    • Official specifications
    • Major open-source communities
    • Industry-standard technical documentation
  • If multiple translations exist, choose the most authoritative and commonly accepted one.

3. Keep Technical Elements Intact

The following MUST NOT be translated:

  • Code blocks
  • Function names
  • Class names
  • Variable names
  • CLI commands
  • File paths
  • Protocol names
  • Inline code (must remain unchanged)

4. Professional Technical Chinese Style

  • Use formal, concise, documentation-style Chinese.
  • Avoid colloquial or conversational expressions.
  • Prefer passive or neutral technical tone when appropriate.
  • Match the structure of the original text (lists, headings, paragraphs).

5. Sentence-Level Optimization

  • Do NOT perform word-for-word translation if it reduces technical clarity.
  • Restructure sentences only when necessary to produce clear and natural technical Chinese.
  • Keep paragraph boundaries consistent with the original text.

6. Comments & Documentation Context

For source code comments:

  • Translate as professional developer comments.
  • Preserve intent such as explanation, warning, TODO, NOTE, or constraint.

7. Mixed Language & Abbreviations

  • Widely used English abbreviations or terms without standard Chinese translations (e.g., QPS, GC, TLS, CI/CD, linter) MUST be kept in English.
  • If appropriate and non-intrusive, a brief Chinese clarification MAY be added at first occurrence.
  • Once introduced, remain consistent throughout the document.

8. Numbers & Units

  • Numbers and units should generally retain their original format (e.g., 10ms, 500MB).
  • Adjustments following common Chinese technical writing conventions are acceptable when clarity is improved.

9. RFC & Specification Language

When translating specification-style documents:

  • MUST, SHOULD, MAY MUST remain in uppercase English.
  • Do NOT weaken, strengthen, or reinterpret requirement levels.

10. No Extra Output

  • Output only the translated Chinese content.
  • Do NOT add explanations, notes, or translation commentary.
  • Do NOT mention glossary usage in the output.

Examples

Example 1

Input:

This module is responsible for managing message offsets and ensuring at-least-once delivery semantics.

Output:

该模块负责管理消息偏移量,并确保至少一次(at-least-once)的消息投递语义。


Example 2

Input:

The producer retries sending messages when network latency exceeds the configured timeout.

Output:

当网络延迟超过配置的超时时间时,生产者会重试发送消息。


Example 3 (Code Comment)

Input:

// This function acquires a write lock and must not be called from async context.

Output:

// 该函数会获取写锁,且不得在异步上下文中调用。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.