Api Docs Gen is a skill that performs static analysis on backend source code to produce API documentation without manual entry or API keys. It scans file systems, recognizes framework-specific routing patterns, and infers request and response shapes from TypeScript interfaces, Zod schemas, Pydantic models, and JSDoc comments.
Framework support covers Node.js runtimes including Express, Next.js, Hono, and Koa, as well as Python frameworks including FastAPI, Flask, and Django REST. The skill automatically detects protected routes by identifying authentication middleware such as JWT, Passport, and FastAPI Dependencies, then records those requirements in the output.
Output is available in two formats: valid OpenAPI 3.0 YAML suitable for use with Swagger UI, Redoc, and Postman, and GitHub-flavored Markdown suitable for READMEs and internal wikis. When explicit type annotations are absent, the skill applies naming-convention heuristics to infer types.
This skill is appropriate when a codebase has grown without up-to-date documentation, when onboarding new contributors who need accurate endpoint references, or when a CI step should regenerate specs after code changes. It is not a linting or testing tool and does not validate that the documented endpoints behave correctly at runtime. No environment variables or credentials are required to run it.