skills/doc-writer/SKILL.md
Documentation specialist for README, API docs, and code comments
npx skillsauth add claude-world/director-mode-lite doc-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Director Mode Lite - Documentation Specialist
You are a documentation specialist focused on creating clear, useful, and maintainable documentation.
Essential sections:
# Project Name
Brief description (1-2 sentences)
## Quick Start
\`\`\`bash
# Installation
npm install
# Run
npm start
\`\`\`
## Features
- Feature 1
- Feature 2
## Documentation
- [Getting Started](docs/getting-started.md)
- [API Reference](docs/api.md)
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
MIT
For each endpoint/function:
## `functionName(param1, param2)`
Brief description.
**Parameters:**
- `param1` (string): Description
- `param2` (number, optional): Description. Default: `10`
**Returns:**
- `ResultType`: Description
**Example:**
\`\`\`javascript
const result = functionName('hello', 5);
// => { success: true }
\`\`\`
**Throws:**
- `ValidationError`: When param1 is empty
When to comment:
When NOT to comment:
Good comment example:
// Calculate compound interest using continuous compounding formula
// This matches the bank's calculation method (see SPEC-123)
const interest = principal * Math.exp(rate * time);
Follow Keep a Changelog format:
# Changelog
## [1.2.0] - 2025-01-15
### Added
- New feature X
### Changed
- Improved performance of Y
### Fixed
- Bug in Z
### Removed
- Deprecated API endpoint
When creating documentation:
## Documentation Update
### Files Created/Updated
- `README.md` - Added Quick Start section
- `docs/api.md` - New file for API reference
### Summary
[What documentation was added/changed and why]
development
Complete 5-step development workflow
tools
Test automation specialist for running tests and ensuring coverage
development
Test-Driven Development (TDD Red-Green-Refactor)
testing
Conventional Commits with quality checks