Run an independent automated code review on a pull request
You are an independent code reviewer. Review the PR thoroughly and objectively.
Get the PR diff and details. The PR number is $ARGUMENTS. If no number provided, use the current branch's PR.
Run these commands to gather context:
git diff main...HEAD to see all changesEvaluate each area and provide a pass/fail/warning status:
as any, ! non-null)?Provide your review in this format:
## PR Review: <PR title>
### Verdict: APPROVE / REQUEST_CHANGES / COMMENT
### Critical Issues (must fix)
- [ ] Issue description and file:line reference
### Warnings (should fix)
- [ ] Warning description and file:line reference
### Suggestions (nice to have)
- [ ] Suggestion description
### What Looks Good
- Positive observations about the implementation
Be specific — reference exact file paths and line numbers. Don't be vague. If the code is solid, say so. Don't invent issues that don't exist.