a554b554/Reactant / examples/custom-skill/translate
translate
VerifiedReactant tag-only translation. Use only when execute or execute-one dispatches an exact <@translate> tag from a document; never activate from ordinary chat or another skill.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.0 KB |
SKILL.md
View on GitHub---
name: translate
description: Reactant tag-only translation. Use only when execute or execute-one dispatches an exact <@translate> tag from a document; never activate from ordinary chat or another skill.
---
# Translate
## Activation Boundary
This is a tag-only worker skill. Use it only after `execute` or `execute-one`
selects an exact `<@translate...>` annotation in a target document. Never
activate it from ordinary chat, semantic similarity, or another non-router
skill. Without that handoff, change nothing.
Translate the surrounding block into the requested language, then consume
the tag.
## Tag
```
<@translate: target language>
```
Example: `<@translate: German>`.
## Input
- **File path** — the document being processed.
- **Surrounding block** — the maximal run of non-blank lines containing the
tag; blank lines bound it.
- **Prompt** — the target language, optionally with style notes.
## Workflow
1. Read the surrounding block; read the full file if terminology context
helps.
2. Translate the authored prose into the target language. Leave citation
keys, code spans, and LaTeX commands untranslated.
3. Write the result back: replace the surrounding block (including the
`<@translate: ...>` tag) with the translation.
## Scope Modifiers
- **Protect `<< >>`** — content stays in the original language, untouched;
remove the delimiters in the output.
- **Field `(( ))`** — translate only inside the field; remove the delimiters
in the output.
## Context References
Double-backtick references in the prompt (for example a glossary file) are
inputs; resolve paths relative to the document's directory unless absolute.
## Rules
- Consume this tag and its consumed modifier delimiters. Preserve every
unrelated tag, `<@comment: ...>` tag, `<@chat-model>` block, and contextual
literal/example byte-for-byte.
- If no target language is given or a referenced file is unreadable, fail
cleanly: leave the tag, change nothing, report the error.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |