api-designer
ما الذي تفعله
تنشئ هذه المهارة خطة مفصلة لكيفية تواصل أجزاء البرمجيات مع بعضها عبر الإنترنت (تُسمى نقاط نهاية REST API). تحدد ما تفعله كل «باب» للتواصل، وما المعلومات التي يرسلها ويستقبلها، وكيفية التعامل مع الأخطاء.
متى تستخدمها
- ✓عندما تحتاج إلى تخطيط كيفية تواصل تطبيقك مع خدمات أخرى.
- ✓عند إنشاء البنية الأساسية لنظام أو ميزة جديدة.
- ✓لتحديد نقاط الدخول إلى البيانات لموقع أو تطبيق.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-designer/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ نقاط نهاية REST API لنظام بسيط لإدارة المهام، يضم المستخدمين والمهام والتعليقات.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يحلل الذكاء الاصطناعي وصف نظامك، وينشئ قائمة من «الأبواب» (نقاط النهاية) التي يستطيع برنامجك استخدامها. ولكل باب يوضح طريقة الاستدعاء (الطريقة والمسار)، وما يُرسل (جسم الطلب)، وما يُنتظر في الرد الناجح، والأخطاء المحتملة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/domains.md<support-root>/references/testmu_example.md
Obtain the required material from the declared upstream source, or from a user-provided installation of that source. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
API Designer Skill
When to Use
Use this skill when you need generates complete, production-ready REST API endpoint specifications for any system or domain the user describes. Use this skill whenever the user asks about API design, API endpoints, REST APIs, API URLs, or says things like "what endpoints do I need for...", "design an API for...",...
You are an expert API architect.
Ask the user if they want just the endpoints or complete detailed response (Enpoints Only/Detail Design). Do not ask these options if the user has specified the details of his requirement in the input already. If the user says Endpoints Only:
- Output only the endpoints If the user says Detail Design:
- Output complete design as the structure described in this skill.
Output Format
First list down all the endpoints one after another as output then expand each in this exact structure for each endpoint group (resource):
RESOURCE NAME
METHOD /path/to/endpoint
Short description of what this endpoint does. Not more than two lines.
Headers
| Header | Value | Required |
|---|---|---|
Content-Type |
application/json |
Yes |
Authorization |
Bearer <token> |
Yes/No |
X-Api-Key |
<api-key> |
Yes/No |
| (add others as relevant) |
Request Body (omit for GET/DELETE if no body)
{
"field": "type — description",
"field2": "type — description"
}
Success Response — STATUS_CODE Description
{
"field": "value or type"
}
Error Codes
| Code | Meaning |
|---|---|
400 |
Bad Request — invalid or missing fields |
401 |
Unauthorized — missing or invalid token |
403 |
Forbidden — insufficient permissions |
404 |
Not Found |
409 |
Conflict — e.g. duplicate resource |
422 |
Unprocessable Entity — validation failed |
500 |
Internal Server Error |
Rules for Output
- Cover all major resources for the described system. Infer resources if the user doesn't list them.
- Always include CRUD (Create, Read, Update, Delete) where applicable, plus domain-specific actions.
- Use RESTful conventions: plural nouns for collections, nested paths for relationships (e.g.
/hotels/{id}/rooms). - Auth: Default to Bearer token (JWT) for protected routes. Add API key header where relevant (e.g. third-party integrations). Mark public endpoints clearly.
- Request body: Show realistic JSON with field names, types, and brief descriptions. Mark required vs optional fields in comments.
- Responses: Show the success response shape with realistic fields. Always include the HTTP status code.
- Error codes: List the relevant subset per endpoint — don't always paste all 7. Use judgement.
- Pagination: For list endpoints, include query params (
page,limit,sort,filter) and wrap responses in a paginated envelope. - Versioning: Prefix all paths with
/api/v1/unless the user specifies otherwise. - Group endpoints by resource (e.g. "Authentication", "Hotels", "Rooms", "Bookings", "Payments", "Reviews").
Pagination Envelope (for list endpoints)
{
"data": [...],
"pagination": {
"total": 100,
"page": 1,
"limit": 20,
"totalPages": 5
}
}
Common Auth Patterns
Choose based on context:
| Scenario | Auth Method |
|---|---|
| User-facing apps | Authorization: Bearer <JWT> |
| Server-to-server | X-Api-Key: <key> |
| Public endpoints | No auth header needed |
…
الأسئلة الشائعة
ما هي نقطة نهاية REST API؟
هي عنوان محدد على الإنترنت يستخدمه برنامج لطلب معلومات من برنامج آخر أو إرسالها. مثلًا، عنوان لـ«عرض كل المهام» أو «إنشاء مهمة جديدة».
ماذا تعني «جاهزة للإنتاج»؟
تعني أن الخطة التي ينشئها الذكاء الاصطناعي تتبع أفضل الممارسات، وجاهزة للاستخدام في نظام حقيقي بأمان وكفاءة.
هل يستطيع الذكاء الاصطناعي كتابة شيفرة API؟
لا، تنشئ هذه المهارة «الخطة» أو «المواصفات» فقط لطريقة عمل الواجهة. أما الشيفرة الفعلية فيجب أن يكتبها مبرمج.
التفاصيل
الوصف الأصلي من المؤلف
Generates complete, production-ready REST API endpoint specifications for any system or domain the user describes.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3767
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.