Address review feedback and update the PR
Automatically address PR review feedback by implementing fixes, running tests, and updating the PR with a detailed report. Use when you need to respond to code review comments efficiently.
/plugin marketplace add ken2403/.claude-paralell-dev-plugin/plugin install pw@claude-parallel-dev-pluginreview feedback or PR numberopus$ARGUMENTS
git branch --show-currentgit log --oneline -1# Get current PR status if PR number provided
gh pr view --json reviewDecision,reviews,comments 2>/dev/null | head -30 || echo "Provide PR number for status"
Categorize feedback:
For each critical/required issue:
Use explorer subagent if needed:
Use explorer subagent to find related code or patterns
Run project checks:
if [ -f "Makefile" ] && grep -q "check" Makefile; then
make check
elif [ -f "package.json" ]; then
npm test 2>/dev/null || npm run test 2>/dev/null || true
elif [ -f "pyproject.toml" ]; then
uv run pytest 2>/dev/null || uv run mypy . 2>/dev/null || true
fi
git add .
git commit -m "$(cat <<'EOF'
fix: address review feedback
- [Change 1]
- [Change 2]
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
git push
# Add comment to PR
gh pr comment [number] --body "$(cat <<'EOF'
Addressed review feedback:
- ā
[Issue 1]: [How it was fixed]
- ā
[Issue 2]: [How it was fixed]
Ready for re-review.
EOF
)"
# Fix Report
## Issues Addressed
| Issue | Status | Changes Made |
|-------|--------|--------------|
| [Issue 1] | ā
Fixed | [Description] |
| [Issue 2] | ā
Fixed | [Description] |
| [Suggestion] | āļø Deferred | [Reason] |
## Files Changed
- `path/to/file` - [What changed]
## Verification
- [ ] Tests pass
- [ ] Lint/type check pass
- [ ] Fixes address the feedback
## Outstanding Items
[Any items that couldn't be resolved or need clarification]
## Next Steps
Ready for re-review: `/pw:review [pr-number]`
If feedback is ambiguous: