Workflow Guide¶
Learn how to integrate reviewtask into your daily development workflow for maximum productivity and systematic PR review management.
Core Workflow Philosophy¶
reviewtask is designed around three core principles:
- Zero Feedback Loss: Every actionable review comment becomes a tracked task
- State Preservation: Your work progress is never lost during tool operations
- AI-Assisted, Human-Controlled: AI provides intelligent analysis while you maintain full control
Daily Development Routine¶
Morning Startup¶
Start your day by understanding what needs attention:
What you'll see: - Current or next recommended task with full context - Progress overview across all your active PRs - Priority distribution and completion status
During Implementation¶
As you work on tasks, maintain visibility and track progress:
# Get full context for a specific task
reviewtask show <task-id>
# Mark task as in progress
reviewtask update <task-id> doing
# Complete the work...
# Mark task as done
reviewtask update <task-id> done
# Find next task
reviewtask show
When Blocked¶
Handle blocked or low-priority work systematically:
# Mark task as blocked/pending
reviewtask update <task-id> pending
# Find next available task
reviewtask show
# Check overall progress
reviewtask status
Handling Updated Reviews¶
When reviewers add new comments or feedback:
# Re-run analysis to get new feedback
reviewtask
# Tool automatically:
# - Preserves existing task statuses
# - Adds new tasks for new comments
# - Cancels outdated tasks if comments change significantly
PR Review Response Workflow¶
The Golden Path¶
This is the recommended workflow for handling PR reviews:
1. Receive Review Notification¶
- PR receives reviews with comments and feedback
- Developer needs to address feedback systematically
2. Generate Actionable Tasks¶
3. Review What Needs to be Done¶
4. Work on Tasks Systematically¶
# Start working on a task
reviewtask update <task-id> doing
# Complete implementation
reviewtask update <task-id> done
5. Handle Updated Reviews¶
# Re-run when reviewers add new comments
reviewtask
# Tool automatically preserves your work progress
Task Lifecycle Management¶
Task Statuses¶
Understanding and using task statuses effectively:
todo
- Ready to work on (default for new tasks)doing
- Currently in progress (use for active work)done
- Completed (work finished)pending
- Blocked or low priority (use for blockers or nits)cancel
- No longer relevant (auto-assigned when comments change)
Status Transitions¶
Typical task status flow:
todo → doing → done (normal completion)
todo → pending (blocked or low priority)
pending → doing → done (unblocked and completed)
any → cancel (comment becomes outdated)
Best Practices¶
- Use
doing
status: Mark tasks as in progress to track active work - Don't skip statuses: Move tasks through appropriate states
- Mark blockers as
pending
: Use pending for blocked or low-priority work - Let tool handle
cancel
: Don't manually cancel tasks; let the tool detect changes
Team Collaboration Rules¶
For PR Authors¶
When you receive reviews:
1. Run reviewtask
immediately after receiving reviews
2. Update task statuses as you complete work
3. Never manually edit .pr-review/
files
4. Use task completion as readiness indicator
Daily practice:
# Morning: Check what needs attention
reviewtask status
# During work: Track progress
reviewtask update <task-id> doing
# ... work ...
reviewtask update <task-id> done
# When stuck: Mark as pending and find next task
reviewtask update <task-id> pending
reviewtask show
For Reviewers¶
Writing effective reviews: 1. Write actionable, specific feedback 2. Use clear priority indicators (security issues, nits, etc.) 3. Trust that feedback will be systematically addressed 4. Follow up reviews add incremental tasks automatically
Review workflow: - Initial review creates comprehensive task list - Follow-up reviews add only new/changed feedback - Completed tasks remain completed across review iterations
For Teams¶
Integration points:
1. Integrate task status into standup discussions
2. Use task completion as PR readiness indicator
3. Treat persistent pending
tasks as team blockers
4. Share configuration patterns across team repositories
Advanced Workflow Patterns¶
Multi-PR Management¶
Working across multiple PRs simultaneously:
# Check all PRs
reviewtask status --all
# Work on specific PR
cd /path/to/pr-branch
reviewtask show
# Switch between PRs
reviewtask status --pr 123
reviewtask status --pr 456
Priority-Based Workflow¶
Focus on high-impact work first:
# Review task priorities
reviewtask stats
# Configure priority rules in .pr-review/config.json
# Work on critical/high priority tasks first
# Leave low-priority tasks for later or mark as pending
Batch Processing¶
Handle multiple tasks efficiently:
# Get overview of all tasks
reviewtask status
# Process similar tasks together
# Use task descriptions to group related work
# Update multiple task statuses as you complete batches
Debugging and Troubleshooting Workflow¶
When Things Go Wrong¶
Missing tasks:
Authentication issues:
# Check authentication status
reviewtask auth status
reviewtask auth check
# Re-authenticate if needed
reviewtask auth logout
reviewtask auth login
Task generation problems:
# Test specific phases independently
reviewtask debug fetch review 123 # Fetch reviews only
reviewtask debug fetch task 123 # Generate tasks only
# Enable verbose mode in .pr-review/config.json
{
"ai_settings": {
"verbose_mode": true
}
}
Performance Issues¶
Large PRs: - Tool automatically optimizes for large PRs - Uses parallel processing and automatic chunking - Enable verbose mode to see optimization details
API rate limits:
# Check rate limit status
reviewtask auth check
# Use cache to reduce API calls
# Avoid --refresh-cache unless necessary
Integration with Development Tools¶
Git Integration¶
reviewtask works seamlessly with Git workflows:
# Standard Git workflow
git checkout feature-branch
# ... receive PR reviews ...
reviewtask # Generate tasks
reviewtask show # Work on tasks
# ... make changes ...
git add .
git commit -m "Address PR feedback"
git push
IDE Integration¶
Task context in your editor:
- Use reviewtask show <task-id>
to get full task context
- Copy task descriptions into commit messages
- Reference task IDs in commit messages for traceability
CI/CD Integration¶
Automated checks:
# In CI pipeline, check for pending tasks
reviewtask status --pr $PR_NUMBER
# Fail build if critical tasks remain incomplete
Configuration for Different Workflows¶
Individual Developer¶
{
"task_settings": {
"default_status": "todo",
"low_priority_status": "pending"
},
"ai_settings": {
"verbose_mode": false,
"validation_enabled": false
}
}
Team Development¶
{
"priority_rules": {
"critical": "Security, breaking changes, production issues",
"high": "Performance, functionality, API changes",
"medium": "Bugs, improvements, error handling",
"low": "Style, documentation, minor suggestions"
},
"task_settings": {
"auto_prioritize": true,
"low_priority_patterns": ["nit:", "style:", "suggestion:"]
}
}
High-Quality Projects¶
{
"ai_settings": {
"validation_enabled": true,
"quality_threshold": 0.9,
"deduplication_enabled": true,
"max_retries": 5
}
}
Measuring Success¶
Key Metrics¶
Track these indicators of successful reviewtask adoption:
- Task Completion Rate: Percentage of tasks marked as done
- Review Cycle Time: Time from review to PR approval
- Feedback Loss: Number of review comments not addressed
- Developer Satisfaction: Subjective measure of workflow improvement
Monitoring Commands¶
# Overall progress
reviewtask status --all
# Detailed analytics
reviewtask stats --all
# Individual PR analysis
reviewtask stats --pr 123
Getting Help¶
Self-Service Debugging¶
- Enable verbose mode: Add detailed logging to understand tool behavior
- Use debug commands: Test specific functionality independently
- Check configuration: Verify settings match your workflow needs
- Review documentation: Check command reference and troubleshooting guides
Community Support¶
- GitHub Issues: Report bugs and request features
- Documentation: Comprehensive guides and examples
- Examples: Real-world configuration patterns and workflows
For detailed troubleshooting steps, see the Troubleshooting Guide.
For specific command usage, see the Command Reference.