Efficiently handle Pull Request review comments and achieve root cause resolution using a 3-stage error analysis approach.
Systematically analyze and resolve PR review comments using a 3-stage error analysis approach. Use this when handling complex feedback to identify root causes, prioritize fixes by severity (must/imo/nits/q), and implement solutions with proper verification.
/plugin marketplace add wasabeef/claude-code-cookbook/plugin install cook-en@claude-code-cookbookEfficiently handle Pull Request review comments and achieve root cause resolution using a 3-stage error analysis approach.
# Retrieve and analyze review comments
gh pr view --comments
"Classify review comments by priority and create an action plan"
# Detailed analysis of error-related comments
gh pr checks
"Analyze CI errors using a 3-stage approach to identify root causes"
# Quality confirmation after fixes
npm test && npm run lint
"Fixes are complete - please check regression tests and code quality"
# Classify comments
gh pr view 123 --comments | head -20
"Classify review comments into must/imo/nits/q categories and determine response order"
# Collect error information
npm run build 2>&1 | tee error.log
"Identify the root cause of build errors and suggest appropriate fixes"
# Verify fix implementation
git diff HEAD~1
"Evaluate whether this fix appropriately addresses the review comments"
🔴 must: Required fixes
├─ Security issues
├─ Functional bugs
├─ Design principle violations
└─ Convention violations
🟡 imo: Improvement suggestions
├─ Better implementation methods
├─ Performance improvements
├─ Readability enhancements
└─ Refactoring proposals
🟢 nits: Minor points
├─ Typo fixes
├─ Indentation adjustments
├─ Comment additions
└─ Naming refinements
🔵 q: Questions/confirmations
├─ Implementation intent verification
├─ Specification clarification
├─ Design decision background
└─ Alternative solution consideration
Required actions
Recommended actions
# Basic checks
npm test
npm run lint
npm run build
# Regression tests
npm run test:e2e
# Code quality
npm run test:coverage
Fix completion report
@reviewer Thank you for your feedback.
Fixes are complete:
- [Specific fix details]
- [Test results]
- [Verification method]
Technical decision explanation
Implementation background: [Reason]
Considered alternatives: [Options and decision rationale]
Adopted solution benefits: [Advantages]
/pr-feedbackResponde eficientemente aos comentários de review de Pull Request e busca resolução fundamental através da abordagem de 3 etapas para análise de erros.