/api-docs
Generate API documentation from route definitions and handlers.
$ 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
/api-docs
Context preview
What this command does when you run it.
Generate API documentation from route definitions and handlers.
Command definition
api-docs.mdGenerate API documentation from route definitions and handlers.
Steps
1. Detect the web framework in use (Express, Fastify, FastAPI, Gin, Actix, etc.). 2. Scan for route definitions:
- Express/Fastify: `app.get()`, `router.post()`, route files.
- FastAPI: `@app.get()`, `@router.post()` decorators.
- Go: `http.HandleFunc()`, gin route groups.
3. For each endpoint, extract:
- HTTP method and path (including path parameters).
- Request body schema from TypeScript types, Pydantic models, or struct tags.
- Query parameters and their types.
- Response format from return types or response calls.
- Authentication requirements from middleware.
- Rate limiting or other middleware constraints.
4. Generate documentation in the specified format (OpenAPI/Swagger, Markdown, or both). 5. Include request/response examples with realistic data. 6. Write the output to `docs/api/` or the specified location.
Format
## <METHOD> <path>
<Description>
**Auth**: Required | Public
**Rate Limit**: <limit>
### Parameters
| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
### Request Body
```json
{ "example": "value" }Response (200)
{ "example": "response" }
## Rules
- Document every public endpoint; skip internal-only routes.
- Include error responses (400, 401, 403, 404, 500) with example bodies.
- Use actual TypeScript/Python types for schemas, not generic `object` or `any`.
- Keep examples realistic and consistent across related endpoints.
- Note deprecated endpoints clearly with migration guidance.
Read more
Generate API documentation from route definitions and handlers.
Steps
1. Detect the web framework in use (Express, Fastify, FastAPI, Gin, Actix, etc.). 2. Scan for route definitions:
- Express/Fastify: `app.get()`, `router.post()`, route files.
- FastAPI: `@app.get()`, `@router.post()` decorators.
- Go: `http.HandleFunc()`, gin route groups.
3. For each endpoint, extract:
- HTTP method and path (including path parameters).
- Request body schema from TypeScript types, Pydantic models, or struct tags.
- Query parameters and their types.
- Response format from return types or response calls.
- Authentication requirements from middleware.
- Rate limiting or other middleware constraints.
4. Generate documentation in the specified format (OpenAPI/Swagger, Markdown, or both). 5. Include request/response examples with realistic data. 6. Write the output to `docs/api/` or the specified location.
Format
## <METHOD> <path>
<Description>
**Auth**: Required | Public
**Rate Limit**: <limit>
### Parameters
| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
### Request Body
```json
{ "example": "value" }Response (200)
{ "example": "response" }## Rules - Document every public endpoint; skip internal-only routes. - Include error responses (400, 401, 403, 404, 500) with example bodies. - Use actual TypeScript/Python types for schemas, not generic `object` or `any`. - Keep examples realistic and consistent across related endpoints. - Note deprecated endpoints clearly with migration guidance.
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

