Token导航 LogoToken导航

Agent Skill · 研究检索

translation-assistant(翻译助理)

translation-assistant 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

translation-assistant 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 19,622。

总安装 5,533周安装 152GitHub Stars 3下载 942核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jmsktm/claude-settings --skill 'Translation Assistant'

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

translation-assistant 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。适用于多语言内容翻译、术语一致性维护等本地化支持场景。通过关键词、来源仓库或安装命令调用,结合原始 README 核验具体用法。

安装前需确认权限范围、维护状态及是否触发联网或文件读写操作。建议核实工具实际能力边界,避免依赖未经验证的自动化输出。

来源仓库内路径:skills/translation-assistant

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

translation-assistant 怎么安装?

在终端执行 npx skills add https://github.com/jmsktm/claude-settings --skill 'Translation Assistant'。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

translation-assistant 支持哪些 AI 工具?

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

translation-assistant 需要什么权限?

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

translation-assistant 是免费的吗?

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

translation-assistant 用的人多吗?

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

translation-assistant 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
translation-assistant

翻译助理 · 本页

5,5333需要联网未明确通过

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

SKILL.md 原文

Translation Assistant

The Translation Assistant skill guides you through implementing multilingual translation systems that bridge language barriers accurately and culturally appropriately. From simple phrase translation to full document localization, this skill covers the spectrum of translation needs.

Modern translation has been transformed by neural machine translation and large language models, but effective translation still requires understanding context, domain, and cultural nuances. This skill helps you choose the right tools, handle translation quality, and build systems that work across languages.

Whether you're translating user interfaces, customer communications, technical documentation, or creative content, this skill ensures your translations are accurate, natural, and culturally appropriate.

Core Workflows

Workflow 1: Choose Translation Approach

  1. Assess requirements:

- Language pairs needed - Domain specificity - Quality requirements - Volume and speed needs - Budget constraints

  1. Compare options: Approach Quality Speed Cost Best For Google Translate API Good Fast $ General, high volume DeepL Very good Fast $$ European languages, quality OpenAI/Anthropic Excellent Medium $$$ Nuanced, context-heavy Custom NMT Domain-specific Fast Setup cost Specialized domains Human + MT Best Slow $$$$ Critical content
  2. Select based on tradeoffs
  3. Plan quality assurance process

Workflow 2: Implement Translation Pipeline

  1. Set up translation service: from google.cloud import translate_v2 as translate class TranslationPipeline: def __init__(self, provider="google"): if provider == "google": self.client = translate.Client() elif provider == "deepl": self.client = deepl.Translator(auth_key) elif provider == "llm": self.client = LLMTranslator() def translate(self, text, source_lang, target_lang): # Preprocess prepared = self.preprocess(text, source_lang) # Translate if self.provider == "google": result = self.client.translate(prepared, source_language=source_lang, target_language=target_lang) translated = result["translatedText"] elif self.provider == "llm": translated = self.llm_translate(prepared, source_lang, target_lang) # Postprocess final = self.postprocess(translated, target_lang) return final
  2. Handle special content:

- Preserve placeholders and variables - Handle HTML/markup - Maintain formatting

  1. Validate translation quality
  2. Add caching for repeated content

Workflow 3: Build Localization System

  1. Extract translatable content: def extract_strings(source_files): """Extract strings needing translation.""" strings = [] for file in source_files: # Find translatable strings content = read_file(file) matches = find_translatable(content) for match in matches: strings.append({"key": generate_key(match), "source": match.text, "context": match.surrounding_context, "file": file, "line": match.line}) return strings
  2. Translate with context: def translate_with_context(strings, target_lang): results = [] for s in strings: translation = translate(text=s["source"], context=s["context"], target_lang=target_lang) results.append({**s, "translation": translation, "target_lang": target_lang}) return results
  3. Store in translation management:

- Translation memory for consistency - Glossary for terminology - Version control for changes

  1. Deploy localized content

Quick Reference

ActionCommand/Trigger
Translate text"Translate [text] to [language]"
Choose service"Best translation for [use case]"
Handle domain terms"Translation glossary for [domain]"
Quality check"Check translation quality"
Localize app"Localize UI for [languages]"
Batch translate"Translate [N] documents"

Best Practices

  • Provide Context: Translation quality depends on context

- Include surrounding text - Specify domain/subject matter - Note tone and register (formal/informal)

  • Maintain Terminology Consistency: Key terms should translate consistently

- Build domain glossaries - Use translation memory - Review terminology with stakeholders

  • Preserve Formatting and Variables: Technical content has special needs

- Protect placeholders ({name}, %s, etc.) - Maintain HTML/markdown structure - Handle number and date formats

  • Handle Untranslatable Content: Some things shouldn't be translated

- Brand names and trademarks - Technical identifiers and codes - Legal disclaimers (sometimes)

  • Quality Assurance is Essential: Machine translation makes mistakes

- Back-translation for verification - Native speaker review - Automated quality checks

  • Consider Cultural Adaptation: Translation!= localization

- Date and number formats - Currency and units - Cultural references and idioms - Right-to-left languages

Advanced Techniques

LLM-Based Contextual Translation

Use language models for nuanced translation:

def llm_translate(text, source_lang, target_lang, context=None, style=None):
    prompt = f"""Translate the following text from {source_lang} to {target_lang}.

{"Context: " + context if context else ""}
{"Style: " + style if style else ""}

Important guidelines:
- Maintain the meaning and tone of the original
- Use natural, fluent {target_lang}
- Preserve any formatting, placeholders, or special characters
- If there are cultural references, adapt them appropriately

Source text:
{text}

Translation:"""

    return llm.complete(prompt)

