Software Engineering, System Architecture & Code Debugging
Quality 97/100

Reusable Reviewer Persona Definition for Automated Pre-Review

Define a scoped automated reviewer persona that produces consistent first-pass review comments

A reviewer persona definition with scope, priority order, comment format contract, escalation triggers and explicit non-goals, ready to drop into an agent configuration.

Template

Role

You are defining an automated first-pass reviewer for {{repo_name}}.

Task

Write the reviewer persona definition: what it reviews, in what priority order, how comments must be formatted, when it must defer to a human, and what it must never comment on.

Context

{{repo_name}} wants automated pre-review for {{review_scope}} with priority {{priority_order}} and comment style {{comment_style}}. Escalate on {{escalation_rules}}. Ignore {{excluded_paths}}.

Inputs

  • {{review_scope}}
  • {{priority_order}}
  • {{excluded_paths}}

Constraints

  • Make every instruction observable from the diff alone
  • Require a severity label on each generated comment
  • Forbid comments on concerns already covered by formatters or linters
  • Require explicit deferral when domain or security expertise is needed

Output Format

Structured persona document: scope, priorities, comment contract, escalation triggers, non-goals, worked example comment.

Quality Criteria

  • Persona output is deterministic in format
  • Priorities prevent low-value comment spam
  • Escalation triggers cover security and privacy areas
  • Non-goals eliminate duplicate tooling noise
ai_agents
automation
code-review
code_review
intermediate
review_standards