gh-pr-review-fix

Classify GitHub pull request review comments and implement approved fixes.

1|Updated Mar 12, 2025
One-click install
npx skills add https://github.com/void2610/dotfiles --skill gh-pr-review-fix-void2610
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gh-pr-review-fix
Source: https://github.com/void2610/dotfiles/tree/main/.codex/skills/gh-pr-review-fix
Command: npx skills add https://github.com/void2610/dotfiles --skill gh-pr-review-fix-void2610

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Addressing pull request review feedback manually requires reading every comment, judging which ones demand code changes, and planning fixes without missing anything. This Skill automates that triage by collecting all PR comments via the GitHub CLI, classifying them, and producing an approval-gated fix plan before any code changes. ## Core Features & Use Cases - Comment Collection: Gathers PR comments, review threads, and issue comments using gh pr view and the GitHub REST API. - Structured Classification: Labels each comment as required fix, suggested fix, or question/discussion, with severity, category, and impact scope. - Approval-Gated Implementation: Presents a fix plan in a standardized Markdown format and waits for explicit user approval before editing code. - Use Case: A reviewer leaves 12 comments on your feature branch. Run this Skill to collect them, get a prioritized fix plan, approve it, and have the required and suggested fixes implemented with validation. ## Quick Start Ask the assistant to review the pull request comments on the current branch and fix the approved items.

Frequently Asked Questions about gh-pr-review-fix

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

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

Use the GitHub CLI to collect all PR comments and reviews, classify each as required, suggested, or question, then build a fix plan. This Skill implements that workflow and only changes code after you approve the plan.

How to triage pull request review feedback by priority?▼

Classify each comment along four dimensions: comment class (required, suggested, question), technical severity, category such as performance or test quality, and impact scope. Required and suggested fixes become implementation candidates; questions stay out of the queue.

Does this Skill work without the GitHub CLI installed?▼

No. It relies on `gh pr view` and `gh api` commands to fetch PR comments, reviews, and issue comments from GitHub. The gh CLI must be installed and authenticated against the repository.

Will the Skill change my code without asking first?▼

No. It presents a fix plan covering all classified comments and waits for explicit user approval before implementing anything. Commits are created only if you request them or the repository workflow requires them.

What happens if the current branch has no pull request?▼

The Skill first checks whether the current branch is associated with a GitHub pull request. If no PR exists, it stops and reports that there is nothing to process.