skills/smithery.ai/translate-cn-to-en

translate-cn-to-en

Installation
SKILL.md

Task Objective

Translate and replace all Chinese characters (comments, strings, documentation, etc.) within specified files or project scope into English.

Execution Principles

  1. Accurate Translation: Ensure the translated English accurately conveys the original Chinese meaning and fits the technical context.
  2. Preserve Formatting: Maintain original code indentation, line breaks, punctuation (unless Chinese punctuation needs conversion to English), and documentation structure.
  3. Code Safety:
    • STRICTLY PROHIBITED: Modifying identifiers like variable names or function names, unless they are essentially Chinese (not recommended but possible).
    • STRICTLY PROHIBITED: Breaking code logic.
    • Pay attention to Chinese in strings. If it's text for display, it can be translated; if it's a Key or specific protocol content, verify carefully before modification. Usually, UI display text and comments are translated by default.
  4. Comment Processing: Translate all Chinese comments.
  5. Documentation Processing: Translate Chinese content in Markdown and other documentation.

Examples

Installs
1
First Seen
Apr 8, 2026