pr-review

Triages GitHub PR review threads one at a time with approval-gated replies and resolution.

1|Updated Jul 16, 2026
One-click install
npx skills add https://github.com/LunarCommand/claude-skills --skill pr-review-lunarcommand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/LunarCommand/claude-skills/tree/main/skills/pr-review
Command: npx skills add https://github.com/LunarCommand/claude-skills --skill pr-review-lunarcommand

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Addressing a pile of PR review comments (especially automated CoPilot feedback) is tedious and error-prone: it's easy to miss threads, reply inconsistently, or resolve conversations without responding. This Skill walks through every unresolved thread one at a time, proposing a verdict and reply for each, and only acts after explicit human approval. ## Core Features & Use Cases - Thread-by-thread triage: Fetches all unresolved review threads via the GitHub GraphQL API and presents each with file, line, author, and full body. - Approval-gated execution: For every comment it proposes a verdict (fix / partial fix / no fix), a reply, and any code change, then waits for "yes", "edit", or "skip" before posting or resolving. - Bundled GitHub scripts: Ships hardened bash scripts for listing threads, reading full comment detail, posting replies, and resolving threads — with input validation and typed GraphQL variables to prevent injection. - Use Case: A reviewer leaves 12 comments on your pull request. Run this Skill to walk through each one, approve or adjust the proposed replies, and finish with a categorized summary of fixed, partial, skipped, and rejected threads. ## Quick Start Ask the agent to review and respond to all comments on PR number 123 in the current repository.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I respond to all PR review comments on GitHub at once?

Use this Skill with a PR number to iterate through every unresolved review thread. For each comment it proposes a verdict and reply, waits for your approval, then posts the reply and resolves the thread via the GitHub API.

How to address CoPilot feedback on a pull request?

Invoke the Skill with the PR number and it will fetch each CoPilot review thread, propose whether to fix, partially fix, or reject the suggestion, and post a substantive reply only after you approve it.

Does this require the GitHub CLI to be installed?

Yes, the gh CLI must be installed and authenticated via gh auth login. All API calls go through gh, and a missing binary produces exit code 127 with an installation message.

Can it post replies or resolve threads without my approval?

No. The workflow hard-stops before every reply, code change, and thread resolution until you respond with yes, edit, or skip. Skipped threads are left completely untouched.

Why do the scripts fail with 'command not found'?

A command not found error means the skill's bin directory is not on PATH, usually because the plugin is disabled or the session predates the install. It indicates an environment setup issue, not a script defect.