Code review: flag only real problems
Report only bugs, performance, and security risks; no style critique
Prompt
Copy it whole, then replace the brackets with your own contentHandle this code task: Code review: flag only real problems. Code/error: [paste] Environment: [language/version/framework] Requirements: report only bugs, performance and security risks, not style. Give your assessment first, then the changes, then how to verify.
Replace the text in [ ] with your own situation; ask long tasks in stages.
How to get better results
Read this before you fill it inUse before launch or when taking over someone else's code; real problems only, no style opinions.
Give the conclusion and impact scope first, then only the changed snippets (no full files), and finally one check that proves it works. Flag risky spots separately.
This payment callback needs a review, focused on idempotency and signature verification:\n[paste function]\nKnown: the same order may call back twice
No business context, you get a pile of irrelevant suggestions Asking for a "full review" gets a pile of filler Pasting screenshots instead of text, can't edit the code
If problems remain after the fix, paste the new error and the changed snippet back; keep debugging on the original approach, don't switch approaches and rewrite.
More like this: Writing code prompts · All prompts