Skip to content
Skill

PR review

Reviews a just-opened PR unattended and reports only proven issues on the PR

PR review is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
shell
Platforms
Claude Code
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About PR review

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (14 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

gemini skills install https://github.com/ccomkhj/skills.git --path pr-review

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

PR review 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.

More from ccomkhj/skills

  1. Audits AGENTS.md project memory files and proposes targeted, approved updates

    • Open source
    • 10 GitHub stars
    • Developer tools
  2. Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  3. Runs a project and builds an interactive walkthrough from what actually executed

    • Open source
    • 10 GitHub stars
    • Developer tools
  4. Turns a clear improvement target into a measurable Claude Code /goal condition

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Races Claude against Codex in separate git worktrees until a measurable goal is met

    • Open source
    • 10 GitHub stars
    • Developer tools
  6. Runs a per-turn race between two coding agents and keeps the better diff

    • Open source
    • 10 GitHub stars
    • Developer tools