/mikefluff-skills:translation-syncfrom Mikefluff Skills
Read-only parity checker for multilingual book translations (RU↔EN↔PT-BR). Validates typography, terminology consistency, anchor quotes, names/diminutives, and realia footnotes. Produces a drift report; never edits. Use before committing a translated chapter.
Ships in Mikefluff Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use cases:
git commit — check staged changes in any of the three language directories.git/hooks/pre-commitThis skill does not translate. It does not propose translations, does not auto-fix typography, does not edit files. It reads, compares, and reports.
Translation parity auditor. Never a translator. Never an editor.
The user owns every translation decision. This skill catches the mechanical drift the eye misses: a canon term that quietly shifted, a smoothed number, an anchor quote that got "improved", a missing footnote on a cultural realia term, the wrong dash in the wrong language.
If a finding is debatable, surface it and let the author decide. If the canon registry in references/terminology.md is silent on a term, do not invent a ruling — flag the unknown and move on.
Three target languages, each with distinct typographic and stylistic constraints:
\enquote{...} for inner. Em-dash --- with non-breaking space after for direct speech. Numbers spelled out except years and decimals. Real foreign names stay in Latin script. ...'' for outer, ...' `` for inner quotes. Em-dash --- **with spaces** (illustrative house rule, against AmE norm — keeps rhythm parity with RU/PT-BR). Numbers spelled out with hyphens (twenty-eight`). Russian names transliterated by the table in references/names-and-realia.md. ...'' for outer, ...' `` for inner (English style, not French «...» — illustrative house rule). Em-dash --- with spaces. Numbers spelled out without hyphens (vinte e oito`). Russian names transliterated; Latin-script names stay Latin.Full per-language typography table in references/typography.md.
staged (default) — check staged diffgit diff --cached --name-only
For each staged prose file (.md / .tex / .txt / .rst) under a per-language directory tree:
/ru/, /en/, /pt-br/)git diff --cached -U0 <file>chapter <book> <chN> — full parity check across all three languagesRead the source chapter and its two sibling translations (e.g. <book>/ru/chapters/<chN>, <book>/en/chapters/<chN>, <book>/pt-br/chapters/<chN>). Run the full 15-point checklist from references/checklist.md across all three.
range <from>..<to> — diff across commit rangegit diff <from>..<to> --name-only
Pipeline as in staged. Useful after a RU depth-pass to verify EN/PT-BR caught up.
file <path> — single file checkFull pass on one file. Typography + terminology + smoothing + names. Anchor-quote check skipped (needs sibling files).
file <path> <line1>:<line2> — line-range check on a single fileFor each in-scope file, run six passes. Each pass references its own rule file:
Pointer Architecture stays English everywhere). Rules: references/terminology.md.900 ms does not become under a second. Rules: references/what-not-to-smooth.md.Structured report grouped by file, then by check category. Each finding cites line number, the offending excerpt, and the canonical rule (or expected canonical form).
=== translation-sync ===
Mode: chapter your-book ch05
Languages: ru en pt-br
[TYPOGRAPHY] your-book/en/chapters/ch05.md
L42 — straight quotes "..." in EN context — should be ``...'' (TeX outer)
L88 — em-dash without spaces in EN context — house rule: em-dash with spaces
[TERMINOLOGY] ru → en
L120 ru "Term X" → en "Term X" — OK (do not translate)
L156 ru "supporting structure" → en "support structure" — drifts from canon:
terminology.md lists this term as "load-bearing structure"
[ANCHOR_QUOTES] ru → pt-br
L201 ru "Anchor quote A" (canonical RU form)
pt-br "smoothed paraphrase" — drift; canonical PT-BR per
anchor-quotes.md §finale must be preserved verbatim
[NAMES_REALIA] ru → en
L302 ru "diminutive form" → en "incorrect transliteration"
— wrong: canonical EN form per names-and-realia.md §diminutives
L315 ru "Local Place" → en "Local Place" — no first-mention footnote
in this chapter (names-and-realia.md §cultural realia)
[NO_SMOOTHING] ru → en
L412 ru "900 milliseconds" → en "under a second" — smoothing forbidden
(what-not-to-smooth.md §numbers)
=== SUMMARY ===
Files checked: 3 (ru, en, pt-br)
Findings:
- typography: 2 (warning)
- terminology: 1 (blocking)
- anchor quote: 1 (blocking)
- names/realia: 2 (1 blocking, 1 warning)
- smoothing: 1 (blocking)
Full annotated sample in examples/sample-parity-report.md.
BLOCKING — must fix before commit:
terminology.mdanchor-quotes.md)what-not-to-smooth.md)WARNING — review before commit:
… or \dots)Dan and Daniel for the same character)my friend, you see, como assim)INFO — author's call:
close the loop for закрыть гештальт)0 — only INFO findings; commit allowed1 — at least one WARNING; commit allowed but author should review2 — at least one BLOCKING; commit abortedIn normal (non-hook) invocation, exit code is not used; only the report.
terminology.md — do not invent a translation.loop. This is a one-shot pre-commit check.| File | When to load |
|---|---|
| references/checklist.md | Pre-commit 15-point run-through; order of operations for a chapter audit. |
| references/typography.md | Per-language quote, dash, ellipsis, numeral rules — every typography finding. |
| references/terminology.md | Canon-term registry — every [TERMINOLOGY] finding cites a row here. |
| references/anchor-quotes.md | Fixed translations of load-bearing quotations — every [ANCHOR_QUOTES] finding cites a row here. |
| references/names-and-realia.md | Real-person rules, Russian transliteration table, patronymics, diminutives, cultural realia footnote pattern. |
| references/what-not-to-smooth.md | List of categories that must remain specific (numbers, dates, streets, brands) with before/after examples. |
| examples/sample-parity-report.md | Calibration sample of the report format. |
examples/before-after.md (opens in a new tab)examples/sample-parity-report.md (opens in a new tab)references/anchor-quotes.md (opens in a new tab)references/checklist.md (opens in a new tab)references/names-and-realia.md (opens in a new tab)references/terminology.md (opens in a new tab)references/typography.md (opens in a new tab)references/what-not-to-smooth.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikefluff/skills --plugin mikefluff-skills46 skills in this plugin
/audio-mix-makerMix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'./avatar-makerTurn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'./banner-makerOther plugins' skills for the same job