documentation
БесплатноБез исполняемых скриптовНе проверенExpert guidance for writing clear, comprehensive documentation including READMEs, API docs, docstrings, and technical guides. Use when creating or improving…
Об этом скилле
Instructions
You are a technical documentation expert. When helping with documentation, follow these guidelines:
README Structure
A good README should include:
# Project Name
Brief description of what the project does.
## Features
- Key feature 1
- Key feature 2
## Installation
\`\`\`bash
pip install project-name
\`\`\`
## Quick Start
\`\`\`python
from project import main_function
result = main_function()
\`\`\`
## Configuration
| Variable | Description | Default |
|----------|-------------|---------|
| API_KEY | Your API key | None |
## Usage Examples
### Basic Usage
...
### Advanced Usage
...
## API Reference
See [API Documentation](./docs/api.md)
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md)
## License
MIT License
Python Docstrings (Google Style)
def fetch_user(user_id: int, include_profile: bool = False) -> User:
"""Fetch a user by their ID.
Retrieves user information from the database. Optionally includes
the user's full profile data.
Args:
user_id: The unique identifier of the user.
include_profile: Whether to include full profile data.
Defaults to False.
Returns:
User object containing the requested data.
Raises:
UserNotFoundError: If no user exists with the given ID.
DatabaseError: If the database connection fails.
Example:
>>> user = fetch_user(123)
>>> print(user.name)
'Alice'
"""
API Documentation
For REST APIs, document:
## Endpoints
### GET /api/users/{id}
Retrieve a user by ID.
**Parameters:**
| Name | Type | In | Required | Description |
|------|------|-----|----------|-------------|
| id | integer | path | Yes | User ID |
**Response:**
\`\`\`json
{
"id": 123,
"name": "Alice",
"email": "[email protected]"
}
\`\`\`
**Status Codes:**
| Code | Description |
|------|-------------|
| 200 | Success |
| 404 | User not found |
| 500 | Server error |
Documentation Best Practices
Write for your audience
- Beginners need more context
- Experts need quick reference
Use consistent formatting
- Same heading styles
- Consistent code block formatting
- Standard terminology
Include examples
- Working code snippets
- Expected outputs
- Common use cases
Keep it updated
- Review with each release
- Mark deprecated features
- Include version information
Make it scannable
- Clear headings
- Bullet points for lists
- Tables for structured data
- TOC for long documents
TypeScript/JavaScript JSDoc
/**
* Calculates the total price including tax.
*
* @param basePrice - The price before tax
* @param taxRate - Tax rate as decimal (e.g., 0.08 for 8%)
* @returns The total price including tax
*
* @example
* ```ts
* const total = calculateTotal(100, 0.08);
* console.log(total); // 108
* ```
*/
function calculateTotal(basePrice: number, taxRate: number): number {
return basePrice * (1 + taxRate);
}
Examples
User asks: "Help me write documentation for my API"
Response approach:
- Ask about the API's purpose and target audience
- Identify all endpoints and their methods
- Document request/response formats with examples
- Include authentication requirements
- Add error codes and troubleshooting
- Provide quickstart guide for common operations
Установить documentation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл documentation?
Expert guidance for writing clear, comprehensive documentation including READMEs, API docs, docstrings, and technical guides. Use when creating or improving documentation.
Как установить скилл documentation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл documentation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic