Fix issues/tests and update an existing pull request
Fixes failing CI checks and review feedback on existing pull requests, then pushes updates.
/plugin marketplace add duyet/claude-plugins/plugin install fix@duyet-claude-pluginsFix failing CI checks, tests, or requested changes on an existing pull request, commit the fixes, and push to update the PR.
/fix:and-update-pr
/fix:and-update-pr 123
<optional: specific issue to address>
# Current branch
!`git branch --show-current`
# PR information (if PR number provided as $ARGUMENTS)
!`gh pr view $ARGUMENTS --json number,title,url,state,statusCheckRollup,headRefName,baseRefName 2>/dev/null || echo "No PR number provided"`
# Or find PR for current branch
!`gh pr view --json number,title,url,state,statusCheckRollup 2>/dev/null || echo "No PR found for current branch"`
gh pr checks [PR_NUMBER]
gh pr view [PR_NUMBER] --comments
gh run list --branch [BRANCH] --limit 5 --json databaseId,name,conclusion
gh run view [RUN_ID] --log-failed
Simple issues (1-2 files):
Complex issues (3+ files):
Main Agent (Coordinator)
├── Senior Agent 1: Backend fixes
├── Senior Agent 2: Frontend fixes
├── Senior Agent 3: Test fixes
└── Main Agent: Integration & commit
fix(pr): address CI failures and review feedback
- Fix failing test in auth.spec.ts
- Address review comment on error handling
- Resolve ESLint warnings
Co-Authored-By: duyetbot <duyetbot@users.noreply.github.com>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PR #[NUMBER]: [TITLE]
Branch: [HEAD] → [BASE]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Issues Found:
❌ CI: ESLint - 3 errors
❌ CI: Unit Tests - 2 failures
📝 Review: 1 requested change
Fixes Applied:
✅ Fixed ESLint errors in src/utils.ts
✅ Fixed test assertions in auth.spec.ts
✅ Addressed review feedback on error handling
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Changes pushed to PR #[NUMBER]
Waiting for CI to complete...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
gh) authenticated/pr-manager for merge)