API Docs Writer — Generate Clear, Accurate API Reference from Your Code or OpenAPI Spec
Generate consistent API reference docs from your code, OpenAPI spec, or route handlers — per-endpoint parameters, real request and response examples, error codes, auth, and copy-pasteable curl, written for the developer calling the API.
- Generate consistent Markdown reference docs from Express or FastAPI routes.
- Extract table-based parameter lists and schemas from OpenAPI specifications.
- Create realistic curl examples and JSON payloads for API consumers.
$9
· or 45 creditsSecure checkout via Stripe
Included in download
- Generate consistent Markdown reference docs from Express or FastAPI routes.
- Extract table-based parameter lists and schemas from OpenAPI specifications.
- file_read, file_write automation included
- Ready for dependencies
PubsProToolkit builds rigor-first skills for AI agents — they write your docs and content properly, then adversarially r…
See it in action
You say
Generate documentation for this Express route: router.post('/v1/billing/subscribe', auth, validate(schema), (req, res) => { ... }); The schema requires a plan_id string and email.
Your agent does
POST /v1/billing/subscribe
Creates a new subscription for a customer.
Authentication Bearer token required.
Request body | Field | Type | Required | Description | | --- | --- | --- | --- | | plan_id | string | yes | ID of the plan to subscribe to | | email | string | yes | Customer email address |
Example:
{ "plan_id": "pro_monthly", "email": "jane@example.com" }
Responses
201 Created: Subscription initialized.
{ "id": "sub_8f2", "plan_id": "pro_monthly", "status": "active" }
400 Bad Request: Validation failed forplan_idoremail.401 Unauthorized: Missing or invalid bearer token.
Example request
curl -X POST https://api.example.com/v1/billing/subscribe \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "plan_id": "pro_monthly", "email": "jane@example.com" }'
API Docs Writer — Generate Clear, Accurate API Reference from Your Code or OpenAPI Spec
Generate consistent API reference docs from your code, OpenAPI spec, or route handlers — per-endpoint parameters, real request and response examples, error codes, auth, and copy-pasteable curl, written for the developer calling the API.
$9
· or 45 creditsSecure checkout via Stripe
Also available in a bundle
Included in download
- Generate consistent Markdown reference docs from Express or FastAPI routes.
- Extract table-based parameter lists and schemas from OpenAPI specifications.
- file_read, file_write automation included
- Ready for dependencies
- Instant install
See it in action
You say
Generate documentation for this Express route: router.post('/v1/billing/subscribe', auth, validate(schema), (req, res) => { ... }); The schema requires a plan_id string and email.
Your agent does
POST /v1/billing/subscribe
Creates a new subscription for a customer.
Authentication Bearer token required.
Request body | Field | Type | Required | Description | | --- | --- | --- | --- | | plan_id | string | yes | ID of the plan to subscribe to | | email | string | yes | Customer email address |
Example:
{ "plan_id": "pro_monthly", "email": "jane@example.com" }
Responses
201 Created: Subscription initialized.
{ "id": "sub_8f2", "plan_id": "pro_monthly", "status": "active" }
400 Bad Request: Validation failed forplan_idoremail.401 Unauthorized: Missing or invalid bearer token.
Example request
curl -X POST https://api.example.com/v1/billing/subscribe \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "plan_id": "pro_monthly", "email": "jane@example.com" }'
About This Skill
API reference is the documentation developers most need and most hate writing, so it ends up missing, stale, or written for the person who built the API instead of the person calling it. API Docs Writer generates reference docs the consumer can actually use. Point it at route or controller code, an OpenAPI/Swagger spec, or schema definitions, and it documents each endpoint the same way — method and path, required auth, path and query parameters, the request body with a realistic example, the response shape with a real example and status code, the error codes it actually returns and what triggers each, and a copy-pasteable curl call. It opens with the base URL, auth model, and shared conventions so they are not repeated per endpoint, writes for the caller rather than the author, and never invents endpoints or behavior that are not in your source — marking unknowns as TODO. Content-only, no install. Works with Claude Code, Cursor, Codex CLI, Gemini CLI, and any SKILL.md agent.
Use Cases
- Generate consistent Markdown reference docs from Express or FastAPI routes.
- Extract table-based parameter lists and schemas from OpenAPI specifications.
- Create realistic curl examples and JSON payloads for API consumers.
- Document HTTP error codes and authentication requirements per endpoint.
Known Limitations
Works only from the source you provide (code, OpenAPI/Swagger spec, or schemas) and does static analysis only — it never calls your live API, so it cannot verify runtime behavior, and details not present in the source are marked TODO rather than guessed. Output quality depends on how complete and well-structured your input is; sparse or dynamically generated routes may need manual review. It produces Markdown reference text only — it does not host docs, generate a docs site, or run any install or setup step. As a one-time download, it does not auto-update; you re-run it against your source whenever your API changes.
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/api-docs-writer-generate-clear-accurate-api-reference-from-your-code-or-openapi-spec -o /tmp/api-docs-writer-generate-clear-accurate-api-reference-from-your-code-or-openapi-spec.zip && unzip -o /tmp/api-docs-writer-generate-clear-accurate-api-reference-from-your-code-or-openapi-spec.zip -d ~/.claude/skills && rm /tmp/api-docs-writer-generate-clear-accurate-api-reference-from-your-code-or-openapi-spec.zipFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
File Scopes
This is a content-only SKILL.md skill. It reads source code, OpenAPI/Swagger specs, and schema files to extract endpoint details, and writes Markdown reference documentation. It does not run shell commands, open a browser, make network calls, or read environment variables.
Tags
Content-only SKILL.md skill — no install, dependencies, or runtime. Works with any SKILL.md-compatible agent, including Claude Code, Cursor, Codex CLI, Gemini CLI, and VS Code Copilot. The agent needs read access to your source (code, OpenAPI/Swagger spec, or schemas) and write access to save the generated Markdown.
Creator
PubsProToolkit builds rigor-first skills for AI agents — they write your docs and content properly, then adversarially review them to catch what's wrong before it ships. The result: cleaner output and a hard quality gate in one toolkit. Built by a CMPP-certified, PhD medical writer who brings regulated-industry standards to developer docs, content, compliance, and research integrity.
Frequently Asked Questions
Learn More About AI Agent Skills
More Premium Skills

inline-comment
Best way to steer your agents, effortlessly.
designing-hybrid-context-layers
Architects the right retrieval strategy for every query — teaching your agent when to use RAG, a knowledge graph, or a temporal index instead of defaulting to vector search for everything.
ai-automation-qa-pack
Professional QA & UAT documentation generator for AI automation agencies and complex agent deployments.
World-Class Site & App Design
Every AI-built UI looks generic and templated. This skill teaches your agent to actually match the design to the project, the industry, and the audience.