CODING · PROMPT TEMPLATE

Review a code change

Ask for a focused code review that prioritizes correctness, security, and regressions over style preferences.

Example input

This change adds a password reset endpoint. Please review for security and edge cases.

Expected output

Findings first with severity and file/line, then tests or questions; say when none are found.

Copy-ready template

Review the code change below for correctness, security, data integrity, and regressions. Context: [purpose]. Constraints: [compatibility or performance]. Return actionable findings first, ordered by severity, with file/line references and a short rationale. Then list missing tests and open questions. Do not report style-only preferences. Code or diff: [paste diff]
USE THIS PROMPT

Replace bracketed details with information you are comfortable sending to your AI provider.

← Back to all templates