New to Claude Skills? Learn how to install them →

google-gemini on GitHub

Address PR Comments

OfficialFree

Streamline your GitHub PR comment management.

Get this skill

Free · Opens the source repo

What Address PR Comments does

The Address PR Comments skill is designed to assist developers in efficiently managing and addressing comments on their GitHub Pull Requests (PRs). This skill is particularly useful when working with the Gemini CLI, as it integrates with the gh CLI tool to fetch relevant PR information. By running the included scripts/fetch-pr-info.js script, the skill retrieves the current state of the PR, including comments from both automated review agents and team members.

Once the PR information is fetched, the skill analyzes the diff, commit log, and comments to summarize the review status. It highlights which comments have been resolved and which are still open, providing a clear overview of the feedback that needs to be addressed. This ensures that developers can focus on the most pertinent issues without getting overwhelmed by the volume of feedback.

The skill does not automatically fix issues but instead allows users to guide the process. This approach encourages thoughtful consideration of each comment and promotes better collaboration among team members. Users can choose to address comments, skip them, or ask for further clarification, making it a flexible tool for PR management.

Overall, this skill is ideal for developers who want to streamline their PR review process and ensure that all feedback is adequately addressed before merging changes. It is particularly beneficial for teams that rely heavily on GitHub for code collaboration and want to maintain high code quality standards.

When to use it

Use this skill when you need to address comments on a Pull Request for the Gemini CLI and want to keep track of which comments have been resolved or still require attention.

When not to use it

This skill is not suitable for addressing comments on PRs outside of the Gemini CLI context or for users who prefer automated fixes without manual review.

What you can build with it

Reviewing Team Feedback

Use this skill to quickly summarize and address comments from team members on your latest PR.

Handling Automated Review Comments

Leverage the skill to efficiently manage feedback from automated review tools, ensuring no comments are overlooked.

Preparing for PR Merge

Utilize this skill to ensure all comments are addressed before merging your changes into the main branch.

How to install Address PR Comments

View source

1. Install with the skills CLI

npx skills add google-gemini/gemini-cli/pr-address-comments --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by google-gemini

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.

Frequently asked questions about Address PR Comments

Similar skills