Api Documentation logo

Api Documentation

Community
Omar-Obando
api-documentation

Use when creating API documentation, implementing OpenAPI specifications, writing Swagger documentation, creating GraphQL schemas, and generating SDKs. Includes documentation best practices, API versioning, and API documentation automation. Based on CPTD and OpenAPI Specification certifications.

Overview

PublisherOmar-Obando
Repositoryqwen-orchestrator
Skill nameapi-documentation
Stars
53
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Omar-Obando on GitHub. Read the source before you install it.

Installation

Install the Api Documentation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/api-documentation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/api-documentation .claude/skills/api-documentation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Api Documentation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Api Documentation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Api Documentation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

API Documentation Skill — API Specialist

Overview

This skill provides comprehensive guidance for creating comprehensive API documentation. It covers OpenAPI specifications, Swagger documentation, GraphQL schemas, SDK generation, and API documentation best practices following CPTD and OpenAPI Specification certifications.

When to Use

Use this skill when:

  • Creating API documentation
  • Implementing OpenAPI specifications
  • Writing Swagger documentation
  • Creating GraphQL schemas
  • Generating SDKs from API specs
  • Documenting RESTful APIs
  • Documenting GraphQL APIs
  • Creating API documentation sites
  • Implementing API versioning documentation
  • Creating API examples
  • Writing API tutorials
  • Documenting API authentication
  • Documenting API error handling
  • Creating API changelogs
  • Implementing API documentation automation
  • Creating API documentation templates
  • Documenting API best practices
  • Creating API documentation style guides
  • Implementing API documentation testing
  • Creating API documentation metrics
  • Documenting API security requirements
  • Creating API documentation for developers
  • Implementing API documentation updates

