.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 AdeptMind/pr-emojis-in-slack 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.development
Generate unit and integration tests for project code. Use when new code is written or test coverage needs improvement.
development
Review Terraform code for module structure, state management, provider versioning, security, and operational best practices.
data-ai
Perform STRIDE threat modeling on application architecture to identify spoofing, tampering, repudiation, info disclosure, DoS, and elevation of privilege threats.
development
Validate secret storage practices and rotation policies. Check for secrets in code, Vault usage, and rotation schedules.