reference-documentation
БесплатноБез исполняемых скриптовНе проверенCreate exhaustive technical references, API documentation, and searchable reference materials. Use when building API docs, configuration references, or…
от NickCrew★ 76 звёзд на GitHubОб этом скилле
Reference Documentation
Create exhaustive, searchable, and precisely organized technical reference documentation that serves as the definitive source of truth for APIs, configurations, and system interfaces.
When to Use This Skill
- Building API reference documentation (REST, GraphQL, gRPC)
- Creating configuration guides with every parameter documented
- Writing schema documentation for databases or data models
- Producing CLI reference with all commands, flags, and examples
- Generating complete technical specifications
- Documenting error codes, status codes, and exception catalogs
- Creating migration guides for version upgrades
Quick Reference
| Resource | Purpose | Load when |
|---|---|---|
references/documentation-patterns.md |
API doc structure, glossary patterns, cross-referencing, versioned docs, parameter tables, configuration guides | Structuring any reference document |
Workflow Overview
Phase 1: Inventory → Catalog all public interfaces, parameters, and constraints
Phase 2: Author → Draft structured entries with examples and cross-links
Phase 3: Verify → Validate against implementation and tests
Phase 4: Organize → Structure for optimal retrieval and searchability
Phase 5: Maintain → Version tracking, deprecation, and update cadence
Phase 1: Inventory
Enumerate everything that needs documentation before writing anything.
Inventory Checklist
- All public API endpoints / methods / functions
- All configuration parameters and their defaults
- All error codes and exception types
- All environment variables
- All CLI commands and flags
- All schema fields and constraints
- All event types and payloads
- Deprecation timeline for removed features
Source of Truth Priority
- Implementation code (actual behavior)
- Tests (expected behavior with assertions)
- Type definitions / schemas (declared contracts)
- Existing documentation (may be stale — verify)
Phase 2: Author
Entry Format
Every documented item uses a consistent structure:
### methodName
**Type**: `(param1: string, param2?: number) => Promise<Result>`
**Since**: v2.1.0
**Deprecated**: No
**Description**:
Brief explanation of purpose and behavior.
**Parameters**:
| Name | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `param1` | `string` | Yes | — | What this parameter controls |
| `param2` | `number` | No | `10` | What this parameter controls |
**Returns**: `Promise<Result>` — description of return value
**Throws**:
- `ValidationError` — when param1 is empty
- `TimeoutError` — when operation exceeds 30s
**Examples**:
Basic usage:
\`\`\`typescript
const result = await methodName("value");
\`\`\`
With options:
\`\`\`typescript
const result = await methodName("value", 20);
\`\`\`
**See Also**: [relatedMethod](#relatedmethod), [Configuration Guide](#configuration)
Writing Rules
- Document behavior, not implementation — what it does, not how
- Every parameter gets a row — no exceptions, even obvious ones
- Every entry gets an example — at least one working code sample
- State constraints explicitly — valid ranges, length limits, format requirements
- Cross-reference related items — link to related methods, configs, and error codes
Phase 3: Verify
Verification Methods
| What to verify | How |
|---|---|
| Method signatures | Compare against source code type definitions |
| Default values | Check source code initializers |
| Error conditions | Read implementation and test assertions |
| Examples | Run them or trace them against the code |
| Deprecated items | Check for deprecation markers in source |
Accuracy Checklist
- All signatures match current implementation
- All default values are correct
- All error conditions are documented
- All examples work against current version
- No removed features are still documented
- No new features are undocumented
Phase 4: Organize
Document Hierarchy
1. Overview — What this API/system does, quick orientation
2. Quick Reference — Cheat sheet of common operations with examples
3. Authentication — How to authenticate (if applicable)
4. Detailed Reference — Complete documentation, grouped logically
5. Error Reference — All error codes with causes and fixes
6. Glossary — Terms specific to this system
7. Changelog — What changed in each version
Navigation Aids
- Table of contents with deep linking at the top
- Alphabetical index for large reference sets
- Category grouping for logical discovery
- Search keywords embedded in headings and descriptions
- Version badges on entries added or changed in recent versions
Phase 5: Maintain
Versioning Strategy
- Tag every entry with the version it was introduced (`Since
Установить reference-documentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл reference-documentation?
Create exhaustive technical references, API documentation, and searchable reference materials. Use when building API docs, configuration references, or complete technical specifications.
Как установить скилл reference-documentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reference-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