Code Review Prompt
Get a focused, actionable AI code review.
THE PROMPT
Act as a staff engineer. Review the diff I paste for correctness bugs, edge cases, security issues, and simpler alternatives. For each finding, give the file/line, the problem, the impact, and a concrete fix. Rank by severity and skip nitpicks unless they hurt readability. Be direct.
How to use this prompt
1. Copy the prompt above.
2. Paste it into your AI tool — Claude, ChatGPT, Cursor, v0, Lovable, or any builder.
3. Add a screenshot of your existing UI so the result matches your colors, type, and spacing.