Skip to main content
command CX Codex

pr-review · chriswiles — Claude Code command: what it does, how to install

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

no license ★ 6,091 updated 2026-01-06

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/pr-review.md
Open on GitHub

What pr-review 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.

What it helps with

  • evaluate pull request diffs against local guidelines
  • catch missing tests and unhandled error cases
  • publish code review comments through the GitHub CLI

Example prompts for the agent

  • /pr-review 42
  • /pr-review feature-branch

How to install pr-review

Manually: put the files in place

.claude/commands/pr-review.md

Call it with /pr-review. For all projects use ~/.claude/commands/

Questions about pr-review

How to install pr-review in Claude Code?

Save the command prompt to .claude/commands/pr-review.md.

What does pr-review require to run?

It needs an authenticated gh CLI in your shell and the .claude/agents/code-reviewer.md file present in the repo.

What issues does the command look for?

It reviews TypeScript strict mode compliance, missing error handlers, incomplete interface states, and test coverage.

Similar slash commands

All slash commands for Code review and refactoring →

pr-review by other authors comes first.

pr-review davila7 The pr-review command reviews a pull request from six perspectives, spanning product, engineering, QA, security, DevOps, and UI/UX. It directs the agent to address findings immediately. CX Codex +1 562installs pr-review arkavo-org pr-review is a Claude Code command that examines pull request changes before they are merged. Its template reviews a patch from six different professional perspectives. CX Codex +1 ★ 2,003repo stars pr-review-comments giuseppe-trisciuoglio pr-review-comments publishes code review findings from a JSON file as inline comments on a GitHub pull request. Useful for attaching review notes directly to modified lines in a diff. CX Codex +1 2,600installs github-pr-review fvadicamo github-pr-review pulls review comments from a GitHub pull request, sorts them by severity and proposes fixes. Useful once a PR has collected a pile of feedback. CX Codex +1 581installs groove-groovebook-review andreadellacorte groove-groovebook-review finds open learning pull requests in a configured groovebook repository, displays their diffs, and submits reviews through GitHub CLI. CX Codex +1 508installs bug-review pproenca bug-review is a Claude Code skill that runs five parallel passes over a PR diff, selects findings by majority vote, then checks them with a separate Opus validator. It finds bugs before the merge. CX Codex +1 264installs addressing-pr-review-comments streamlit addressing-pr-review-comments pulls reviewer feedback from the current branch's PR in streamlit/streamlit, sorts it by type, and applies the fixes you pick. CX Codex +1 108installs gh-stack official github Manages stacked branches and pull requests with the gh-stack extension. Keeps multi-part work isolated into clean layers without freezing the agent in interactive prompts. CX Codex +1 21,500installs

From the same set11

The whole set →
pr-summary pr-summary reviews the current branch against main and drafts a pull request body with changed files, breaking changes, and a test checklist. CX Codex +1 ★ 6,091repo stars onboard onboard — a command that prepares an agent to work on a project. It explores the codebase, asks clarifying questions, and records context for the next session. CX Codex +1 ★ 6,091repo stars code-quality code-quality reviews TypeScript files in a chosen directory, runs npm checks, and groups findings by severity. Use it before a code change or review. CX Codex +1 ★ 6,091repo stars docs-sync docs-sync is a Claude Code command that compares documentation with recent code changes and flags inconsistencies. It catches outdated examples, incorrect API signatures, and mismatched parameter types. CX Codex +1 ★ 6,091repo stars github-workflow github-workflow manages Git branches, Conventional Commits, and pull requests according to team conventions. Helpful for keeping repository history structured and tidy. CX Codex ★ 6,091repo stars ticket Handles the full ticket workflow: fetch task details from JIRA or Linear, explore related code, implement changes, and create a linked PR. Reduces manual sync between issue tracker and repository. CX Codex +1 ★ 6,091repo stars code-reviewer code-reviewer — a subagent for Claude Code that checks newly written or modified code against project standards, TypeScript strict mode, and security patterns. CX Codex ★ 6,091repo stars systematic-debugging systematic-debugging enforces a four-phase troubleshooting protocol rooted in root cause analysis. Ideal for tracking down broken test suites or runtime errors without trial-and-error edits. CX Codex +1 ★ 6,091repo stars

Project sponsors

Companies that keep this analytics open