Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fetches unresolved GitHub PR review comments, validates each with sub-agents, and fixes legitimate issues in place.
Use this skill ↓41% 64%+23 ptsof test cases passed
Passed 14 of 22 test cases with the skill, and 9 of 22 without it.
Which GraphQL mutation name must be executed to mark a fixed PR thread as closed/resolved on GitHub?
Uses the resolveReviewThread GraphQL mutation
3 of 3 safety checks passed
Review unresolved comments on the GitHub pull request associated with the current branch. Validate each comment, then fix legitimate issues.
$ARGUMENTS contains a PR number, use it.gh pr view --json number,url,headRefName,baseRefName
Fetch PR review comments (not issue-level comments) using the GitHub CLI:
gh api repos/{owner}/{repo}/pulls/{number}/comments --paginate
Filter to comments where the thread is not resolved. Group comments by thread (same in_reply_to_id or same path + line/original_line). For each thread, treat the first comment as the review request and subsequent comments as discussion.
Also fetch general PR comments (issue-level):
gh api repos/{owner}/{repo}/issues/{number}/comments --paginate
If there are zero unresolved comments, report that and stop.
For each unresolved comment or comment thread, spawn a sub-agent in parallel. Use model: "sonnet" for cost efficiency. Each agent validates the comment and, if legitimate, fixes it immediately in place.
Conflict avoidance: If multiple comments target the same file, run those agents sequentially (not in parallel) to avoid edit conflicts. Comments on different files run in parallel.
You are a code review comment validator and fixer. Your job is to determine whether a PR review comment identifies a real issue, and if so, fix it immediately.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.