/sibawayeh:sibawayehfrom sibawayeh
Writes, edits, and reviews Arabic text in Modern Standard Arabic or dialects. Checks grammar, spelling, punctuation, and style before answering.
Ships in sibawayeh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Write correct, natural Modern Standard Arabic (فصحى), then check it before you answer.
references/classical.md and write in that register. Otherwise stay in plain MSA: «فصحى» or «رسمي» alone does not mean classical.Brief rules; details and examples live in the references.
references/grammar.md. Prefer digits for large or technical numbers, which also avoids number-word agreement errors.references/glossary.md. On first use, add the English term in parentheses, e.g. «واجهة برمجة التطبيقات (API)»; after that, write the Arabic term. An English word or acronym never stands bare in an Arabic sentence, not even a familiar one (HTTP، REST، JSON، HTTPS) or a button label: ✗ عبر IPC، ✗ اضغط «Fork»; ✓ عبر الاتصال بين العمليات (IPC)، ✓ اضغط زر الاشتقاق (Fork). Keep code identifiers in backticks, including commands, flags, file names and HTTP methods (GET، POST).references/legal.md, references/banking.md or references/commercial.md respectively — inferred from what the text is, with no need for the user to name the domain.references/approved-forms.md. When writing, you may prefer the more classical option where the references call it more elegant (e.g. في الوقت نفسه), but the checker and the review step never flag or change the approved form. Forms that purists reject without a confirmed Academy ruling (طالما، بينما، سويًّا …) are correct: do not flag them and do not mention them.Write the draft to a temporary file (for example under /tmp or your scratch directory) or pipe it on stdin with -. Never write the draft into the user's project.
Run:
python3 <skill-dir>/scripts/check_arabic.py --fix /tmp/draft.md
<skill-dir> is the folder that contains this SKILL.md file (the skill's base directory, if your agent shows one). For stdin: python3 <skill-dir>/scripts/check_arabic.py --fix - < draft.
Add --digits arabic if the user writes with Arabic-Indic digits.
--fix the script prints the fixed text, then --- arabic-check findings ---, then the remaining findings (line:col SEVERITY rule message → suggestion) or no findings. Exit code 0 means no error or warn remains; 1 means some remain; 2 means a usage error (fix the command).
fix: already applied in the printed text. Use that text as your new draft.error: almost always wrong. Fix it unless it is clearly a false positive in context (a quote, a name, an approved form).warn: likely wrong or unnatural. Decide each one: fix it, or leave it if it is right in context.info: a hint (for example translationese density). Consider it; no change is required.fix results and the digit-mix and rtl-line-start findings. Ignore dialect-word, hamza (hamza-wasl, hamza-missing), misspelling, tanween-alif, merged-particle, alif-fariqa and grammar findings (sawfa-lan, jussive-nun, relative-after-indefinite, number-gender, compound-number), and in step 4 apply only checklist item 7.<!-- arabic-check: off --> and <!-- arabic-check: on -->.no findings.Short replies (one or two sentences): skip the script, but still make a quick pass over the first checklist items.
No shell (or the script fails): skip steps 2–3 and apply the checklist alone, carefully.
Go through these in order. Change only what is wrong; do not rewrite text that is already correct.
references/grammar.md.references/style.md §4.1). In posts and translations, read each sentence and ask whether an Arabic writer would put it that way; rephrase any that follow an English idiom (✗ يصنع الفرق، ✗ جعلوا الحفل ممكنًا، ✗ يضع … تحت الضغط).Read a reference when the situation calls for it, not all of them every time. Wrong examples are marked ✗ and correct ones ✓.
references/grammar.md: before writing numbers with counted nouns, plurals of things, sound plurals or duals, إنّ/أنّ, conditionals or relative clauses, and when reviewing any of them.references/orthography.md: when unsure of a hamza seat, ة/ه, ى/ي, a joined or split word, tanween, punctuation, digits, or how to lay out mixed Arabic and English in Markdown.references/style.md: when a draft sounds translated or machine-written, before writing a long piece, and when choosing register or technical terms.references/common-errors.md: when reviewing Arabic text (yours or the user's) for frequent errors, and before telling anyone that a form is wrong.references/approved-forms.md: before flagging or changing any word a purist "قل ولا تقل" list rejects, and whenever a checker finding or your own instinct says a common modern form is wrong.references/classical.md: only when the user asks for classical or elevated literary Arabic, or for a sermon, maqama, counsel or literary debate.references/glossary.md: when writing about software, the web, AI or data and you need the standard Arabic term.references/legal.md: when drafting, translating or reviewing a contract, terms of service, privacy policy, power of attorney, demand letter or legal notice.references/banking.md: when writing a bank letter or notice, a loan or financing agreement, account terms, or any text about accounts, loans, cards or transfers.references/commercial.md: when writing a business letter, price quotation, sales proposal, invoice note, purchase order or formal company-to-company correspondence.references/approved-forms.md (opens in a new tab)references/banking.md (opens in a new tab)references/classical.md (opens in a new tab)references/commercial.md (opens in a new tab)references/common-errors.md (opens in a new tab)references/glossary.md (opens in a new tab)references/grammar.md (opens in a new tab)references/legal.md (opens in a new tab)references/orthography.md (opens in a new tab)references/style.md (opens in a new tab)scripts/archeck/__init__.py (opens in a new tab)scripts/archeck/data.py (opens in a new tab)scripts/archeck/engine.py (opens in a new tab)scripts/archeck/model.py (opens in a new tab)scripts/archeck/rules_fix.py (opens in a new tab)scripts/archeck/rules_lists.py (opens in a new tab)scripts/archeck/rules_patterns.py (opens in a new tab)scripts/archeck/text.py (opens in a new tab)scripts/check_arabic.py (opens in a new tab)scripts/data/acronyms.txt (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anasash/sibawayh --plugin sibawayehOther plugins' skills for the same job