From documentation-tools
Create information-oriented documentation for lookup and reference. PROACTIVELY activate for: (1) API documentation, (2) configuration reference, (3) glossaries and terminology, (4) technical specifications, (5) parameter documentation. Triggers: "write reference", "create reference docs", "API documentation", "config reference", "document parameters", "glossary", "specification"
How this skill is triggered — by the user, by Claude, or both
Slash command
/documentation-tools:write-referenceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate information-oriented documentation optimized for quick lookup and accuracy.
Generate information-oriented documentation optimized for quick lookup and accuracy.
Use this skill when you need documentation that:
Invoke the create-documentation skill for: "$ARGUMENTS"
| Parameter | Value | Rationale |
|---|---|---|
doc_type | reference | Information-oriented, lookup-focused |
persona | developer | Technical reader seeking specific answers |
reading_level | professional | Technical accuracy over accessibility |
include_examples | true | Examples clarify usage |
validation_depth | comprehensive | Reference docs must be accurate |
API Endpoint Pattern:
### `POST /api/v1/resource`
Create a new resource.
**Request Body:**
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| name | string | Yes | Resource name (max 255 chars) |
| config | object | No | Configuration options |
**Response:**
| Status | Description |
|--------|-------------|
| 201 | Created successfully |
| 400 | Validation error |
| 401 | Unauthorized |
**Example:**
\`\`\`bash
curl -X POST /api/v1/resource \
-H "Authorization: Bearer $TOKEN" \
-d '{"name": "example"}'
\`\`\`
Configuration Parameter Pattern:
### `max_connections`
Maximum number of simultaneous connections.
| Property | Value |
|----------|-------|
| Type | integer |
| Default | 100 |
| Range | 1-10000 |
| Environment | `APP_MAX_CONNECTIONS` |
**Behavior:**
- Values below 10 may cause timeouts under load
- Values above 1000 require tuning OS limits
**Example:**
\`\`\`yaml
database:
max_connections: 500
\`\`\`
Glossary Entry Pattern:
### Term Name
**Definition:** One-sentence definition.
**Context:** Where/when this term is used.
**Related:** [Link to related terms]
**Example:** Usage in a sentence.
The generated reference should follow this structure:
# [System/API/Configuration] Reference
> Version: [version] | Last updated: [date]
## Overview
[Brief context - what this documents and when to use it]
## Quick Reference
[Table or list of all items for scanning]
## Detailed Reference
### [Category 1]
#### `item_name`
[Consistent documentation following pattern]
### [Category 2]
#### `item_name`
[Same pattern repeated]
## Common Patterns
[Frequently used combinations or configurations]
## Troubleshooting
| Symptom | Cause | Solution |
|---------|-------|----------|
## Changelog
| Version | Changes |
|---------|---------|
| Need | Doc Type | Skill |
|---|---|---|
| Teach a concept | Tutorial | /write-tutorial |
| Help accomplish task | How-To | /write-howto |
| Explain why/how | Explanation | (use create-documentation directly) |
| Look up information | Reference | /write-reference |
After creating reference documentation, consider:
/write-tutorial for onboarding new users/write-howto for common tasks/optimize-prompt if documenting AI/prompting featuresnpx claudepluginhub agentient/vibekit --plugin documentation-toolsCreates exhaustive technical references and API documentation with parameter listings, configuration guides, and searchable reference materials.
Provides templates and patterns for API and symbol reference docs using scannable tables for parameters/returns, runnable examples, and consistent structure. Triggers on reference docs, API reference, parameters table.
Drafts READMEs, API docs, tutorials, release notes, and reviews technical docs for clarity and structure. Activates on docs/ .md files and READMEs.