api-docs-writer
Skill by mohitagw15856
Writes developer-facing API reference docs from a raw spec, endpoint notes or Postman collection. Built for developer portals, READMEs, and Notion or Confluence pages.
Install api-docs-writer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills /tmp/pm-claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/pm-claude-skills/skills/api-docs-writer ~/.claude/skills/api-docs-writerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills /tmp/pm-claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pm-claude-skills/skills/api-docs-writer ~/.gemini/antigravity-cli/skills/api-docs-writerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The api-docs-writer skill turns raw API specs, endpoint descriptions or Postman collections into developer-facing documentation. For each endpoint it produces a summary, description, authentication note, request headers, path, query and body parameters, success response, a standard error code table and cURL and Python examples. Output is Markdown for developer portals and READMEs, or plain prose for Confluence or Notion. It does not produce OpenAPI YAML.
When details are missing, the skill fills gaps with assumptions marked as assumed, confirm, and lists them at the end. It also includes a 0 to 40 scoring rubric, where 32 or higher is treated as ship-quality, plus quality checks and anti-patterns such as documenting only the happy path. The skill takes an audience of internal developers, external partners or the public, and it points to a reference guide and a fill-in template for working the document by hand.
Written from the project's SKILL.md and checked against it.
What it can do
- Endpoint documentationProduces a per-endpoint layout with summary, description, authentication, parameters, request and response.
- Error code tablesLists standard 400, 401, 404, 429 and 500 errors with resolution guidance for each.
- Code examplesWrites cURL and Python examples that use the actual base URL and placeholder credentials.
- Pagination notesDocuments pagination on list endpoints so integrations do not silently miss data.
- Assumption flaggingMarks missing inputs as assumed, confirm and lists those assumptions at the end.
- Scoring rubricScores output from 0 to 40 across parameter, error, example and behaviour dimensions.
- Quality checksProvides a checklist to confirm parameters, errors and examples before handing docs over.
Try asking
- Document this API endpoint: [paste spec or description]
- Turn this Postman collection into developer docs
- Write a developer guide for our product API
Good to know
- Does not produce OpenAPI YAML.
- Output is Markdown or plain prose only.
- Gaps in the input are filled with assumptions that need confirming.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/api-docs-writer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to api-docs-writer
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
api-docs-writer: common questions
Does api-docs-writer output OpenAPI YAML?
No. The skill states that OpenAPI YAML is not produced by this skill.
What formats can the documentation be in?
Markdown for developer portals and READMEs, or plain prose for Confluence or Notion.
What happens if the API details are incomplete?
The skill still produces the full output, marks each gap as assumed, confirm, and lists the assumptions at the end. It only asks first when the core subject is missing.
How do I install api-docs-writer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is api-docs-writer free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is api-docs-writer safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to api-docs-writer?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
