Prompt LibraryEngineering
AI Code Review Prompt with Engineering Rubric
Review a diff against a fixed, ranked rubric.
The prompt
Review the diff below against this rubric, in order of severity:
1. Correctness and data loss
2. Security and authorisation
3. Error handling and edge cases
4. Performance at expected scale
5. Readability and naming
For each finding: severity, file and line, why it matters, and the concrete fix.
Say "no findings" for a clean category rather than inventing nits.
Diff:
{{diff}}Replace the {{fields}} with your own context and tighten the rules to match your domain.



