# pr-review

pr-review inspects pull requests through the GitHub CLI against project standards and posts tiered review notes.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 6091 repo stars
- Author: ChrisWiles
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ChrisWiles/claude-code-showcase/tree/HEAD/.claude/commands/pr-review.md
- Updated: 2026-01-06
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/chriswiles-pr-review

## What it does

The command pulls pull request metadata and diffs using the `gh` tool. Claude Code then inspects all changed files against rules defined in `.claude/agents/code-reviewer.md`. The inspection covers TypeScript strict mode, error handling patterns, UI states, test coverage, and documentation updates.

Findings are prioritized by severity, distinguishing mandatory merge blockers from minor suggestions. When the evaluation is ready, Claude Code sends the summary directly to the thread via `gh pr comment`.

The workflow fails without an authenticated `gh` command in your terminal and the guidelines file inside the repository.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/pr-review.md` — Call it with /pr-review. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/pr-review.md` — Call it with /prompts:pr-review. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/pr-review.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/pr-review.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ChrisWiles/claude-code-showcase/tree/HEAD/.claude/commands/pr-review.md

## When to use it
- evaluate pull request diffs against local guidelines
- catch missing tests and unhandled error cases
- publish code review comments through the GitHub CLI

## Example prompts
- /pr-review 42
- /pr-review feature-branch

## Similar
- [pr-review-comments](https://affpapa.org/en/nevibecode/skills/pr-review-comments.md) — skill · 2600 installs
- [github-pr-review](https://affpapa.org/en/nevibecode/skills/github-pr-review.md) — skill · 581 installs
- [groove-groovebook-review](https://affpapa.org/en/nevibecode/skills/groove-groovebook-review.md) — skill · 508 installs
- [bug-review](https://affpapa.org/en/nevibecode/skills/bug-review.md) — skill · 264 installs
- [addressing-pr-review-comments](https://affpapa.org/en/nevibecode/skills/addressing-pr-review-comments.md) — skill · 108 installs
- [gh-stack](https://affpapa.org/en/nevibecode/skills/gh-stack.md) — skill · 21500 installs

## Other versions with the same name
- [pr-review · davila7](https://affpapa.org/en/nevibecode/commands/pr-review.md) — 562 installs
- [pr-review · composio-community](https://affpapa.org/en/nevibecode/commands/arkavo-org-pr-review.md) — ★ 2003 repo stars

From the same set: [chriswiles/claude-code-showcase](https://affpapa.org/en/nevibecode/by/chriswiles/claude-code-showcase.md) — 11 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
