Command Palette

Search for a command to run...

Back to skills
skill № 06951

documentation

Create clear and comprehensive documentation including README, API docs, code comments, and changelogs. Use this skill when writing or improving project…

FreeNo executable scripts
Sir-chawakornby 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
Sign up freeI already have an account

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

  1. Write for newcomers - อย่าสมมติว่าคนอ่านรู้ทุกอย่าง
  2. Include examples - ตัวอย่างดีกว่าคำอธิบาย
  3. Keep updated - Docs ต้อง sync กับ code
  4. 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

Compare documentation with