شعار Oma Translation

Oma Translation

مؤسسةشائع
first-fluke
oma-translation

Translate or revise localized UI strings and prose while preserving meaning, terminology, placeholders, and structure.

نظرة عامة

الناشرfirst-fluke
المستودعoh-my-agent
اسم المهارةoma-translation
النجوم
1.3K
التفريعات
149
الملفات المرفقة
7
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Translation - Context-Aware Localization

Scheduling

Goal

Translate, review, or adapt multilingual content faithfully and naturally while preserving the parts that must remain exact: placeholders, code, links, formatting, terminology, and file structure.

Intent signature

  • Translate, localize, review a translation, adapt copy, or create a glossary/style guide.
  • Update target-language files after the source changed.

When to use

  • UI strings, error messages, locale files, documentation, reports, marketing copy, and prose.
  • Review of existing translations for accuracy, register, terminology, or naturalness.

When NOT to use

  • i18n infrastructure, locale registration, or key extraction -> use the relevant development skill.
  • Date/pluralization APIs or other code-level localization -> use the owning code-domain skill.

Expected inputs

  • Source text, target language or locale, content type, and requested output mode.
  • Existing locale files, glossary, surrounding context, and optional author sample.
  • Placeholder and formatting constraints when the source is structured.

Expected outputs

  • Natural target-language text or evidence-backed review findings.
  • Exact preservation of placeholders, code spans, links, headings, list structure, and locale keys.
  • Translator notes only for meaningful ambiguity or necessary cultural explanation.

Dependencies

  • Target profile: resources/lang/{code}.md, if one exists.
  • resources/translation-rubric.md for substantive content or review.
  • ../_shared/core/anti-ai-prose.md and resources/anti-ai-patterns.md together when prose needs style review.
  • Existing siblings and glossary when translating into a project.

Control-flow features

  • Branches by UI batch versus prose, profile availability, locale variant, ambiguity, and review mode.
  • Loads only the target profile and references required for the content type.
  • Edits files only when the user asked for file changes.

Structural Flow

Entry

  1. Identify source, target locale, content type, and whether this is translate, review, or diff-sync.
  2. Preserve exact tokens first: placeholders, code, URLs, keys, and structural markers.
  3. Load the target profile if available; read sibling translations when the target is in a project.

Scenes

  1. PREPARE: Resolve locale, output mode, target audience, and protected syntax.
  2. ACQUIRE: Read the target profile, relevant siblings, glossary, and source context. For prose or review, load the rubric; for style review, load the shared prose diagnostics and translation exceptions together.
  3. REASON: Determine meaning, register, terminology, cultural references, and any ambiguity. Decide whether an idiom should be interpreted, substituted, or retained.
  4. ACT: Write natural target-language text. Match established project patterns without adding meaning, opinion, or personality.
  5. VERIFY: Check protected syntax and structure. For substantive text, check meaning, terminology, register, and target-language naturalness against the rubric.
  6. FINALIZE: Return the requested text, patch, or review with only supported findings.

Transitions

  • A profile exists -> load it; its target-language rules take precedence over shared guidance.
  • A locale variant is required -> resolve it before drafting.
  • No profile exists -> use shared guidance and note that limit once; do not borrow another language's rules.
  • A short independent UI string with established siblings -> use protected-syntax and sibling checks; the full prose review is optional.
  • Long prose, documentation, marketing copy, mixed tables/code, or review mode -> use the rubric.
  • Ambiguous meaning that changes the result -> ask one targeted question or flag the choice.
  • Diff-sync -> modify only source-touched equivalents, located by headings and surrounding context, not line number.

Failure and recovery

FailureRecovery
Missing target contextUse the source register and state the assumption, unless the ambiguity changes meaning
Conflicting literal wording and project conventionFollow the established target convention and explain a material difference
Placeholder or structure mismatchRevise before emitting or applying a patch
Missing profileUse shared guidance and identify the coverage limit once
Unclear cultural referenceAdd a concise note only when the target audience needs it

Exit

  • Success: the text is faithful, natural, structurally safe, and checked in proportion to content risk.
  • Partial: unresolved ambiguity or missing context is stated without inventing an answer.

Language profile loading

Resolve the BCP 47 primary subtag and load one matching profile when present:

TargetProfile
Koreanresources/lang/ko.md
Japaneseresources/lang/ja.md
Chineseresources/lang/zh.md; resolve the declared variant
Englishresources/lang/en.md
Otherno profile; use shared guidance

Profiles define typography, register, and target-language checks. Shared guidance explains common risks. A profile wins if they conflict. Add a new profile from resources/lang/_template.md only when the task is to extend this skill.

