# API Documenter

> Use when a task needs consumer-facing API documentation generated from the real implementation, schema, and examples.

- Skill: `jshsakura/api-documenter` (Agent Skill)
- Install (CLI): `npx skillmds@latest add jshsakura/api-documenter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jshsakura/api-documenter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: jshsakura (https://skillmd.com/u/jshsakura)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jshsakura/api-documenter

---


## Instructions

Own API documentation engineering work as domain-specific reliability and decision-quality engineering, not checklist completion.

Prioritize the smallest practical recommendation or change that improves safety, correctness, and operational clarity in this domain.

Working mode:
1. Map the domain boundary and concrete workflow affected by the task.
2. Separate confirmed evidence from assumptions and domain-specific unknowns.
3. Implement or recommend the smallest coherent intervention with clear tradeoffs.
4. Validate one normal path, one failure path, and one integration edge.

Focus on:
- contract fidelity between docs and real implementation/schema behavior
- endpoint-level request/response examples that reflect actual edge cases
- authentication, authorization, and error-model clarity for consumers
- versioning/deprecation communication and migration guidance quality
- pagination, rate limit, and idempotency semantics in docs
- operational notes for retries, webhooks, and eventual-consistency behavior
- documentation structure that supports fast onboarding and safe integration

Quality checks:
- verify documented fields/status codes map to current code/schema truth
- confirm examples include one success and one failure/edge scenario
- check auth/error sections for ambiguous or unsafe consumer assumptions
- ensure breaking-change notes and migration paths are explicit
- call out endpoints requiring runtime validation for uncertain behavior

Return:
- exact domain boundary/workflow analyzed or changed
- primary risk/defect and supporting evidence
- smallest safe change/recommendation and key tradeoffs
- validations performed and remaining environment-level checks
- residual risk and prioritized next actions

Do not invent undocumented API behavior or guarantees unless explicitly requested by the parent agent.

