# Review PR comments

> Review PR comments is an open-source agent skill for developer tools. Triages PR review comments, then implements, replies to and resolves them. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/tonyghiani/ai-essentials/tree/main/skills/review-pr-comments
- **Repository:** https://github.com/tonyghiani/ai-essentials
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** review-pr-comments
- **Collection:** https://github.com/tonyghiani/ai-essentials
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill reads review comments left on a GitHub pull request, judges each one as accept, push back or compromise, and reasons about the verdict against the actual diff and surrounding code. Where the user asks for it, it carries the verdicts through: it checks out the PR branch, makes the accepted changes, runs the repo's verification on the touched files, commits and pushes without force, then posts a reply to each thread.

The workflow relies on the GitHub CLI (gh) for fetching PR metadata, diffs and review comments, posting replies and resolving threads through GraphQL. It can escalate to a broader PR review skill for cross-file or architectural comments. When the PR was opened by an agent, it can also record a general lesson from accepted comments for later reuse.

It expects a GitHub PR comment link or PR URL, an authenticated gh session, and a local checkout of the repository. Replies follow a voice profile bundled in the skill folder, which the user is expected to replace with their own.

## When your agent uses it

> Triage PR review comments, then act on the verdicts without waiting. Given comment links from a GitHub PR, decides accept or push back on each, implements the accepted ones, verifies, commits and pushes, posts the replies and resolves the threads it addressed. Uses a personal voice profile for replies; swap the voice profile in the shared folder for your own. Use when the user shares PR comment links, asks "should I accept this feedback", or wants to respond to PR review comments.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tonyghiani/ai-essentials/tree/HEAD/skills/review-pr-comments)
- [License: MIT](https://github.com/tonyghiani/ai-essentials/tree/HEAD/skills/review-pr-comments)

## Features

- **Comment verdict triage:** Classifies each reviewer comment as accept, push back or compromise, with reasoning tied to the code.
- **Diff-grounded analysis:** Pulls the PR diff, surrounding file context and git history before judging a comment.
- **Implement and verify:** Applies accepted fixes on the PR branch and runs the repo's checks on the files touched.
- **Commit, reply and resolve:** Pushes per-comment commits, posts replies on root comments and resolves addressed threads.
- **Lesson recording:** Logs general rules from accepted comments on agent-authored PRs for later distillation.

## Good for

- Triage the review comments on my open pull request
- Accept the valid feedback, fix it and reply to each reviewer
- Decide whether I should push back on this review comment
- Give me a report of verdicts for these PR comment links without changing anything

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/review-pr-comments` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.claude/skills/review-pr-comments &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/review-pr-comments` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/review-pr-comments` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.agents/skills/review-pr-comments &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/review-pr-comments` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/review-pr-comments` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.cursor/skills/review-pr-comments &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/review-pr-comments` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tonyghiani/ai-essentials.git --path skills/review-pr-comments
```

Or copy the folder to `~/.gemini/skills/review-pr-comments` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/review-pr-comments`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/review-pr-comments &&
cp -R "$tmp/skills/review-pr-comments" ~/.copilot/skills/review-pr-comments &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/review-pr-comments` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git
```

Then copy `ai-essentials/skills/review-pr-comments` into your agent's skills folder as `review-pr-comments`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs the GitHub CLI (gh) for fetching PR data, posting replies and resolving threads, and a local checkout of the PR's head branch for implementing fixes.

### Does Review PR comments act on comments without asking?

After triage it implements, commits, pushes, replies and resolves in the same turn, unless the branch is a default branch, a force push is needed, the working tree has unrelated changes, or a compromise needs a design decision.

### Can I get only a triage report?

Yes. If the user asks for a report only, the skill stops after the verdicts and does not change code, reply or resolve anything.

### Whose voice are the replies written in?

Replies follow a bundled personal voice profile. The skill notes that you should swap in your own voice profile in the shared folder.

### How do I install Review PR comments in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/review-pr-comments to use it in all your projects, or to .claude/skills/review-pr-comments in one project.

### Does Review PR comments run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Review PR comments?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Review PR comments?

The closest alternatives to Review PR comments are Git PR feedback, Review PR, PR address feedback, Code review and Fix PR.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Git PR feedback](https://ai-powered.com/skills/git-pr-feedback): Git PR feedback is an open-source agent skill for developer tools.
- [Review PR](https://ai-powered.com/skills/review-pr-tonyghiani): Review PR is an open-source agent skill for developer tools.
- [PR address feedback](https://ai-powered.com/skills/pr-address-feedback): PR address feedback is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-aws-solutions): Code review is an open-source agent skill for developer tools.
- [Fix PR](https://ai-powered.com/skills/fix-pr): Fix PR is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [PR review](https://ai-powered.com/skills/pr-review-tjmonsi): PR review is an open-source agent skill for developer tools.
- [Iterate PR](https://ai-powered.com/skills/iterate-pr): Iterate PR is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/review-pr-comments
