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

generate-api-documentation

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

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

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

التنزيل

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

نزّل ملف ZIP

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

التثبيت

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

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

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

    mkdir -p .claude/commands && unzip ~/Downloads/generate-api-documentation.zip -d .claude/commands

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

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

    mkdir -p ~/.claude/commands && unzip ~/Downloads/generate-api-documentation.zip -d ~/.claude/commands

التعليمات

Automated API Documentation Generator

Auto-generate API reference documentation: $ARGUMENTS

Current API Infrastructure

  • Code annotations: !grep -r "@api\|@swagger\|@doc" src/ 2>/dev/null | wc -l annotations found
  • API framework: @package.json or detect from imports
  • Existing specs: !find . -name "*spec*.yaml" -o -name "*spec*.json" | head -3
  • Documentation tools: !grep -E "swagger|redoc|postman" package.json 2>/dev/null || echo "None detected"
  • CI/CD pipeline: @.github/workflows/ (if exists)

Task

Setup automated API documentation generation with modern tooling:

  1. API Documentation Strategy Analysis

    • Analyze current API structure and endpoints
    • Identify documentation requirements (REST, GraphQL, gRPC, etc.)
    • Assess existing code annotations and documentation
    • Determine documentation output formats and hosting requirements
    • Plan documentation automation and maintenance strategy
  2. Documentation Tool Selection

    • Choose appropriate API documentation tools:
      • OpenAPI/Swagger: REST API documentation with Swagger UI
      • Redoc: Modern OpenAPI documentation renderer
      • GraphQL: GraphiQL, Apollo Studio, GraphQL Playground
      • Postman: API documentation with collections
      • Insomnia: API documentation and testing
      • API Blueprint: Markdown-based API documentation
      • JSDoc/TSDoc: Code-first documentation generation
    • Consider factors: API type, team workflow, hosting, interactivity
  3. Code Annotation and Schema Definition

    • Add comprehensive code annotations for API endpoints
    • Define request/response schemas and data models
    • Add parameter descriptions and validation rules
    • Document authentication and authorization requirements
    • Add example requests and responses
  4. API Specification Generation

    • Set up automated API specification generation from code
    • Configure OpenAPI/Swagger specification generation
    • Set up schema validation and consistency checking
    • Configure API versioning and changelog generation
    • Set up specification file management and version control
  5. Interactive Documentation Setup

    • Configure interactive API documentation with try-it-out functionality
    • Set up API testing and example execution
    • Configure authentication handling in documentation
    • Set up request/response validation and examples
    • Configure API endpoint categorization and organization
  6. Documentation Content Enhancement

    • Add comprehensive API guides and tutorials
    • Create authentication and authorization documentation
    • Add error handling and status code documentation
    • Create SDK and client library documentation
    • Add rate limiting and usage guidelines
  7. Documentation Hosting and Deployment

    • Set up documentation hosting and deployment
    • Configure documentation website generation and styling
    • Set up custom domain and SSL configuration
    • Configure documentation search and navigation
    • Set up documentation analytics and usage tracking
  8. Automation and CI/CD Integration

    • Configure automated documentation generation in CI/CD pipeline
    • Set up documentation deployment automation
    • Configure documentation validation and quality checks
    • Set up documentation change detection and notifications
    • Configure documentation testing and link validation
  9. Multi-format Documentation Generation

    • Generate documentation in multiple formats (HTML, PDF, Markdown)
    • Set up downloadable documentation packages
    • Configure offline documentation access
    • Set up documentation API for programmatic access
    • Configure documentation syndication and distribution
  10. Maintenance and Quality Assurance

    • Set up documentation quality monitoring and validation
    • Configure documentation feedback and improvement workflows
    • Set up documentation analytics and usage metrics
    • Create documentation maintenance procedures and guidelines
    • Train team on documentation best practices and tools
    • Set up documentation review and approval processes

الملفات

  • LICENSE1 ك.ب
  • generate-api-documentation.md4.3 ك.ب

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

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

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

    في الملف cli-tool/components/commands/documentation/generate-api-documentation.md

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

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

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

أبلغ

عناصر مشابهة

  • أمرمستورد

    api-mock

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

    MITالملفات: 1

  • أمرمستورد

    design-rest-api

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

    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

  • أمرمستورد

    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