Skip to content
davila7 avatar

Api Documentation Generator

Generates developer-friendly API documentation from code, covering endpoints, parameters, examples, and error handling.

CCM score
61 of 100
skills.sh installs
494
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers REST, GraphQL, and WebSocket APIs, with endpoint details, request and response specifications, and usage guidelines
  • Includes code examples in cURL, JavaScript, and Python, plus authentication setup, rate limiting, and pagination patterns
  • Documents every possible error code with message formats, troubleshooting steps, and common failure scenarios
  • Designed for documenting new APIs, updating stale docs, onboarding developers, and producing OpenAPI or Swagger specifications

Install

$ npx -y skills add davila7/claude-code-templates --skill api-documentation-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

API Documentation Generator

Overview

Automatically generate clear, comprehensive API documentation from your codebase. This skill helps you create professional documentation that includes endpoint descriptions, request/response examples, authentication details, error handling, and usage guidelines.

Perfect for REST APIs, GraphQL APIs, and WebSocket APIs.

When to Use This Skill

  • Use when you need to document a new API
  • Use when updating existing API documentation
  • Use when your API lacks clear documentation
  • Use when onboarding new developers to your API
  • Use when preparing API documentation for external users
  • Use when creating OpenAPI/Swagger specifications

How It Works

Step 1: Analyze the API Structure

First, I'll examine your API codebase to understand:

  • Available endpoints and routes
  • HTTP methods (GET, POST, PUT, DELETE, etc.)
  • Request parameters and body structure
  • Response formats and status codes
  • Authentication and authorization requirements
  • Error handling patterns

Step 2: Generate Endpoint Documentation

For each endpoint, I'll create documentation including:

Details

Repository
github.com/davila7/claude-code-templates
Categories
Technical Documentation, Backend & APIs
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Api Documentation Generator

More Technical Documentation