| name | resolve-pr-comments |
|---|---|
| description | Address code review comments on a PR to make it merge-ready. Evaluates suggestions critically. |
| disable-model-invocation | true |
| argument-hint | [PR number] |
Provide the PR link or number.
gh api repos/{owner}/{repo}/pulls/{number}/commentsFocus on unresolved threads.
AI reviewers can be wrong. Before implementing any suggestion:
- Verify the claim — does the code actually have the issue?
- Question severity labels — "critical"/"major" are often overstated
- Check if current code works — suggestion may be based on misunderstanding
- Ask the user if a suggestion seems questionable or requires significant changes
Implement fixes for valid comments. Skip invalid suggestions — no need to explain to an AI reviewer.
Run the project's check/lint command.
git add <specific-files>
git commit -m "fix: address review comments"
git push- All valid review threads addressed
- All checks pass
- PR ready to merge