Git Built-in Beginner
Review PR
Reviews pull requests with detailed code review feedback
By Anthropic
Trigger Command
/review-pr Trigger Condition
User types /review-pr followed by a PR number or URL
Overview
Analyzes pull request changes including all commits, provides structured code review feedback covering correctness, clarity, performance, and security. Can review PRs by number or URL using the GitHub CLI.
Available Tools
Bash Read Glob Grep
Usage Example
/review-pr 123 Tips
- Pass a PR number or GitHub URL as the argument
- Requires gh CLI to be authenticated
- Reviews all commits in the PR, not just the latest