Fetch all unresolved comments from current PR and fix them automatically
Automatically resolves all unresolved PR review comments by analyzing and fixing code issues.
/plugin marketplace add leobrival/topographic-plugins-official/plugin install dev@topographic-plugins-officialAutomatically resolve all unresolved PR review comments.
Check authentication
gh auth status
If not authenticated, stop and ask user to run gh auth login.
Detect current PR
gh pr view --json number,title,url
If no PR found, stop and inform user.
Fetch unresolved comments
gh pr view --comments | grep -A 5 "UNRESOLVED"
Extract:
Plan fixes
Apply fixes systematically
Commit and push
git add .
git commit -m "fix: resolve PR review comments"
git push
Summary report
Fixed 5 PR comments:
- src/utils/api.ts:45 - Added error handling
- src/components/User.tsx:112 - Fixed prop types
- tests/auth.test.ts:23 - Updated test assertion
- src/services/payment.ts:67 - Added validation
- README.md:15 - Fixed typo
Pushed to branch: feature/user-auth
PR: https://github.com/user/repo/pull/123
# Basic usage (auto-detects current PR)
/fix-pr-comments
# After receiving review comments
/fix-pr-comments
/fix-pr-commentsFetch PR review comments and implement all requested changes