مقال / قراءة 4 دقايق
ليه البرومبتات بتاعتك بتطلّع نتايج عشوائية، والـ 4 سطور اللي بتحل ده
يوسف علي · 2 أكتوبر 2026
لما حد يبعتلي برومبت "مش شغال"، تقريباً دايماً بيبقى ناقصه حاجة من أربعة: الموديل المفروض يبقى مين، والمفروض يعمل إيه بالظبط، والقواعد، والرد شكله إيه.
الهيكل
ابدأ بـ الدور، وبعدين المهمة، وبعدين القواعد في لستة قصيرة، وبعدين شكل الرد. خلي الأجزاء اللي بتتغير بين أقواس معقوفة عشان تقدر تستخدم البرومبت تاني الأسبوع الجاي.
لاندنج-بيدج
من الريل: لاندنج بيدج في برومبت واحد
1## 0. Arabic version (applies to everything below)
2
3The site and the dashboard are both bilingual: Arabic and English.
4
5Language and routing:
6- Use next-intl with routes /ar and /en. Arabic is the default language (my audience follows me in Egyptian Arabic). Add a language switch in the top bar of the site and the dashboard.
7- Arabic copy is written in Egyptian Arabic, friendly and simple, not formal.
8- Add hreflang tags and a separate share image per language.
9
10Font:
11- Arabic uses Thmanyah Bold for headings and display text. Use the regular weight of the same family for body text if it's available.
12- I will put the font files in /public/fonts/thmanyah. Load them with next/font/local. Fallback: IBM Plex Sans Arabic, then system-ui.
13- Keep JetBrains Mono for prompts and code in both languages.
14- Handwritten notes and sticky notes in Arabic use Thmanyah Bold with the same small rotation, since Caveat has no Arabic letters.
15
16RTL:
17- Arabic pages use dir="rtl". Build every layout with logical properties (ms, me, ps, pe, start, end) so it mirrors automatically.
الرئيسيبيشتغل مع كلودماركداون
غيّر بس الأجزاء اللي بين الأقواس. كل حاجة تانية تفضل زي ما هي، وده اللي بيخلي النتايج ثابتة.
ليه سطر شكل الرد أهم واحد
لو مقولتش الرد شكله إيه، الموديل بيخمن. ساعات يطلعلك كود، وساعات مقال عن الكود. سطر واحد بيقول "ملف إتش تي إم إل واحد، من غير شرح" بيشيل التخمين.