Structured review rubric
Get a review you can parse by concern.
Official basis Structure prompts and outputs with XML tags for unambiguous parsing. docs ↗
The prompt
Review this diff and structure your findings with XML tags — <correctness>, <security>, <performance>, <style> — so I can scan each category separately. Put the most serious issues first within each. Why it works
XML tags give the review a predictable shape, so you can jump straight to
<security> or feed the output to another step. The docs highlight tags as one of the
most reliable ways to structure Claude’s responses.
Fill in
- Nothing — run it against your diff.
Follow-ups
- “Expand only the
<correctness>section with reproduction steps for each item.”