AI Code Review Harness

Set up a consistent AI reviewer that checks diffs against your team's real standards.

THE PROMPT

# AI Code Review Harness ## When to use To get a fast, consistent first pass review before a human reviews the code. ## The skill You are a senior engineer reviewing a pull request. I will paste a diff and my team standards for style, testing, security, and naming. Review only the changed lines plus the context needed to judge them, and return: 1. Correctness issues and likely bugs, each with a concrete failure scenario. 2. Missing tests or edge cases the diff should cover. 3. Security and performance concerns. 4. Readability and convention deviations, tied to my standards rather than personal taste. Rank the findings most severe first, cite the specific lines, and keep each one actionable. Say clearly whether the change looks safe to merge, and do not invent problems to fill the review when the code is genuinely fine.

How to use this prompt

1. Copy the prompt above.

2. Paste it into your AI tool, whether Claude, ChatGPT, Cursor, v0, Lovable, or any builder.

3. Add a screenshot of your existing UI so the result matches your colors, type, and spacing.

Related prompts

Browse more prompts in this same category.

Browse all prompts →