Review all changes on the current branch compared to main. Stop and report findings before making any fixes.
- •Run
git diff main...HEADto see all changes - •Run
git log main..HEAD --onelineto understand the commit history - •Review the diff for:
- •Type safety issues
- •Bugs or logic errors
- •Security concerns (injection, leaked secrets, OWASP top 10)
- •Unnecessary abstractions or over-engineering
- •Convention violations relative to the rest of the codebase
- •If
$ARGUMENTSis provided, pay special attention to that area - •List findings grouped by severity:
- •Critical — bugs, security issues, data loss risks
- •Warning — code smells, potential issues, missing edge cases
- •Nit — style, naming, minor improvements
- •Ask whether to fix the critical and warning items
- •After fixes, run
bun run typecheck && bun run lint && bun run testto verify nothing broke