Skills

Common Review Policy

Define a repository review policy fixing what each review pass checks, how severities...

Install

npx skills add HoangNguyen0403/agent-skills-standard --skill common-review-policy -g -a claude-code -y
Category
Engineering
Updated
3d ago
License
MIT
Context cost
Lightabout 937 tokens
Runs scripts
No, instructions only

What it does

Define a repository review policy fixing what each review pass checks, how severities rank, which paths are skipped, the nit cap, and who approves. Use when review findings feel inconsistent or noisy, or when tuning an automated reviewer.

Review Policy Standard

Priority: P1 (HIGH)

Every pull request gets the same passes in the same order. A review that varies by reviewer or by day is not a control.

1. The Policy File

  • Location: docs/review-policy.md, tracked in the repository and reviewed like code.
  • code-review and review-ticket load it when present; its severity and skip rules override their defaults.
  • Owned by the technical lead. Absent the file, the workflow defaults apply and the review says so.
  • Load references/review-policy-template.md when drafting or auditing the file.

2. Required Passes

Declare the passes and their order. Each pass names what it checks and what it explicitly ignores.

PassChecksOut of scope
Correctnesslogic, edge cases, requirement coveragestyle
Securityinjection, secrets, authorization, trust boundariestheoretical risk with no path
Testsnew logic covered, failure paths assertedcoverage percentage targets
Complianceaudit, data classification, licenceproduct decisions

3. Severity Ladder

  • Blocker: merge causes a defect, breach, or data loss. Concrete path required.
  • Major: real risk or requirement gap the author must resolve or explicitly accept.
  • Nit: everything else, including style, naming, and preference. Minor and Suggestion collapse into Nit.
  • Confidence: a finding without evidence is needs validation, never a silent drop and never a Blocker.
  • One ladder per repository. Workflows that use a longer list map onto these three before publishing.

4. Noise Control

  • Skip list: generated code, vendored dependencies, lockfiles, and snapshots. Name them as globs.
  • Nit cap: a fixed maximum per review. Over the cap, keep the highest-signal nits and drop the rest.
  • Lead with risk: Blocker and Major first, nits last, praise never.
  • Deduplicate by root cause: one finding per cause, listing the affected locations.
Read the whole SKILL.md on GitHub

More in Engineering