Code Review Assistant
Paste code and get a structured review covering bugs, readability, performance, and security — ranked by severity.
The Prompt — replace [BRACKETS] with your details
Act as a senior software engineer doing a code review. Review the code below. Language/framework: [LANGUAGE/FRAMEWORK] What the code should do: [SHORT DESCRIPTION] Review for, in this order of priority: 1. Bugs and logic errors (with the exact line and a fix) 2. Security issues (injection, unsafe inputs, secrets in code) 3. Performance problems (only ones that matter at realistic scale) 4. Readability and naming improvements Format: list findings ranked by severity (Critical / Warning / Nit). For each finding show the problematic snippet, explain why it's a problem in one or two sentences, and show the corrected code. End with one sentence on overall code quality. Do not rewrite the whole file unless asked. Code: ``` [PASTE YOUR CODE HERE] ```
How to use this prompt
- Paste one function or file at a time for the most precise feedback.
- Tell it what the code is supposed to do — reviews are far more accurate with intent.
Works well with
Need a custom version of this prompt?
The free prompt generator builds a prompt tailored to your exact goal, framework, and target AI model — or paste this template into the optimizer to refine it.
Related prompts
Debug Any Error Message
Paste an error message and the related code to get the likely root cause, a fix, and how t…Unit Test Generator
Generate thorough unit tests for any function, covering happy paths, edge cases, and failu…Code Documentation Writer
Generate clear docstrings, inline comments where needed, and a README-style usage section …SQL Query Builder
Describe what data you need in plain English and get a correct, efficient SQL query with a…Sponsored
Revenue Signal
Visitor → payment → MRR
MRR
$9.4k
+18%
ARR
$112k
run rate
Net New
+$1.7k
this month
Subs
192
active
ARPU
$49
per account
Churn
3.2%
watchlist
new MRR
+$1.9k
expansion
+$620
reactivation
+$210
churn + contraction
-$790
Failed Payments
$820 at risk
Open Metrics
public page ready
Click-worthy signal
ChatGPT visitors are not just visiting. They are turning into retained MRR.
Find my MRR signal →