تخطَّ إلى المحتوى
أمرمستورد

design-rest-api

Design RESTful API architecture with comprehensive endpoints, authentication, and documentation

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 1 · الحجم: 2.8 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/commands/

    mkdir -p .claude/commands && unzip ~/Downloads/design-rest-api.zip -d .claude/commands

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/commands/

    mkdir -p ~/.claude/commands && unzip ~/Downloads/design-rest-api.zip -d ~/.claude/commands

التعليمات

Design REST API

Design comprehensive RESTful API architecture: $ARGUMENTS

Current Application State

  • Framework detection: @package.json or @requirements.txt (Express, FastAPI, Spring Boot, etc.)
  • Existing API: !grep -r "route\|endpoint\|@app\\.route" src/ 2>/dev/null | wc -l routes found
  • Authentication: !grep -r "auth\|jwt\|session" src/ 2>/dev/null | wc -l auth components
  • Documentation: @swagger.yaml or @openapi.json (if exists)

Task

Design complete RESTful API with industry best practices and comprehensive functionality:

API Version: Use $ARGUMENTS to specify API version, GraphQL hybrid approach, or OpenAPI specification

API Architecture:

  1. Resource Design - RESTful endpoints, HTTP methods, URL structure, resource relationships
  2. Request/Response Models - Data validation, serialization, error handling, status codes
  3. Authentication & Authorization - JWT, OAuth, RBAC, API keys, rate limiting
  4. API Documentation - OpenAPI/Swagger specs, interactive documentation, code examples
  5. Versioning Strategy - URL, header, or content-type based versioning
  6. Performance & Security - Caching, pagination, CORS, input validation, SQL injection prevention

Advanced Features: Real-time capabilities, file uploads, batch operations, webhooks, and monitoring integration.

Standards Compliance: Follow REST principles, HTTP specifications, and API design best practices.

Output: Complete API specification with endpoints, authentication, validation, documentation, and client SDKs.

الملفات

  • LICENSE1 ك.ب
  • design-rest-api.md1.8 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةأدوات مسموحة بلا حدود

    في الملف cli-tool/components/commands/setup/design-rest-api.md

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ

عناصر مشابهة

  • أمرمستورد

    api-mock

    Build realistic API mock servers with request stubbing, dynamic data, test scenarios, and contract testing

    MITالملفات: 1

  • أمرمستورد

    doc-api

    Generate comprehensive API documentation from code with interactive examples and testing capabilities

    MITالملفات: 1

  • أمرمستورد

    feature-development

    Orchestrate end-to-end feature development from requirements to deployment

    MITالملفات: 1

  • أمرمستورد

    generate-api-documentation

    Auto-generate API reference documentation with multiple output formats and automated deployment

    MITالملفات: 1

  • أمرمستورد

    implement-caching-strategy

    Design and implement comprehensive caching solutions for improved performance and scalability

    MITالملفات: 1

  • أمرمستورد

    implement-graphql-api

    Implement GraphQL API with comprehensive schema, resolvers, and real-time subscriptions

    MITالملفات: 1