~ pr-review

Introduction

pr-review is a globally-installed CLI tool that runs AI-powered pull request reviews from your terminal. It supports 5 AI providers — all accessed through their own installed CLI tools, so no API keys are required.

💡 Key principle: pr-review delegates to whatever AI CLI you already have installed (claude, copilot, codex, gemini, or agent). It handles the git diff, prompt engineering, and report writing.

How it works

  1. Run pr-review inside any git repository
  2. Select your AI provider and model interactively
  3. Choose source and destination branches
  4. pr-review fetches the git diff, excluding lock files and other configured ignores
  5. The diff is injected into a structured review prompt
  6. Your chosen AI CLI is called with the prompt
  7. The response is saved as a Markdown report (e.g. pr-42-review.md)

Supported providers

ProviderCLI BinaryInstall
Claudeclaudenpm install -g @anthropic-ai/claude-code
GitHub Copilotcopilotnpm install -g @github/copilot
OpenAI Codexcodexnpm install -g @openai/codex
Geminigemininpm install -g @google/gemini-cli
CursoragentInstall Cursor app

Quick links