From rhombus-developer
Generate API documentation from source code, including endpoint descriptions, request/response schemas, and usage examples. Use this skill when the user asks to document an API, generate API docs, create endpoint documentation, or write OpenAPI/Swagger specs. Also trigger on: API documentation, document endpoints, REST docs, API reference, endpoint docs, swagger, openapi spec, API schema, route documentation, document this API, generate docs for routes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rhombus-developer:api-docThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate clear, complete API documentation from source code.
Generate clear, complete API documentation from source code.
**/routes/**, **/controllers/**, app.get/post/put/delete**/*router*, @app.get/post/put/delete**/urls.py, **/views.py**/*Controller*, @GetMapping/@PostMappingFor each endpoint, document:
GET /api/v1/users/:idGenerate documentation in Markdown:
# API Reference
## Authentication
<describe auth mechanism>
## Endpoints
### <Resource Name>
#### <METHOD> <path>
<description>
**Authentication:** Required / Optional / None
**Parameters:**
| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
**Request Body:**
```json
{
"field": "type — description"
}
Response (200):
{
"field": "type — description"
}
Errors:
| Status | Description |
|---|
Example:
curl -X METHOD https://api.example.com/path \
-H "Authorization: Bearer <token>" \
-d '{"field": "value"}'
### 4. Additional Output Options
If the user asks for OpenAPI/Swagger format, output a valid OpenAPI 3.0 YAML spec instead of Markdown.
## Guidelines
- Infer descriptions from function names, comments, and logic — don't leave fields as "TODO"
- Include all status codes the endpoint can return (check error handling)
- Group endpoints by resource/domain
- Note any rate limiting, pagination, or versioning patterns
- If types are available (TypeScript, Python type hints), use them for schemas
npx claudepluginhub rhombussystems/claude-code-plugins --plugin rhombus-developerGenerates API documentation from code, covering endpoints, parameters, request/response examples, authentication, error handling, and usage guidelines. Supports REST, GraphQL, and WebSocket APIs.
Generates API documentation for endpoints including HTTP methods, parameters, request bodies, responses, error codes, and curl examples. Outputs Markdown or OpenAPI/Swagger.
Generates API docs from code or OpenAPI specs with examples, schemas, interactive Swagger UI/Redoc, and exports to Markdown, PDF, Postman, SDKs.