Skip to main content
paulund

1 min read

#ai#claude#workflows

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.

Related notes

  • Claude Workflow: Add a New Page

    A step-by-step example workflow showing how Claude Code reads project instructions and follows exist...

  • Claude Workflow: Researching a Feature

    An example workflow showing how Claude uses codebase exploration and planning agents to research, de...

  • AI Rules

    How to define rules and guidelines for AI coding tools like Claude Code and GitHub Copilot to ensure...


Newsletter

A weekly newsletter on React, Next.js, AI-assisted development, and engineering. No spam, unsubscribe any time.