API Documentation Generator
Automatically generates comprehensive OpenAPI specifications, TypeScript types, and curl examples by analyzing existing backend route handlers and middleware.
The API Documentation Generator is a specialized skill for Claude Code designed to automate the creation of API references directly from source code. By analyzing route handlers in frameworks like Express, Next.js, Fastify, and Hono, it reverse-engineers the actual API contract including path parameters, query strings, and request bodies. It intelligently infers schemas from Zod, Joi, or TypeScript types, traces middleware to document authentication requirements, and catalogs error responses. This tool ensures your documentation, client-side types, and testing examples remain perfectly synchronized with your implementation without manual authoring.