baoyu-translate
O que ela faz
Esta skill traduz textos entre idiomas e pode adaptá-los para um novo público. Ela é indicada para escritores e leitores que trabalham com conteúdo em mais de um idioma.
Quando usar
- ✓Quando você quer um artigo traduzido para o chinês ou para o inglês.
- ✓Quando você precisa de uma tradução rápida de rascunho ou de uma revisada com cuidado.
- ✓Quando você tem um glossário de termos que devem permanecer consistentes.
Link da skill
https://github.com/JimLiu/baoyu-skills/blob/main/skills/baoyu-translate/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Traduza este artigo para o chinês com tradução refinada e mantenha os termos do meu glossário.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Seu agente divide o markdown longo em partes, traduz cada uma no modo escolhido e usa o seu glossário quando você o fornece.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Translator
User Input Tools
When this skill prompts the user, follow this tool-selection rule (priority order):
- Prefer built-in user-input tools exposed by the current agent runtime — e.g.,
AskUserQuestion,request_user_input,clarify,ask_user, or any equivalent. - 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.
- 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
{baseDir} = this SKILL.md's directory. ${BUN_X} = bun if installed; else npx -y bun if npx available; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.
| Script | Purpose |
|---|---|
scripts/main.ts |
CLI entry point. Default action splits markdown into chunks; also supports explicit chunk subcommand |
scripts/chunk.ts |
Markdown chunking implementation used by main.ts and kept compatible for direct invocation |
Preferences (EXTEND.md)
First one found wins:
| Priority | Path | Scope |
|---|---|---|
| 1 | .baoyu-skills/baoyu-translate/EXTEND.md |
Project |
| 2 | ${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-translate/EXTEND.md |
XDG |
| 3 | $HOME/.baoyu-skills/baoyu-translate/EXTEND.md |
User home |
- Found → read and apply. On first use in a session, remind briefly: "Using preferences from [path]. You can edit EXTEND.md to customize glossary, audience, etc."
- Not found → BLOCKING first-time setup before any translation; never silently use defaults. Ask all questions in references/config/first-time-setup.md (target language, mode, audience, style, save location) in ONE call, write EXTEND.md at the chosen location, confirm "Preferences saved to [path]", then continue.
Supports: target language, mode, audience, glossaries (inline or file path), style, chunk settings. Schema: references/config/extend-schema.md.
Defaults
EXTEND.md overrides defaults; CLI flags override EXTEND.md.
| Setting | Default | EXTEND.md key | CLI flag |
|---|---|---|---|
| Target language | zh-CN |
target_language |
--to |
| Mode | normal |
default_mode |
--mode |
| Audience | general |
audience |
--audience |
| Style | storytelling |
style |
--style |
| Chunk threshold (words, triggers chunking) | 4000 |
chunk_threshold |
— |
| Chunk max words | 5000 |
chunk_max_words |
— |
Modes
| Mode | Flag | Steps | When to Use |
|---|---|---|---|
| Quick | --mode quick |
Translate | Short texts, informal content, quick tasks |
| Normal | --mode normal (default) |
Analyze → Translate | Articles, blog posts, general content |
| Refined | --mode refined |
Analyze → Translate → Review → Polish | Publication-quality, important documents |
Auto-detection: "快翻", "quick", "直接翻译" → quick; "精翻", "refined", "publication quality", "proofread" → refined; otherwise the default mode.
Style presets (voice and tone, independent of audience; custom descriptions accepted, e.g. --style "poetic and lyrical"):
| Value | Description | Effect |
|---|---|---|
storytelling |
Engaging narrative flow (default) | Draws readers in, smooth transitions, vivid phrasing |
formal |
Professional, structured | Neutral tone, clear organization, no colloquialisms |
technical |
Precise, documentation-style | Concise, terminology-heavy, minimal embellishment |
literal |
Close to original structure | Minimal restructuring, preserves source sentence patterns |
academic |
Scholarly, rigorous | Formal register, complex clauses OK, citation-aware |
business |
Concise, results-focused | Action-oriented, executive-friendly, bullet-point mindset |
humorous |
Preserves and adapts humor | Witty, playful, recreates comedic effect in target language |
conversational |
Casual, spoken-like | Friendly, approachable, as if explaining to a friend |
elegant |
Literary, polished prose | Aesthetically refined, rhythmic, carefully crafted word choices |
Audience presets (custom descriptions accepted, e.g. `--audience
Perguntas frequentes
Quais são os três modos?
Rápido, normal e refinado, que equilibram velocidade e revisão cuidadosa.
Posso usar meu próprio glossário?
Sim. A skill aceita um glossário personalizado, para que os termos-chave sejam traduzidos sempre da mesma forma.
Como ela lida com artigos longos?
Ela divide o markdown em partes, para que documentos longos sejam traduzidos em pedaços.
Detalhes
Descrição original do autor
This skill should be used when the user asks to "translate", "翻译", "精翻", "translate article", "translate to Chinese", "translate to English", "改成中文", "改成英文", "convert to Chinese", "localize", "本地化", "refined translation", "精细翻译", "proofread translation", "快速翻译", "快翻", "这篇文章翻译一下", or provides a URL/file with translation intent. Supports three modes (quick/normal/refined) with custom glossary support.
repo: JimLiu/baoyu-skills
Popularidade
- Estrelas no GitHub
- 27 mil
- Posição no ranking
- #9964
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
release-skills
27 milGuia seu agente em uma release de qualquer projeto: aumentar a versão, atualizar os changelogs e publicar uma release ou tag no GitHub.
baoyu-article-illustrator
27 milAjuda seu agente a ilustrar um artigo, encontrando os trechos que precisam de imagens e criando ilustrações em um estilo consistente.
baoyu-comic
27 milMostra ao seu agente como criar uma história em quadrinhos educativa, com painéis, estilos de arte e tons, como uma biografia ou um tutorial.
baoyu-compress-image
27 milPermite que seu agente reduza arquivos de imagem convertendo-os para WebP ou PNG, com seleção automática da ferramenta, para carregarem mais rápido.
Skills parecidas
obsidian-vault-maintainer
394 milAjuda seu agente a manter um vault de memória compatível com o Obsidian organizado, com links funcionando, propriedades consistentes e seções seguras.
wiki-maintainer
394 milAjuda seu agente a manter uma wiki de memória do OpenClaw com páginas repetíveis, blocos gerenciados seguros e verificações de contradições ou lacunas.
obsidian
394 milPermite que seu agente leia, pesquise, crie e edite notas, tarefas, links e propriedades do Obsidian usando a linha de comando oficial do Obsidian.