Skip to content

majdghithan/agent-skills / skills/lahja

Arabic dialects (لهجة) writing skill - write or rewrite Arabic in a specific spoken dialect with correct dialect GRAMMAR, not just sample words. Covers negation, future and aspect markers, demonstratives, question words, spelling habits, MSA leaks to remove, and how English tech terms sit inside dialect text. Covers Levantine (Palestinian-anchored), Egyptian, Gulf, Iraqi, Maghrebi (Moroccan, Algerian, Tunisian), Libyan, Sudanese, and Yemeni. Use when the user asks to write "بالعامية", "باللهجة الفلسطينية/الشامية/المصرية/الخليجية/العراقية/المغربية/الليبية/السودانية/اليمنية", "in Levantine/Palestinian/Egyptian/Gulf/Khaleeji/Iraqi/Moroccan/Libyan/Sudanese/Yemeni Arabic or Darija", "make this sound less formal/less translated", "convert فصحى to عامية", or writes to you in a dialect and wants dialect output (social posts, chat/WhatsApp copy, casual product copy, scripts). Built on the fasih method by Maher El Gamil. Works standalone; if the separate fasih skill is also available, invoke it for editorial quality while lahja owns the dialect forms. Do NOT use for formal MSA writing, legal/government/medical text, literal translation, or when no dialect is wanted.

FileKindSize
SKILL.mdskill md12.2 KB
references/egyptian.mdmarkdown11.1 KB
references/gulf.mdmarkdown12.0 KB
references/iraqi.mdmarkdown12.5 KB
references/levantine.mdmarkdown16.0 KB
references/libyan.mdmarkdown13.2 KB
references/maghrebi.mdmarkdown15.6 KB
references/sudanese.mdmarkdown11.5 KB
references/yemeni.mdmarkdown12.8 KB
scripts/check_output.pyscript3.7 KB
scripts/check_skill.pyscript4.1 KB

references/egyptian.md

View on GitHub
# Egyptian Arabic (مصري) - writing guide

**Coverage:** Cairene, the Egyptian standard in media and online. Alexandria and Upper Egypt differ and are not covered. Every form below is cited to the sources at the end; anything the sources didn't settle is marked and must not be generated.


**Confidence tags:** unmarked = sourced from Wikipedia, CODA, corpus papers, or academic articles. `(learner)` = only a learner or reference site (Lisaan Masry, Lingualism, Wiktionary). Forms we could not source are not listed.

## 1. Negation

- **ما...ش wraps the verb**, past and present, including attached objects: ماكتبش، مابيكتبش، مابحبش. Write -ش, not the old-film -شي. [EgyWiki] [LM]
- **ما...ش is the default with بـ-verbs.** مش + بـ-verb (مش بحب) is less common and carries a special meaning: contrast, "don't you dare", or negating an ongoing action: مش بكلمك على الفلوس، بكلمك عنك. [LM] [Wilmsen]
- **مش with everything that isn't a conjugated verb**: nouns, adjectives, places, participles, عايز: هي مش هنا، أنا مش مصري، مش عارف، مش عايز. [NegWiki] [LM]
- **Negated future: مش + هـ**: مش هشتري الكتاب، مش هيكتب. [EgyWiki] [LM]
- **مش + past verb as a question** = "didn't he?": مش كتب؟ [EgyWiki]
- **Existential**: مافيش (also spelled مفيش). **Possession**: ماعنديش / معنديش. [LM] [CODA]
- **Prohibition**: ماتنساش، ماتمشيش. [LM] [ArzWikiStyle]
- **Don't use** مهوش / مانيش; they are not attested for Cairo (Tunisian and Levantine data only). Use مش هو / مش أنا. [Wilmsen]
- **ما attached or separate** (ماكتبش vs ما كتبش): both appear. Pick one per text. [Lingualism] [CODA]

## 2. Future

- **هـ prefix**: هروح، هتخلص إمتى؟، هنقفل. Most people now write هـ because that is how Cairo pronounces it; حـ (حروح) is older/Alexandrian and still seen. **Use هـ.** [Lingualism] [LM] [CODA]
- **Never** سـ / سوف, and never the Levantine رح.

## 3. Aspect and mood

- **بـ prefix** = present, habitual, and in progress: بيكتب، بتكتب، بنكتب. 1sg is written بكتب or باكتب; pick one. [EgyWiki] [LM]
- **No عم.** Egyptian marks "right now" with plain بـ, with a participle, or optionally قاعد: بيدرس = "studies / is studying"; قاعد بيدرس. [Ouali21] [LM]
- **عمّال + بـ-verb** = "keeps on doing it", often with annoyance: عمّال بيلعب. [Ouali21]
- **Participles** carry present or ongoing meaning: أنا رايح النادي (on my way now) vs بروح النادي (I go regularly); فاهم، نايمة، عامل إيه. [DesertSky] [LM]
- **Bare verb, no أنْ**, after لازم، ممكن، عايز: لازم أكتب، ممكن تقولي، عايز ياكل. [LM] [Wikt]

