translate-en-zh

中英文互转工具,支持文本翻译、批量文件翻译、术语对齐。使用场景:(1) 用户需要将中文翻译成英文或英文翻译成中文;(2) 翻译文档、代码注释、邮件等文本内容;(3) 批量处理翻译任务;(4) 用户提到"翻译"、"英译中"、"中译英"、"中英文转换"等关键词。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "translate-en-zh" with this command: npx skills add jeffrey-zou/translate-en-zh

中英文互转工具

Overview

提供专业、准确的中英文双向翻译能力,支持普通文本、代码注释、专业文档等多种场景的翻译需求,内置常用术语库保证翻译一致性。

核心功能

1. 普通文本翻译

直接对用户输入的文本进行中英文互译,自动识别源语言:

  • 输入英文 → 输出中文翻译
  • 输入中文 → 输出英文翻译
  • 支持长文本分段翻译,保持原有格式

2. 专业场景翻译优化

针对不同场景提供专业翻译:

  • 代码注释翻译:保留代码结构,仅翻译注释内容
  • 技术文档翻译:优先使用行业标准术语
  • 商务邮件翻译:保持正式、专业的语气
  • 日常对话翻译:符合口语化表达习惯

3. 批量翻译

支持批量处理多个文本段落或文件内容:

  • 自动分割长文本,保持上下文一致性
  • 支持Markdown格式文档翻译,保留格式结构
  • 翻译结果可直接导出为文本或Markdown文件

使用指南

快速使用

用户提到翻译需求时,直接返回翻译结果,无需额外说明:

用户输入:"翻译这段文字:Hello world"
输出:"你好,世界"

翻译原则

  1. 准确性优先:保证翻译内容准确传达原意
  2. 符合语境:根据使用场景选择合适的语气和术语
  3. 保留格式:如果原文本有格式(如Markdown、代码块),翻译后保持格式不变
  4. 术语一致:同一术语在整个翻译过程中保持统一

特殊场景处理

  • 遇到专业术语不确定时,主动向用户确认
  • 包含敏感内容的文本拒绝翻译,并说明原因
  • 代码内容仅翻译注释部分,不修改代码逻辑

内置资源

scripts/

提供批量翻译工具脚本:

  • translate_batch.py:批量处理文本文件翻译
  • translate_markdown.py:翻译Markdown文档,保留格式结构

references/

常用术语库参考:

  • tech_terms.md:IT/技术领域常用中英文术语对照
  • business_terms.md:商务/金融领域常用中英文术语对照
  • common_terms.md:日常通用术语对照表

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

通义晓蜜 - 智能外呼

触发阿里云晓蜜外呼机器人任务,自动批量拨打电话。适用于批量外呼、客户回访、满意度调查、简历筛查约面试等场景。可从前置工具或节点获取外呼名单。

Registry SourceRecently Updated
General

Letterboxd Watchlist

Scrape a public Letterboxd user's watchlist into a CSV/JSONL list of titles and film URLs without logging in. Use when a user asks to export, scrape, or mirror a Letterboxd watchlist, or to build watch-next queues.

Registry SourceRecently Updated
General

Seedance Video Generation

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

Registry SourceRecently Updated
4.2K17jackycser
General

Universal Skills Manager

The master coordinator for AI skills. Discovers skills from multiple sources (SkillsMP.com, SkillHub, and ClawHub), manages installation, and synchronization...

Registry SourceRecently Updated