baoyu-translate

Installation
Summary

Three-mode translation with terminology consistency and publication-quality refinement workflows.

  • Supports quick (direct), normal (analyze then translate), and refined (analyze, translate, review, polish) modes; auto-detects mode from user intent keywords
  • Handles long content via intelligent markdown-aware chunking with parallel subagent translation and shared glossary enforcement across chunks
  • Customizable via EXTEND.md for target language, mode, audience, style presets (storytelling, formal, technical, academic, business, humorous, conversational, elegant), and custom glossaries
  • Requires first-time setup to configure preferences; applies built-in glossaries for language pairs and merges with user-defined terminology for consistency
  • Preserves markdown formatting, transforms YAML frontmatter with source-language prefixes, and flags images that may need localization after translation
SKILL.md

Translator

Three-mode translation skill: quick for direct translation, normal for analysis-informed translation, refined for full publication-quality workflow with review and polish.

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order):

  1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
  2. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
  3. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.

Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.

Script Directory

Scripts in scripts/ subdirectory. {baseDir} = this SKILL.md's directory path. Resolve ${BUN_X} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.

| Script | Purpose |

Related skills

More from jimliu/baoyu-skills

Installs
14.0K
GitHub Stars
18.1K
First Seen
Mar 6, 2026