Do NOT use this skill when:

  • Writing application business logic (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint specifications (use api-design skill)
  • Performing security audits (use security-auditor skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Analyzing deployment configurations (use deployment skill)
  • Writing documentation (use documentation-best-practices skill)

OpenAPI Specification

OpenAPI Structure

yaml
openapi: 3.1.0
info:
  title: API Title
  description: API description
  version: 1.0.0
  contact:
    name: API Support
    email: support@example.com
    url: https://example.com/support
servers:
  - url: https://api.example.com/v1
    description: Production server
  - url: https://staging-api.example.com/v1
    description: Staging server
paths:
  /users:
    get:
      summary: List all users
      operationId: listUsers
      tags:
        - users
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            default: 1
        - name: limit
          in: query
          schema:
            type: integer
            default: 20
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserList'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      summary: Create a new user
      operationId: createUser
      tags:
        - users
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
      responses:
        '201':
          description: User created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Bad request
components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        email:
          type: string
          format: email
    UserList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/User'
        pagination:
          $ref: '#/components/schemas/Pagination'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
security:
  - BearerAuth: []

OpenAPI Best Practices

┌─────────────────────────────────────────────────────────────┐
│              OpenAPI Best Practices                         │
├─────────────────────────────────────────────────────────────┤
│  Naming:                                                    │
│  - Use nouns for resource names                             │
│  - Use plural for collections                               │
│  - Use camelCase for properties                             │
│  - Use PascalCase for schemas                               │
│                                                              │
│  Versioning:                                                │
│  - Include version in URL path                              │
│  - Use Accept header for version                            │
│  - Document version changes                                 │
│                                                              │
│  Authentication:                                            │
│  - Document all authentication methods                      │
│  - Provide authentication examples                          │
│  - Document token lifecycle                                 │
│                                                              │
│  Error Handling:                                            │
│  - Document all error responses                             │
│  - Provide error codes and messages                         │
│  - Include error examples                                   │
│                                                              │
│  Pagination:                                                │
│  - Document pagination parameters                           │
│  - Include pagination metadata                              │
│  - Provide pagination examples                              │
│                                                              │
│  Filtering and Sorting:                                     │
│  - Document filtering parameters                            │
│  - Document sorting parameters                              │
│  - Provide filtering examples                               │
└─────────────────────────────────────────────────────────────┘

GraphQL Schema Documentation

GraphQL Schema Structure

graphql
# Schema
type Query {
  user(id: ID!): User
  users(limit: Int, offset: Int): UserConnection
  me: User
}

type Mutation {
  createUser(input: CreateUserInput!): User!
  updateUser(id: ID!, input: UpdateUserInput!): User
  deleteUser(id: ID!): Boolean!
}

type User {
  id: ID!
  name: String!
  email: String!
  createdAt: DateTime!
  updatedAt: DateTime!
}

input CreateUserInput {
  name: String!
  email: String!
  password: String!
}

input UpdateUserInput {
  name: String
  email: String
  password: String
}

type UserConnection {
  nodes: [User!]!
  pageInfo: PageInfo!
  totalCount: Int!
}

type PageInfo {
  hasNextPage: Boolean!
  hasPreviousPage: Boolean!
  startCursor: String
  endCursor: String
}

scalar DateTime

GraphQL Best Practices

┌─────────────────────────────────────────────────────────────┐
│              GraphQL Best Practices                         │
├─────────────────────────────────────────────────────────────┤
│  Naming:                                                    │
│  - Use camelCase for field names                            │
│  - Use PascalCase for types                                 │
│  - Use verbs for mutations                                  │
│                                                              │
│  Pagination:                                                │
│  - Use cursor-based pagination                              │
│  - Implement Relay connection pattern                       │
│  - Document pagination fields                               │
│                                                              │
│  Authentication:                                            │
│  - Document authentication requirements                     │
│  - Document authorization requirements                      │
│  - Document token requirements                              │
│                                                              │
│  Error Handling:                                            │
│  - Document error types                                     │
│  - Document error codes                                     │
│  - Document error examples                                  │
│                                                              │
│  Input Validation:                                          │
│  - Document input validation rules                          │
│  - Document required fields                                 │
│  - Document field constraints                               │
└─────────────────────────────────────────────────────────────┘

API Documentation Tools

Popular Tools

┌─────────────────────────────────────────────────────────────┐
│              API Documentation Tools                        │
├─────────────────────────────────────────────────────────────┤
│  Swagger UI:                                                │
│  - Interactive API documentation                            │
│  - OpenAPI support                                          │
│  - Customizable                                             │
│  - Self-hosted                                              │
│                                                              │
│  Redoc:                                                     │
│  - Beautiful documentation                                  │
│  - OpenAPI support                                          │
│  - Custom themes                                            │
│  - CLI integration                                          │
│                                                              │
│  Postman Documentation:                                     │
│  - Collection documentation                                 │
│  - Interactive examples                                     │
│  - Team collaboration                                       │
│  - API monitoring                                           │
│                                                              │
│  Slate:                                                     │
│  - Markdown-based                                           │
│  - Easy to customize                                        │
│  - Static site generation                                   │
│  - Multiple languages                                       │
│                                                              │
│  Stoplight:                                                 │
│  - OpenAPI editor                                           │
│  - Documentation generation                                 │
│  - Mock servers                                             │
│  - Testing tools                                            │
└─────────────────────────────────────────────────────────────┘

API Documentation Checklist

Documentation Checklist

┌─────────────────────────────────────────────────────────────┐
│              API Documentation Checklist                    │
├─────────────────────────────────────────────────────────────┤
│  General:                                                   │
│  [ ] API overview and purpose                               │
│  [ ] Authentication requirements                            │
│  [ ] API versioning information                             │
│  [ ] Base URL information                                   │
│                                                              │
│  Endpoints:                                                 │
│  [ ] All endpoints documented                               │
│  [ ] HTTP methods documented                                │
│  [ ] Request parameters documented                          │
│  [ ] Request body documented                                │
│  [ ] Response examples provided                             │
│  [ ] Error responses documented                             │
│                                                              │
│  Examples:                                                  │
│  [ ] Request examples                                       │
│  [ ] Response examples                                      │
│  [ ] Error examples                                         │
│  [ ] Code examples                                          │
│                                                              │
│  Security:                                                  │
│  [ ] Authentication documented                              │
│  [ ] Authorization documented                               │
│  [ ] Rate limiting documented                               │
│  [ ] Security headers documented                            │
│                                                              │
│  Advanced Features:                                         │
│  [ ] Pagination documented                                  │
│  [ ] Filtering documented                                   │
│  [ ] Sorting documented                                     │
│  [ ] Including related resources documented                 │
└─────────────────────────────────────────────────────────────┘

Real-World Impact

Before this skill:

  • Incomplete API documentation
  • Missing examples
  • Poor API discoverability
  • Developer frustration
  • Support overhead

After this skill:

  • Comprehensive API documentation
  • Clear examples
  • Easy API discoverability
  • Developer satisfaction
  • Reduced support overhead

Cross-References

  • api-design - For API design and specifications
  • documentation-best-practices - For documentation standards
  • context7-docs - For up-to-date documentation

References

Frequently asked questions

What does the Api Documentation AI skill do?

Use when creating API documentation, implementing OpenAPI specifications, writing Swagger documentation, creating GraphQL schemas, and generating SDKs. Includes documentation best practices, API versioning, and API documentation automation. Based on CPTD and OpenAPI Specification certifications.

Why use Api Documentation on TypingMind?

Because you install it once and use it with any model. Api Documentation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Api Documentation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/api-documentation. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Api Documentation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Api Documentation?

As many as you like. As long as a model supports skills, you can use Api Documentation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Api Documentation AI skill free?

Yes. It is published on GitHub by Omar-Obando under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