## 4. Demonstratives and question words

- **ده / دي / دول come AFTER the noun**: الكتاب ده، الـ tasks دي. Spelling: CODA picks ده over دا; كده is more common than كدا. [VarWiki] [LM] [CODA]
- **Question words usually go at the end**: رايح فين؟، راح مصر إمتى؟، أشحن التليفون ده إزاي؟، إنت منين؟. Question-first also occurs (مين راح مصر؟), but the end position is what makes text sound Egyptian. [EgyWiki] [LM]
- **List**: إيه، إمتى، فين، منين، إزاي، ليه، مين، كام، بكام، قد إيه، أنهي. [LM]
- **كام**: كام + singular asks "how many" (عندك كام ولد؟); noun + كام asks "what number" (الساعة كام؟). [LM]
- **Relative**: اللي. **That**: إنّ: أفتكر إنك غلطان (this is Egyptian, not a leak). [LM]
- **Because / so that**: عشان / علشان (with a subjunctive it means "so that"). [Wikt-ashan]
- **Possession with بتاع** (m) / بتاعة (f) / بتوع (pl), after the noun: الكتاب بتاع أحمد، القميص ده بتاعك. Natural for "the X of Y" where MSA would use a construct. [Wikt-betaa]
- **Not verified yet:** لمّا for "when". Avoid it until it is sourced.

## 5. Pronouns

أنا، إحنا، إنتَ، إنتِ، إنتو، هو، هي، همّ. Suffixes: ـك (بيتك، أبوكي after a vowel)، ـكو (CODA spelling, no alif)، ـهم. [EgyWiki] [CODA] [LM]

## 6. Spelling habits

Everyday Egyptian writing and CODA disagree. **Pick one convention for the whole text.** For product or brand copy, the default below avoids ambiguity while still looking Egyptian.

| Point | Common Egyptian habit | CODA | lahja default |
|---|---|---|---|
| ق (said ʔ) | ق | ق | **ق** (قال, not أال) |
| ج (said g) | ج | ج | **ج** |
| ث / ذ said t / d | ت / د: كتير، تاني، خد | etymological: كثير | **follow pronunciation**: كتير، تاني |
| ث / ذ said s / z | keep ث / ذ: ثانية، ذكي | keep | **keep** |
| Final ي | often ى (فى، على/علي confusion) | ي dotted | **dotted ي** (في، علي vs على distinct) |
| Final ة | often ه (حريه) | ة | **ة** |
| Plural verb alif | بيكتبو / بيكتبوا | بيكتبوا | **بيكتبوا** |
| Hamza on alif | often dropped (انا، اول) | written | writer's choice, consistent |

Sources: [Lingualism] [CODA] [ArzWikiStyle] [EgyWiki].

- **Tanween:** gone as grammar; it survives only on frozen adverbs (أحياناً، عملياً). Don't add it anywhere else. [CODA] [Lingualism]

## 7. MSA leaks - kill on sight

| Leak (MSA) | Egyptian | Source |
|---|---|---|
| سوف / سـ | هـ | [CODA] |
| لم | ما...ش: ماكتبش | [EgyWiki] [NegWiki] |
| لن | مش هـ | [EgyWiki] [LM] |
| ليس | مش | [NegWiki] |
| لقد | drop it; the Egyptian past has no particle | pattern from [EgyWiki] examples |
| إنّ at sentence start (emphatic) | drop it; إنّ after a verb is fine | [LM] |
| أنْ + verb | bare verb | [LM] |
| الذي / التي | اللي | [LM] |
| هذا / هذه / هؤلاء | ده / دي / دول, after the noun | [VarWiki] [CODA] |
| ماذا / لماذا / أين / كيف / متى | إيه / ليه / فين / إزاي / إمتى, at the end | [LM] [EgyWiki] |
| الآن | دلوقتي | [LM-dict] |
| أيضاً | كمان / برضه | [LM-dict] [CODA] |
| جداً | أوي is the colloquial default; جداً is also used in Egyptian (شكراً جداً), so it is not a hard leak | [LM-dict] |
| يريد | عايز | [LM-dict] |
| يستطيع | يقدر (written ق) | [LM-dict] |
| فقط | بس | [CODA] [LM] |
| لا يوجد | مافيش | [LM] [CODA] |
| الكثير | كتير | [LM] |
| غداً | بكرة | [Wikt-bukra] |
| لأن / لكي | عشان / علشان | [Wikt-ashan] |
| قام بـ + verbal noun | plain verb | style rule, see SKILL.md |

## 8. English tech terms

