huangjia2019/api-documenting
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.
npx skills add https://github.com/huangjia2019/claude-code-engineering --skill api-documenting
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:
python scripts/detect_routes.py <source_directory>
To validate generated OpenAPI spec:
./scripts/validate_openapi.sh <spec_file>
Take huangjia2019/api-documenting from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.