Reviewing a Pull Request
Reviewing a Pull Request
How It Works
What you do: Run /review-pr 123.
What happens:
- The
/review-prcommand is invoked, which loads your project instructions from CLAUDE.md. - The instructions define your code review standards, including testing requirements, commit message format, and performance considerations.
- A general-purpose agent is dispatched to analyse the pull request.
- The agent uses skills such as code analysis and git operations to:
- Fetch the PR details
- Compare changes against the base branch
- Run static analysis
- Check for compliance with project standards
- The agent may invoke the Opus model for complex reasoning about code quality.
- Results are returned with specific, actionable feedback based on your project's standards.