Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

api-docs-writer

Skill by mohitagw15856

Writes developer-focused API docs from a raw spec, endpoint description or Postman collection. Output covers parameters, request and response examples, and error codes.

  • Score 72
  • 1.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/i18n/es/skills/api-docs-writer ~/.claude/skills/api-docs-writer

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install api-docs-writer in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

API Docs Writer is an agent skill that turns raw API specifications, endpoint descriptions or Postman collections into clean, developer-focused documentation. For each endpoint it produces a summary, a description, authentication details, request headers, path and query parameters, body fields, success responses, an error code table with resolution steps, and code examples in at least two languages, cURL and Python by default. The output is meant for a developer portal, a README, or a Notion or Confluence page.

The skill works with whatever input is provided. When details such as the base URL, API version or rate limits are missing, it fills the gap with an assumption marked for confirmation and lists those assumptions at the end. It includes a scoring rubric and quality checks, with 32 or more out of 40 treated as production quality. The source states that it does not produce OpenAPI YAML. It is written for developers, including internal teams and external partners.

Written from the project's SKILL.md and checked against it.

What it can do

  • Endpoint documentationProduces per-endpoint docs with summary, description, parameters, and response fields.
  • Spec and Postman conversionTurns a raw API spec or Postman collection into developer documentation.
  • Error code tablesLists error codes with resolution guidance, covering 400, 401/403, 404, 429 and 500.
  • Code examplesWrites request examples in cURL and Python using the base URL and placeholder tokens.
  • Developer guidesDrafts a developer guide for an API product.
  • Quality scoringScores its own output against a 0 to 40 rubric before delivery.

What you need

  • An API spec, Postman export, or verbal endpoint description
  • Authentication method (API key, Bearer token, OAuth 2.0, or none)
  • Base URL and API version
  • Preferred output format (Markdown or plain prose)

Try asking

  • Document this API endpoint: [paste spec or description]
  • Convert this Postman collection into developer docs
  • Write API reference docs for this endpoint

Good to know

  • Does not produce OpenAPI YAML.
  • Missing inputs are filled with assumptions marked for confirmation.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: i18n/es/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 →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

api-docs-writer: common questions

Does this skill generate OpenAPI YAML?

No. The source states that OpenAPI YAML is not produced by this skill.

Which code example languages does it produce?

It produces examples in at least two relevant languages, with cURL and Python as the default.

What happens if my API details are incomplete?

The skill still produces full output, filling each gap with a reasonable assumption marked as needing confirmation and listing those assumptions at the end.

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 72 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.

api-docs-writer Install

Add to stack

Loading.