pr-address-comments

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

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

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 digging through diffs, commit logs, general comments, and inline review threads. This Skill automates that collection and summarization so you can quickly see which review threads are resolved and which still need attention. ## Core Features & Use Cases - PR Context Gathering: Runs a Node.js 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: Retrieves general comments, review states (approved/changes requested), and nested inline comment threads with file paths and line ranges via the GitHub GraphQL API. - Guided Triage Workflow: Presents resolved threads as one-line summaries and open threads as numbered items, then waits for your direction before making any code changes. - Use Case: After a reviewer leaves feedback on your Gemini CLI pull request, ask the assistant to summarize the outstanding comments so you can decide which items to fix, skip, or discuss. ## 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 address GitHub PR review comments with an AI assistant?

Run the skill on your PR branch and it fetches the diff, commit history, and all review comments via the gh CLI. It then summarizes resolved and open threads so you can direct which items to fix before any code changes are made.

How to fetch pull request comments using the gh CLI?

The included script uses gh pr diff for the patch and gh api graphql with a GraphQL query to retrieve general comments, reviews, and inline comment threads for the current branch. Results are printed as a structured summary.

Does this skill work without the GitHub CLI installed?

No, the gh CLI is a hard requirement. The script calls gh auth status, gh pr diff, and gh api graphql, so you must have gh installed and authenticated before running it.

Will the skill automatically fix the review comments?

No, it explicitly does not begin fixing issues automatically. It summarizes the feedback and current PR state, then waits for you to guide which comments to address, skip, or discuss.

Which repositories does the PR comment fetching support?

The GraphQL query is hardcoded to the google-gemini/gemini-cli repository, so it targets pull requests in that repo. It selects the open PR matching your current branch, or the most recent one if none is open.