- **Heavy code-switching is normal** among educated Egyptians. In a technical-field interview corpus, 37% of words were English and 80% of sentences mixed. [Hamed18] [ArzEn]
- **English verbs take Arabic prefixes** in the present: بيـask، بتـhandle. 80% of inserted English verbs took Arabic tense/person prefixes; the past tense usually doesn't integrate. [Kniaz21] [ArzEnST]
- **Arabic affixes on English nouns**: الـ tasks دي. Almost half of mixed sentences put Arabic prefixes or suffixes on English words. [ArzEnST]
- **In writing, people mostly switch without changing script**: English stays Latin. Common loanwords appear in both scripts (موبايل / mobile). [ArzEnST]
- **Arabized verb attested**: سيّف (سييڤ الصفحه). [ArzWikiStyle]
- **Not verified for Egyptian:** كنسل (a dictionary gives لغى for "cancel"), شيّر. Don't use them in an Egyptian text.
- **Publishing default:** keep the English word whole in Latin script, and put the Arabic prefix before it with a tatweel and a space where needed (الـ tasks). Glued forms like بتـhandle are real speech but hard to read in published copy; use them only in chat-style text.

## 9. Worked rewrites (MSA -> Cairene)

These use only the grammar forms above; common content words (شغّال، حاجة، قفل) are not individually sourced.

**1. Debugging** (negation, question word at the end)
- MSA: لا أعرف لماذا لا يعمل الـ build، لم أغيّر أي شيء.
- Egy: مش عارف الـ build مش شغّال ليه، ماغيّرتش حاجة.

**2. Announcement** (سوف, لن)
- MSA: سوف ننقل المشروع من MySQL إلى PostgreSQL، ولن نغلق الموقع.
- Egy: هننقل المشروع من MySQL لـ PostgreSQL، ومش هنقفل الموقع.

**3. Team chat** (يريد, الآن, أين)
- MSA: ماذا تريد أن تفعل الآن؟ أين الملف؟
- Egy: عايز تعمل إيه دلوقتي؟ الملف فين؟

**4. Tech mixing** (demonstrative after the noun, English inline)
- MSA: كيف ستتعامل مع هذه الـ tasks؟ أنا أعمل على الـ feature الآن.
- Egy: هتعمل إيه في الـ tasks دي؟ أنا بشتغل على الـ feature دلوقتي.

## Feedback

**Found something wrong or missing?** Arabic dialects vary by city, generation, and family, and this guide will not match every speaker. Tell Majd: majd.ghithan20@gmail.com, or open an issue or PR at https://github.com/majdghithan/agent-skills.

## Sources

- [EgyWiki] https://en.wikipedia.org/wiki/Egyptian_Arabic
- [NegWiki] https://en.wikipedia.org/wiki/Negation_in_Arabic
- [VarWiki] https://en.wikipedia.org/wiki/Varieties_of_Arabic
- [CODA] Habash, Diab, Rambow 2012, Conventional Orthography for Dialectal Arabic - http://www.lrec-conf.org/proceedings/lrec2012/pdf/579_Paper.pdf
- [LM] Lisaan Masry grammar (learner) - https://www.lisaanmasry.org/grammar/negation.html · https://www.lisaanmasry.org/grammar/questions.html · https://www.lisaanmasry.org/grammar/pronouns.html
- [LM-dict] Lisaan Masry dictionary (learner) - https://www.lisaanmasry.org/online/search.php
- [Lingualism] Egyptian Arabic orthography (learner) - https://resources.lingualism.com/egyptian-arabic/egyptian-arabic-orthography/
- [ArzWikiStyle] Egyptian Wikipedia style guide - https://arz.wikipedia.org/wiki/ويكيبيديا:طريقة_الكتابه
- [Ouali21] Ouali 2021, Imperfective verb and progressive aspect - https://bpb-us-w2.wpmucdn.com/sites.uwm.edu/dist/e/472/files/2021/09/1.-Ouali-2021.pdf
- [Wilmsen] Wilmsen, The dehortative in the spoken Arabics of the Eastern Mediterranean - https://journals.unibuc.ro/index.php/roar/en/article/download/1920/2037
- [DesertSky] Active participle (learner) - https://arabic.desert-sky.net/g_act.html
- [Wikt-ashan] https://en.wiktionary.org/wiki/عشان · [Wikt-betaa] https://en.wiktionary.org/wiki/بتاع · [Wikt-bukra] https://en.wiktionary.org/wiki/بكرة
- [Wikt] Wiktionary: https://en.wiktionary.org/wiki/عايز · https://en.wiktionary.org/wiki/ده · https://en.wiktionary.org/wiki/دلوقتي
- [Hamed18] Hamed et al. 2018, code-switched speech corpus - https://aclanthology.org/L18-1601.pdf
- [ArzEn] Hamed et al. 2020, ArzEn - https://aclanthology.org/2020.lrec-1.523.pdf
- [ArzEnST] Hamed et al. 2022, ArzEn-ST - https://arxiv.org/pdf/2211.12000
- [Kniaz21] Kniaź & Zawrotna 2021 (abstract) - https://journals.sagepub.com/doi/10.1177/1367006920976909
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall