pr-address-comments

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and 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 gathering all of that context so you can quickly see which comments still need to be addressed. ## Core Features & Use Cases - PR Context Aggregation: Runs a script that collects the PR diff, commit history against main, general comments, and full inline review threads via the GitHub CLI and GraphQL API. - Review Status Summary: Analyzes resolved versus open threads, marking resolved items with a ✅ and numbering open items for easy reference. - Guided Triage: Presents the feedback summary and waits for your direction on what to fix, skip, or discuss, rather than changing code automatically. - Use Case: After an automated review agent leaves a dozen inline comments on your Gemini CLI pull request, use this Skill to get a consolidated, prioritized summary before deciding what to address. ## Quick Start Ask the assistant to help you review and address the 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 review all comments on my GitHub pull request at once?

Run the fetch-pr-info.js script, which uses the gh CLI and GitHub GraphQL API to pull the PR diff, commit history, general comments, and all inline review threads for your current branch into one consolidated output.

How to address automated code review comments on a pull request?

First gather the full feedback context with the script, then summarize which threads are resolved versus open. Present the open items with reference numbers and let the user decide what to fix before making any code changes.

Does this require the GitHub CLI to be installed?

Yes, the gh CLI must be installed and authenticated. The script runs gh auth status, gh pr diff, and gh api graphql commands, and it exits with an error if no active PR is found for the current branch.

Can I use this with repositories other than Gemini CLI?

Not without modification. The GraphQL query is hardcoded to the google-gemini/gemini-cli repository, so you would need to edit the owner and repository name in the script for other projects.

Why does the script say no active PR found for my branch?

This happens when gh pr diff returns nothing, meaning no pull request exists for the current git branch. Create a PR first, or verify you are on the correct branch with git branch --show-current.