aj-geddes avatar

Api Reference Documentation

This handles the full OpenAPI specification workflow for documenting REST and GraphQL APIs. You get templates for endpoint definitions, authentication flows, rate limiting, pagination, and error responses. It pushes you toward OpenAPI 3.0+ format with concrete examples in multiple languages, which is good because half-documented APIs are worse than no documentation. The reference guides include actual YAML specs you can adapt rather than starting from scratch. Most useful when you're formalizing an existing API or need to generate Swagger UI docs that won't embarrass you in front of frontend developers.

skills.sh installs
499
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill api-reference-documentation --agent claude-code

Installs into .claude/skills of the current project.

Files

API Reference Documentation

Table of Contents

Overview

Generate professional API documentation that developers can use to integrate with your API, including endpoint specifications, authentication, request/response examples, and interactive documentation.

When to Use

  • Documenting REST APIs
  • Creating OpenAPI/Swagger specifications
  • GraphQL API documentation
  • SDK and client library docs
  • API authentication guides
  • Rate limiting documentation
  • Webhook documentation
  • API versioning guides

Quick Start

Minimal working example:

openapi: 3.0.3
info:
  title: E-Commerce API
  description: |
    Complete API for managing e-commerce operations including products,
    orders, customers, and payments.

    ## Authentication
    All endpoints require Bearer token authentication. Include your API key
    in the Authorization header: `Authorization: Bearer YOUR_API_KEY`

    ## Rate Limiting
    - 1000 requests per hour for authenticated users
    - 100 requests per hour for unauthenticated requests

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Backend & APIs, Security, Documentation, AI & Agent Building
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1yoanbernabeu avatarsupabase-extract-db-stringyoanbernabeu/supabase-pentest-skillsCRITICAL - Detect exposed PostgreSQL database connection strings in client-side code. Direct DB access is a P0 issue.499skills.sh installs
2next-safe-action avatarsafe-action-better-authnext-safe-action/skillsUse when adding authentication or authorization to safe actions with Better Auth -- covers betterAuth() middleware setup, typed session context (BetterAuthConte496skills.sh installs
3davila7 avatarbackend-dev-guidelinesdavila7/claude-code-templatesComprehensive backend development guide for Node.js/Express/TypeScript microservices. Use when creating routes, controllers, services, repositories, middleware,492skills.sh installs
4aj-geddes avatardatabase-indexing-strategyaj-geddes/useful-ai-promptsDesign and implement database indexing strategies. Use when creating indexes, choosing index types, or optimizing index performance in PostgreSQL and MySQL.491skills.sh installs
5auth0 avatarauth0-aspnetcore-apiauth0/agent-skillsUse when protecting ASP.NET Core Web API endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates Auth0.AspNetCore.Authentication.A490skills.sh installs
6davila7 avatarapi-patternsdavila7/claude-code-templatesAPI design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.486skills.sh installs