Skip to main content
ClaudeWave
Slash Command6k repo starsupdated 5mo ago

pr-review

The pr-review command automates pull request analysis by fetching PR details and diffs, then evaluating changes against a stored code-reviewer checklist that covers TypeScript compliance, error handling, state management, testing, and documentation. Use this command to systematically review contributions and post structured feedback categorized by severity before merging.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ChrisWiles/claude-code-showcase/HEAD/.claude/commands/pr-review.md -o ~/.claude/commands/pr-review.md
Then start a new Claude Code session; the slash command loads automatically.

pr-review.md

# PR Review

Review the pull request: $ARGUMENTS

## Instructions

1. **Get PR information**:
   - Run `gh pr view $ARGUMENTS` to get PR details
   - Run `gh pr diff $ARGUMENTS` to see changes

2. **Read review standards**:
   - Read `.claude/agents/code-reviewer.md` for the review checklist

3. **Apply the checklist** to all changed files:
   - TypeScript strict mode compliance
   - Error handling patterns
   - Loading/error/empty states
   - Test coverage
   - Documentation updates

4. **Provide structured feedback**:
   - **Critical**: Must fix before merge
   - **Warning**: Should fix
   - **Suggestion**: Nice to have

5. **Post review comments** using `gh pr comment`