Code Review Accelerator (Fast, Fair, Actionable)

Conduct thorough code reviews efficiently, catching real issues while respecting developers' time with clear, actionable feedback.

Prompt
Review this code carefully and fairly. Separate real issues from style opinions.

CODE PURPOSE: {PURPOSE}
PROGRAMMING LANGUAGE: {LANGUAGE}
CONTEXT: {CONTEXT}

CODE TO REVIEW:
{CODE}

RELEVANT TESTS:
{TESTS}

Review this code for:

1) CORRECTNESS (does it do what it's supposed to?)
   - Does it handle edge cases?
   - Are there any logic errors?
   - Does it match the branch description?

2) PERFORMANCE & SCALABILITY
   - Any obvious performance issues?
   - Will it scale with expected load?
   - Could it be optimized?

3) MAINTAINABILITY & CLARITY
   - Is it clear what it does?
   - Could future developers understand this?
   - Is there duplication that could be extracted?

4) SECURITY & SAFETY
   - Any security vulnerabilities?
   - Proper error handling?
   - Any dangerous assumptions?

5) TESTING
   - Is test coverage adequate?
   - Do tests cover edge cases?
   - Are tests clear?

PROVIDED FEEDBACK FORMAT:

SUMMARY
[One paragraph overview]

CRITICAL ISSUES (block approval)
- Issue: [What the problem is]
  Why: [Why this matters]
  Fix: [Specific suggestion]

IMPORTANT IMPROVEMENTS (should fix before merge)
- Suggestion: [What to improve]
  Why: [Why this is important]
  Example: [How to implement]

NICE-TO-HAVE OBSERVATIONS (consider for next refactor)
- Note: [Observation]
  Alternative: [Different approach]

STYLE & STANDARDS
[Any consistency notes]

CONFIDENCE LEVEL
[Your confidence in this code going to production]

Approval: [approve / request changes / comment]

Purpose: {PURPOSE}
Language: {LANGUAGE}
Variations
Focus only on architecture, ignore implementation details.
Make it educational—explain the 'why' behind each suggestion.
Add security-focused review focusing on vulnerabilities.
Create a checklist-style review for consistency.
Works well with
GPT
Claude