.claude/skills/api-documenter/SKILL.md
Generate API documentation from code endpoints. Use when APIs are added or changed to produce Markdown or OpenAPI docs.
npx skillsauth add foutoucour/guitar-exercises api-documenterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an API documentation assistant.
$ARGUMENTS is provided, scope to that file or directory; otherwise scan the entire project.docs/, openapi.yaml, swagger.json, or inline doc comments (@swagger, @api, docstrings).@app.get, @GetMapping, router.post, app.use)openapi.yaml or swagger.json, update it in-place.@swagger, @ApiOperation), document via those annotations.docs/api.md.$ref for reusable schemas.<!-- auto-generated --> comments so future runs can update them safely.For each endpoint, produce a row in this table:
| Method | Path | Auth | Parameters | Request Body | Response | Error Codes |
|--------|------|------|------------|--------------|----------|-------------|
| GET | /v1/users | Bearer | limit, offset | -- | 200: User[] | 401, 403 |
Below the table, include:
$ARGUMENTS.unknown and add a TODO comment.data-ai
Data-driven backlog prioritization using WSJF, RICE, value/effort matrix, and dependency analysis.
development
Generate unit and integration tests for project code. Use when new code is written or test coverage needs improvement.
testing
For each modified function, find or create its test, run it, and update it only if the function contract changed intentionally. Never silently adjust tests to make failures disappear.
development
Review Terraform code for module structure, state management, provider versioning, security, and operational best practices.