Reviews a snippet or diff across correctness, security, performance, readability, idiom and error handling, then returns prioritized fixes with before/after code and a rationale for each.
Version 1 · 4 variables · 3 required
Fill in the values below — the customized prompt updates as you type. marks a required value.
Used for the code fences and to pick idiomatic conventions, e.g. TypeScript, Python, Go, Rust. Default: TypeScript
For example: function, class, module, pull request diff. Default: function
What the code is meant to do, how hot the path is, and any constraint the reviewer should know about.
Paste the snippet or unified diff. One function or hunk gives sharper results than a whole file.
Fill in Code or diff to copy the customized prompt.
Showing all 1 public result on version 1.
Contributor notes: Illustrative example — not an actual model run. Written to show the shape of a good answer so the prompt can be judged before you spend a call on it. Attribution: adapted from https://github.com/danielmiessler/fabric by danielmiessler, licensed MIT. Source file: https://github.com/danielmiessler/fabric/blob/main/data/patterns/review_code/system.md
1 public result from 1 model
Reports go to moderators and are never shown publicly.
No public results yet
Break a dependency replacement into reviewable stages with compatibility checks, exit criteria and realistic rollback limits.
No public results yet
Define realistic traffic, workload data, measurements and stopping rules for an authorized performance test.
No public results yet
Find source-visible labeling, semantics and keyboard risks, while separating code findings from checks that require a browser.
No public results yet
Map feature assets, trust boundaries and data flows to concrete threats, existing controls and targeted verification tasks.
No public results yet
Turn an API contract into a small client design that handles retryable failures, deadlines and idempotency deliberately.
No public results yet
Interpret supplied plan evidence and prioritize query or index experiments without inventing costs or speedups.
Oldest first · one level of replies
Sign in to join the discussion. Share what you learned or made with this prompt.
No comments yet
Be the first to share how this prompt worked for you.