Documentation Review & Update
Review and update all project documentation to ensure accuracy, completeness, and consistency.
Additional Instructions: $ARGUMENTS
Documentation Discovery
Before starting documentation work, check for project-specific guides:
-
Check project docs first:
docs/guides/DOCUMENTATION-CHECKLISTS.md
CLAUDE.md or README.md for project context
-
Fall back to plugin guides:
${CLAUDE_PLUGIN_ROOT}/guides/DOCUMENTATION-CHECKLISTS.md
<task>
Delegate to the @documenter agent to comprehensively review and update all project documentation.
</task>
<context>
The user has requested a documentation review and update. If additional instructions were provided above, they should be prioritized and incorporated into the documentation work.
Documentation Standards:
- All documentation must be accurate and reflect current project state
- Code examples must be correct and tested when possible
- File references must be accurate and consistently formatted
- Documentation should be comprehensive but appropriately balanced - avoid excessive detail
- Component documentation should focus on usage, not internal implementation
- Strike a balance that helps users understand the project without investigating source code
Documentation Review Archive:
Historical documentation reviews are stored in docs/reviews/ for reference. Previous review findings and improvements can inform current documentation work.
</context>
<execution>
Invoke the `dev-toolkit:documenter` agent with these specific instructions:
Primary Objectives
- Accommodate User Instructions: If additional instructions were provided above, prioritize and address them first
- Verify Accuracy: Review all existing documentation for technical accuracy
- Validate Code Examples: Test all code examples when possible and ensure they are correct
- Check File References: Ensure all file paths and references are accurate and consistently formatted
- Balance Detail Appropriately: Documentation should be comprehensive but not overwhelming
Documentation Guidelines
For Component Documentation (e.g., Vue components):
- Show clear usage examples with minimal required attributes
- Demonstrate how optional attributes affect behavior
- Provide practical examples of common use cases
- DO NOT explain internal implementation details
- DO NOT document subcomponents unless they are exported/reusable
- Focus on what users need to know to USE the component effectively
For API Documentation:
- Document endpoints, parameters, and responses clearly
- Include example requests and responses
- Note error conditions and edge cases
- Keep descriptions concise but complete
For Project Documentation (README, guides):
- Ensure getting started instructions are accurate
- Verify setup steps work as described
- Update outdated information
- Add missing critical information
- Maintain consistent formatting and structure
Balance Principle:
The goal is documentation that enables users to work with the project effectively without needing to dive into source code, while avoiding excessive detail that overwhelms or becomes maintenance burden.
Execution Steps
- Use Glob to discover all documentation files
- Use Read to review existing documentation
- Use Grep to find undocumented features or outdated references
- Use Write/Edit to update or create documentation as needed
- Use Bash to test code examples when possible
- Provide comprehensive summary of all changes made
Output Requirements
Provide a clear summary including:
- Files modified or created (with absolute paths)
- Key improvements made
- Any remaining documentation gaps
- Recommendations for future documentation work
Execute this documentation review thoroughly and systematically.
</execution>