Review
Use this workflow when reviewing a diff, pull request, branch, or local change set.
Workflow
- Identify the review scope: diff, files, commit range, pull request, or task goal.
- Inspect changed behavior before style or cleanup concerns.
- Prioritize bugs, regressions, security risks, data-loss risks, and missing verification.
- Check whether tests, docs, migrations, and release notes match the behavioral impact.
- Look for edge cases around empty input, permissions, concurrency, rollback, and failure paths.
- Keep findings specific, reproducible, and tied to exact files or lines when possible.
- Avoid broad refactor suggestions unless they block correctness, safety, or maintainability.
- If no issues are found, say so clearly and note remaining test gaps or residual risk.
Final Report
Lead with findings, ordered by severity.
For each finding, include:
- severity or priority
- file and line when available
- what can fail
- why it matters
- a concrete fix direction
Then include:
- open questions or assumptions
- verification reviewed or still missing
- brief summary of the reviewed change
1---2name: review-23description: Review code changes with a bug-first, risk-focused workflow before merge or release.4---5# Review67Use this workflow when reviewing a diff, pull request, branch, or local change set.89## Workflow10111. Identify the review scope: diff, files, commit range, pull request, or task goal.122. Inspect changed behavior before style or cleanup concerns.133. Prioritize bugs, regressions, security risks, data-loss risks, and missing verification.144. Check whether tests, docs, migrations, and release notes match the behavioral impact.155. Look for edge cases around empty input, permissions, concurrency, rollback, and failure paths.166. Keep findings specific, reproducible, and tied to exact files or lines when possible.177. Avoid broad refactor suggestions unless they block correctness, safety, or maintainability.188. If no issues are found, say so clearly and note remaining test gaps or residual risk.1920## Final Report2122Lead with findings, ordered by severity.2324For each finding, include:2526- severity or priority27- file and line when available28- what can fail29- why it matters30- a concrete fix direction3132Then include:3334- open questions or assumptions35- verification reviewed or still missing36- brief summary of the reviewed change37