Prompt templates

Prompts for reviewing AI-generated code.

Use these prompts to make AI code changes less mysterious and easier to ship safely.

Copyable promptsLast reviewed 2026-05-30

Diff review

Review this diff for bugs, regressions, security issues, missing tests, and user-facing behavior changes. Lead with findings and file references.

Verification plan

Given this code change, list the exact local commands, browser checks, and production checks needed before calling it done.

Scope control

Identify any unrelated changes in this diff. Tell me what should be separated into a later commit.

Bug hunt

Act like a senior engineer reviewing this feature. What assumptions might break in real use? What edge cases should I test?