yontu

السجل الرسمي أخرى

Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package yontu
Claude Code
claude mcp add yontu -- uvx yontu==0.1.0 mcp
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "yontu": {
            "command": "uvx",
            "args": [
                "yontu==0.1.0",
                "mcp"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. yontu
  2. Why
  3. What's in the box
  4. Before and after
  5. Quick start
  6. Tools
  7. CLI
  8. Profiles
  9. Rule layers
  10. Limitations
  11. Contributing
  12. Credits
  13. License

yontu

Turkish humanizer, TDK linter and style guide for AI agents. Türkçe metni yontar: biçim verir, inceltir.

yontu is a Turkish humanizer (Türkçe humanizer) and TDK spelling and punctuation linter, shipped as an agent skill, an offline CLI and an MCP server. It flags AI and translation patterns in Turkish text, checks spelling and punctuation against the Türk Dil Kurumu (TDK) rules, and fits wording to the genre the text is written for. It works with Claude Code, Codex, Cursor, Gemini CLI and any MCP client. English humanizers do little for Turkish, so every rule here was written for Turkish.

Türkçe README

Why

Most humanizers target English. Their rules come from lists such as Wikipedia's "Signs of AI writing", built on English words like "delve" and "tapestry". Run them on Turkish and they find almost nothing. A few patterns, such as the em dash, carry over, but only with a Turkish rule behind them (TDK allows the dash for dialogue only). Most Turkish AI text fails in other ways:

  • -mAktAdIr at the end of every sentence, and long -ArAk chains
  • calques such as önemli bir rol oynamaktadır and bu bağlamda
  • wrappers that replace a case suffix: "konusunda", "hususunda", "bir şekilde"
  • chatbot leftovers: Umarım bu e-posta sizi iyi bulur, Umarım yardımcı olur
  • spelling and punctuation errors that a careful Turkish writer would not make: herşey, a comma before "ve", Türkçe'de

Turkish also changes shape with context. An academic abstract, an ad, a blog post, a README, a commit message and a court petition each have their own sentence length, formality, pronouns and connectives. A rule that fixes one breaks another: -mAktAdIr is normal in an abstract and a tell in a blog post. Word choice matters as much: hızlı bir şekilde is usually just "hızla".

yontu encodes these as rules with sources, per-genre profiles and a word list, and gives the agent a workflow that keeps the meaning intact.

What's in the box

PartWhat it is
Skillskills/yontu/: SKILL.md, nine reference files and one guide per genre in references/turler/. Works without Python
LinterPython 3.9+, standard library only, no network. Layers tdk, ai-iz, stil, yogunluk
Profiles28 genres (tür) under 17 registers: sentence length, density, formality, pronouns, mood and tense, connectives, vocabulary, punctuation, structure
Fidelity gateyontu compare OLD NEW fails when a rewrite adds a number, date, name, URL or code span, and warns when it drops one or changes negation or modality
MCP serveryontu mcp, stdio, hand-written JSON-RPC, no SDK
HooksPost-edit or stop hooks, depending on the agent: Claude Code, Codex, Cursor, Gemini CLI, Copilot, Antigravity. Details in integrations/

Before and after

From skills/yontu/references/ornekler.md (README genre):

yontu: Türkçe Metinler İçin Modern Ve Güçlü Bir Linter

yontu, Türkçe metinlerinizi analiz ederek yazım hatalarını, noktalama sorunlarını ve yapay zekâ izlerini tespit eden, modern, güçlü ve kullanıcı dostu bir araçtır. Projenin temel amacı, yazım kalitenizi bir üst seviyeye taşımaktır!

Kullanım: Analiz işlemini gerçekleştirmek için aşağıdaki komutu kolayca çalıştırabilirsiniz: yontu lint metin.md

yontu: Türkçe metinler için linter

yontu, Türkçe metindeki yazım hatalarını, noktalama sorunlarını ve yapay zekâ izlerini bulan
bir linterdir.

Kullanım: `yontu lint metin.md`

Kept: the name, the three things it finds, the command. Dropped: the adjective triad, the exclamation, "kolayca". The title moved to sentence case. Nothing was added.

Quick start

Claude Code (skill, MCP server, hooks)
/plugin marketplace add senrecep/yontu
/plugin install yontu@yontu

This is the only install path that also adds hooks. Commands: /yontu:turkcelestir, /yontu:yontu-lint.

Any agent that reads skill folders
npx skills add senrecep/yontu

This copies the skill only: no MCP server, no hooks.

CLI
pipx install yontu          # puts yontu and trlint on PATH
uvx yontu lint metin.md     # no install

From a checkout, without installing: python3 skills/yontu/scripts/yontu lint metin.md.

MCP server
claude mcp add yontu -- uvx yontu mcp

Other clients:

{
  "mcpServers": {
    "yontu": { "command": "uvx", "args": ["yontu", "mcp"] }
  }
}
Per agent
AgentSkillMCPHooks
Claude Codepluginpluginplugin
Codex CLI~/.agents/skillscodex mcp add yontu -- yontu mcphooks.json
Gemini CLIextensionextensionsettings file
Cursor~/.cursor/skillsmcp.jsonhooks.json
claude.ai (web, mobile)zip upload, see folderplanned for v0.2none
OpenCode, Hermes, Windsurf, Copilot, Cline, Zed, Claude Desktop, Antigravitysee foldersee folderpartial

Config files, exact paths and what was tested on which version: integrations/.

Install profiles
ProfileWhat loadsClaude CodeOther agents
litethe skill; it runs the linter through the shell/plugin install yontu-lite@yontuscripts/install.sh --<agent> --profile lite --apply
standardlite plus hooksuse full--profile standard also prints the hook config to merge
fullstandard plus the MCP server/plugin install yontu@yontu--profile full prints the hook and MCP configs

install.sh is a dry run without --apply and writes only the skill folder. In Claude Code, install one of the two plugins, not both.

Context cost: about 150 tokens always on for the full plugin before its MCP tools, about 130 for lite, and about 3,900 tokens for a whole blog rewrite. Numbers, method and what loads when: docs/CONTEXT.md.

Tools

MCP toolWhat it does
lint_textFindings with layer, rule id, level, span and suggestion (detail: true returns every field)
compare_textsFidelity gate between two versions
get_style_guideGuidance for one genre by tür id, or a reference file: its section list first, then one section
fix_textApplies safe tdk fixes only
text_statsSentence length, readability, density
explain_ruleMessage, source and examples for a rule id
list_profilesAll registers and genres
get_profileThresholds for one genre or register

The server lists the first three tools by default. Set YONTU_MCP_TOOLS=full in its env to list all eight. It answers the other five either way, but most clients show the model only listed tools.

Prompts: turkcelestir (translate or adapt into Turkish), yogunlastir (tighten a text).

CLI

yontu and trlint are the same command.

yontu lint FILE [--register SLUG] [--tur ID] [--layer tdk,ai-iz] [--min-level warning] [--format json]
yontu lint FILE --fix [--write]     # safe tdk fixes only; --write saves the file
yontu compare OLD NEW               # fidelity gate
yontu stats FILE                    # sentence length, Ateşman readability, density
yontu rules [--layer tdk]           # list rules
yontu explain AI-E6                 # one rule with source and examples
yontu profiles [ID]                 # genres and registers

FILE can be - for standard input. lint and compare exit with 1 when they report an error, and with 2 on a usage error.

Without --register or --tur, yontu guesses the register from the content and falls back to notr, where every style rule is info.

Project settings go in .yontu.json (keys register, tur, enable, rules). Silence a rule in place with , or a range with and ``.

Profiles

--register picks the register, --tur the genre. A genre implies its register.

RegisterGenres (--tur)
akademikakademik-ozet, akademik-giris, akademik-tartisma, tez
resmidilekce, resmi-yazi
hukukhukuk (contract, ruling, regulation, privacy notice)
haberhaber
denemekose
blogblog, linkedin
teknikteknik-dok, readme, changelog
commitcommit
uiui-buton, ui-hata, ui-bos
pazarlamareklam, e-ticaret
sosyalx, instagram
kurumsalresmi-eposta, basin-bulteni
is-epostais-eposta
sozlusunum
edebiedebi
sohbetsohbet
notrnone: all style rules at info

hukuk and edebi get the tdk layer and the fidelity gate only. The skill does not rewrite them unless asked.

Rule layers

LayerWhat it checksLevels
tdkSpelling and punctuation from the TDK Yazım Kılavuzu and Güncel Türkçe Sözlükerror, warning, info. The only layer with autofix
ai-izAI and translation patternswarning or info, never fixed
stilFit to the genre profilemostly info
yogunlukWordy phrasing, light verbs, wrappersalways info

Every tdk rule names the TDK Yazım Kılavuzu section or Güncel Türkçe Sözlük entry it comes from. The links are in skills/yontu/references/kaynaklar.md. Autofix runs only on deterministic rules with near-zero false positives (herşey → "her şey", Türkçe'de → "Türkçede"). Dictionary redirects are never autofixed.

Every ai-iz rule carries an evidence label: veri (measured on a corpus), hakem (agreed by reviewers) or hipotez (observed, not measured). A hipotez rule never goes above info, and a hakem rule never goes above warning. The v0.1 rule set has no veri rules yet; see ROADMAP.md.

Run yontu rules for the full list and yontu explain ID for any rule.

Limitations

  • Not an AI detector. yontu reports patterns. A finding does not mean a text was machine-written, and a clean report does not mean it was not. Passing a detector is not a goal.
  • Heuristics. The ai-iz, stil and yogunluk rules are regular expressions and counts over surface forms, with no morphological analysis. Expect false positives, mostly at info.
  • Uncalibrated thresholds. Sentence bands and density thresholds come from the literature and from review, not from a human baseline corpus. Until calibration they stay at info or warning.
  • No dictionary. The linter catches known misspellings, not every misspelling.

Contributing

See CONTRIBUTING.md. New rules need a source, an evidence label and fixtures. Turkish examples of clean human writing in any genre are the most useful contribution: they are what calibration needs.

Credits

  • Türk Dil Kurumu: Yazım Kuralları and Güncel Türkçe Sözlük.
  • turkish-humanify by Oguzhan Durmaz (MIT) and turkce-humanizer by bushrabeg (MIT), whose ideas were rewritten and checked against TDK.
  • Wikipedia's "Signs of AI writing", for the structure of the pattern catalog.
  • Full source list: skills/yontu/references/kaynaklar.md.

License

MIT. See LICENSE.

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

ما هو yontu؟

Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.

كيف أثبّت yontu؟

يعمل على جهازك. في Claude Code: claude mcp add yontu -- uvx yontu==0.1.0 mcp. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج yontu إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل yontu مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون yontu؟

ينشره senrecep. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.