api-documentation
БесплатноБез исполняемых скриптовНе проверенUse this skill when the main job is publishing or refreshing developer-facing API docs that help integrators reach first success, understand reference truth…
от akillness★ 63 звезды на GitHubОб этом скилле
API Documentation
Use this skill when the main job is publishing or refreshing developer-facing API docs that help integrators reach first success, understand reference truth, and stay unblocked as the API evolves.
api-documentation is the documentation-cluster anchor for:
- endpoint / schema reference docs
- quickstarts and first-success flows
- task-oriented integration guides
- SDK guides
- webhook delivery / verification docs
- developer-portal navigation and grouped reference surfaces
- migration updates attached to the docs surface
Read these support docs before choosing the mode or output packet:
- references/documentation-modes-and-boundaries.md
- references/output-packets-and-navigation.md
- references/example-and-reference-checklist.md
- references/publishing-and-drift-control.md
When to use this skill
- A team needs API reference, quickstarts, or portal pages that external developers, partners, or internal integrators can actually use.
- An OpenAPI or schema artifact already exists, but the docs need structure, examples, auth/setup guidance, error handling, or clearer navigation.
- Existing API docs drifted after auth, versioning, retry, pagination, webhook, or SDK changes.
- A public, partner, or internal API launch needs developer-facing guides, migration notes, or trustworthy examples.
- A large API surface needs grouping, selective publishing, or cleaner portal structure instead of one giant reference dump.
When not to use this skill
- The main job is designing resources, endpoint shape, schema rules, or versioning strategy → use
api-design. - The main job is writing internal specs, ADRs, runbooks, rollout docs, or system migration procedures → use
technical-writing. - The main job is end-user/product UI onboarding, screenshots, tutorials, or help-center docs → use
technical-writing. - The main job is implementing auth/session/provider behavior rather than documenting how API consumers authenticate → use
authentication-setup. - The main job is release-note, semver, or changelog hygiene → use
changelog-maintenance. - There is no credible source of truth for the API behavior yet → route missing contract questions back to
api-designinstead of inventing docs from vibes.
Instructions
Step 1: Classify the API-doc job
Normalize the request before drafting.
api_documentation_mode:
primary_mode: reference | quickstart | task-guide | sdk-guide | webhook-guide | migration-update
api_style: rest | graphql | webhook | sdk | mixed | unknown
audience: external-developers | internal-integrators | partners | mixed | unknown
source_of_truth: openapi | graphql-schema | code-annotations | tests | mixed | unknown
docs_surface: developer-portal | docs-site | repo-markdown | sdk-site | internal-catalog | unknown
navigation_scope: single-operation | grouped-resource | large-api-surface | portal-section | unknown
maintenance_state: new-docs | refresh | drift-fix | launch-critical
Choose one primary mode per run:
reference→ endpoint/schema truth with parameters, fields, errors, limits, and examplesquickstart→ fastest path to first successful API call or webhook receipttask-guide→ one workflow or integration outcomesdk-guide→ language/client-library guidance plus examples and caveatswebhook-guide→ delivery, verification, retry, and local-debug guidancemigration-update→ changed behavior and transition path on the docs surface
If the surface is large, also decide whether the task is about grouping/navigation as much as prose. Do not hide large-surface information architecture inside a generic “write docs” request.
Step 2: Confirm boundary skills and the real developer job
Answer these four questions before writing:
- Who is integrating with this API, and what exact job should they complete after reading?
- What artifact is the real contract source of truth today?
- Which docs surface are you updating: portal, repo docs, SDK site, internal catalog, or mixed?
- Which neighboring skills must stay out of scope?
Quick route-out table:
| If the request sounds like... | Use |
|---|---|
| "Design the endpoints / resources / schema before coding" | api-design |
| "Write the architecture doc / ADR / rollout plan / runbook" | technical-writing |
| "Write customer help docs for using the product UI" | technical-writing |
| "Explain provider setup / session middleware / token implementation" | authentication-setup |
| "Summarize what shipped in the release" | changelog-maintenance |
| "Write the developer portal / OpenAPI docs / quickstart / webhook guide" | api-documentation |
Step 3: Gather the smallest truthful evidence set
Do not write API docs from an outdated spec alone. Pull
Установить api-documentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepВложенные файлы
FAQ
Что делает скилл api-documentation?
Use this skill when the main job is publishing or refreshing developer-facing API docs that help integrators reach first success, understand reference truth, and stay unblocked as the API evolves.
Как установить скилл api-documentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-documentation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic