Логотип Scientific Fa Translation Skill

Scientific Fa Translation Skill

Спільнота
isArman
scientific-fa-translation-skill

Translate scientific documents, papers, articles, books, and technical docs (any software/science stack—not tied to one product) into academic Persian (Farsi) with strict RTL/bidi and untranslated English technical terms. Also reviews an existing Persian translation against these rules. Use when the user asks to ترجمه, translate a paper/article/book/docs, راست‌چین, RTL, PDF, چاپ, Persian scientific translation, or invokes scientific-fa-translation / scientific-fa-translation-skill. Do NOT use for coding, explaining code, commit messages, UI copy, literary translation, or casual Persian chat.

Огляд

ВидавецьisArman
Репозиторійscientific-fa-translation-skill
Назва навичкиscientific-fa-translation-skill
Зірки
43
Форки
4
Файли в пакеті
24
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 24

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: isArman. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Scientific Fa Translation Skill у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/isArman/scientific-fa-translation-skill/tree/main
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/isArman/scientific-fa-translation-skill.git \
  .claude/skills/scientific-fa-translation-skill
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Scientific Fa Translation Skill в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Scientific Fa Translation Skill, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Scientific Fa Translation Skill не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Scientific Persian translation

English → academic Persian for papers, articles, books, and technical documentation—any scientific or software stack, not one product (nginx, PyTorch, PostgreSQL, … are examples, not limits). Accuracy, consistent terminology, and print-ready RTL outrank literary fluency. Cursor chat is not the RTL surface.

When to use

  • Translate a scientific or technical document into Persian.
  • Review a finished Persian translation against these rules (references/review.md).
  • User mentions ترجمه علمی, راست‌چین, RTL, PDF, چاپ, paper, article, book.

Not for: writing or explaining code, commit messages, PRs, UI copy, literary or marketing translation, casual Persian conversation.

Locked defaults

Override only when the user says so.

DecisionDefault
DirectionEnglish → فارسی علمی
RegisterFormal فارسی معیار in the Canonical manner (references/scientific-style.md): short everyday scholarly verbs, split long sentences, field terms kept English; not ornate, not translationese, no colloquial forms.
Terminologyjournal for papers, theses, review articles; system-docs (default) for books, install guides, specs, RFCs, runbooks. Announce level, jobs, subjects (counts from the source), and genre (tutorial / reference / paper). Concept-oriented terms.tsv. Checker --level must match.
First mentionNo gloss for English terms unless the level says otherwise
OutputPrintable PDF at /home/$USER/Documents/books/<slug>.pdf. Chat is a short pointer, not RTL.
PDF engineXeLaTeX + xepersian (preferred print). Chromium/WeasyPrint when TeX is absent. Copy-paste: use Evince/Okular/Adobe/Firefox — Chrome/Edge built-in viewers often reverse Persian from either engine; build-pdf.sh also writes a logical .txt sidecar
HTMLOnly on request, or as that fallback
DigitsWestern (3.14, not ۳٫۱۴)
DatesSource calendar and format, one isolate. No Jalali conversion unless asked.
Figures/tablesشکل 3, جدول 2 — label translated, number unchanged
ImagesSame pixels as the artwork on the source page (diagram, screenshot, photo), not the whole page. Flatten alpha. dir="ltr" / LTR, centered (margin-inline: auto). Never mirror, redraw, drop, or ship a pdfimages negative. Never embed a full source page (headers, body text, page numbers, English caption) as a figure — crop to the artwork with scripts/crop-source-figures.py.
Code blocksAlways LTR and left-aligned
Abstract/footnotesTranslate
BibliographyDo not translate (authors, titles, journals, DOIs, URLs)
AmbiguityClaim-changing ambiguity blocks and is asked; the rest is queued (references/long-documents.md)
BooksTranslate and print the source table of contents (فهرست مطالب). Do not drop it.

