# PR review

> PR review is an open-source agent skill for developer tools. Reviews a just-opened PR unattended and reports only proven issues on the PR. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ccomkhj/skills/tree/main/pr-review
- **Repository:** https://github.com/ccomkhj/skills
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** pr-review
- **Collection:** https://github.com/ccomkhj/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

pr-review runs in a fresh headless session started by a hook after a PR is opened from Claude Code. It works on the PR's exact head commit in its own clone, so pushes made during the review do not change what gets judged. The run gathers the PR body and linked issues as the spec, then runs a production-risk classifier alongside a standards and spec-conformance code review.

Each candidate finding is checked against the code, and only issues shown with evidence, a risk level and a confidence rating are posted. A shell script handles waiting for CI, pinning the head, restricting tools so the run stays report-only, and marking the run complete once the comment is on the PR. The skill never merges, pushes or opens PRs.

It expects the GitHub CLI for posting, bash for its scripts, and a checkout where dependencies can be installed and tests run. The review is posted as one PR comment, a status and inline comments on changed lines.

## When your agent uses it

> Unattended reviewer for a PR you just opened. A hook starts a fresh headless session that runs the pr-classify classifier and a standards/spec code review on the PR's exact head commit, verifies every finding against the code, and raises only issues proven with evidence, each with a risk, plus a confidence to accept. Posts one PR comment, a status, and the issues inline. Report only; never merges.

## What it can access

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

- [Runs shell scripts](https://github.com/ccomkhj/skills/tree/HEAD/pr-review)
- [No network calls found in its scripts](https://github.com/ccomkhj/skills/tree/HEAD/pr-review)
- [License: MIT](https://github.com/ccomkhj/skills/tree/HEAD/pr-review)

## Features

- **Unattended PR review:** Starts from a hook after a PR is opened and runs without asking the user anything.
- **Pinned head commit:** Reviews the exact head SHA in a disposable checkout so later pushes do not affect the verdict.
- **Parallel classifier and code review:** Runs a production-risk classifier and a standards and spec code review side by side.
- **Evidence-checked findings:** Tries to disprove each candidate in the code and keeps only issues it cannot refute.
- **Report-only posting:** Posts one comment, a status and inline issues to the PR, and never merges or pushes.

## Good for

- Review my pull request automatically right after I open it
- Check whether a PR matches the linked issue's requirements
- Flag production risks in a change before a human reviewer looks at it
- Post inline comments for verified problems on the changed lines

## Install

### Claude Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pr-review &&
cp -R "$tmp/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/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pr-review &&
cp -R "$tmp/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/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pr-review &&
cp -R "$tmp/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/ccomkhj/skills.git --path 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/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pr-review &&
cp -R "$tmp/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/ccomkhj/skills.git
```

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

## FAQ

### When does PR review run?

A PostToolUse hook runs it after gh pr create in Claude Code's Bash tool. PRs opened from a terminal, the web or with several URLs can be run manually with scripts/run.sh <url>.

### Can PR review merge or change my PR?

No. It is report-only and never merges, pushes or opens a PR, and run.sh blocks those tools.

### What does PR review need to work?

It needs bash for its scripts, the GitHub CLI to post comments and status, and a checkout where it can install dependencies and run tests.

### What happens if the PR head changes during review?

It re-reads the head SHA before publishing. If the SHA moved, the comment is marked stale and no status is set.

### 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.

### Does PR review run scripts?

Yes. It runs shell scripts. No network calls were found in its 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 Sh PR review, Prepare implementation review comments on a pull request, PR improver, Code review and Explain PR.

## Where this comes from

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

## Alternatives

- [Sh PR review](https://ai-powered.com/skills/sh-pr-review): Sh PR review is an open-source agent skill for developer tools.
- [Prepare implementation review comments on a pull request](https://ai-powered.com/skills/prepare-implementation-review-comments-on-a-pull-request): Prepare implementation review comments on a pull request is an open-source agent skill for developer tools.
- [PR improver](https://ai-powered.com/skills/pr-improver): PR improver is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-mattpocock): Code review is an open-source agent skill for developer tools.
- [Explain PR](https://ai-powered.com/skills/explain-pr): Explain PR 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.
- [Run by experts](https://ai-powered.com/skills/run-by-experts): Run by experts 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/pr-review-ccomkhj