Translation method

  1. Read for meaning, intended effect, domain terms, and protected syntax. Identify figurative wording as interpret, substitute, or retain. Do not add a new metaphor or remove an intentional one without a reason.
  2. Choose register from the source, target audience, and sibling translations. Apply translation_voice from .agents/oma-config.yaml only as a rhythm/formality preference: formal, balanced (default), or interpreter. It never overrides meaning or target norms.
  3. Reconstruct in the target language. Change word order, split or merge sentences, and omit implied subjects only when the target language calls for it.
  4. Preserve author style only where it belongs: prose, dialogue, adaptation, or explicitly user-authored documentation. Match observable rhythm and diction, never add facts, stance, jokes, first person, or stronger emotion.

Verification

Always check:

  • Every placeholder, code span, identifier, URL, and locale key is unchanged.
  • Headings, links, table rows, list nesting, and code blocks retain their structure.
  • The target follows its profile's typography and register rules.
  • Existing siblings are matched when they establish terminology or UI style.

For substantive content and review mode, also check the rubric: meaning, naturalness, terminology, register, cultural fit, and emotional force. Use anti-AI patterns as a diagnostic, not a demand to make prose decorative or to remove intentional source style.

Review mode

Review from evidence, not from an expectation that every draft is machine-translated. Record zero findings when no material defect is confirmed. Separate:

  • Accuracy or safety defects: changed meaning, broken placeholder, incorrect term, or wrong register.
  • Supported style findings: a concrete target-language issue with a reason and proposed fix.
  • Preferences: optional alternatives that do not make the existing translation wrong.

Do not rewrite a sound translation merely to produce findings.

Batch and diff-sync work

For batches, read the complete set first, translate values only, and maintain one terminology and register decision. Verify placeholders and key structure across the set.

For diff-sync, map each source hunk by heading and surrounding context. Touch only the affected target section; leave unrelated text byte-identical. State updated sections, skipped cosmetic hunks, and material terminology decisions.

Output formats

For a single text, present the translation and brief notes for ambiguities or adaptations. For files, preserve the input format and modify only requested values. For review, show the original, the suggested revision only when warranted, and the evidence for each finding.

Logical Operations

Actions

ActionSSL primitiveEvidence
Resolve locale and modeSELECTUser request and file context
Read profile and siblings conditionallyREADTarget profile, glossary, nearby translations
Protect syntax and structureVALIDATESource tokens and structural markers
Infer meaning and registerINFERSource, audience, project convention
Translate or reviseWRITETarget text or requested file patch
Review substantive contentVALIDATERubric and concrete findings
Report result and limitsNOTIFYTranslation, patch, or review

Tools and instruments

  • Native search/read for local source and sibling translations.
  • Configured code_intelligence capability when available for code-context navigation; native search/read when it is unavailable or times out.
  • Target profile, rubric, anti-AI patterns, and language-template resources as selected above.

Canonical workflow path

  1. Resolve target locale and protect exact syntax.
  2. Load the one applicable language profile and relevant siblings; load the rubric for substantive content or review. For prose style review, load ../_shared/core/anti-ai-prose.md with resources/anti-ai-patterns.md; apply its fidelity exceptions before any shared style fix.
  3. Infer meaning, register, terminology, and figurative-language handling.
  4. Draft in natural target order and project style.
  5. Verify exact syntax and structure, then review substantive content against the rubric.
  6. Emit the requested translation, patch, or evidence-backed review. State a missing-profile or context limitation when material.

Resource scope

ScopeResource target
LOCAL_FSSource/target files, glossaries, language profiles
CODEBASESibling translations and code context
PROCESSNative search and syntax checks
MEMORYLocale, terminology, register, protected syntax, unresolved ambiguity

Effects and side effects

  • Produces translated text or review findings.
  • Changes locale/docs files only when explicitly requested.
  • Retains source structure, identifiers, and placeholders.

Guardrails

  1. Preserve meaning, protected syntax, and file structure before stylistic preference.
  2. Do not invent facts, opinions, emotional emphasis, examples, citations, or personality.
  3. Do not use a different language's profile as a substitute.
  4. Do not change untouched sections during diff-sync.
  5. Do not claim completion of a check that the available source cannot support.

References

  • Translation rubric: resources/translation-rubric.md (load for substantive content or review)
  • Common prose diagnostics: ../_shared/core/anti-ai-prose.md (load with translation exceptions when prose style needs review)
  • Translation exceptions and grammar diagnostics: resources/anti-ai-patterns.md (load with common diagnostics when prose style needs review)
  • Target profiles: resources/lang/{ko,ja,zh,en}.md (load one matching profile)
  • Profile template: resources/lang/_template.md (only when adding a profile)
  • Shared context loading: ../_shared/core/context-loading.md
  • Shared quality principles: ../_shared/core/quality-principles.md

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

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

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

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

Translate or revise localized UI strings and prose while preserving meaning, terminology, placeholders, and structure.

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

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

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

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/first-fluke/oh-my-agent/tree/main/skills/oma-translation. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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