pr-feedback

Fetch, triage, and resolve open pull request review comments using the GitHub CLI.

1|Updated May 4, 2026
One-click install
npx skills add https://github.com/wesbragagt/nixos-config --skill pr-feedback-wesbragagt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-feedback
Source: https://github.com/wesbragagt/nixos-config/tree/main/home/skills/pr-feedback
Command: npx skills add https://github.com/wesbragagt/nixos-config --skill pr-feedback-wesbragagt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Open pull requests often accumulate scattered reviewer comments across threads and inline code annotations, making it tedious to track what needs action, what needs a reply, and what can be dismissed. This Skill automates the full loop of collecting, triaging, addressing, and resolving PR feedback. ## Core Features & Use Cases - Comment Collection: Uses gh pr view, gh pr comments, and the GitHub API to gather all reviewer and inline code comments on the current PR. - Feedback Triage: Classifies each comment as a bug fix, style suggestion, question, or stale item, then acts accordingly. - Scoped Implementation: Makes targeted code edits for actionable feedback and posts threaded replies via gh api for every comment. - Use Case: After reviewers leave a dozen comments on your feature branch PR, run this Skill to fix the real issues, reply to questions, and produce a summary of what changed and what still needs your input. ## Quick Start Review and address all open comments on my current pull request, then summarize what was changed and what needs my input.

Frequently Asked Questions about pr-feedback

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

FAQPage Schema
How do I address all PR review comments at once?

Use the gh CLI to fetch comments with `gh pr comments` and the reviews API endpoint, then triage each one by type. Implement code changes for actionable items and reply to each comment thread using `gh api repos/{owner}/{repo}/pulls/comments/{comment_id}/replies`.

How to reply to inline pull request comments with gh CLI?

Reply to inline PR comments by posting to the GitHub API endpoint `repos/{owner}/{repo}/pulls/comments/{comment_id}/replies` with a body field via `gh api`. This creates a threaded reply directly under the original review comment.

Does this work with any GitHub repository?

It works with any GitHub repository where the gh CLI is authenticated and you have access to the pull request. The workflow relies on standard GitHub API endpoints for PR comments and reviews, so no special repository configuration is needed.

What types of PR feedback should not trigger code changes?

Questions, discussion threads, and stale or already-resolved comments should receive a reply rather than code edits. Changes that significantly alter behavior or public interfaces should be confirmed with the user before implementation.

Why are some review comments missing when fetching PR feedback?

Inline code comments are not returned by `gh pr comments` alone; you must also query `gh api repos/{owner}/{repo}/pulls/{pr}/reviews` to collect review-level and inline annotations. Combining both sources ensures complete coverage.