Workflow

  1. Preflight. scripts/preflight.sh — know which engine and fonts exist before promising a build. Confirm source, target, and level. Jobs and subjects are inferred from the source in step 3, not chosen from a list.
  2. Ingest. references/source-ingest.md: fetch the source, extract figures, run scripts/crop-source-figures.py, flatten with scripts/prepare-figures.py figures/, then scripts/prepare-figures.py figures/ --check. Write inventory.md and manifest.txt in the working tree. Never translate from memory when a fetch fails. Never ship a black pdfimages dump. Never ship a full source-page raster as a figure. A book contents / brief contents page is inventory chrome, not optional: translate it and print it.
  3. Terminology first. Read enough of the source to name the jobs (practices it actually covers — include a broader one like software development when ops-only labels would miss lexicon such as source code) and the subjects (products or protocols: Kubernetes, Helm, PyTorch, PostgreSQL, nginx, … — whatever the book is about). Counts are not fixed. Announce level, jobs, subjects, and genre (tutorial / reference / paper). Keep those jobs' and subjects' lexicon English (DataLoader, deployment, source code, WAL — not invented calques). Ordinary prose stays Persian. Apply references/terminology.md. Do not write glossary.local.md and do not append to glossary.md. Write concept-oriented terms.tsv in the working tree (discarded with the job) before drafting — keep-English rows must include forbidden_fa; add concept / status / deprecated when synonyms exist. Show close calls to the user first. Lint always with --terms terms.tsv.
  4. Read references/scientific-style.md (Canonical manner, collocations, genre tone, fluency-gold.md) and references/rtl-bidi.md. For anything past ~15 pages also references/long-documents.md.
  5. Translate with the ensemble in references/ensemble.md: Composer and Grok draft, Luna judges diffs only, then a fluency reader (Grok by default when Composer wrote the part) scores against Canonical manner and fluency-gold.md. Do not add, omit, or soften claims; preserve hedges (may, might, suggest, remain unknown).
  6. Isolate every LTR run in the print source — whole clusters, one isolate each (references/rtl-bidi.md).
  7. Lint. scripts/check-fa.py doc.tex --level <level> --terms terms.tsv --manifest manifest.txt --strict and clear every error. --strict will not run without those two files. Lint each part as you finish it, not at the end. --pairs FILE adds rows; it does not replace term-pairs.tsv.
  8. Build and verify. scripts/build-pdf.sh doc.tex <slug> --verify lints again, checks figures/ when that directory exists, and will not copy a PDF if lint, figure check, or --verify fail. --verify rejects an HTML-engine PDF when XeLaTeX is installed (prefer .tex); pass --allow-visual-order only for an HTML draft. It also writes /home/$USER/Documents/books/<slug>.txt (logical order) beside the PDF. Copy-paste: Chrome/Edge built-in PDF viewers often paste reversed Persian from both engines — tell the user to open the PDF in Evince, Okular, Adobe Reader, or Firefox, or to use the .txt sidecar. Look at the rasterised pages. Run the judgement checklist below. For formal review of a finished PDF, use the Mossop-style layers in references/review.md (including the hedge back-translation spot-check).

If the user asks for HTML only, use assets/rtl-document.html. If they ask for Markdown, wrap the body in <div lang="fa" dir="rtl">, still isolate LTR spans, and say print RTL will be weaker than PDF. Reverse translation (FA→EN) only on explicit request; then drop the RTL rules and keep technical terms in English.

Terminology in one paragraph

Full policy and the field-term test: references/terminology.md. Infer jobs and subjects from the source (counts chosen by the agent; there is no domain pack). Ordered, first match wins: generic document chrome (Abstract, Figure) is always Persian; named artifacts and acronyms are English; a 2–5 word technical label is English as one whole isolate; the inferred subjects' lexicon is English at every level (PyTorch / DataLoader, PostgreSQL / WAL, nginx / location); the jobs' lexicon is English at system-docs (deployment, source code) and Persian at journal unless it is also a subject. Everything else is Persian. Never half-translate (خوشه Kubernetes, بلوک location, بارگذار DataLoader). A kept-term plural is the singular stem plus ها (\en{service}ها, \en{API}ها, \en{tensor}ها), never services / APIs / tensors; ezafe on Latin is still forbidden (Goی). Never mix two forms of one concept in a document. Forbidden calques are enforced from references/term-pairs.tsv plus this job's terms.tsv.

Example (system-docs, ML library): «اگر آرگومان \en{None} باشد، تابع \en{ValueError} می‌دهد.» Example (ops): «برای هر \en{deployment} یک \en{replica} جدا \en{configure} کنید.» Keep \en{source code} English — not کد منبع.

Example (journal): «این پیاده‌سازی از \en{gradient descent} برای کمینه کردن تابع هزینه استفاده می‌کند.»

Persian mechanics

Full rules: references/scientific-style.md. UTF-8; ک not ك, ی not ي; نیم‌فاصله in می‌شود, می‌توان, نمی‌کند, داده‌ها; punctuation ، ؛ ؟ «». Clear فارسی معیار, judged by the ensemble fluency reader (not a word-list grep). Letters, ZWNJ on the listed verbs and plurals, Western digits, Latin punct, and unisolated number clusters are machine-checked.

RTL

Full rules: references/rtl-bidi.md; engines and measured limits: references/pdf-output.md. Chat does not need to be RTL.

