pr-address-comments

Fetches and summarizes GitHub pull request review comments for the current branch.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/rameshkumarchouhanr/gemni-cli --skill pr-address-comments-rameshkumarchouhanr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-address-comments
Source: https://github.com/rameshkumarchouhanr/gemni-cli/tree/main/.gemini/skills/pr-address-comments
Command: npx skills add https://github.com/rameshkumarchouhanr/gemni-cli --skill pr-address-comments-rameshkumarchouhanr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Reviewing and triaging feedback on a GitHub pull request requires manually checking diffs, commit history, general comments, and inline review threads, which is tedious and error-prone. ## Core Features & Use Cases - PR Context Gathering: Runs a script that collects the current branch's PR diff, commit history against origin/main, and authenticated GitHub user info via the gh CLI. - Structured Feedback Summary: Aggregates general PR comments, review states (approved/changes requested), and threaded inline code comments with file paths and line ranges, filtering out bot noise. - Guided Triage Workflow: Presents resolved threads as one-line summaries and open threads as numbered items so the user can decide what to fix, skip, or discuss before any code changes are made. - Use Case: After a reviewer leaves inline comments on your Gemini CLI pull request, use this Skill to get a consolidated, prioritized list of open feedback threads and address them one by one. ## Quick Start Ask the assistant to help you address the review comments on the pull request for your current branch.

Frequently Asked Questions about pr-address-comments

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

FAQPage Schema
How do I see all review comments on my GitHub pull request?

Run the fetch-pr-info.js script, which uses the gh CLI and GitHub GraphQL API to collect general comments, review summaries, and threaded inline comments for the PR matching your current branch. It prints everything as a structured summary with file paths and line numbers.

How to address PR review comments with an AI assistant?

First gather the full PR context including diff, commits, and comment threads, then present open threads as numbered items for the user to triage. The workflow explicitly avoids auto-fixing; the user decides what to address, skip, or discuss.

Does this require the GitHub CLI to be installed?

Yes, the gh CLI must be installed and authenticated, since the script runs gh auth status, gh pr diff, and gh api graphql. It also requires git and a Node.js runtime to execute the script.

What happens if no pull request exists for the current branch?

The script checks for an active PR via gh pr diff and exits with a warning if none is found for the current branch. It also errors when the git branch cannot be determined or no PR data is returned.

Are automated bot comments filtered out of the review summary?

Yes, the script ignores known boilerplate messages such as contribution thank-you notes and pending-review notifications. Minimized comments are still shown but labeled with their minimized reason.