Review a Pull Request Against Your Team's Actual Conventions

Read the story behind this prompt
Regression testing checklist template (with AI prompts)
Read the articleTap any variable to replace it with your own value:
AI prompt
Act as a senior engineer doing code review against MY team's actual conventions, not generic best-practice advice. Before reviewing, here are our standards: [paste your team's style guide bullets, e.g. 'no default exports', 'errors are typed, never thrown as strings', 'functions under 40 lines', 'tests required for new business logic']. Language/framework: [e.g. TypeScript/React]. Now review this diff/pull request: [paste the code]. For each issue found, cite the SPECIFIC convention it violates (quote the rule back), the exact line, and a one-line fix - don't give abstract 'consider refactoring' comments. Separate findings into Must Fix (breaks a stated convention or introduces a real bug) versus Worth Discussing (a judgment call, not a rule violation). If the diff is clean against our stated conventions, say so plainly instead of inventing nitpicks to seem thorough.
Related prompts
- Draft precise, kind code review comments for a pull request
Turn convention violations into clear review comments you can post.
- Generate a custom code review checklist for your exact stack
Build a stack-specific checklist before reviewing future pull requests.
- Turn a pull request diff into a focused security review
Add a security pass to your pull request review.
- Catch performance bottlenecks in code before they hit production
Spot performance problems that a style-based review might miss.
- Get an honest verdict on whether your refactor actually improved the code
Judge whether a refactor improved the code beyond matching team rules.
- Write a Test Plan for a Feature Before Any Code Ships
Plan the tests your standards expect for new business logic.