Context-aware translation that preserves tone, style, and natural word order. Use when translating UI strings, documentation, marketing copy, or any multilingual content. Infers register, domain, and style from the source text and surrounding codebase context.
npx skills add https://github.com/first-fluke/oh-my-agent --skill oma-translator
Translate, review, or adapt multilingual content while preserving meaning, register, placeholders, structure, domain terminology, and natural target-language word order.
resources/translation-rubric.md and resources/anti-ai-patterns.mdNo config file required. Instead, infer translation context from:
messages/, locales/, .arb files reveal the framework and formatIf context is insufficient to make a confident decision, ask the user. Prefer one targeted question over a batch of questions.
Read the source text and identify:
Strip away source language structure. Ask yourself:
Do NOT start forming target sentences yet.
Persona resolution has two layers: content-type (what kind of text) and voice (how punchy or formal the rhythm). Both are needed.
translation_voice from .agents/oma-config.yamlThe translation_voice field controls global rhythm/formality. Three values:
| Voice | Style override applied on top of content-type |
|---|---|
| formal | complete sentences only, no fragments, strict 합니다체/です・ます, no padding cuts |
| balanced (default) | content-type defaults — fragments allowed only in label/cell positions |
| interpreter | interpreter mindset across all content types: punchy, audience-first, spoken cadence, fragments allowed when natural in target, drops formal padding ("을 받았습니다" → "받음" / "을 모두" → drop) |
If the field is missing, default to balanced. If oma-config.yaml is unreadable, also balanced.
| Content type | Persona | Base style markers |
|---|---|---|
| UI strings / microcopy | UX copywriter | concise, imperative, user-friendly |
| Docs / README / API reference | technical writer | data + commentary, expanded explanations |
| Benchmark / report / changelog | technical reporter | data + commentary, objective tone |
| Marketing / landing / hero copy | brand copywriter | concise impact, audience-first, aggressive transcreation |
| Blog post / essay | essayist | preserve cadence and rhythm, retain author voice |
| Literary / prose | literary translator | preserve imagery, style consistency, narrative voice |
| Dialogue / subtitle / interview | interpreter | immediacy, audience-first, spoken register, cultural context inline |
Classification heuristics:
messages/, locales/, *.arb → UX copywriterREADME*, docs/*, or .md with frequent code blocks → technical writerWhen unclear, default to technical writer for code-adjacent content and essayist for prose. Never use a generic "translator" persona.
Voice is applied on top of the content-type persona. Examples:
technical reporter + voice = formal → fully expanded sentences, no fragments anywhere, strict 합니다체.technical reporter + voice = balanced → complete sentences in body, fragments allowed in table cells (current default).technical reporter + voice = interpreter → punchier rhythm, list-item fragments allowed (e.g., "39턴 / 8m 13s / $1.28 (파일당 $0.14)" instead of "39턴, 8m 13s, 총 $1.28을 썼습니다(파일당 약 $0.14)"), drops "을 모두 받았습니다" padding.The persona is then localized to the target language at execution time — translating into Korean as a "technical reporter" with interpreter voice means thinking as a Korean technical reporter who values rhythm and audience scan-speed over formal completeness.
Rebuild from meaning as the assigned persona, following target language norms:
Word order: Follow target language's natural structure.
Register matching:
Sentence splitting/merging:
Omission of the obvious:
This stage is mandatory. Skipping any item is a bug, not a shortcut. Before producing the final translation, run the mechanical checks first, then the rubric.
A. Mechanical checks (run before rubric, must all pass):
—. Every occurrence must be replaced with a comma, colon, parenthesis, or restructured sentence. Zero em dashes in the emitted output.{name}, {{count}}, %s, <tag>, and code from the source appears unchanged in the target.-ㅂ니다 with -다, formal with casual).If any mechanical check fails, revise and re-run. Do not proceed to the rubric until all pass.
B. Translation rubric (see resources/translation-rubric.md):
C. Anti-AI patterns (see resources/anti-ai-patterns.md):
10. No source-language word order leaking through
11. No unnecessary bold or formatting artifacts (em dashes already covered in mechanical check A)
12. No Europeanized patterns (unnecessary connectives, passive voice, noun pile-up, over-nominalization, forced pronouns, cleft calques)
D. Figurative language handling:
13. Were all metaphors/idioms handled per the classify decision (interpret/substitute/retain)?
14. Do figurative expressions read naturally in the target language, not as literal calques?
When adding explanatory notes for terms, cultural references, or concepts that target readers may struggle with:
Format: 번역어(원어, 쉬운 설명) or 번역어(원어) for well-known terms that just need the original
Calibration by audience:
Rules:
Reflection passes (Stage 5–7) are the default — not optional — for any content that is more than a short snippet. Empirical evidence (Slator 2024, Self-Refine paper) shows a single polish pass cuts translationese rates roughly in half. Skipping reflection on non-trivial content is the most common cause of translationese complaints.
Default ON for:
Default OFF (Stage 4 verification only) for:
When in doubt, run reflection. The cost is roughly 1.5–2× tokens; the quality gain on body-text fragments and Europeanized patterns is large.
After completing Stage 1–4, continue with:
Stage 5: Critical Review
Re-read the translation against the source with fresh eyes. Produce a diagnostic review (no rewriting yet):
resources/anti-ai-patterns.md)Stage 6: Revision
Apply all findings from Stage 5 to produce a revised translation:
Stage 7: Polish
Final pass for publication quality:
When translating multiple strings (e.g., UI keys):
{name}, {{count}}, %s, <tag>, code )Source (EN):
> original text
Translation (KO):
> translated text
Notes:
- [any decisions made about ambiguous terms or cultural adaptation]
Output in the same format as input (JSON, ARB, YAML, etc.) with only values translated.
Original translation:
> existing translation
Suggested revision:
> improved translation
Why:
- [specific issues: unnatural word order, wrong register, inconsistent term, etc.]
| Issue | Solution |
|-------|----------|
| Ambiguous source meaning | Flag and ask for context before translating |
| No precedent for a term | Propose a translation, confirm with user before applying |
| Register conflict in source | Follow project's existing register, note the inconsistency |
| Placeholder in middle of sentence | Restructure around it; never break placeholder syntax |
| Translation too long for UI | Provide a shorter alternative with note |
| Multiple valid translations for a term | Pick the one most consistent with project's existing translations; note alternatives |
| Target language requires gendered forms | Follow source text intent; prefer gender-neutral forms when available in target language |
| Tone shifts across a long document | Re-read end-to-end after translating; normalize register to the dominant tone |
Follow the translation method (Stage 1-4) step by step.
Before submitting, verify against resources/translation-rubric.md and resources/anti-ai-patterns.md.
Vendor-specific execution protocols are injected automatically by oma agent:spawn.
Source files live under ../_shared/runtime/execution-protocols/{vendor}.md.
| Action | SSL primitive | Evidence |
|--------|---------------|----------|
| Read source and context | READ | Text, locale files, code context |
| Select register and terminology | SELECT | Existing translations and domain terms |
| Infer intended meaning | INFER | Meaning extraction stage |
| Write translation | WRITE | Target-language reconstruction |
| Validate placeholders/structure | VALIDATE | Verification gate |
| Compare against rubric | COMPARE | Translation rubric |
| Report translation or notes | NOTIFY | Final output |
1. Analyze source register, intent, domain terms, placeholders, and structure.
2. Reconstruct meaning in the target language, not word-for-word.
3. Run mechanical checks and `resources/translation-rubric.md` before emitting output.
For UI files, scan sibling locale files first:
rg "<source-key-or-term>" .
| Scope | Resource target |
|-------|-----------------|
| LOCAL_FS | Locale files, docs, README, source text files |
| CODEBASE | Components and code context around UI strings |
| MEMORY | Register, glossary, ambiguity, verification notes |
| USER_DATA | User-provided text and target-language requirements |
10. Never mix registers within a single piece (formal + casual)
11. Never replace domain-specific terms with generic equivalents (e.g., "harness" → "framework", "shim" → "wrapper")
12. Never translate proper nouns unless existing translations do so
13. Never change the meaning to "sound better"
14. Never skip verification stage for batches > 10 strings
15. Never modify source file structure (keys, nesting, comments)
16. Never preserve source-language formatting artifacts that are unnatural in the target language. For CJK targets (Korean, Japanese, Chinese), em dashes (—), title case in headings, and trailing "-ing" participle clauses must be restructured — even when the source uses them. See resources/anti-ai-patterns.md rules 13–16.
resources/translation-rubric.md — 5-criterion scoring (naturalness, accuracy, register, terminology, technical integrity)resources/anti-ai-patterns.md — AI output patterns + Europeanized/translation-ese patterns to avoid../_shared/core/context-loading.md../_shared/core/quality-principles.mdYou are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.
Write rigorous, conversion-focused marketing copy for landing pages and emails. Enforces brief confirmation and strict no-fabrication rules.
Write and add new blog posts for this Next.js site by matching the existing BlogPost structure in `src/lib/blog-data.ts`. Use when asked to draft a new blog article, update blog content, or produce SEO metadata/slug/image details for a new post.
Adds multi-language support to Next.js websites with proper SEO configuration including hreflang tags, localized sitemaps, and language-specific content. Use when adding new languages, setting up i18n, optimizing for international SEO, or when user mentions localization, translation, multi-language, or specific languages like Japanese, Korean, Chinese.
LinkedIn post writing with hook formulas, formatting rules, and engagement patterns. Covers post types, algorithm signals, character limits, and content pillars. Use for: LinkedIn posts, professional content, thought leadership, B2B content, personal branding. Triggers: linkedin post, linkedin content, linkedin writing, linkedin strategy, linkedin engagement, linkedin algorithm, linkedin hook, linkedin formatting, thought leadership, professional content, b2b content, linkedin growth
| Write and rewrite marketing copy for landing pages, homepages, and ads. Useful as a copy chief partner during launches.
Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing → performance tracking. Use when user mentions xiaohongshu auto posting, xhs auto post, little red book posting, xiaohongshu post, xiaohongshu auto posting, xiaohongshu content operations, xhs content marketing, post to xiaohongshu, publish on xhs, post on xiaohongshu, xiaohongshu promotion, xiaohongshu operations, xiaohongshu automation, xhs automation, track xhs performance, track xiaohongshu performance, xiaohongshu data tracking, xiaohongshu analytics, switch xhs account, update xhs keywords.
电商图片文案创作技能,支持多品类产品的吸引性文案生成,适用于电商平台的商品营销推广
Take first-fluke/oh-my-agent-oma-translator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.