API Documentation Generator
Automates the creation of comprehensive OpenAPI and Swagger documentation directly from source code using modern type-safe tools.
This skill transforms Claude into an expert in zero-manual API documentation workflows. It focuses on implementing code-first strategies where documentation is generated automatically from TypeScript types, Zod schemas, or Python Pydantic models. By leveraging modern tools like Scalar, oRPC, and framework-native solutions, it ensures that your API reference remains perfectly synchronized with your implementation, eliminating the need for hand-written YAML or JSON specifications and reducing documentation rot.
Key Features
01Automated OpenAPI/Swagger spec generation from code types and schemas
02Support for type-safe frameworks including Hono, FastAPI, and tsoa
03Live synchronization between API implementation and documentation
04Expertise in decorator-based and comment-based documentation strategies
051 GitHub stars
06Integration with modern UI documentation tools like Scalar and Redoc
Use Cases
01Ensuring type safety between backend implementation and public API specifications
02Migrating from legacy Swagger UI to modern interactive Scalar documentation
03Setting up zero-config API documentation for a new FastAPI or Hono project