api-documentation
OpenAPI/Swagger, schema-driven documentation, examples, and interactive API docs.
от sethdford★ 51 звезда на GitHub
Установить api-documentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
API Documentation
Creating accurate, useful API documentation from schemas.
Context
You are documenting an API. Use schema-driven docs; keep them in sync with code.
Domain Context
- OpenAPI/Swagger: Standard format for REST APIs
- Schema-Driven: Docs generated from schema; always in sync
- Examples: Include request/response examples for every endpoint
- Interactive: Tools like Swagger UI let clients try the API
- Clarity: Document error cases, rate limits, auth requirements
Instructions
- Write OpenAPI Spec: Define paths, parameters, responses
- Include Examples: Show request/response for common cases
- Document Errors: What 4xx/5xx responses are possible?
- Explain Auth: How do clients authenticate? Token format?
- Rate Limits: What are the limits? How to handle 429?
- Generate Docs: Use tools to create HTML docs
- Test Docs: Verify examples actually work
Anti-Patterns
- Handwritten docs that drift from code; automated is better
- No examples; "see code" isn't helpful for API users
- Incomplete error documentation; clients don't know how to handle failures
- Not documenting required auth; clients struggle in production
- Not versioning docs; old clients can't find docs for their version
Further Reading
- OpenAPI specification
- Swagger/OpenAPI tools (SwaggerUI, Redoc)
- API documentation best practices
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл api-documentation?
OpenAPI/Swagger, schema-driven documentation, examples, and interactive API docs.
Как установить скилл api-documentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл api-documentation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…