# PR classify

> PR classify is an open-source agent skill for developer tools. Gets a fresh agent to classify a pull request as safe, review-worthy, or rejected. It is available on Claude Code.

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

## About

This skill runs after a pull request is opened and has the agent hand the review to a newly started subagent with no memory of the earlier coding session. That subagent reads the diff itself and rates the PR as safe to merge, nice to review, or reject to merge. It reports only issues it can back with evidence, attaches a risk to each, and gives a confidence level for accepting the change.

The main agent then records the returned verdict as a commit status on the exact commit SHA being judged. It may add context it has that the subagent lacks, such as a known production incident, but it cannot downgrade the verdict. Depending on the class, the agent either offers to merge, lists what a human should look at, or lists what must be fixed before merging.

For the safe-to-merge path, the skill covers dev to main promotions: it checks the commits on dev that are not yet on main, reuses an open promotion PR when one exists, and keeps the repository's usual merge method. It stops if branch protection blocks the merge and does not override it.

## When your agent uses it

> After /pr, a fresh-context agent rates the PR safe to merge, nice to review, or reject to merge, raising only issues proven with evidence (each with a risk) plus a confidence to accept, then records the verdict on GitHub and acts on it.

## What it can access

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

- [Instructions only, no scripts](https://github.com/ccomkhj/skills/tree/HEAD/pr-classify)
- [License: MIT](https://github.com/ccomkhj/skills/tree/HEAD/pr-classify)

## Features

- **Fresh-context review:** A newly started subagent reads the diff without the authoring conversation's bias.
- **Three-level verdict:** Each PR is rated safe to merge, nice to review, or reject to merge.
- **Evidence-backed issues:** Only issues proven from the code are raised, each with its associated risk.
- **Commit status recording:** The verdict is posted as a status on the exact commit SHA that was judged.
- **Promotion handling:** Dev to main promotions check every commit that would be carried along.
- **Merge with confirmation:** Merging is offered as a question and never forced past branch protection.

## Good for

- Review my open pull request and tell me whether it is safe to merge
- Check whether this branch is ready to ship before I open a PR
- Promote the dev branch to main after checking what is pending
- Record a merge verdict as a status on the latest commit of my PR

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ccomkhj/skills.git
```

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

## FAQ

### When does PR classify trigger?

It is set to manual invocation only, so it runs when a user calls it, typically right after the /pr step, and accepts an optional PR number or URL.

### Does PR classify merge pull requests automatically?

No. For a safe verdict it asks once which merge to perform, and it stops if branch protection blocks the merge.

### Why does a separate agent do the review?

The skill says the agent that wrote the code reads the diff through its intent, so the verdict comes from a fresh subagent that has never seen the conversation.

### Which license does PR classify use?

The repository is published under the MIT license.

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

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

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

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 classify?

The closest alternatives to PR classify are PR, PR review, Make PR easy to review, Run by experts and Differential review.

## Where this comes from

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

## Alternatives

- [PR](https://ai-powered.com/skills/pr): 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.
- [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.
- [Run by experts](https://ai-powered.com/skills/run-by-experts): Run by experts is an open-source agent skill for developer tools.
- [Differential review](https://ai-powered.com/skills/differential-review): Differential review is an open-source agent skill for security.
- [Code review](https://ai-powered.com/skills/code-review-mattpocock): Code review 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.
- [Get PR comments](https://ai-powered.com/skills/get-pr-comments): Get PR comments is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/pr-classify
