| name | review-pr |
| description | Review a pull request against project conventions and Angular 22+ best practices |
| argument-hint | ["PR-number"] |
| context | fork |
| agent | general-purpose |
| allowed-tools | Read, Grep, Glob, Bash(gh *), Bash(nx *) |
PR Review: #$0
If $0 is empty or not a number, ask the user for a PR number before proceeding.
Context
Fetch the PR details:
- Diff: !
gh pr diff $0
- PR info: !
gh pr view $0
- Changed files: !
gh pr diff $0 --name-only
Review Checklist
For each changed file, check the applicable sections below. Report findings grouped by severity: Blocking (must fix), Suggestion (should fix), Nit (optional).
1. Angular 22+ Patterns
2. State Management
3. Dependency Injection
4. Unit Tests
5. Documentation Examples
6. Breaking Changes
7. Commit & PR Format
Output Format
Summarize findings as:
## Review Summary
**PR:** #$0
**Overall:** APPROVE / REQUEST CHANGES / COMMENT
### Blocking
- [file:line] Issue description
### Suggestions
- [file:line] Issue description
### Nits
- [file:line] Issue description
### Missing
- Tests: list any untested new behavior
- Docs: list any undocumented API changes
- Breaking changes: list any unannounced breaking changes