- Home
- Skills
- APIs & Backend
- Add Api Documentation Automatically
More screenshots
Works with the AI Agents you already use
Add Api Documentation Automatically
Automatically create accurate API documentation from an existing backend project.
$1
Add Api Documentation Automatically
Example session with this skill installed
Generate an OpenAPI spec for this Express project. It uses Zod for validation and has some old Swagger comments that might be outdated. Add Swagger UI so I can test it locally.
- Read your context and instructions
- Compiled the add api documentation
Project Detected: Express.js (Node.js)
Documentation Added
- OpenAPI 3.0.0 (JSON)
- Full coverage of /api/v1 routes
- Swagger UI middleware
Endpoints Documented
- GET /api/v1/users
- POST /api/v1/users
- GET /api/v1/users/{id}
Files Modified
- src/app.ts
- docs/openapi.json
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Stale or missing API documentation forces developers to dig through source code and middleware to understand how an endpoint actually behaves. Manual updates to OpenAPI specs are error-prone and frequently drift from the underlying implementation.
What it does
- Analyzes project routes, controllers, and schemas to generate accurate OpenAPI/Swagger specifications.
- Identifies and repairs discrepancies between existing documentation and actual code behavior.
- Maps request/response schemas, including required fields, enums, and authentication requirements.
- Sets up local documentation interfaces like Swagger UI within the existing project structure.
- Validates generated specifications against framework-specific routing and types.
Frameworks & tools
Works with RESTful backends, OpenAPI 3.x, Swagger, and standard web frameworks across Node.js, Python, and Go. Uses bash for spec validation and Read/Edit for source code analysis.
Why this beats prompting it yourself
Generic prompts often hallucinate endpoints or miss hidden middleware logic. This skill follows a strict source priority sequence—inspecting active route definitions and handlers first—to ensure the documentation reflects executable reality, not just optimistic guesses.
Use cases
- Generating a full OpenAPI spec for a legacy service with zero documentation.
- Syncing Swagger docs after a major refactor of request/response models.
- Auditing public vs. internal endpoints to ensure sensitive routes aren't exposed.
- Standardizing error codes and authentication headers across a microservice.
Known limitations
Will not document endpoints that lack code evidence or clear route definitions. Does not perform destructive commands or modify functional endpoint logic.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Cannot document endpoints without code evidence. Does not support non-REST protocols. Requires existing route/handler definitions to be readable.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
Permissions are limited to the active local workspace and are used to inspect user-supplied or local workspace files; create or modify bounded local fixes, tests, documentation, or review artifacts; run repository-supported local tests, checks, builds, or parsing commands. The skill package does not require bundled credentials, unrestricted external network access, or automatic production changes.