dev-pr-review-resolve

Resolves GitHub pull request review comments, applies fixes, and merges the PR.

Updated Jun 28, 2026
One-click install
npx skills add https://github.com/Cohey0727/CodingAgentTools --skill dev-pr-review-resolve-cohey0727
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dev-pr-review-resolve
Source: https://github.com/Cohey0727/CodingAgentTools/tree/main/skills/dev-pr-review-resolve
Command: npx skills add https://github.com/Cohey0727/CodingAgentTools --skill dev-pr-review-resolve-cohey0727

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reviewed pull requests often stall because addressing each review comment, replying to threads, resolving them, and merging is tedious manual work. This Skill automates the entire loop: it picks up PRs labeled reviewed, works through every review thread with a fix or a reasoned rebuttal, resolves all threads, and merges the PR. ## Core Features & Use Cases - Automated PR triage: Finds the oldest open PR labeled reviewed (without in-review), claims it with an in-review label to prevent duplicate work, and collects all review comments and inline threads via the GitHub CLI and GraphQL API. - Fix-or-rebuttal workflow: Checks out the PR in a git worktree, evaluates each comment against the actual code, commits fixes in conventional commit format, or replies with evidence-based rebuttals, then resolves each thread. - Guaranteed merge completion: Runs tests, verifies CI is green, confirms zero unresolved threads, merges with squash, cleans up labels, worktrees, and local branches, and reports the outcome. - Use Case: A reviewer has left eight inline comments on your team's PR. Invoke this Skill and it checks out the branch, fixes six valid comments with individual commits, rebuts two with references to the existing architecture, resolves all threads, waits for CI, and merges the PR. ## Quick Start Ask the agent to resolve the review comments and merge the reviewed PR, for example by saying "reviewedのPRを片付けて" or "clean up the reviewed PR and merge it".

Frequently Asked Questions about dev-pr-review-resolve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically resolve GitHub PR review comments?▼

Use the gh CLI and GraphQL API to list unresolved review threads, reply to each with a fix commit reference or rebuttal, then call the resolveReviewThread mutation per thread. This Skill automates that full loop and finishes by merging the PR.

How does this Skill decide which pull request to work on?▼

It selects the oldest open PR labeled reviewed that does not have the in-review label, or uses a PR number passed as an argument. It immediately adds the in-review label to prevent duplicate processing, and skips PRs already claimed.

What happens when a review comment is wrong or disagrees with the design?▼

The Skill posts a rebuttal comment with concrete evidence such as specifications, existing code patterns, or trade-off reasoning instead of changing the code. If no solid justification exists, it treats the comment as valid and applies the fix.

What happens if the merge is blocked by branch protection or failing CI?▼

The Skill keeps the reviewed label, removes only the in-review label, and reports the blocker and required actions to the user. This keeps the PR discoverable so a later run can pick it up again.

Does this Skill use force push or modify out-of-scope code?▼

No. Force push is explicitly forbidden, and changes are limited to the scope of the review comments. Fixes are committed in conventional commit format, tests must pass, and CI must be green before merging.