On the PDF, non-negotiable: isolate every English term, whole collocation, number cluster, formula, URL, and inline code with \lr{…} (or <span dir="ltr">). Slash-, space-, arrow-, or parenthesis-joined English (OP_IF/OP_NOTIF, 3.1 The OpenStack service, STARTED -> LOCKED_IN, 1.0.1 (2026-08-09)) is one isolate — split across two spans it renders reversed on the page. Listings are LTR and left-aligned. Math stays LTR. Do not mirror images. After a trailing English insertion the Persian period must belong to the Persian sentence.

Output

Default: printable PDF at /home/$USER/Documents/books/<slug>.pdf ($HOME/Documents/books, created if needed). Report that absolute path, the page count, and the engine used.

  1. Read references/pdf-output.md. Prefer assets/rtl-document.tex.
  2. Persian prose in the .tex; English runs in \lr{…} / \en{…}.
  3. Listings in \begin{latin}…\end{latin}. Captions translated, identifiers kept (Figure 3 → شکل 3).
  4. \includegraphics each cropped artwork file inside LTR; HTML <img dir="ltr"> with margin-inline: auto. Flatten alpha. Order, aspect, and subfigure layout preserved. Never point at a full pdftoppm of the source page.
  5. Bibliography in a latin section, source language. Fill the colophon with source, licence, and retrieval date.
  6. scripts/build-pdf.sh path/to/doc.tex <slug> --verify. Without TeX the same script takes the filled-in assets/rtl-document.html; embed Vazirmatn with scripts/fetch-vazirmatn.sh and never the UI-FD cut. Say that Chrome/Edge PDF viewers often reverse copy from either engine — use Evince/Okular/Adobe/Firefox or the .txt sidecar the build writes beside the PDF. A page-range PDF is scripts/extract-pdf-pages.py in.pdf out.pdf 1-20 — one range, never a per-page loop (references/pdf-output.md).

Quality gate

Machine-checked — scripts/check-fa.py --level <level> --terms terms.tsv --manifest manifest.txt --strict must exit 0. It covers orthography (ک/ی, نیم‌فاصله on listed verbs/plurals, Western digits, Persian punctuation), forbidden calques at that level, half-translated noun phrases, English -s plurals of kept terms, leftover Latin ezafe (Goی), split isolates, un-isolated Latin runs, un-isolated number clusters (ranges and dates reverse on an RTL page), listing direction, mirrored artwork, missing images, figure direction, full-page figure rasters, and terminology drift inside isolates. Do not re-check these by hand. --pairs and --terms merge onto the house list. Register fluency is not machine-checked — see judgement and ensemble.md.

Judgement — only these six, and they are the whole point:

  • No added, omitted, or softened scientific claim; hedges intact
  • Terminology consistent: one form per concept; inferred jobs and subject lexicon stayed English; consistent with terms.tsv
  • Register matches the Canonical manner and fluency-gold.md: fluency reader in ensemble.md returned OK or flagged spans were revised without softening claims; no over-English of ordinary prose; field terms stayed English
  • Every source figure present, unmirrored, in source order, with a translated caption, showing the artwork (not a black box, not a dump of the English source page around it)
  • Rasterised pages actually read correctly (periods, parentheses, listings, no missing-glyph boxes) — not judged from pdftotext
  • Claim-changing ambiguities were asked, not guessed; the rest are reported. Hedge/number sentences got a back-translation spot-check when references/review.md was used.

Delivery — final PDF at /home/$USER/Documents/books/<slug>.pdf, plus <slug>.txt for copy-friendly text. Chat is a short pointer with the path, page count, engine, copy hint (not Chrome’s built-in viewer), and queued questions.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Scientific Fa Translation Skill?

Translate scientific documents, papers, articles, books, and technical docs (any software/science stack—not tied to one product) into academic Persian (Farsi) with strict RTL/bidi and untranslated English technical terms. Also reviews an existing Persian translation against these rules. Use when the user asks to ترجمه, translate a paper/article/book/docs, راست‌چین, RTL, PDF, چاپ, Persian scientific translation, or invokes scientific-fa-translation / scientific-fa-translation-skill. Do NOT use for coding, explaining code, commit messages, UI copy, literary translation, or casual Persian chat.

Навіщо використовувати Scientific Fa Translation Skill у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Scientific Fa Translation Skill — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Scientific Fa Translation Skill у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/isArman/scientific-fa-translation-skill/tree/main. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Scientific Fa Translation Skill?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Scientific Fa Translation Skill?

Зі скількома забажаєте. У TypingMind ви можете використовувати Scientific Fa Translation Skill із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Scientific Fa Translation Skill?

Так. На GitHub цю навичку публікує isArman за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