Api documentation writer

From OneWave-AI/claude-skills · View interactive version

Api documentation writer is an AI agent skill from the GitHub repository 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 referenc

How to use this skill

Skill file

API Documentation Writer

Generate comprehensive, developer-friendly API documentation.

Contents

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.
  1. Build the documentation structure. Cover every section in references/documentation-structure.md, ordering the most common operations first.
  1. 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.
  1. 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.
  1. Provide code samples in multiple languages (curl, JavaScript, Python) and link SDKs, Postman collections, or OpenAPI specs where available.
  1. Verify quality against the checklist in references/best-practices.md before delivering.

Example Triggers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.