learn.aiPRO
قتيبة محمد
مكتبة ومختبر المهارات المتخصصة

مهارات الذكاء الاصطناعي الجاهزة (AI Skills)

الملفات بصيغة SKILL.md تمثل حزم خبرات مركزة (فحص الجودة، الأمان، تحسين الأداء، محركات البحث). يتم حقنها في الوكيل ليتبع معايير المهندسين الكبار تلقائياً.

01

المختبر التفاعلي: تجربة أثر المهارات على الكود المصدري

مختبر تجربة المهارات (Skill Audit Simulator)صيغة SKILL.md

شاهد تحول الكود عند تزويد الوكيل بمهارة متخصصة

اختر مهارة وطبقها على الكود لتشاهد كيف تتغير طريقة مراجعة الذكاء الاصطناعي وجودة المخرجات.

قوالب خبرة هندسية جاهزة
الملف المستهدف: src/api/endpoint.ts
raw-code [قبل المهارة].ts
RAW CODEVULNERABLE / UNTESTED
// الدالة المستهدفة بدون اختبارات:
export async function calculateDiscount(cartTotal, couponCode) {
  if (couponCode === 'SAVE20') return cartTotal * 0.8;
  return cartTotal;
}
skilled-output [مع فحص].ts
ENGINEERED OUTPUT
// نتيجة تطبيق skills/qa-testing/SKILL.md:
import { describe, it, expect } from 'vitest';
import { calculateDiscount } from './cart';

describe('calculateDiscount - Edge Cases & Coverage', () => {
  it('يطبق خصم 20% للكوبون الصحيح', () => {
    expect(calculateDiscount(100, 'SAVE20')).toBe(80);
  });

  // كشف حالات الحواف الحرجة (Edge Cases):
  it('يتعامل بحذر مع القيم السالبة والصفر', () => {
    expect(calculateDiscount(0, 'SAVE20')).toBe(0);
    expect(() => calculateDiscount(-50, 'SAVE20')).toThrow('INVALID_TOTAL');
  });

  it('يتجاهل الكوبونات المنتهية أو غير الصالحة دون كسر السلة', () => {
    expect(calculateDiscount(100, 'INVALID')).toBe(100);
    expect(calculateDiscount(100, null)).toBe(100);
  });
});
الأثر الهندسي لملف SKILL.md:

المهارة جعلت الوكيل يبحث فوراً عن حالات الفشل غير الواضحة (الأرقام السالبة، القيم الفارغة null)، وكتب مجموعة اختبارات شاملة تغطي 100% من المسارات.

02

مكتبة المهارات الجاهزة للنسخ والتثبيت (SKILL.md Library)

نظام تصميم تجربة المستخدم ودعم العربية (Product UX & Arabic RTL)مفعلة

25 قاعدة تنفيذية مباشرة تحكم تصميم وبناء واجهات المستخدم والـ RTL واللغة العربية الفصيحة وتطهير الواجهات من حشو الذكاء الاصطناعي.

فحص الجودة (QA Testing)

يكتشف سيناريوهات الحواف (Edge Cases) ويكتب اختبارات Unit و E2E للتحقق من صمود التطبيق.

الحماية والأمان (Security Auditor)

يدقق الثغرات الأمنية الشائعة (OWASP Top 10)، ويفحص تشفير الجلسات وصلاحيات الوصول.

تحسين السرعة (Performance)

يلاقي الاستعلامات البطيئة ومشاكل N+1 في قاعدة البيانات ويقترح حلول التخزين المؤقت (Caching).

محركات البحث (SEO)

يصمم بنية العناوين، الـ Open Graph، والـ Structured Data (JSON-LD) لتصدر نتائج جوجل.

تصميم الواجهة (UI/UX)

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

مراجعة الكود (Code Review)

يراجع الكود قبل الدمج كمهندس خبير بفريقك للتأكد من نظافته ومطابقته لأفضل المعايير.

ملف المهارة المحدد: skills/product-ux/SKILL.mdينسخ مباشرة في مجلد skills/ بمشروعك
skills/product-ux/SKILL.md
SKILL SPEC
---
name: product-ux
description: Product UX Designer & Arabic Design System Architect
---
# CORE PRINCIPLE
Design less. Communicate clearly. Interact intentionally. Gamify purposefully.
Respect the user's cognitive load. Maintain system consistency.
Support Arabic RTL and English LTR correctly. Remove unnecessary content and UI.
Never add elements just to make the interface look richer.
The final product must feel simple, intentional, coherent, educational, and human-designed — not AI-generated.

## Executive Rules:
1. Product UX: Prioritize usability and task completion over decoration. Every element must have a purpose.
2. UX Research: Reduce cognitive effort and friction. Use progressive disclosure.
3. UX Writing: Use concise, human UX writing. Action-oriented labels. No generic AI filler.
4. Arabic Language: Correct Modern Standard Arabic, natural terms, consistent technical phrasing.
5. Arabic RTL: True RTL for layout, navigation, cards, directional icons, and transitions.
6. English LTR: Natural LTR flow without accidental RTL inheritance.
7. Bidirectional Content: Seamless mixed-direction handling (code, numbers, technical terms).
8. Localization: Adaptable containers supporting varying text lengths.
9. Design System Consistency: Reuse typography, tokens, colors, and motion patterns.
10. Simplicity: Prefer the simplest interface that solves the problem. Remove visual noise.
11. Gamification: Only when it improves learning, motivation, or retention.
12. Interactive Learning: Active learning over passive reading; do not complicate simple info.
13. Duolingo-Inspired Learning: Small steps, immediate feedback, clear next action.
14. Motion Design: Purposeful, predictable, and short animations only.
15. Feedback: Clear, immediate communication of action results and guidance.
16. Accessibility: WCAG contrast, touch targets >= 44px, keyboard navigation, semantic tags.
17. Responsive Design: Fluid adaptation across mobile, tablet, and desktop.
18. Component Intelligence: Match component pattern to content rather than forcing cards.
19. Component Reusability: Controlled variants and distinct states (hover, active, disabled, loading).
20. Visual Hierarchy: Unmistakable hierarchy of size, weight, and spacing.
21. AI Design Cleanup: Strip generic cards, decorative icons, fake stats, and artificial badges.
22. AI Content Cleanup: Eliminate AI clichés like "In today's digital world..." or "Let's explore...".
23. No Hallucinated Content: Never invent metrics, testimonials, or certifications.
24. Content–Design Relationship: Structure follows content intent and user decision.
25. Quality Gate: Rigorous 14-point audit before finalizing any component.

اختبر فهمك: مهارات الذكاء الاصطناعي

أجب لتأكيد استيعابك لكيفية استخدام ملفات SKILL.md:
+50 XP
السؤال 1 من 2النقاط: 0

ما الفرق الأساسي بين إعطاء الذكاء الاصطناعي أمراً عادياً وبين تزويده بملف SKILL.md؟