From api-reference
Generates API reference documentation from source code and route definitions, extracting endpoints, parameters, schemas, and auth requirements for any API framework.
How this command is triggered — by the user, by Claude, or both
Slash command
/api-reference:generate-api-refThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /generate-api-ref - Generate API Reference Generate API reference documentation from source code and route definitions. ## Steps 1. Detect the API framework: Express, FastAPI, Django REST, Spring Boot, Gin, etc. 2. Scan route definitions to find all API endpoints 3. For each endpoint, extract: HTTP method, path, middleware, handler function 4. Parse handler functions to identify request parameters (path, query, body, headers) 5. Extract request/response schemas from TypeScript types, Pydantic models, or JSDoc 6. Identify authentication requirements from middleware chains 7. Find exampl...
Generate API reference documentation from source code and route definitions.
2plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin api-reference/api-docsGenerates API reference documentation by scanning source code for route definitions, types, and annotations. Documents endpoints with request/response schemas, authentication, and code examples.
/api-docsGenerates API reference documentation for public modules or endpoints — exports, routes, or CLI interfaces — written to docs/api-reference.md.
/api-docsGenerates API documentation from route definitions and handlers in web frameworks like Express, FastAPI, Gin, and Actix. Extracts schemas, auth, examples; outputs Markdown or OpenAPI to docs/api/.
/doc-apiGenerates API documentation from code by analyzing endpoints, routes, and models; produces OpenAPI specs, request/response examples, authentication details, and data schemas.
/generate-api-docsGenerates OpenAPI 3.0/Swagger API documentation from codebase analysis, creating interactive Swagger UI, ReDoc, TypeScript clients, and Postman collections.
/generate-api-docsGenerates comprehensive API documentation for JavaScript endpoint files, including methods, parameters, curl examples, responses, status codes, and authentication.