Agent skill

API Documentation Writer

by OneWave-AI in OneWave-AI/claude-skills

Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs.

MITAuto-check passedBackend & APIs

Install API Documentation Writer

skills CLI
$ npx skills add OneWave-AI/claude-skills --skill api-documentation-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OneWave-AI/claude-skills api-documentation-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OneWave-AI/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/api-documentation-writer .claude/skills/api-documentation-writer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
api-documentation-writer
GitHub stars
322
Token cost
~541 tokens
SKILL.md length
215 words
Files
4 (incl. references)
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs.

  • Works in 6 steps: Gather API information. Determine the… → Build the documentation structure. Cover… → Generate the output. Follow… → …
  • Users need to document APIs
  • SKILL.md covers Contents, Workflow and Example Triggers
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

API Documentation Writer is an agent skill from OneWave-AI/claude-skills. Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs. Creates OpenAPI/Swagger specs, REST API docs, and developer-friendly reference materials. Use when users need to document APIs, create technical references, or write developer documentation.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/best-practices.md`, `references/documentation-structure.md` and `references/output-template.md`).

It sits in Backend & APIs, covering Technical documentation, OpenAPI specifications and REST APIs. It works with OpenAPI and GraphQL. The repository describes itself as: 200+ production-ready Claude Code skills for sales, marketing, design, engineering, and AI agent architecture. Built and maintained by OneWave AI. The licence is MIT.

When your agent uses it

  • Users need to document APIs
  • Create technical references
  • Write developer documentation

Example prompts

  • “/api-documentation-writer”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Gather API information. Determine the API type (REST, GraphQL, WebSocket, gRPC), authentication method (API key, OAuth, JWT), base URL and…
  2. Build the documentation structure. Cover every section in references/documentation-structure.md, ordering the most common operations first.
  3. Generate the output. Follow references/output-template.md for REST APIs; adapt to schema, query, mutation, and subscription examples for…
  4. Document errors and rate limits. Include the standard error response format, common error codes, troubleshooting guidance, limits, headers…
  5. Provide code samples in multiple languages (curl, JavaScript, Python) and link SDKs, Postman collections, or OpenAPI specs where available.
  6. Verify quality against the checklist in references/best-practices.md before delivering.

What it can do on your machine

Read from SKILL.md and the folder at commit fc5b785. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

API Documentation Writer loads about 541 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 215 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~541
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OneWave-AI/claude-skills at commit fc5b785, republished under its MIT licence (© OneWave-AI). 215 words, ~541 tokens.

Download SKILL.mdSave it as .claude/skills/api-documentation-writer/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
api-documentation-writer
description
Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs. Creates OpenAPI/Swagger specs, REST API docs, and developer-friendly reference materials. Use when users need to document APIs, create technical references, or write developer documentation.

API Documentation Writer

Generate comprehensive, developer-friendly API documentation.

Contents

  • references/documentation-structure.md — every section to cover (overview, auth, endpoints, errors, rate limits, SDKs, webhooks, GraphQL)
  • references/output-template.md — canonical REST Markdown template with worked examples
  • references/best-practices.md — best practices, developer-experience tips, and the output quality checklist

Workflow

  1. Gather API information. Determine the API type (REST, GraphQL, WebSocket, gRPC), authentication method (API key, OAuth, JWT), base URL and versioning strategy, available endpoints and their purposes, request/response formats, and any rate limiting or usage restrictions.

  2. Build the documentation structure. Cover every section in references/documentation-structure.md, ordering the most common operations first.

  3. Generate the output. Follow references/output-template.md for REST APIs; adapt to schema, query, mutation, and subscription examples for GraphQL. Replace all placeholders with realistic example data and show both request and response.

  4. Document errors and rate limits. Include the standard error response format, common error codes, troubleshooting guidance, limits, headers to check, and how to handle 429 responses.

  5. Provide code samples in multiple languages (curl, JavaScript, Python) and link SDKs, Postman collections, or OpenAPI specs where available.

  6. Verify quality against the checklist in references/best-practices.md before delivering.

Example Triggers

  • "Write API documentation for my REST endpoints"
  • "Create OpenAPI spec for my API"
  • "Document this GraphQL schema"
  • "Generate developer docs for my webhook API"
  • "Write authentication guide for API"

© OneWave-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in api-documentation-writer of OneWave-AI/claude-skills.

  • SKILL.md
  • references/best-practices.md
  • references/documentation-structure.md
  • references/output-template.md

Open the folder on GitHubat commit fc5b785

Compare with similar skills

API Documentation Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

API Documentation Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Documentation Writer this skillOneWave-AI/claude-skills322—~541Automated safety check: PassMIT
API Documentermajiayu000/claude-skill-registry6661 repos~767Automated safety check: PassMIT
OpenAPI Spec Generationwshobson/agents40k9 repos~511Automated safety check: PassMIT
API DesignerJeffallan/claude-skills12k2 repos~2kAutomated safety check: PassMIT
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Distilled SDKalchemy-run/distilled431—~6kAutomated safety check: PassApache-2.0

Similar skills

  • API Documenter

    majiayu000/claude-skill-registry

    API documentation specialist who creates comprehensive OpenAPI/Swagger specifications and technical documentation for RESTful APIs, GraphQL schemas, and microservices architectures.

    666 GitHub starsUsed in 1 repo~767 tokens
    Backend & APIsAuto-check passed
  • Create, validate and maintain OpenAPI 3.1 specs for REST APIs, whether designed first or generated from existing code, and use them for docs and client SDKs.

    40k GitHub starsUsed in 9 repos~511 tokens
    Backend & APIsAuto-check passed
  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Distilled SDK

    alchemy-run/distilled

    Build or update a distilled SDK for an API provider — sourcing its OpenAPI/Smithy/GraphQL/discovery description, adding the spec mirror that feeds it, generating packages/<provider, listing it on…

    431 GitHub stars~6k tokensUpdated today
    Backend & APIsAuto-check passed
  • API Contract Design

    rsmdt/the-startup

    REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns.

    536 GitHub stars~1.1k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed

More from OneWave-AI/claude-skills

All 91 skills in this repo
  • CRM Data Cleanup

    OneWave-AI/claude-skills

    Finds duplicate and junk records in a CRM CSV export with fuzzy matching, normalizes fields and writes a reviewable merge plan plus import-ready files without touching the live CRM.

    322 GitHub stars~2.5k tokensUpdated 5 days ago
    Auto-check passed
  • Design Export Repair

    OneWave-AI/claude-skills

    Repairs broken decks and PDFs exported from Claude Design or similar AI deck generators: clipped text, wrong fonts and corrupted .pptx package structure.

    322 GitHub stars~2.6k tokensUpdated 5 days ago
    Auto-check passed
  • Bi Measure Builder

    OneWave-AI/claude-skills

    Writes, explains, debugs, and optimizes BI calculations - Power BI / Fabric DAX measures and calculated columns, Tableau calculated fields (FIXED/INCLUDE/EXCLUDE LOD expressions, table…

    322 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Bookkeeping Close

    OneWave-AI/claude-skills

    Categorizes transactions, reconciles bank and card statements to the ledger, works a month-end checklist and prepares a close package, without ever forcing a balance.

    322 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check passed
  • CSV and Excel Merger

    OneWave-AI/claude-skills

    Combines CSV, TSV and Excel files into one verified table with pandas, by stacking or joining, mapping columns, normalizing keys and removing duplicates.

    322 GitHub stars~1.6k tokensUpdated 5 days ago
    Auto-check passed
  • Sec Filing Puller

    OneWave-AI/claude-skills

    Pulls financial statement numbers for US public companies straight from SEC EDGAR's free official XBRL APIs (companyfacts, companyconcept, frames, submissions) into a cited table.

    322 GitHub stars~2.1k tokensUpdated 5 days ago
    Auto-check passed

Works with

Questions about API Documentation Writer

What does API Documentation Writer do?

Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs. API Documentation Writer is an agent skill from OneWave-AI/claude-skills. Generate comprehensive API documentation including endpoint descriptions, request/response examples, authentication guides, error codes, and SDKs.

When should I use API Documentation Writer?

API Documentation Writer fits situations like: users need to document APIs; create technical references; write developer documentation.

How do I install API Documentation Writer in Claude Code?

Run `npx skills add OneWave-AI/claude-skills --skill api-documentation-writer -a claude-code`. Or copy the skill folder (api-documentation-writer in OneWave-AI/claude-skills) into .claude/skills/api-documentation-writer in your project. Claude Code loads it when a task matches its description.

How do I install API Documentation Writer in Codex?

Run `npx skills add OneWave-AI/claude-skills --skill api-documentation-writer -a codex`. Or copy the skill folder (api-documentation-writer in OneWave-AI/claude-skills) into .agents/skills/api-documentation-writer in your project. Codex loads it when a task matches its description.

Can I use API Documentation Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OneWave-AI/claude-skills --skill api-documentation-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/api-documentation-writer, .gemini/skills/api-documentation-writer, .github/skills/api-documentation-writer and .opencode/skills/api-documentation-writer in your project.

What does API Documentation Writer need to run?

SKILL.md names no scripts, command-line tools or credentials: API Documentation Writer is instructions for the agent only.

Does API Documentation Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is API Documentation Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does API Documentation Writer use?

API Documentation Writer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does API Documentation Writer use?

About 541 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to API Documentation Writer?

Skills that share tags, products or a category with API Documentation Writer: API Documenter (majiayu000/claude-skill-registry, 666 stars), OpenAPI Spec Generation (wshobson/agents, 40k stars), API Designer (Jeffallan/claude-skills, 12k stars) and Use Yaak (mountain-loop/yaak, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Documentation Writer?

OneWave-AI (a GitHub organization) maintains it in OneWave-AI/claude-skills, which has 322 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 2, 2026.

Source: OneWave-AI/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.