Логотип Api Documentation

Api Documentation

Сообщество
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.

Add to TypingMind

Обзор

ИздательOmar-Obando
Репозиторийqwen-orchestrator
Название навыкаapi-documentation
Звёзды
53
Форки
13
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — Omar-Obando. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Api Documentation в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/api-documentation
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Api Documentation в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Api Documentation, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Api Documentation не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Api Documentation в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Api Documentation — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Api Documentation в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/api-documentation. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Api Documentation?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Api Documentation?

С любым количеством. В TypingMind вы можете использовать Api Documentation с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Api Documentation?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — Omar-Obando. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Test Collaboration

affaan-m
СообществоПопулярный

Inventory and govern a project's test assets. Connect requirements, business rules, risks, bugs, and cross-boundary contracts to stable TEST-IDs and executable evidence in the repository's existing…

41.4K
277.3K
Файлы: 2
Открыть
Логотип affaan-m

Product Capability

affaan-m
СообществоПопулярный

Преобразует требования из PRD, запросы по дорожной карте или обсуждения продукта в готовый к реализации план возможностей, в котором до начала работ над несколькими сервисами обозначены ограничения, инварианты, интерфейсы и нерешённые…

40.4K
270.2K
Файлы: 1
Открыть
Логотип affaan-m

Django Patterns

affaan-m
СообществоПопулярный

Паттерны архитектуры Django, проектирование REST API с DRF, рекомендации по использованию ORM, кэширование, сигналы, middleware и разработка Django-приложений для продакшена.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Quarkus Patterns

affaan-m
СообществоПопулярный

Архитектурные шаблоны для Quarkus 3.x LTS с Camel для обмена сообщениями, проектирования RESTful API, сервисов CDI, доступа к данным через Panache и асинхронной обработки.

39.1K
261.1K
Инструкции
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