Back to Coding

How Do You Build a Review Prompt for Your Team?

How Do You Build a Review Prompt for Your Team?
AI Tutorials Team 8 July 2026

Everybody on a team writing their own review prompt produces inconsistent findings and repeated work. A shared one produces the same checks on every change, and it is the point at which automated review stops being a personal habit and becomes part of how the team works.

What should it contain?

  • What to check. A specific list of defect categories.
  • What to ignore. Style, naming, formatting, unless you want them.
  • Project conventions. How errors are handled, what is logged, what is forbidden.
  • Output format. Line, problem, runtime consequence, severity.
  • Permission to find nothing. Explicitly.
  • The exclusion statement. What was not assessed.

Where should the check list come from?

Your incidents. Every defect that reached production is a category worth adding, and a prompt built from what has actually gone wrong here is worth more than one assembled from general good practice.

That also gives the list a natural ordering: what has hurt you most goes first, where attention is most reliable.

What conventions are worth stating?

The ones that produce noise when absent. How errors propagate in this codebase, whether a particular pattern is banned, what must never be logged, and which libraries are approved. Without these, reviews suggest things that contradict the project.

Where should it live?

In the repository, in whatever configuration file your tooling reads automatically, rather than in a shared document people paste from. That way it applies to every review, updates in one place, and is versioned alongside the code.

A prompt kept in a wiki page is a prompt that drifts out of date within a quarter.

How long should it be?

Short enough that every instruction is followed. Beyond about a page, compliance becomes inconsistent and you lose the ability to tell which instruction caused a result.

Ten checks that are applied beat thirty that are approximated.

How do you know it is working?

By the proportion of findings that lead to a change. Below about one in five, it is producing noise and needs narrowing. If it never finds anything over a month of real changes, it is too narrow or being run on the wrong things.

How do you maintain it?

Add a check when something gets through that should not have. Remove one when nobody can remember what it prevents, or when a model update makes it unnecessary. A prompt that only grows becomes one nobody follows, including the model.

What about different prompts for different changes?

Worth having two or three rather than one. A prompt for changes touching data, another for anything user-facing, and a general one covers most teams, and the specialised versions can be considerably more pointed than a universal one.

Should it be the same across every repository?

The core checks, yes; the conventions, no. Defect categories drawn from incidents are usually organisation-wide, since the same mistakes recur across teams, and a shared base list is worth maintaining centrally.

Conventions are local and belong with the code they describe. A repository using a different error strategy or a different set of approved libraries needs its own additions, and forcing one prompt across everything produces reviews that suggest the wrong thing in half the projects. A shared base plus a short local section is the arrangement that survives contact with more than one team.

What is the first version?

Five checks drawn from your last five incidents, an instruction to ignore style, and permission to return nothing. That is enough to be useful this week, and everything else can be added once you know what it misses.