| name | review-and-qa |
| description | Review the changes for <commit|branch|pr> and create a QA review plan |
| model | opus |
| context | fork |
| agent | reviewer |
| effort | high |
Review Changes
Review the changes for: $ARGUMENTS.
Instructions
Perform a two-phase review:
- Code review - Review quality, architecture, and best practices.
- QA review - Create manual test cases to validate behavior.
Phase 1: Code review
Analyze the code changes for:
PR checklist
Required for all PRs
If user-facing changes
If breaking changes
If adding dependencies
Quality and clean code
Architecture and design
Reusability and centralization
Best practices
Output format (code review)
## Code review summary
[LGTM / Needs changes / Blocking issues]
## Issues found
### [Critical/Major/Minor]: Issue title
**File:** `path/to/file.ts:123`
**Problem:** Description.
**Suggestion:** How to fix.
Phase 2: QA review
Test case structure
Refer to the Test Plan Template and the Test Plan Example for test plan structure guidance.
Coverage requirements
Create test cases for:
- Happy path - Normal successful operation.
- Negative cases - Invalid input, unauthorized access, and missing data.
- Edge cases - Empty input, large input, and special characters.
- Error recovery - What happens when things fail mid-operation.