Quick code review — what's wrong with this snippet?
A code review you can read without being a developer. Verdict, bug, safety flags, clarity tweaks, and what to test before trusting it. No lecture.
Fill in the Template
0 / 5 filledYour Built Prompt
Updates live as you typeReview this code snippet for me. I'm not a developer.
Language / tool: {{language}}
What it's meant to do: {{intent}}
The code (paste): {{code}}
What's happening when I run it: {{actual_behaviour}}
What I want it to do: {{expected_behaviour}}
Return:
1. ONE-LINE VERDICT: is this broken, working but messy, or working fine?
2. THE BUG (if any): exact line(s) + what's wrong, in plain English. Show the corrected line.
3. SAFETY ISSUES: anything that could expose data, leak credentials, or cause unintended cost (e.g. paid API in a loop). Flag with ⚠.
4. CLARITY IMPROVEMENTS: 1–3 small changes that make the code easier for a non-dev to maintain. Don't over-refactor.
5. WHAT TO TEST before trusting it: 2 specific test cases.
AU English. Don't lecture me on best practices — fix what's in front of us.Fill in the required fields above to copy or run this prompt.
Tags
Community Feedback
0 commentsRelated Prompts
More in CodingGenerate a regex from a plain-English description
Plain-English in, ready-to-paste regex out. Includes a walkthrough, test results against your sample inputs, and known limitations.
Write a Zapier filter step from a plain-English condition
Plain-English condition in, Zapier-UI-ready filter step out. Names operators exactly as Zapier shows them and warns about the case-sensitivity / blank-value gotchas that fail in production.
Custom code embed for Webflow / Squarespace / Wix
Custom-code embed for Webflow, Squarespace, or Wix — paste-ready, with exact placement steps for that platform and the most common gotcha.
Google Apps Script for Sheets — automate a recurring task
Google Apps Script that does one specific thing on your Sheet, with the setup steps + a test row to verify before you turn the trigger on.