Skillpedia
واجهات API والخوادم (backend)48k · #4600

fastapi-templates

ما الذي تفعله

تساعد هذه المهارة على إنشاء الهيكل الأساسي لمشروع واجهة API باستخدام Python (FastAPI). وتأتي مع أفضل ممارسات البرمجة، فيبدأ مشروعك بسرعة وجودة.

متى تستخدمها

  • ✓عندما تريد بدء مشروع واجهة API جديد من الصفر.
  • ✓لإنشاء واجهات تستجيب بسرعة وتتعامل مع مهام كثيرة بالتوازي.
  • ✓عند إعداد مشاريع خلفية تحتاج إلى بنية منظمة ومختبرة.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fastapi-templates/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fastapi-templates/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ مشروع واجهة API باستخدام FastAPI لإدارة كتالوج الكتب.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تُنشئ المهارة هيكل مشروع مع مجلدات وملفات مُعدّة مسبقًا. ويتضمن ذلك أنماطًا برمجية تجعل الواجهة أسرع وأكثر تنظيمًا، دون أن تحتاج إلى التفكير في كل ذلك من البداية.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

FastAPI Project Templates

Production-ready FastAPI project structures with async patterns, dependency injection, middleware, and best practices for building high-performance APIs.

Use this skill when

  • Starting new FastAPI projects from scratch
  • Implementing async REST APIs with Python
  • Building high-performance web services and microservices
  • Creating async applications with PostgreSQL, MongoDB
  • Setting up API projects with proper structure and testing

Do not use this skill when

  • The task is unrelated to fastapi project templates
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
الأسئلة الشائعة

ما هو FastAPI؟

هو إطار عمل (أساس جاهز) لبناء واجهات API في Python، ومعروف بالسرعة وسهولة الاستخدام.

ما هي «الأنماط غير المتزامنة»؟

هي طرق لكتابة الكود تتيح للواجهة تنفيذ عدة مهام في وقت واحد دون التوقف في انتظار انتهاء إحداها، مما يجعلها أسرع.

ما هو «حقن التبعيات» (dependency injection)؟

هو أسلوب لتنظيم الكود يسهّل إدارة أجزاء المشروع المختلفة واختبارها بشكل منفصل.

التفاصيل

الوصف الأصلي من المؤلف

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4600
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة