/documentation-systems:api-doc-reviewfrom documentation-systems
Reviews API documentation against actual route handlers to detect drift in endpoints, parameters, responses, and auth requirements. Use when docs may be outdated.
Ships in documentation-systems. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Outdated API documentation causes integration failures. The code is the source of truth, and the docs must match. Review the docs against the actual route handlers and fix mismatches immediately — do not defer.
Inventory both sides. List documented endpoints and implemented routes, then diff the two lists:
rg -n "^ /" openapi.yaml # documented paths
rg -n "router\.(get|post|put|patch|delete)\(" src/ # implemented routes
git diff --name-only origin/main...HEAD -- "src/routes/" # what changed recently
Verify each endpoint (e.g., POST /users) against its route definition: path, method, and auth requirements — route middleware vs the documented security scheme.
Verify parameters. All required request parameters (body, query, params) must be documented with correct types. Compare against the handler's validation schema or type definitions, not against the old doc.
Verify responses. All possible response status codes (200, 400, 404, 500) and their payloads must match the actual error handlers and return statements:
rg -n "res\.status\(|throw new .*Error" src/routes/ # codes actually produced
Cross-check examples against tests. Documented request/response examples should match what the API tests actually send and assert.
Fix immediately. If there is a mismatch, update the OpenAPI spec or inline documentation now. Do not defer it.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yeaight7/agent-powerups --plugin documentation-systems9 skills in this plugin
/agent-readable-docsUse when writing technical documentation that needs to be readable by both humans and AI models, converting existing docs to HADS format, validating a HADS document, or optimizing documentation for token-efficient AI consumption./architecture-decision-recordsUse when a significant architectural choice is being finalized, revisited, or reversed -- technology selection, structural patterns, or trade-offs that future maintainers or agents might unknowingly undo./context-docsUse when a subsystem needs persistent context for future agents or engineers -- its boundaries keep being rediscovered the hard way, invariants keep getting violated, or sessions repeatedly ask the same questions about it./context-retrieval-loopUse when about to write a new doc, README section, or ADR, updating existing documentation with unclear scope, or spawning a documentation subagent that needs file context./doc-consistency-checkUse when documentation may have rotted against the code -- files were renamed or moved, scripts or env vars changed, or readers report commands and paths from the docs that no longer work./handoff-disciplineUse when ending a session, handing a task back to the user, or approaching the context limit with work unfinished -- the next session or engineer must be able to resume the work instantly.Other plugins' skills for the same job