# Review PR

> Review PR is an open-source agent skill for developer tools. Reviews a GitHub pull request and drafts copy-paste conventional review comments. 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
- **Repository:** https://github.com/tonyghiani/ai-essentials
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** review-pr
- **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 takes a GitHub pull request URL, checks out the PR branch, and runs a separate review-team skill against it in branch review mode. The findings from that report are then rewritten as conventional comments tied to specific file and line references, with short illustrative code snippets where a clearer pattern is apparent.

The workflow checks for a dirty working tree before switching branches and asks the user whether to stash, use a worktree, or proceed. It warns and asks for confirmation when a PR touches more than 50 files. Severity levels map to conventional comment labels, and praise comments are deliberately excluded. If a finding concerns code outside the diff, the comment points to the nearest changed line instead.

It needs the GitHub CLI (gh) authenticated with an account that can read the repository, plus git, and the review-team skill installed alongside it in the same skills folder. The default tone comes from a bundled voice profile file that can be replaced with another one.

## When your agent uses it

> Review a GitHub pull request by URL using the review-team skill. Outputs copy-pasteable conventional comments with line references and code suggestions. Uses a personal voice profile by default — swap the voice profile in the shared folder for your own. Use when the user shares a PR URL, asks to review a PR, or mentions "review pr".

## 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)
- [License: MIT](https://github.com/tonyghiani/ai-essentials/tree/HEAD/skills/review-pr)

## Features

- **PR branch checkout:** Fetches PR metadata with the GitHub CLI and checks out the pull request branch in detached state.
- **Delegated multi-reviewer pass:** Hands the checked-out branch to the review-team skill for a report from its reviewer panel.
- **Conventional comment formatting:** Converts report findings into labeled comments such as blocking issues, suggestions and nitpicks.
- **Line-anchored comments:** Keeps a file and line reference for each comment and maps findings outside the diff to nearby changed lines.
- **Copy-ready output blocks:** Wraps each comment in its own markdown block so it can be pasted straight onto the PR.
- **Voice profile customization:** Applies a tone file for phrasing, which users can swap for their own style.

## Good for

- Review this GitHub pull request and give me comments I can post
- Check the PR at this URL for bugs and convention issues
- Draft conventional review comments for my teammate's branch
- Look over this PR before I approve it and flag blocking problems

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/review-pr` 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 &&
cp -R "$tmp/skills/review-pr" ~/.claude/skills/review-pr &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/review-pr` 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 &&
cp -R "$tmp/skills/review-pr" ~/.agents/skills/review-pr &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/review-pr` 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 &&
cp -R "$tmp/skills/review-pr" ~/.cursor/skills/review-pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/review-pr` 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
```

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

### VS Code

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

```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 &&
cp -R "$tmp/skills/review-pr" ~/.copilot/skills/review-pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/review-pr` 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` into your agent's skills folder as `review-pr`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Review PR need to run?

The GitHub CLI must be authenticated with gh auth login, and the review-team skill must be present at the relative path the workflow reads from.

### Does Review PR post comments to GitHub automatically?

No. It produces markdown blocks that the user copies and pastes onto the pull request himself.

### What happens if my working tree has uncommitted changes?

It warns you and asks whether to proceed, stash the changes, or use a git worktree. It does not check out the branch without your consent.

### What happens with very large pull requests?

When a PR changes more than 50 files, the skill asks whether to continue or narrow the scope.

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

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

### Does Review PR 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?

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?

The closest alternatives to Review PR are Code review, Review PR comments, Code review, Git PR feedback and Make PR easy to review.

## Where this comes from

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

## Alternatives

- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [Review PR comments](https://ai-powered.com/skills/review-pr-comments): Review PR comments 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.
- [Git PR feedback](https://ai-powered.com/skills/git-pr-feedback): Git PR feedback is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to 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.
- [Fix PR](https://ai-powered.com/skills/fix-pr): Fix PR is an open-source agent skill for developer tools.
- [PR review](https://ai-powered.com/skills/pr-review): PR review is an open-source agent skill for developer tools.

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