github-resolve-pr-comment

Fetch, classify, and resolve GitHub PR review comments with fixes and replies.

1|Updated Aug 24, 2026
One-click install
npx skills add https://github.com/mjun0812/skills --skill github-resolve-pr-comment-mjun0812
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-resolve-pr-comment
Source: https://github.com/mjun0812/skills/tree/main/skills/github/github-resolve-pr-comment
Command: npx skills add https://github.com/mjun0812/skills --skill github-resolve-pr-comment-mjun0812

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Responding to pull request review feedback is tedious: comments arrive as inline threads, review summaries, and PR-level comments, each requiring different APIs to fetch and reply to. This Skill automates the entire loop of collecting unresolved feedback, deciding what must be fixed, applying code changes, and posting replies. ## Core Features & Use Cases - Unified comment collection: Gathers inline review threads via GraphQL, review summary bodies, and PR-level issue comments in parallel, deduplicating overlapping topics. - Priority classification: Sorts feedback into Must Fix, Should Fix, questions, and informational items, then applies fixes, commits, and pushes automatically. - Structured replies: Posts per-thread replies using the correct root comment ID and publishes a single summary comment using English or Japanese templates. - Use Case: After a reviewer leaves a dozen comments on your PR, ask the agent to handle them; it fixes blocking issues, declines out-of-scope suggestions with technical reasoning, and replies to every thread. ## Quick Start Resolve all review comments on the current pull request, fix what is needed, and reply to each comment.

Frequently Asked Questions about github-resolve-pr-comment

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

FAQPage Schema
How do I respond to all GitHub PR review comments automatically?

Invoke this Skill on the target PR; it fetches all unresolved review threads, review bodies, and issue comments, classifies them by severity, applies code fixes, commits and pushes, then posts a reply to every thread plus a summary comment.

How to reply to an inline review thread on GitHub via API?

POST to repos/{owner}/{repo}/pulls/{pr}/comments/{id}/replies using the databaseId of the thread's root comment, not a mid-thread comment ID, which returns 404. The included post_review_reply.sh script handles this with the body read from a file.

Can I preview the comment classification without making changes?

Yes, pass the --dry-run argument. The Skill outputs only the classification of each comment (Must Fix, Should Fix, question, informational) and the planned response, skipping all file edits, commits, pushes, and reply posts.

Does it handle outdated or already-resolved review threads?

Resolved threads (isResolved=true) are skipped. Outdated threads (isOutdated=true) are still processed if they remain unresolved, since outdated code positions do not mean the feedback was addressed.

Why does replying to a review comment return a 404 error?

The replies endpoint requires the root comment's databaseId of the thread. Using an ID from a later comment in the thread causes a 404. The fetch_review_threads.sh script exposes the correct value as root_comment_id.