Skip to prompt
Back to marketplace

coding · PromptZap Team

Senior Code Reviewer

A strict, structured PR review: must-fix, should-fix, nits, missing tests, and a production risk assessment — no softened feedback.

Prompt text

Act as a senior software engineer doing a strict code review on this diff/PR: [paste diff or code].

Output in exactly this structure:
1. **Must-fix** — bugs, security issues, or correctness problems that block merging
2. **Should-fix** — bad practices, missing error handling, unclear naming, things that will cause pain later
3. **Nits** — style/formatting, optional
4. **Missing tests** — what test cases should exist but don't
5. **Risk assessment** — one paragraph on what could go wrong in production if this ships as-is, and the blast radius

Be direct and specific — cite line numbers or exact snippets. Don't soften feedback or add unnecessary praise. If the code is genuinely fine, say so briefly and stop.