/generate-api-ref
Generate API reference documentation from source code and route definitions.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/generate-api-ref
Context preview
What this command does when you run it.
Generate API reference documentation from source code and route definitions.
Command definition
generate-api-ref.md/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 example request/response pairs from test files or inline documentation 8. Detect rate limiting, pagination, and caching configurations 9. Generate markdown documentation for each endpoint with: method, path, description, parameters, request body, response, errors 10. Group endpoints by resource or router module 11. Add a table of contents and overview section 12. Save documentation to docs/api-reference.md or the specified output path
Rules
- Include all HTTP methods (GET, POST, PUT, PATCH, DELETE) for each resource
- Document error responses (400, 401, 403, 404, 500) with example payloads
- Use the actual TypeScript/Python types, not simplified versions
- Include authentication requirements for each endpoint
- Show curl examples for at least the primary endpoints
- Do not document internal or health-check endpoints unless requested
- Keep parameter descriptions concise but include type and required status
Read more
/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 example request/response pairs from test files or inline documentation 8. Detect rate limiting, pagination, and caching configurations 9. Generate markdown documentation for each endpoint with: method, path, description, parameters, request body, response, errors 10. Group endpoints by resource or router module 11. Add a table of contents and overview section 12. Save documentation to docs/api-reference.md or the specified output path
Rules
- Include all HTTP methods (GET, POST, PUT, PATCH, DELETE) for each resource
- Document error responses (400, 401, 403, 404, 500) with example payloads
- Use the actual TypeScript/Python types, not simplified versions
- Include authentication requirements for each endpoint
- Show curl examples for at least the primary endpoints
- Do not document internal or health-check endpoints unless requested
- Keep parameter descriptions concise but include type and required status
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

