Technical House
PROMPTS

Prompt patterns for code review

Reusable prompt structures that return severity-ranked findings instead of fluff.

Published · Updated · 10 min read

Ask for a rubric

Tell the model to rank blocker / major / nit. Demand patches, not a full rewrite. Ask what looks good — balanced reviews are more trustworthy.

Supply the diff

Paste the changed files or a unified diff. Without code, the model invents issues.

Security pass

Explicitly request XSS, injection, secret leakage, and authz checks. Models skip security unless you insist.

#prompts#review#quality

Never miss a drop

Get new guides on web development and AI, Prompt Lab tips, videos, downloads and exclusive deals — straight to your inbox. No spam, unsubscribe anytime.