# Example with context
result = llm_translate(
    text="The app crashed when I clicked submit.",
    source_lang="English",
    target_lang="Japanese",
    context="This is a bug report from a user",
    style="Formal technical support"
)

Translation Memory System

Reuse previous translations for consistency:

class TranslationMemory:
    def __init__(self):
        self.memory = {}  # source -> {lang: translation}
        self.fuzzy_index = FuzzyMatcher()

    def add(self, source, target_lang, translation):
        if source not in self.memory:
            self.memory[source] = {}
        self.memory[source][target_lang] = translation
        self.fuzzy_index.add(source)

    def lookup(self, source, target_lang, fuzzy_threshold=0.8):
        # Exact match
        if source in self.memory and target_lang in self.memory[source]:
            return {
                "match_type": "exact",
                "translation": self.memory[source][target_lang],
                "confidence": 1.0
            }

        # Fuzzy match
        matches = self.fuzzy_index.search(source, threshold=fuzzy_threshold)
        if matches:
            best = matches[0]
            if target_lang in self.memory[best.text]:
                return {
                    "match_type": "fuzzy",
                    "original_source": best.text,
                    "translation": self.memory[best.text][target_lang],
                    "confidence": best.score
                }

        return None

    def translate_with_memory(self, text, target_lang):
        # Check memory first
        cached = self.lookup(text, target_lang)
        if cached and cached["confidence"] > 0.95:
            return cached["translation"]

        # Translate fresh
        translation = translate_api(text, target_lang)

        # Store in memory
        self.add(text, target_lang, translation)

        return translation

Domain Glossary Management

Ensure consistent terminology:

class TranslationGlossary:
    def __init__(self, domain):
        self.domain = domain
        self.terms = {}  # source_term -> {lang: translated_term}

    def add_term(self, source, translations):
        self.terms[source.lower()] = translations

    def apply_to_translation(self, source_text, target_lang, translation):
        """
        Ensure glossary terms are used correctly in translation.
        """
        corrections = []
        source_lower = source_text.lower()

        for term, translations in self.terms.items():
            if term in source_lower and target_lang in translations:
                expected = translations[target_lang]
                if expected.lower() not in translation.lower():
                    corrections.append({
                        "source_term": term,
                        "expected": expected,
                        "found": False
                    })

        if corrections:
            # Re-translate with glossary enforcement
            return self.translate_with_glossary(source_text, target_lang)

        return translation

    def translate_with_glossary(self, text, target_lang):
        glossary_context = "\n".join([
            f"'{term}' should be translated as '{trans[target_lang]}'"
            for term, trans in self.terms.items()
            if target_lang in trans
        ])

        prompt = f"""Translate to {target_lang}, using these required terms:
{glossary_context}

Text: {text}"""

        return llm.complete(prompt)

Quality Estimation

Automatically assess translation quality:

def estimate_translation_quality(source, translation, source_lang, target_lang):
    """
    Estimate translation quality without reference translation.
    """
    checks = []

    # Check 1: Back-translation similarity
    back_translated = translate(translation, target_lang, source_lang)
    back_similarity = compute_similarity(source, back_translated)
    checks.append({
        "check": "back_translation",
        "score": back_similarity,
        "details": {"back_translated": back_translated}
    })

    # Check 2: Length ratio (translations should be similar length)
    length_ratio = len(translation) / max(len(source), 1)
    expected_ratio = get_expected_length_ratio(source_lang, target_lang)
    length_score = 1 - abs(length_ratio - expected_ratio) / expected_ratio
    checks.append({
        "check": "length_ratio",
        "score": max(0, length_score),
        "details": {"ratio": length_ratio, "expected": expected_ratio}
    })

    # Check 3: LLM quality assessment
    quality_prompt = f"""Rate this translation from 1-10 for accuracy and fluency.

Source ({source_lang}): {source}
Translation ({target_lang}): {translation}

Provide scores and brief explanation."""

    llm_assessment = llm.complete(quality_prompt)
    checks.append({
        "check": "llm_assessment",
        "score": parse_score(llm_assessment) / 10,
        "details": {"assessment": llm_assessment}
    })

    # Combined score
    overall = sum(c["score"] for c in checks) / len(checks)

    return {
        "overall_score": overall,
        "checks": checks,
        "recommendation": "accept" if overall > 0.8 else "review"
    }

Batch Translation with Consistency

Translate large volumes while maintaining consistency:

async def batch_translate_consistent(texts, target_lang, batch_size=50):
    """
    Translate many texts while maintaining terminology consistency.
    """
    # Step 1: Extract unique terms for glossary
    all_text = " ".join(texts)
    key_terms = extract_key_terms(all_text)

    # Step 2: Translate key terms first for consistency
    term_translations = {}
    for term in key_terms:
        translation = await translate_with_verification(term, target_lang)
        term_translations[term] = translation

    # Step 3: Batch translate with glossary context
    results = []
    for batch in chunk(texts, batch_size):
        batch_results = await asyncio.gather(*[
            translate_with_glossary(text, target_lang, term_translations)
            for text in batch
        ])
        results.extend(batch_results)

    return results

Common Pitfalls to Avoid

  • Translating without context, leading to wrong word choices
  • Inconsistent terminology across a project
  • Not handling placeholders and variables correctly
  • Ignoring cultural differences (dates, currencies, idioms)
  • Trusting machine translation without quality checks
  • Not maintaining translation memory for consistency
  • Forgetting about text expansion (translations are often longer)
  • Ignoring right-to-left language considerations

平台分布

Codex

37.04%
按下载量换算349

Claude

30.43%
按下载量换算287

Cursor

20.58%
按下载量换算194

Gemini CLI

8.97%
按下载量换算84

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills