Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate API documentation from code. Use when the user wants to document APIs, create API reference, generate endpoint documentation, or needs help with OpenAPI/Swagger specs.
.claude/skills/huangjia2019-api-documenting/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -76% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -63% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -24% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -51% | 0% |
Generate comprehensive API documentation from source code.
For common documentation patterns, see PATTERNS.md.
See STANDARDS.md for our documentation conventions.
Look for:
For each endpoint, extract:
Use the template in templates/endpoint.md for consistent formatting.
Generate an index of all endpoints with the template in templates/index.md.
Generate markdown documentation suitable for README or docs site.
If requested, generate OpenAPI 3.0 spec. See templates/openapi.yaml for structure.
See EXAMPLES.md for sample inputs and outputs.
To auto-detect routes in common frameworks:
bashpython scripts/detect_routes.py <source_directory>
To validate generated OpenAPI spec:
bash./scripts/validate_openapi.sh <spec_file>
Other measured skills in the registry, with their headline benchmark lift.