Review a pull request by delegating to the pr-code-reviewer agent.
Delegation
Use the Task tool to launch the pr-code-reviewer agent (subagent_type).
Pass the full context of what needs to be done, including the PR number.
Input
$ARGUMENTS is the PR number (e.g., 42).
Steps
- •Fetch PR details:
gh pr view $ARGUMENTS --repo cmdscale/CmdScale.EntityFrameworkCore.TimescaleDB - •Check for linked issues and fetch their context for better review
- •Get the full diff:
gh pr diff $ARGUMENTS - •Review all changes against:
- •Coding standards from CLAUDE.md (explicit types, collection expressions, async patterns)
- •Architectural patterns from
.claude/reference/patterns.md - •Agent boundaries (files modified match the expected scope)
- •Test coverage (new features should include tests)
- •Provide structured feedback with specific file:line references
Rules
- •Read-only — do not edit any files
- •Review ALL commits in the PR, not just the latest
- •Flag security concerns (SQL injection, missing input validation)
- •Check for missing test coverage on new/changed code paths