Home
cd ../playbooks
Developer ToolsIntermediate

API & Integration Documentation

Generate comprehensive API documentation with endpoint references, authentication guides, code examples, and integration tutorials.

10 minutes
By communitySource
#api-documentation#integration-guide#endpoints#developer-docs#openapi

Your API has 40 endpoints and the documentation is a Confluence page from 2023 that's missing half of them. Developers waste hours guessing at request formats, authentication headers, and error codes. Bad docs turn a 10-minute integration into a 3-day odyssey.

Who it's for: API developers who need to document endpoints for external consumers, platform teams maintaining developer documentation for integrations, developer relations engineers improving API onboarding experience, technical writers documenting REST and GraphQL APIs, startups preparing API docs for their first external partners

Example

"Document our REST API for external developers" → Complete API reference with all endpoints, request/response examples, authentication guide with token flow, error code reference, rate limit documentation, SDK code samples in 3 languages, and a quickstart integration tutorial

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# API & Integration Documentation

## Your Role
You are an expert API documentation specialist. Your job is to create clear, developer-friendly API documentation with working examples, comprehensive error handling, and integration guides.

## Core Principles
- Copy-pasteable examples for every endpoint
- Document error responses, not just happy paths
- Rate limits and authentication upfront
- Version number prominent on every page
- Generate from OpenAPI specs where possible for accuracy

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Creates comprehensive API documentation from code, OpenAPI specs, or informal descriptions — including endpoint references, authentication guides, request/response examples, error handling, and integration tutorials.


Quick Start

Step 1: Download the Template

Click Download above to get the CLAUDE.md file.

Step 2: Provide API Information

Share API source code, OpenAPI/Swagger specs, or informal descriptions of endpoints.

Step 3: Start Using It

claude

Say: "Generate API documentation for our user management service. Include authentication, all endpoints, request/response examples, and error codes."


Documentation Sections

Section Content
Getting Started Authentication, base URL, rate limits
Authentication API keys, OAuth flows, token management
Endpoint Reference Method, path, parameters, request/response
Code Examples cURL, Python, JavaScript examples per endpoint
Error Reference Error codes, meanings, and resolution steps
Webhooks Event types, payload formats, verification
Changelog API version history and breaking changes

Tips

  • Working examples first: Developers try examples before reading docs — make them copy-pasteable
  • Show error handling: Happy path examples are useless without error response documentation
  • Include rate limits: Developers need to know limits before they build, not after they hit them
  • Version prominently: Make it obvious which API version the docs describe

Commands

"Generate API docs from this OpenAPI spec"
"Create endpoint reference with request/response examples"
"Write an authentication guide for our API"
"Build integration tutorials for common use cases"

Troubleshooting

Docs out of sync with code Say: "Generate docs directly from code annotations or OpenAPI specs to stay current."

Too many endpoints to document Ask: "Start with the 10 most-used endpoints. Track which docs pages get the most traffic."

Developers still asking questions Specify: "Add a FAQ section based on support ticket themes."

$Related Playbooks

Developer Tools

Code Review Summary & Documentation

Generate structured code review summaries with findings categorization, pattern analysis, and team improvement recommendations.

5 minutes
Beginner
Developer Tools

Simplicity First Code Gate

A hard correctness gate against over-complex or oversized code — one ordering principle (human readability first, agent traceability second), five enforceable rules, and a pre-finish checklist that treats unnecessary complexity as a bug, not a style opinion.

2 minutes
Beginner
Developer Tools

Slidev Presentation Builder

Build developer-focused presentations with Slidev — Markdown-driven slides with live code, syntax highlighting, Monaco editor embeds, Mermaid/PlantUML diagrams, LaTeX math, click-based animations, and presenter notes, plus a quick-reference table for the exact syntax each feature needs.

5 minutes
Beginner
Developer Tools

Technical Writing Style Guide

Write docstrings, READMEs, commit messages, and PR descriptions that read like human technical documentation instead of LLM output — six concrete 'tells' with before/after rewrites, a smoothness diagnostic for prose that sounds authoritative while stating one fact three times, and industry-metaphor substitution tables ('surfaces' to 'raises/returns/logs', 'wired through' to 'passed as a parameter').

5 minutes
Intermediate
Developer Tools

Visual Explainer HTML Pages

Have Claude Code explain architectures, diffs and plans as self-contained HTML pages with labeled Mermaid diagrams and a deliberate design pass, instead of walls of chat text, terminal ASCII or generic AI-looking pages.

5 minutes
Intermediate
Developer Tools

Web Animation Design Principles

Design web animations that feel natural and purposeful — a decision-first easing blueprint (ease-out for entrances, ease-in-out for movement, ease for hover), duration and frequency rules, spring configuration, the GPU-only performance rule, and mandatory prefers-reduced-motion accessibility patterns with working CSS and Framer Motion code.

5 minutes
Intermediate
Developer Tools

Web Technique to Skill Extractor

Turn a one-off web visual or interaction technique into a reusable, well-scoped skill — the one-sentence mechanism test that separates a real technique from mere styling, a mechanism-vs-staging sort for what belongs in the skill versus the demo, rules anchored to named failures instead of adjectives, and a demo craft bar that treats the acceptance reference as a target, not inspiration.

10 minutes
Advanced
Developer Tools

Windows RDP Connection Doctor

Diagnose Windows App / AVD / W365 remote-desktop connection quality on macOS — transport selection (UDP Shortpath vs WebSocket), VPN/proxy interference with STUN/TURN, and Shortpath failures from the logs.

15 minutes
Intermediate
Developer Tools

Vibe Coder: Idea to Prototype

Describe what you want to build and get clean, working code with a simple approach explanation, setup instructions, and optional improvements — optimized for shipping over perfecting.

5 minutes
Beginner
Developer Tools

Who Built This Before Me

Check whether your project, tool, library, or product idea has already been built — before you invest a weekend or a quarter in it.

5 minutes
Intermediate
Developer Tools

Vibe Skill Creator

Build world-class Claude skills through a guided 10-step conversation — explore where Claude fails by default, research the domain, draft, self-critique, test on a real scenario, and iterate until the skill actually improves output.

10 minutes
Intermediate
Developer Tools

Webhook Automation Builder

Build and manage webhook-based integrations for real-time event processing and API connections

10 minutes
Advanced

Browse all Developer Tools playbooks →