Most prompt engineering advice assumes English. You copy a six-part template, translate it into Arabic, and the output comes back almost right. The structure survived. The intent did not.

I have spent the last year building an Arabic-first prompt tool, and these are the failure patterns that kept repeating — plus a template that holds up in practice.

1. Arabic tokenizes differently, so "keep it short" means something else

Arabic is morphologically dense: one word can carry person, tense, and object. Tokenizers split Arabic more aggressively than English, so a 40-word Arabic prompt can consume noticeably more context than the same prompt in English.

The practical consequence: put the instruction first, the context second. If the model has to wade through three sentences of background before learning what you want, output quality drops — especially on smaller models.

Weak:

أنا عندي شركة صغيرة وشغال في مجال التسويق وعندي عميل محتاج حاجة...

The request never arrives. Better:

اكتب ٣ نسخ من رسالة متابعة لعميل. السياق: شركة تسويق صغيرة في القاهرة، العميل لم يرد منذ أسبوعين.

2. Diglossia: pick the register before you write

Arabic is not one language in daily use. If you do not specify register, models drift toward Modern Standard Arabic — even when you wrote in Egyptian Arabic. Your brand voice disappears, and the result reads like a government memo.

One explicit line fixes more than any other instruction:

  • اكتب بالفصحى المبسطة.
  • اكتب بالعامية المصرية، بنبرة مهنية.
  • اكتب بالعامية المصرية، وتجنب الكلمات غير المفهومة في الخليج.

That single constraint is worth more than three paragraphs of style description.

3. The six slots that actually matter

Whether you call it COSTAR or something else, six things reliably change the result:

  1. Context — who you are, where, what already happened.
  2. Objective — the verb: write, summarize, compare, rewrite.
  3. Style — table, bullets, three paragraphs, JSON.
  4. Tone and dialect — formal, warm, Egyptian, Gulf-neutral.
  5. Audience — a hiring manager, a beginner developer, a customer.
  6. Response contract — length, count, format, and what to avoid.

Most weak Arabic prompts contain only #2.

4. Copy-paste template

[المهمة] اكتب / لخص / حلل ... [السياق] من أنا، وأين، وما حدث بالفعل [الجمهور] من سيقرأ الناتج [الأسلوب] جدول / نقاط / ثلاث فقرات / نص جاهز للإرسال [النبرة واللهجة] فصحى مبسطة / عامية مصرية مهنية [المخرجات] العدد، الطول، التنسيق [القيود] ما يجب تجنبه ~~~ ## 5. Before and after **Job application** Weak: اكتب لي رسالة تقديم لوظيفة Better: > اكتب رسالة تقديم لوظيفة محلل بيانات في شركة اتصالات في القاهرة. > السياق: عندي ٣ سنوات خبرة في تحليل بيانات العملاء باستخدام SQL وPower BI. > الجمهور: مدير توظيف غير متخصص تقنيًا. > الأسلوب: ثلاث فقرات قصيرة، بدون مقدمات طويلة. > النبرة: مهنية وواثقة، بدون مبالغة. > المخرجات: نص جاهز للإرسال، أقل من ٢٠٠ كلمة، مع سطر موضوع للإيميل. > القيود: لا تذكر الراتب، وتجنب العبارات العامة مثل "أنا شخص طموح". **Product post** Weak: اكتب بوست عن منتجنا Better: > اكتب منشور فيسبوك لمنتج عناية بالبشرة طبيعي. > السياق: صفحة صغيرة، جمهور مصري، الفئة العمرية ٢٠-٣٥. > الأسلوب: ثلاث جمل قصيرة وسؤال في النهاية. > النبرة: عامية مصرية دافئة، بدون مبالغة في الوعود. > القيود: لا ادعاءات طبية، ولا تستخدم كلمة "علاج". **Technical explanation** Weak: اشرح لي الـ API Better: > اشرح الفرق بين REST وGraphQL لمطور مبتدئ. > السياق: يعمل على أول مشروع موبايل له. > الأسلوب: جدول مقارنة ثم مثالان قصيران. > النبرة: تعليمية ومباشرة. > المخرجات: أقل من ٣٠٠ كلمة بالعربية، مع الاحتفاظ بالمصطلحات التقنية بالإنجليزية. ## 6. One more thing: keep prompts on the device Most prompt tools are cloud forms that store whatever you paste. For work documents, CVs, and client data, that is a real concern — especially for teams handling personal data. I build **Fahhim (فهّم)**, a free Android app that turns these six slots into a guided form in Arabic and English, with a prompt library that stays on the device. It is not the only way to write a good Arabic prompt — a plain notes app and the template above will get you most of the way. - App: https://play.google.com/store/apps/details?id=com.prompti.app - Web version and prompt library: https://fahhim.moteklab.com If you try the template, I would genuinely like to know which slot made the biggest difference — for me it was the dialect line.