# PR review

> PR review is an open-source agent skill for developer tools. Reviews GitHub and Bitbucket pull requests and drafts a confirmed verdict. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tjmonsi/assist-marketplace-plugin/tree/main/plugins/assist-plugin/skills/pr-review
- **Repository:** https://github.com/tjmonsi/assist-marketplace-plugin
- **GitHub stars:** 11
- **License:** AGPL-3.0
- **Skill name:** pr-review
- **Collection:** https://github.com/tjmonsi/assist-marketplace-plugin
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill lets an agent fetch a pull request, list its changed files, read existing comments and reviewers, and then draft an approval, a request for changes, or a comment-only review. It detects whether the repository's origin remote points to GitHub or Bitbucket and then uses the matching CLI, gh for GitHub and bkt for Bitbucket.

Posting is gated. The agent writes the draft verdict and the exact text that would be posted, then waits for the user to confirm with a single-use token. Fetched PR text is treated as untrusted data, output is capped at a fixed size, and the run folder is cleaned up afterward. Bitbucket use requires a matching bkt context and checks the host before any call.

The skill expects git, the gh or bkt CLI installed and signed in, and a repository with an origin remote. It is packaged as a Claude Code plugin skill, and its allowed tools include Read, Write, Grep, Glob, Bash and AskUserQuestion.

## When your agent uses it

> Review pull requests with automatic platform detection (GitHub/Bitbucket). Fetches PR details, lists changed files, shows comments, and submits reviews with approval, changes-requested, or comment-only verdict.

## What it can access

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

- [Instructions only, no scripts](https://github.com/tjmonsi/assist-marketplace-plugin/tree/HEAD/plugins/assist-plugin/skills/pr-review)
- [Asks for: Read, Write, Grep, Glob, Bash, AskUserQuestion](https://github.com/tjmonsi/assist-marketplace-plugin/blob/HEAD/plugins/assist-plugin/skills/pr-review/SKILL.md)
- [License: AGPL-3.0](https://github.com/tjmonsi/assist-marketplace-plugin/tree/HEAD/plugins/assist-plugin/skills/pr-review)

## Features

- **Platform detection:** Chooses GitHub or Bitbucket from the origin remote and verifies the bkt context before calling it.
- **PR data fetch:** Pulls PR details, changed files, diff, comments and reviewer status into a run folder.
- **Verdict drafting:** Drafts an approve, request-changes or comment verdict with the reasoning for the user to read.
- **Confirmation gate:** Requires a single-use token and explicit user confirmation before any review is posted.
- **Output size cap:** Limits how much PR text is read and reports any part of the PR that was not reviewed.

## Good for

- Review pull request 123 on GitHub and draft a verdict
- Check the changed files and existing comments on a Bitbucket PR
- Leave a comment-only review on a feature branch's pull request
- Request changes on a PR with a short message after I confirm it

## Install

### Claude Code

This skill ships in the `assist-plugin` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tjmonsi/assist-marketplace-plugin
/plugin install assist-plugin@assist-plugin-marketplace
```

Or copy only this skill to `~/.claude/skills/pr-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pr-review &&
cp -R "$tmp/plugins/assist-plugin/skills/pr-review" ~/.claude/skills/pr-review &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pr-review &&
cp -R "$tmp/plugins/assist-plugin/skills/pr-review" ~/.agents/skills/pr-review &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pr-review &&
cp -R "$tmp/plugins/assist-plugin/skills/pr-review" ~/.cursor/skills/pr-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pr-review` 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/tjmonsi/assist-marketplace-plugin.git --path plugins/assist-plugin/skills/pr-review
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tjmonsi/assist-marketplace-plugin.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pr-review &&
cp -R "$tmp/plugins/assist-plugin/skills/pr-review" ~/.copilot/skills/pr-review &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tjmonsi/assist-marketplace-plugin.git
```

Then copy `assist-marketplace-plugin/plugins/assist-plugin/skills/pr-review` into your agent's skills folder as `pr-review`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does the skill post a review automatically?

No. Approve, request-changes and comment actions are never run until the user confirms the drafted text by replying with a token.

### Which CLIs does PR review need?

It uses the gh CLI for GitHub and the bkt CLI (bitbucket-cli v0.34.0) for Bitbucket, and it needs a valid git origin remote.

### What happens to very large pull requests?

Fetched text is capped at 204,800 bytes. When anything is cut, the confirmation says how much of the PR was not reviewed.

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

Copy the skill folder from GitHub to ~/.claude/skills/pr-review to use it in all your projects, or to .claude/skills/pr-review in one project. Or install the assist-plugin plugin, which includes it: /plugin marketplace add tjmonsi/assist-marketplace-plugin, then /plugin install assist-plugin@assist-plugin-marketplace.

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

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to PR review?

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

## Where this comes from

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

## Alternatives

- [Review PR](https://ai-powered.com/skills/review-pr-tonyghiani): Review PR 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.
- [Review PR comments](https://ai-powered.com/skills/review-pr-comments): Review PR comments 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.
- [PR review](https://ai-powered.com/skills/pr-review): PR review is an open-source agent skill for developer tools.
- [Gh](https://ai-powered.com/skills/gh-prathamdby): Gh 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.
- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.

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