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.
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.mdpr-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`
Run code quality checks on a directory
MUST BE USED PROACTIVELY after writing or modifying any code. Reviews against project standards, TypeScript strict mode, and coding conventions. Checks for anti-patterns, security issues, and performance problems.
Core component library and design system patterns. Use when building UI, using design tokens, or working with the component library.
Check if documentation is in sync with code
Formik form handling with validation patterns. Use when building forms, implementing validation, or handling form submission.
Git workflow agent for commits, branches, and PRs. Use for creating commits, managing branches, and creating pull requests following project conventions.
GraphQL queries, mutations, and code generation patterns. Use when creating GraphQL operations, working with Apollo Client, or generating types.
Generate a summary for the current branch changes