- Home
- Skills
- Technical Documentation
- api-docs-gen
Api Docs Gen
Convert source code into OpenAPI 3.0 specs or Markdown docs via static analysis of Express, FastAPI, and more.
$10
Works with the AI tools you already use
api-docs-gen
Example session with this skill installed
Scan the routes in the current directory and generate an OpenAPI 3.0 YAML spec for the user endpoints.
- Read your context and instructions
- Compiled the api-docs-gen
paths:
/users/{id}:
get:
summary: Get user by ID
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/User'
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Automated API Documentation from Source Code
Ditch the manual Swagger updates. This skill performs deep static analysis on your backend source code to generate professional-grade API documentation instantly. It maps routes, methods, schemas, and authentication requirements without requiring any manual entry or API keys.
What it does
- Multi-Framework Discovery: Supports Node.js (Express, Next.js, Hono, Koa), Python (FastAPI, Flask, Django REST), and more.
- Deep Schema Extraction: Infers request/response shapes from TypeScript interfaces, Zod schemas, Pydantic models, and JSDoc comments.
- Auth Mapping: Automatically identifies protected routes by detecting middleware like JWT, Passport, or FastAPI Dependencies.
- Dual Output Formats: Exports to valid OpenAPI 3.0 YAML for tooling or clean Markdown for READMEs and internal wikis.
Why use this skill?
Writing documentation is tedious and prone to drifting from reality. Unlike generic prompts, this skill uses specific heuristics to scan your file system, understand framework-specific routing patterns, and infer types from variable naming conventions when explicit types are missing. It produces structured, deployment-ready documentation that follows industry standards.
Supported Industry Tools
- Specifications: OpenAPI 3.0.3 (Swagger)
- Documentation: GitHub-flavored Markdown
- Validation: Compatible with Swagger UI, Redoc, and Postman
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 5 months ago
- Passed all security checks, Safe to install