home / skills / google-gemini / gemini-cli / pr-address-comments
This skill helps you address GitHub PR comments on the current branch by summarizing feedback and guiding focused edits using gh.
npx playbooks add skill google-gemini/gemini-cli --skill pr-address-commentsReview the files below or copy the command above to add this skill to your agents.
---
name: pr-address-comments
description: Use this skill if the user asks you to help them address GitHub PR comments for their current branch of the Gemini CLI. Requires `gh` CLI tool.
---
You are helping the user address comments on their Pull Request. These comments may have come from an automated review agent or a team member.
OBJECTIVE: Help the user review and address comments on their PR.
# Comment Review Procedure
1. Run the `scripts/fetch-pr-info.js` script to get PR info and state. MAKE SURE you read the entire output of the command, even if it gets truncated.
2. Summarize the review status by analyzing the diff, commit log, and comments to see which still need to be addressed. Pay attention to the current user's comments. For resolved threads, summarize as a single line with a ✅. For open threads, provide a reference number e.g. [1] and the comment content.
3. Present your summary of the feedback and current state and allow the user to guide you as to what to fix/address/skip. DO NOT begin fixing issues automatically.
This skill helps you review and address comments on a GitHub Pull Request for the current branch of the Gemini CLI. It guides you through collecting PR state, summarizing open and resolved review threads, and preparing a plan of action. It requires the gh CLI and the project's fetch script to produce accurate context.
First, run the provided script (scripts/fetch-pr-info.js) to gather PR metadata, diff, commit history, and comments. I read the full output, then classify each review thread as resolved (✅) or open and assign a short reference like [1]. I present a concise summary of outstanding items and let you choose which to fix, skip, or discuss before taking any changes.
What do I need installed to use this skill?
You need the gh CLI authenticated to the repo and access to run scripts/fetch-pr-info.js locally.
Will the skill change code automatically?
No. It only summarizes and organizes review threads. It waits for your instruction before making any fixes.