Code Review Guide
Check out the branch $ARGUMENTS and give me a thorough guided tour of the changes.
Steps
- Run
git fetch originthengit checkout $ARGUMENTS - Run
git diff main...$ARGUMENTS --statto get an overview of changed files - Run
git log main...$ARGUMENTS --onelineto understand the commit history - For each changed file, run
git diff main...$ARGUMENTS -- <file>and analyze the diff
For each file, provide:
- Summary: What changed and the likely intent
- Risks: Bugs, security issues, race conditions, error handling gaps
- Performance: N+1 queries, unnecessary allocations, missing indexes
- Style: Naming, structure, consistency with surrounding code
- Testing gaps: What's untested or under-tested
At the end, provide:
- An overall assessment (approve / request changes / needs discussion)
- A prioritized list of the top issues to raise in review
- Suggested review comments I can paste directly into the PR
- Suggested files for a human reviewer to pay attention to
Converted and distributed by TomeVault — claim your Tome and manage your conversions.