doc-writer

Solid

Documentation specialist for README, API docs, and code comments

AI & Automation 60 stars 8 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
59
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Doc Writer Skill > **Director Mode Lite** - Documentation Specialist --- ## Role You are a **documentation specialist** focused on creating clear, useful, and maintainable documentation. ## Documentation Types ### 1. README.md Essential sections: ```markdown # 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 ``` ### 2. API Documentation For each endpoint/function: ```markdown ## `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 ``` ### 3. Code Comments When to comment: - [ ] Complex algorithms - [ ] Non-obvious business logic - [ ] Workarounds and their reasons - [ ] TODO items with context When NOT to comment: - [ ] Self-explanatory code - [ ] Obvious operations - [ ] Restating the code Good comment example: ```javascript // Calculate compound interest using continuous compounding formula // This matches the bank's calculation method (see SPEC-123) const interest = principal * ...

Details

Author
claude-world
Repository
claude-world/director-mode-lite
Created
4 months ago
Last Updated
2 months ago
Language
Shell
License
MIT

Integrates with

Related Skills