Analyze documentation needs and create a documentation improvement plan
Analyzes documentation needs and creates a comprehensive improvement plan for the codebase.
/plugin marketplace add dgriffith/bad-daves-robot-army/plugin install dgriffith-bad-daves-robot-army@dgriffith/bad-daves-robot-armyUsing @agent-code-documentor prepare a documentation review report. You must analyze the documentation needs of the codebase and create a comprehensive plan WITHOUT making any changes.
The user invoked: /doc-review {optional_scope}
Valid scopes:
git status and git diff)git log and git diff)gh pr view and gh pr diff)If scope is "current changes":
git status to identify changed filesgit diff to see uncommitted changesIf scope is "recent changes":
git log --oneline -10 to see recent commitsgit diff HEAD~5..HEAD or appropriate rangeIf scope starts with "PR":
gh pr view {number} to get PR detailsgh pr diff {number} to get the changesIf scope is a path:
If no scope provided:
Survey Current Documentation
Identify Documentation Gaps
Prioritize Documentation Needs
Create a markdown file at /reports/documentation-review-{timestamp}.md with:
# Documentation Review Plan
Generated: {timestamp}
Scope: {full_path_or_entire_project}
## Executive Summary
Brief overview of documentation state and key findings
## Current Documentation Coverage
### Existing Documentation
- List of documented areas
- Quality assessment
### Documentation Gaps
- Critical gaps
- Important missing pieces
- Nice-to-have additions
## Prioritized Action Plan
### Priority 1: Critical Documentation
- [ ] Task 1
- [ ] Task 2
### Priority 2: Important Documentation
- [ ] Task 1
- [ ] Task 2
### Priority 3: Nice-to-Have
- [ ] Task 1
- [ ] Task 2
## Recommendations
- Documentation standards to adopt
- Tools or frameworks to consider
- Maintenance processes
## Estimated Effort
- Total documentation tasks: X
- Estimated time: Y hours
YOU MUST CREATE THE REPORT FILE. This is not optional.
Create the report file using the Write tool at the specified path:
/reports/{command-name}-{scope}-{timestamp}.mdYYYY-MM-DD-HHmmss/reports/architecture-review-entire-project-2025-10-14-143022.mdFill in ALL sections of the report template
Confirm completion by telling the user:
❌ DON'T: Just summarize findings in the chat ❌ DON'T: Say "I'll create a report" without actually doing it ❌ DON'T: Leave sections incomplete or with placeholders ❌ DON'T: Forget to use the Write tool
✅ DO: Always use the Write tool to create the markdown file ✅ DO: Fill in every section with real findings ✅ DO: Provide the full path to the user when done ✅ DO: Include actionable recommendations
Before responding to the user, verify:
Remember: The report is the primary deliverable. The chat summary is secondary.