resolve-pr-feedback

Organizes and resolves PR review feedback by evaluating threads, generating fixes, and posting replies.

6|Updated Jan 29, 2023
One-click install
npx skills add https://github.com/rethinkhealth/glion --skill resolve-pr-feedback-rethinkhealth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-pr-feedback
Source: https://github.com/rethinkhealth/glion/tree/main/.agents/skills/resolve-pr-feedback
Command: npx skills add https://github.com/rethinkhealth/glion --skill resolve-pr-feedback-rethinkhealth

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Resolve PR review feedback by evaluating validity and fixing issues in parallel. Use when addressing PR review comments, resolving review threads, or fixing code review feedback.

Core Features & Use Cases

  • Automated triage of feedback across review threads, PR comments, and review bodies.
  • Parallelized agent workflow to propose, apply, and verify fixes with minimal conflicts.
  • GitHub integration via GraphQL and helper scripts to fetch feedback, patch code, and post replies.
  • Use Case: When a PR contains multiple inline threads and comments, run this skill to generate fixes, implement them, and reply with a concise resolution summary.

Quick Start

Instruct the system to resolve all unresolved PR threads on the current PR, posting replies and resolving threads automatically.

Frequently Asked Questions about resolve-pr-feedback

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

FAQPage Schema
How do I automatically resolve PR review comments and fix code review feedback?

Automatically resolving PR review comments involves triaging unresolved threads, generating code fixes in parallel, applying patches, and posting reply summaries back to GitHub. This skill evaluates inline threads, PR comments, and review bodies to address all feedback.

What is the best way to triage multiple inline code review threads on a GitHub pull request?

Triageing multiple inline code review threads is done by an automated workflow that fetches feedback via GitHub GraphQL, evaluates validity, and proposes fixes concurrently. This minimizes merge conflicts while systematically addressing every unresolved comment on the pull request.

Do I need the GitHub CLI to automate resolving pull request threads?

Yes, the GitHub CLI (gh) is required to automate resolving pull request threads. The skill depends on the gh command-line tool and jq to fetch PR data via GraphQL endpoints, apply code patches, and post resolution replies to GitHub.

Can I target a specific pull request comment URL to generate and apply fixes?

Yes, you can target a specific pull request by providing a comment URL. The skill also operates automatically on the current branch's active PR to fetch review feedback, generate parallel fixes, and post responses directly to the specified thread.

How does parallelized code review feedback processing handle merge conflicts?

Parallelized code review feedback processing minimizes merge conflicts by proposing, applying, and verifying fixes concurrently. The workflow evaluates thread validity before patching code, ensuring generated changes are isolated and validated against the current branch state.