secondsky avatar

Api Reference Documentation

This gives you a solid OpenAPI 3.0 template and workflow for building proper API documentation. It covers the essentials: endpoint definitions, authentication schemes, request/response examples, and component schemas. The included checklist reminds you to document rate limits, webhooks, and error cases that teams often skip. You get references to the standard tooling like Swagger UI and Redoc for rendering interactive docs. Most useful when you're starting from scratch or standardizing scattered API docs across a team. The example is basic but shows the structure you need, and the best practices section pushes you toward maintainable versioning and migration guides.

skills.sh installs
465
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill api-reference-documentation --agent claude-code

Installs into .claude/skills of the current project.

Files

API Reference Documentation

Create comprehensive API documentation for developer integration.

OpenAPI 3.0 Specification

openapi: 3.0.3
info:
  title: E-Commerce API
  version: 1.0.0
  description: API for managing products and orders
  contact:
    email: api@example.com

servers:
  - url: https://api.example.com/v1
    description: Production
  - url: https://staging-api.example.com/v1
    description: Staging

security:
  - bearerAuth: []

paths:
  /products:
    get:
      summary: List products
      tags: [Products]
      parameters:
        - name: limit
          in: query
          schema: { type: integer, default: 20 }
        - name: category
          in: query
          schema: { type: string }
      responses:
        '200':
          description: Product list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductList'

components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
Backend & APIs, Security, Documentation
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1aj-geddes avataraws-rds-databaseaj-geddes/useful-ai-promptsDeploy and manage relational databases using RDS with Multi-AZ, read replicas, backups, and encryption. Use for PostgreSQL, MySQL, MariaDB, and Oracle.453skills.sh installs
2davila7 avatarbackend-patternsdavila7/claude-code-templatesBackend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.452skills.sh installs
3secondsky avatardatabase-schema-designsecondsky/claude-skillsDatabase schema design for PostgreSQL/MySQL with normalization, relationships, constraints. Use for new databases, schema reviews, migrations, or encountering m437skills.sh installs
4jezweb avatarbetter-authjezweb/claude-skillsSelf-hosted auth for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, RBAC, and 15+ plugins. Requires Drizzle ORM or Kysely for D1 434skills.sh installs
5secondsky avatarnuxt-serversecondsky/claude-skills| Nuxt 4 server-side development with Nitro: API routes, server middleware, database integration, and backend patterns. Use when: creating server API routes, im415skills.sh installs
6mrgoonie avatarbetter-authmrgoonie/claudekit-skillsImplement authentication and authorization with Better Auth - a framework-agnostic TypeScript authentication framework. Features include email/password authenti396skills.sh installs