paulund

Reviewing a Pull Request

Reviewing a Pull Request

How It Works

What you do: Run /review-pr 123.

What happens:

  1. The /review-pr command is invoked, which loads your project instructions from CLAUDE.md.
  2. The instructions define your code review standards, including testing requirements, commit message format, and performance considerations.
  3. A general-purpose agent is dispatched to analyse the pull request.
  4. 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
  5. The agent may invoke the Opus model for complex reasoning about code quality.
  6. Results are returned with specific, actionable feedback based on your project's standards.