/doc-writer
Documentation templates and standards: README structure, API reference format, changelog (Keep a Changelog), and comment guidelines. Use when creating or updating documentation. Loaded automatically by the doc-writer agent.
$ npx -y skills add claude-world/director-mode-lite --skill doc-writer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/doc-writer
Context preview
The summary Claude sees to decide when to auto-load this skill.
Documentation templates and standards: README structure, API reference format, changelog (Keep a Changelog), and comment guidelines. Use when creating or updating documentation. Loaded automatically by the doc-writer agent.
SKILL.md
doc-writer.SKILL.mdname: doc-writer
description: "Documentation templates and standards: README structure, API reference format, changelog (Keep a Changelog), and comment guidelines. Use when creating or updating documentation. Loaded automatically by the doc-writer agent."
user-invocable: false
allowed-tools:
- Read
- Write
- Edit
- Grep
- Glob
Doc Writer Skill
> **Director Mode Lite** - Documentation Specialist
---
Documentation Types
1. README.md
Essential sections:
# Project Name
Brief description (1-2 sentences)
## Quick Start
\`\`\`bash
npm install # Installation
npm start # Run
\`\`\`
## Features
- Feature 1
## Documentation
- [Getting Started](docs/getting-started.md)
- [API Reference](docs/api.md)
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md)
## License
MIT
2. API Documentation
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 emptyFor REST endpoints, document the method and path, request headers/body, success and error responses, and a runnable `curl` example.
3. Code Comments
Comment complex algorithms, non-obvious business logic, workarounds (and why), and TODOs with context. Do NOT comment self-explanatory code or restate what the code already says.
// Calculate compound interest using continuous compounding formula
// This matches the bank's calculation method (see SPEC-123)
const interest = principal * Math.exp(rate * time);
4. CHANGELOG.md
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
5. Architecture Docs
Cover the system overview, component relationships, data flow, and design decisions with their rationale.
Documentation Standards
Style
- Use active voice; keep sentences concise
- Define acronyms on first use; use consistent terminology
- Write for scanning: H1 for the title, H2/H3 for sections, lists, and bold key terms
Code Examples
- Make examples complete and runnable; include expected output
- Show both basic and advanced usage; handle errors
Principles
- **Keep it current**: update docs in the same PR as the code change
- **Write for the reader**: assume minimal context, lead with the common case
- **Test your docs**: follow your own instructions; verify every example runs
Output Format
## Documentation Update
### Files Created/Updated
- `README.md` - Added Quick Start section
### Summary
[What documentation was added/changed and why]
Read more
name: doc-writer description: "Documentation templates and standards: README structure, API reference format, changelog (Keep a Changelog), and comment guidelines. Use when creating or updating documentation. Loaded automatically by the doc-writer agent." user-invocable: false allowed-tools: - Read - Write - Edit - Grep - Glob
Doc Writer Skill
> **Director Mode Lite** - Documentation Specialist
---
Documentation Types
1. README.md
Essential sections:
# Project Name Brief description (1-2 sentences) ## Quick Start \`\`\`bash npm install # Installation npm start # Run \`\`\` ## Features - Feature 1 ## Documentation - [Getting Started](docs/getting-started.md) - [API Reference](docs/api.md) ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md) ## License MIT
2. API Documentation
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 emptyFor REST endpoints, document the method and path, request headers/body, success and error responses, and a runnable `curl` example.
3. Code Comments
Comment complex algorithms, non-obvious business logic, workarounds (and why), and TODOs with context. Do NOT comment self-explanatory code or restate what the code already says.
// Calculate compound interest using continuous compounding formula // This matches the bank's calculation method (see SPEC-123) const interest = principal * Math.exp(rate * time);
4. CHANGELOG.md
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
5. Architecture Docs
Cover the system overview, component relationships, data flow, and design decisions with their rationale.
Documentation Standards
Style
- Use active voice; keep sentences concise
- Define acronyms on first use; use consistent terminology
- Write for scanning: H1 for the title, H2/H3 for sections, lists, and bold key terms
Code Examples
- Make examples complete and runnable; include expected output
- Show both basic and advanced usage; handle errors
Principles
- **Keep it current**: update docs in the same PR as the code change
- **Write for the reader**: assume minimal context, lead with the common case
- **Test your docs**: follow your own instructions; verify every example runs
Output Format
## Documentation Update ### Files Created/Updated - `README.md` - Added Quick Start section ### Summary [What documentation was added/changed and why]
Use Claude Code like a Director, not a Programmer. MIT toolkit with Auto-Loop, guided setup, 27 commands, 14 agents, and 32 skills.
Other skills on director-mode-lite.
- /changelog-observer
Track development session events in a daily markdown changelog, including file changes, test results, and key decisions.
Open skill - /agent-check
Validate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load.
Open skill - /agent-template
Generate custom agent from template. Use when creating a new subagent from scratch, or scaffolding an agent file with correct frontmatter.
Open skill - /agents
List all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents.
Open skill - /auto-loop
TDD-based autonomous development loop with checkpoint recovery and observability changelog
Open skill - /changelog
View and manage the runtime changelog for observability
Open skill

