documentation
Create clear and comprehensive documentation including README, API docs, code comments, and changelogs. Use this skill when writing or improving project…
by Sir-chawakorn★ 32 GitHub stars
Install documentation in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
📝 Documentation Skill
README Template
# Project Name
Brief description of what this project does.
## Features
- Feature 1
- Feature 2
## Installation
\`\`\`bash
npm install
\`\`\`
## Usage
\`\`\`javascript
// Example code
\`\`\`
## Configuration
| Variable | Description | Default |
|----------|-------------|---------|
| PORT | Server port | 3000 |
## License
MIT
API Documentation Format
### Endpoint Name
**POST** `/api/endpoint`
**Description:** What this endpoint does
**Headers:**
| Name | Required | Description |
|------|----------|-------------|
| Authorization | Yes | Bearer token |
**Request Body:**
\`\`\`json
{
"field": "value"
}
\`\`\`
**Response:**
\`\`\`json
{
"success": true,
"data": {}
}
\`\`\`
**Error Codes:**
| Code | Description |
|------|-------------|
| 400 | Bad Request |
| 401 | Unauthorized |
Code Comments (JSDoc)
/**
* Calculates the total price with tax
* @param {number} price - Base price
* @param {number} taxRate - Tax rate (0-1)
* @returns {number} Total price with tax
* @example
* calculateTotal(100, 0.07) // returns 107
*/
function calculateTotal(price, taxRate) {
return price * (1 + taxRate);
}
Changelog Format
## [1.2.0] - 2026-01-14
### Added
- New feature X
### Changed
- Updated behavior of Y
### Fixed
- Bug in Z
### Removed
- Deprecated function W
Best Practices
- Write for newcomers - อย่าสมมติว่าคนอ่านรู้ทุกอย่าง
- Include examples - ตัวอย่างดีกว่าคำอธิบาย
- Keep updated - Docs ต้อง sync กับ code
- Use diagrams - รูปภาพช่วยให้เข้าใจง่าย
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the documentation skill do?
Create clear and comprehensive documentation including README, API docs, code comments, and changelogs. Use this skill when writing or improving project documentation.
How do I install the documentation skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the documentation skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop 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…
internal-comms
AnthropicA 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…
skill-development
AnthropicThis 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…