pr-review-respond

Process GitHub pull request review threads into replies and summary comments.

Updated May 17, 2022
One-click install
npx skills add https://github.com/kanade0404/dotfiles --skill pr-review-respond-kanade0404
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review-respond
Source: https://github.com/kanade0404/dotfiles/tree/main/.opencode/skills/pr-review-respond
Command: npx skills add https://github.com/kanade0404/dotfiles --skill pr-review-respond-kanade0404

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you process pull request review comments after they have already been posted, so you can quickly decide what to fix, what to push back on, and what to defer without losing traceability.

Core Features & Use Cases

  • Thread triage: Collects inline review threads and PR-level comments, then separates CodeRabbit, Devin, and human feedback for careful verification.
  • Actionable responses: Lets you reply with fixes, resolve valid threads, leave grounded pushback for invalid comments, and track deferred items in issues.
  • PR-wide reporting: Posts a single summary comment that records what was fixed, challenged, deferred, or marked duplicate, making review outcomes easy to audit.

Quick Start

Use the pr-review-respond skill to fetch the unresolved PR review threads, verify each comment against the code, and then reply, resolve, or summarize the outcome.

Frequently Asked Questions about pr-review-respond

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

FAQPage Schema
How do I resolve unresolved GitHub pull request review threads automatically?

You can resolve GitHub pull request review threads by fetching unresolved feedback via the API, verifying each comment against the code, and posting replies or closing valid threads. This process ensures actionable responses and traceable outcomes for deferred items.

Can I reply to CodeRabbit and Devin PR comments using the GitHub CLI?

Yes, you can reply to CodeRabbit and Devin PR comments using the GitHub CLI. By fetching unresolved inline threads and PR-level comments through gh, you can separate bot feedback, verify its validity, and post grounded replies or resolve the threads directly.

What is the best way to track deferred GitHub pull request review feedback?

The best way to track deferred GitHub pull request review feedback is to post a single summary comment on the PR. This records what was fixed, challenged, deferred, or marked duplicate, making review outcomes easy to audit and ensuring no valid comment gets lost.

Do I need jq to process GitHub pull request review threads?

Yes, you need jq to process GitHub pull request review threads in this workflow. The scripts rely on jq to parse JSON data fetched from the GitHub API via gh, allowing you to separate CodeRabbit, Devin, and human feedback for careful verification and actionable responses.

How do I summarize pull request review outcomes for human reviewers?

You summarize pull request review outcomes by posting a single PR-wide summary comment after processing the feedback. This comment records what was fixed, challenged, deferred, or marked duplicate, making the review outcomes easy for human reviewers to audit.