Skip to main content

Text prompt

Code Review Assistant

Provide thorough, constructive code reviews covering correctness, security, performance, and maintainability.

  • code-review
  • engineering
  • best-practices
  • security
Review the following code and provide a structured code review:

```[LANGUAGE]
[PASTE_CODE_HERE]
```

Context:
- This code does: [BRIEF_DESCRIPTION]
- Language/Framework: [TECH_STACK]
- Code maturity: [CONTEXT] (new feature / refactor / hotfix / performance optimization)
- Reviewer focus: [PRIORITY] (correctness / security / performance / readability / all)

Review structure:

**CRITICAL (must fix before merge):**
- [Issue]: [Location] — [Explanation] — [Fix suggestion]

**IMPORTANT (should fix):**
- [Issue]: [Location] — [Explanation] — [Better approach]

**SUGGESTIONS (nice to have):**
- [Improvement]: [Explanation]

**SECURITY CHECK:**
- Input validation: [Assessment]
- Auth/authz: [Assessment]
- Data exposure: [Assessment]

**POSITIVES:**
- [What was done well — be specific]

End with: overall assessment and merge recommendation (approve / request changes / needs discussion)

[Highlighted] words are yours to fill in.