Best for
- Use when translating UI strings, documentation, marketing copy, or any multilingual content.
first-fluke/oh-my-agent/.agents/skills/oma-translation/SKILL.md
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.
Decision brief
Context-aware translation that preserves tone, style, and natural word order. Infers register, domain, and style from the source text and surrounding codebase context.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/first-fluke/oh-my-agent --skill ".agents/skills/oma-translation"Inspect the Agent Skill "oma-translation" from https://github.com/first-fluke/oh-my-agent/blob/e8dcad72293525d771dcd9c31584c1f9f2dd7a38/.agents/skills/oma-translation/SKILL.md at commit e8dcad72293525d771dcd9c31584c1f9f2dd7a38. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Read the source text and identify: - Register: Formal, casual, conversational, technical, literary - Intent: Inform, persuade, instruct, entertain - Domain terms: Words that need consistent translation (check existing translations first) - Cultural references: Idioms, metaphors,…
Strip away source language structure. Ask yourself: - What is the author actually trying to say? - What emotion or tone should the reader feel? - What action should the reader take?
Persona resolution has two layers: content-type (what kind of text) and voice (how punchy or formal the rhythm). Both are needed.
Rebuild from meaning as the assigned persona, following target language norms:
Run the mechanical checks first, then the rubric.
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Load existing translations, glossary, file context, or code context when available.The documentation asks the agent to read local files, directories, or repositories.
**ACQUIRE**: Read each target file. Map source positions to target positions by **heading anchors and surrounding context**, not by line number (line numbers will not match across translations).The documentation asks the agent to create, modify, or delete local files.
Never modify source file structure (keys, nesting, comments)Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 1,248 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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.md (language-neutral)resources/lang/{code}.md for the target language (required when a profile exists)resources/lang/{code}.md for the target language (see "Language Profile Loading").No 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.
Translation quality rules split into two layers. Load both; neither is sufficient alone.
| Layer | File | Holds |
|---|---|---|
| Shared | resources/anti-ai-patterns.md | AI writing pattern taxonomy, rules 1–25, source-side examples |
| Shared | resources/translation-rubric.md | 5-criterion scoring |
| Per-language | resources/lang/{code}.md | Register system, language-only rules, localizations of shared rules, typography, self-check |
Routing: resolve the target to a BCP 47 primary subtag and read resources/lang/{code}.md.
| Target | Profile | Notes |
|---|---|---|
| Korean | lang/ko.md | rules KO-1–KO-12 |
| Japanese | lang/ja.md | rules JA-1–JA-9 |
| Chinese | lang/zh.md | rules ZH-1–ZH-9; variant resolution is mandatory before translating |
| English | lang/en.md | rules EN-1–EN-8; written for CJK → EN direction |
| Anything else | none yet | fall back to shared files only |
Fallback rule: when no profile exists for the target, use the shared files, apply shared rules 19–24 by reasoning from the target's actual grammar, and state once in the output notes that no profile was available. Do not silently borrow another language's profile: ko.md rules are wrong for German, and applying them produces confident errors.
Adding a profile: copy resources/lang/_template.md to resources/lang/{code}.md and add the row to the routing table above. An empty profile beats an invented one.
Precedence: the profile wins over the shared file when they appear to conflict, because the shared file describes the pattern and the profile describes the target. A profile may declare that a shared rule does not apply to its language (en.md does this for the em-dash restructuring requirement, which exists only for CJK targets).
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.
If the user provides an author/user writing sample, analyze it before drafting. Use it as a style constraint, not as permission to alter meaning.
Extract:
Apply only where style matters:
Guardrail: Voice matching may adjust rhythm, diction, and sentence shape. It must not add new opinions, first-person perspective, humor, facts, examples, or emotional color that is absent from the source.
Rebuild from meaning as the assigned persona, following target language norms:
Word order: Follow the target language's natural structure. Quick orientation; the profile is authoritative.
Register matching:
Sentence splitting/merging:
Omission of the obvious:
Run the mechanical checks first, then the rubric.
A. Mechanical checks (run before rubric, must all pass):
resources/lang/{code}.md in full. Every unchecked item blocks output. This is the first check, not the last, because it is the one that catches target-language failures the shared list cannot see.—. Handling is profile-defined. For targets whose profile forbids it (Korean, Japanese, Chinese), every occurrence must be structurally restructured, never simply substituted with : / ( / ,; zero em dashes AND zero mechanical-substitution survivors in the emitted output. For targets that permit it (English), enforce the shared ceiling of one per paragraph. (See anti-AI rules 14 and 14a.)“, ”, ‘, ’. Replace with straight quotes (", ') unless the profile's typography section requires otherwise (zh-CN uses “”; Japanese uses 「」/『』; French uses «»), the source explicitly uses curly quotes, or the file format mandates them. Check the profile before stripping anything.{name}, {{count}}, %s, <tag>, and `code` from the source appears unchanged in the target.-ㅂ니다 with -다, formal with casual).및/와/과 vs em dash vs colon vs newline, (b) action-verb form: noun-phrase fragments vs full verb phrases vs imperative, (c) loanword density, (d) register and sentence-ending style. Your draft MUST match the dominant pattern. If the draft uses a separator/verb form/register absent from siblings, BLOCK and revise. Example failure: siblings use comma-separated noun phrases without colons; your draft uses X: Y and Z colon syntax. → revise to comma form.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 for the shared taxonomy and resources/lang/{code}.md for how each item manifests in the target):
7. No AI vocabulary clustering or inflated significance
8. No promotional tone upgrade beyond the source
9. No synonym cycling; use consistent terminology
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)
13. No humanizer-pattern leftovers: generic positive conclusions, "let's dive in" signposting, persuasive-authority tropes, formulaic "challenges/future prospects" sections, title-restating warmups, emoji decoration, or vague media/notability padding
D. Figurative language handling: 14. Were all metaphors/idioms handled per the classify decision (interpret/substitute/retain)? 15. 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: translated term (original term, plain-language gloss), or translated term (original term) for well-known terms that only need the original. Bracket style follows the target's typography section in resources/lang/{code}.md: halfwidth () for Korean and English, fullwidth () for Japanese and Chinese around non-ASCII content
Calibration by audience:
Rules:
Default ON for:
Default OFF (Stage 4 verification only) for:
.arb, .json, messages/) with established glossaryTie-breaker rule: When a target qualifies for BOTH ON and OFF categories, default ON wins. Common conflict cases:
| Situation | Why both | Resolution |
|---|---|---|
| README table cell (short AND documentation) | <10 words but lives in README*.md | ON: README is documentation |
| CHANGELOG line entry | <10 words but lives in changelog | ON: changelog is documentation |
| Skill description in registry | short noun phrase but commits to git-tracked source | ON: registry descriptions are documentation, not UI locale values |
| Tooltip in i18n file | <10 words AND in messages/ | OFF: UI string in locale file |
When in doubt, run reflection: roughly 1.5–2× tokens, against a post-merge revision that costs more. Skipping it on non-trivial content is the most common source of translationese complaints.
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).
Start the review by explicitly answering this question first: "What makes the draft below still feel obviously machine-translated or AI-generated?" Write 3–7 short bullets naming the remaining tells (e.g., "register suddenly shifts to formal in the final paragraph", "the same connective construction repeats three times", "noun-ending fragments survive in body text outside label/cell positions", "a metaphor was kept literal where the target language would interpret it"). Then continue with the structured checklist:
19–24), using the worked examples in resources/lang/{code}.mdStage 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`)Use when the English source has changed and one or more existing target-language translations need to be brought back in sync. Triggered by oma-docs v2 multilingual sync, manual i18n catch-up after a docs PR, or any "the source moved, the translation didn't" scenario.
Inputs:
/tmp/oma-en-diff.patch or git diff snippet)Stages override:
Hard rules for diff-sync:
[OMA WORKFLOW: ...] stay verbatim.Output format (per target file):
Target: <path>
Sections updated: <list of heading paths>
Sections skipped: <list with reason, e.g. "no semantic change">
Ambiguities resolved: <terminology decisions made>
Parallelization: When multiple target locales need the same source diff, dispatch one agent per locale in parallel. Each agent gets the same diff but different target-file path. No coordination needed since target files are disjoint.
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 |
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 |
|---|---|---|
| Load target language profile | READ | resources/lang/{code}.md |
| 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. Load `resources/lang/{code}.md` for the target language; resolve the locale variant if the profile declares any.
2. Analyze source register, intent, domain terms, placeholders, and structure.
3. Reconstruct meaning in the target language, not word-for-word.
4. Run mechanical checks, the profile self-check, and `resources/translation-rubric.md` before emitting output.
5. For non-trivial prose, run Stage 5 humanization review before final polish; apply voice-sample calibration only when provided and appropriate.
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 |
resources/anti-ai-patterns.md rules 2 (-ing phrases), 14–15 (em dash, title case), and 25 (typography, which defers entirely to the language profile). For CJK targets, em dashes (—), title case in headings, and trailing "-ing" participle clauses must be restructured even when the source uses them; the exact typography rules are in resources/lang/{code}.md.Shared, language-neutral:
resources/translation-rubric.md (5-criterion scoring: naturalness, accuracy, register, terminology, technical integrity)resources/anti-ai-patterns.md (AI writing pattern taxonomy, rules 1–25)Per target language (load the one matching the target):
resources/lang/ko.mdresources/lang/ja.mdresources/lang/zh.mdresources/lang/en.mdresources/lang/_template.md../_shared/core/context-loading.md../_shared/core/quality-principles.mdFrequently asked questions
Context-aware translation that preserves tone, style, and natural word order. Infers register, domain, and style from the source text and surrounding codebase context.
The source record exposes this install command: npx skills add https://github.com/first-fluke/oh-my-agent --skill ".agents/skills/oma-translation". Inspect the command and pinned source before running it.
Static rules flagged read-files, write-files in the source; the page lists the matching lines and excerpts.
Alternatives
first-fluke/oh-my-agent
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.
wshobson/agents
Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens —
first-fluke/oh-my-agent
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.
open-edge-platform/edge-ai-libraries
Deploy Chat Question-and-Answer Core to Kubernetes using Helm (OpenVINO CPU, OpenVINO GPU, or Ollama), including values.yaml configuration, helm install/upgrade, deployment verification, uninstall, and translation from Docker Compose setup_env.sh variables into Helm override values. Use this skill when the user says "deploy chatqna core to kubernetes", "helm install chatqna-core", "configure values.yaml", "convert compose config to helm", or "translate setup_env.sh to chart values".