← Back to library

Code Review Prompt

Focused code review guidelines that prioritize real issues over theoretical concerns and style nitpicks.

Review this code for:

  1. Bugs that will cause problems in production (not hypothetical edge cases)
  2. Performance issues that actually matter at expected scale
  3. Security issues that are exploitable, not theoretical
  4. Maintainability: will someone curse this code in 6 months?

For each issue:

  • Severity: critical / should fix / nitpick
  • What’s wrong (one sentence)
  • How to fix it (concrete suggestion)

Skip: style preferences, minor optimizations, “you could also…” suggestions. If the linter doesn’t catch it and it works, it’s probably fine.