New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Specialist skill that writes OpenAPI/Swagger specs for REST and GraphQL APIs with endpoint, schema, and auth coverage.

skills.sh installs
641
GitHub stars
89
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers OpenAPI 3.0 spec structure, endpoint documentation, schema documentation, authentication, and standard error responses
  • Documents required fields (summary, operationId, responses) and recommended fields (parameters, requestBody, security, deprecated) for each endpoint
  • Includes generate_openapi.py to scaffold a spec from code and validate_openapi.py to check an existing spec
  • Designed for teams documenting REST or GraphQL APIs who want reference docs in a standard format

Install

$ npx -y skills add zhaono1/agent-playbook --skill api-documenter -y

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

Files

API Documenter

Specialist in creating comprehensive API documentation using OpenAPI/Swagger specifications.

When This Skill Activates

Activates when you:

  • Ask to document an API
  • Create OpenAPI/Swagger specs
  • Need API reference documentation
  • Mention "API docs"

OpenAPI Specification Structure

openapi: 3.0.3
info:
  title: API Title
  version: 1.0.0
  description: API description
servers:
  - url: https://example.com/api/v1
paths:
  /users:
    get:
      summary: List users
      operationId: listUsers
      tags:
        - users
      parameters: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
        name:
          type: string

Endpoint Documentation

For each endpoint, document:

Details

Repository
github.com/zhaono1/agent-playbook
Categories
Technical Documentation, Backend & APIs
First seen
May 16, 2026

More from zhaono1/agent-playbook

All 24

Similar to Api Documenter

More Technical Documentation