tashkeel-check
Skill43 starsChanged 29 days agoMITView on GitHub
Use when Arabic text may need diacritics (tashkeel) added or stripped, for TTS input, learner material, Quran or poetry, or when diacritization looks partial or inconsistent.
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Add tashkeel for: TTS input (ambiguous words are mispronounced without it), Quran and classical poetry, children's and learner material, …
- Distinctive: line 14
Leave it off for ordinary chat and UI text unless the user asks.
- Very specific: line 32
Never report a diacritization tool the atlas did not return.
- Distinctive: line 33
Do not auto-diacritize Quranic text.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tashkeel Check
Decide whether Arabic text should carry diacritics, detect partial tashkeel, and point to diacritization tools in the Arabic AI Atlas.
When to add or strip
- Add tashkeel for: TTS input (ambiguous words are mispronounced without it), Quran and classical poetry, children's and learner material, and words whose meaning depends on vowels (عَلِمَ / عِلْم / عَلَّمَ).
- Strip tashkeel for: search indexing, embeddings, deduplication, NER, and text matching, where diacritics fragment otherwise identical words.
- Leave it off for ordinary chat and UI text unless the user asks.
Detecting partial tashkeel
Diacritics are the range U+064B to U+0652, as the regex [ً-ْ]. Count Arabic letters ([ء-ي]) and diacritic marks per text.
- Zero marks: undiacritized.
- Marks on most letters: fully diacritized.
- A low but non-zero ratio, or marks on only some words: partial. This is usually a mistake, because models read it as a signal to mix styles. Either complete it or strip it.
Procedure
- Classify the text (none, partial, full) with the regex above and state the ratio of marks to letters.
- Decide the target from the use case in the section above. Say which you chose and why.
- To add tashkeel, call the MCP tool
search(query="diacritization")and recommend what the atlas returns (name, license, link). To strip, applyre.sub("[ً-ْ]", "", text)(add U+0670 and U+0640 if the user also wants the dagger alef and tatweel removed).
Rules
- Never report a diacritization tool the atlas did not return. If
searchis unavailable or empty, say so. - Do not auto-diacritize Quranic text; point to a verified source (Tanzil, King Fahd Complex).
- Machine diacritization has errors; ask for human review on anything publication-grade.
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dist/llms.txtllms.txt
- arabic-ai-advisorSkill
- arabic-dialect-promptsSkill
- arabic-token-costSkill
- rtl-bidi-lintSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

