شعار Translation Sync

Translation Sync

المجتمع
Mikefluff
translation-sync

Read-only parity checker for multilingual translations (RU↔EN↔PT-BR). Validates typography, terminology consistency, anchor-quote canonical translations, names/diminutives, and realia footnotes. Produces a parity report; never edits. Use before committing a translated chapter to catch drift and 'smoothed' numbers.

نظرة عامة

الناشرMikefluff
المستودعskills
اسم المهارةtranslation-sync
النجوم
26
التفريعات
2
الملفات المرفقة
8
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 8

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Mikefluff على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Translation Sync في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Mikefluff/skills/tree/main/skills/translation-sync
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/translation-sync .claude/skills/translation-sync
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Translation Sync في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Translation Sync تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Translation Sync بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Use cases:

  • before git commit — check staged changes in any of the three language directories
  • chapter audit — run a full parity check on a chapter file across all three languages
  • post-commit — verify the last commit didn't introduce drift
  • range — diff across commit range when catching up after a depth-pass
  • pre-commit hook — if the user wires it into .git/hooks/pre-commit

This skill does not translate. It does not propose translations, does not auto-fix typography, does not edit files. It reads, compares, and reports.

ROLE

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.

LANGUAGES

Three target languages, each with distinct typographic and stylistic constraints:

  • RU — «ёлочки» for outer quotes, \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.
  • EN — TeX-style ...'' 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.
  • PT-BR — TeX-style ...'' 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.

MODES

staged (default) — check staged diff

bash
git diff --cached --name-only

For each staged prose file (.md / .tex / .txt / .rst) under a per-language directory tree:

  1. Detect target language by path segment (/ru/, /en/, /pt-br/)
  2. Pull added/changed lines: git diff --cached -U0 <file>
  3. Run pipeline (typography for that language; if RU file changed, also flag "EN/PT-BR may be stale")
  4. Aggregate findings

chapter <book> <chN> — full parity check across all three languages

Read 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 range

bash
git 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 check

Full 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 file

PIPELINE

For each in-scope file, run six passes. Each pass references its own rule file:

  1. Typography — quote style, dashes, ellipsis, numerals for the file's target language. Rules: references/typography.md.
  2. Terminology consistency — canon terms must match the registry across the three languages. "Do not translate" markers respected (e.g. Pointer Architecture stays English everywhere). Rules: references/terminology.md.
  3. Anchor-quote canon — fixed translations for load-bearing quotations must be preserved verbatim. No "improvements", no extenders. Rules: references/anchor-quotes.md.
  4. Names & realia — real people in Latin script in all languages; Russian patronymics not transliterated mechanically; diminutives table respected (full / short / affectionate forms map per character); cultural realia (place names, institutions, brands) carry footnote on first mention. Rules: references/names-and-realia.md.
  5. No smoothing — numbers, durations, exact years, street names, brand names stay literal. 900 ms does not become under a second. Rules: references/what-not-to-smooth.md.
  6. 15-point checklist aggregate — the final pre-commit run-through. List: references/checklist.md.

OUTPUT FORMAT

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.

SEVERITY

  • BLOCKING — must fix before commit:

    • Terminology drift on a canon term registered in terminology.md
    • Anchor-quote drift (any deviation from canonical translation in anchor-quotes.md)
    • Smoothed number, duration, or year (what-not-to-smooth.md)
    • Missing or malformed first-mention footnote on cultural realia
    • Real person's name transcribed to Cyrillic (or Russian name not transliterated in EN/PT-BR per the table)
  • WARNING — review before commit:

    • Typography mismatch (wrong quote style, wrong dash spacing, three-dot ellipsis instead of … or \dots)
    • Inconsistent diminutive usage inside a single chapter (mixing Dan and Daniel for the same character)
    • Added extender that didn't exist in source (my friend, you see, como assim)
    • Bracketed digression flattened into separate sentence
  • INFO — author's call:

    • Rhythm adjustment within tolerance (EN compacter, PT-BR softer — expected; only flag if it loses a concrete image)
    • Idiom swap from literal to equivalent (close the loop for закрыть гештальт)
    • Stylistic difference in sentence length

EXIT CODE (when wired as git pre-commit hook)

  • 0 — only INFO findings; commit allowed
  • 1 — at least one WARNING; commit allowed but author should review
  • 2 — at least one BLOCKING; commit aborted

In normal (non-hook) invocation, exit code is not used; only the report.

WHAT NOT TO DO

  • Do not translate. This skill audits; translation is the user's call. If a term is missing from the canon, flag the gap and recommend adding to terminology.md — do not invent a translation.
  • Do not auto-fix typography. Flag and let the user decide. The user may have stylistic reasons for an "incorrect" dash.
  • Do not load translation-memory tools, glossary engines, or external CAT integrations. Pure markdown skill — Read + Grep + Bash only.
  • Do not edit any files. Read-only.
  • Do not run inside loop. This is a one-shot pre-commit check.
  • Do not flag rhythm differences as drift. EN is ~30% more compact than RU; PT-BR is mellower. Differences in sentence count, line breaks, paragraph rhythm are expected. Only flag if a concrete image or number was lost.
  • Do not transcribe real people. Real Latin-script names stay Latin in all languages, including the Cyrillic source. Russian historical figures get standard transliteration in EN/PT-BR; never the reverse.

REFERENCES (load on demand)

FileWhen to load
references/checklist.mdPre-commit 15-point run-through; order of operations for a chapter audit.
references/typography.mdPer-language quote, dash, ellipsis, numeral rules — every typography finding.
references/terminology.mdCanon-term registry — every [TERMINOLOGY] finding cites a row here.
references/anchor-quotes.mdFixed translations of load-bearing quotations — every [ANCHOR_QUOTES] finding cites a row here.
references/names-and-realia.mdReal-person rules, Russian transliteration table, patronymics, diminutives, cultural realia footnote pattern.
references/what-not-to-smooth.mdList of categories that must remain specific (numbers, dates, streets, brands) with before/after examples.
examples/sample-parity-report.mdCalibration sample of the report format.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Translation Sync؟

Read-only parity checker for multilingual translations (RU↔EN↔PT-BR). Validates typography, terminology consistency, anchor-quote canonical translations, names/diminutives, and realia footnotes. Produces a parity report; never edits. Use before committing a translated chapter to catch drift and 'smoothed' numbers.

لماذا تستخدم Translation Sync على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Translation Sync عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Translation Sync في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/Mikefluff/skills/tree/main/skills/translation-sync. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Translation Sync؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Translation Sync؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Translation Sync معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Translation Sync مجانية؟

نعم. نشرها Mikefluff على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