Tencent Hy-MT2 Translator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @tencent-adm/hy-mt2-translator.
About this skill
Problem
Translating technical or product content is rarely a plain text swap: terminology must stay consistent, style may need to be formal, academic, or colloquial, structured data such as JSON, HTML, and Markdown must preserve its format, delimiters may need to remain intact, and context may be required. Calling translation APIs manually means repeatedly handling backend selection, credentials, mode flags, and batch input.
How It Works
The skill wraps the HuanYuan translation model into a workflow:
- Backend selection: supports tencent_cloud or private_model; the private backend must expose an OpenAI-compatible /v1/chat/completions endpoint.
- Credential handling: reads or prompts for the active backend’s model name and API key without re-asking for stored values.
- Mode routing: supports basic translation, terminology constraints, style control, delimiter preservation, structured-data translation, and context-aware translation.
- Batch processing: reads JSONL input, translates line by line, adds a translation field, and supports resumable output.
- Result handling: returns single translations directly, reports batch success/failure counts and output path, and does not expose raw API keys.
Boundaries and Notes
The target language must be among the 38 supported languages. Structured translation depends on clean input; terminology, style, and context are prompt-level constraints and do not guarantee full domain understanding. A private backend must provide a compatible endpoint, model name, and API key.
Use Cases
- Localizing API docs, translate English JSON and Markdown endpoint notes into Chinese while preserving structure.
- Localizing app strings, keep glossary terms consistent and preserve original delimiters during translation.
- Processing JSONL exports, add a translation field to each record and resume interrupted batch runs.
- Drafting academic summaries, translate Chinese source into English with an academic style and context.
Best For
- Localization engineers shipping multilingual products who need consistent terminology and preserved delimiters
- Technical writers maintaining documentation who translate JSON and Markdown docs between languages
- Data engineers processing multilingual datasets who need JSONL batch translation and resumable output
- Researchers drafting English materials who need academic or formal style plus contextual background
Related Skills
Turns Taleb's antifragility, barbell strategy, and via negativa into executable prompts for risk analysis in career, investing, health, and other domains.
Keyword news search over ZAKER’s corpus with optional time filtering, returning up to 20 titles, authors, and summaries.
A generic knowledge review skill that generates role-based checklists, rrule-based reminders, and on-demand reviews without storing personal data.
A knowledge-management skill for layered retrieval across information sources.