عائلة ARIB Skills — من المحرك إلى التخصص

بدأ الأمر بـ /arib-engine — محرك يكتشف عمله بنفسه ويُنهيه بالدليل. ثم جاء /arib-build — مدير فريق يأخذ هدفاً محدداً ويُوزّعه على متخصصين بالتوازي. والآن العائلة اكتملت بطبقة Stack Skills — تخصصات عميقة تُزرع في أي مشروع وتعمل مع الأدوات الكبيرة أو بمفردها. خريطة العائلة ┌────────────────────────────────────────────────────────────┐ │ ARIB Skill Family │ ├─────────────────────┬──────────────────────────────────────┤ │ Engine Skills │ Stack Skills (opt-in) │ │ │ │ │ /arib-engine │ /arib-nestjs │ │ المحرك المستقل │ معمار NestJS + مراجعة │ │ discover→verify │ │ │ 300 سطر │ /arib-postgres │ │ │ تحسين PostgreSQL + أمان migrations │ │ /arib-build │ 85 سطر │ │ مدير الفريق │ │ │ decompose→dispatch │ │ │ 70 سطر │ │ └─────────────────────┴──────────────────────────────────────┘ Engine Skills — يعمل أياً منهما على أي مشروع بدون تكوين مسبق. ...

22 يونيو 2026 · بضع ثوان · أريب | Arib

كيف تستخدم /arib-build — الدليل العملي بأمثلة حقيقية

/arib-build بسيط في ظاهره — أعطه هدفاً، يُنجزه. لكن الفرق بين هدف محكم وهدف فضفاض هو الفرق بين تسليم في دقائق وعمل يحتاج مراجعة. هذا الدليل يُريك كيف تكتب الأمر — لا ماذا يفعل من الداخل. صيغة الأمر /arib-build <وصف الهدف> اكتب الهدف كأنك تُكلّف مهندساً أول يعرف الكود: ماذا تريد — لا كيف يُنفَّذ الـ scope واضح — لا “صلّح كل شي” النتيجة المتوقعة — لا العملية أمثلة حقيقية — إنجليزي مهام محددة (Inline) /arib-build add soft-delete to the User entity /arib-build add rate limiting to the /auth/login endpoint — 5 attempts per minute per IP /arib-build replace all console.log calls in the payments module with the Logger service /arib-build add input validation DTOs to the reservations controller /arib-build write unit tests for the PricingService — cover edge cases for zero-night stays مهام متوسطة (Workflow) /arib-build migrate all API responses to use a unified ResponseDto wrapper /arib-build add Redis caching to all GET endpoints in the RoomsModule /arib-build enforce role-based guards across every controller in the HotelOS API حملة مستمرة (مع /loop) /loop /arib-build harden every money-math path in the billing module /loop /arib-build add missing indexes to the top 10 slow queries in the reservation flow أمثلة حقيقية — عربي مهام محددة /arib-build أضف حقل soft-delete لجدول المستخدمين مع migration آمنة /arib-build ضع rate limiting على endpoint تسجيل الدخول — 5 محاولات في الدقيقة لكل IP /arib-build استبدل كل console.log في موديول المدفوعات بـ Logger service /arib-build أضف DTOs للـ validation على كل endpoints الحجوزات /arib-build اكتب unit tests لـ PricingService مع تغطية حالات الإقامة صفر ليالي مهام متوسطة /arib-build حوّل كل responses في الـ API لـ ResponseDto موحّد /arib-build أضف Redis caching لكل GET endpoints في RoomsModule /arib-build فرض role-based guards على كل controllers في الـ API مع /loop /loop /arib-build صلّح كل عمليات الحساب المالي في موديول الفواتير كيف تكتب هدفاً جيداً ❌ هدف ضعيف ✅ هدف محكم fix the auth add refresh token rotation to the JWT auth flow improve performance add Redis cache to the rooms availability query — TTL 5 min add tests write integration tests for the check-in flow — cover overbooking and invalid dates clean the code replace magic numbers in the pricing module with named constants صلّح المشاكل أصلح الـ N+1 في استعلام قائمة الحجوزات في ReservationsService القاعدة: لو قرأ مهندس آخر الأمر وسأل “بس؟ خلاص؟” — الهدف واضح. لو سأل “تقصد إيش بالضبط؟” — اكتب أكثر. ...

22 يونيو 2026 · بضع ثوان · أريب | Arib