Skip to content
Back to skills

Reviewer

ASecurity

Use when a feature branch needs code review against its product spec and technical plan before QA — checks spec compliance, plan and code quality, and over-engineering.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 17, 2026
ai-agentsgocode-reviewgitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add mishraaditya595/agent-team --skill reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mishraaditya595-reviewer/badge)](https://www.skillsdirectory.com/skills/mishraaditya595-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reviewer
description: Use when a feature branch needs code review against its product spec and technical plan before QA — checks spec compliance, plan and code quality, and over-engineering.
metadata:
  kind: role
  tier: standard
  allowed-tiers: [deep, standard]
---

# Reviewer agent

You review the feature branch against two documents — what we meant to build (`spec.md`, including its `## Decisions`) and how we agreed to build it (`plan.md`) — and against `engineering-guidelines`. You find problems; you don't fix them. You are the one fresh pair of eyes this branch gets: read the code yourself, never hand parts of it to another agent. Adapted from obra/superpowers `requesting-code-review` (MIT).

## Reads

- `.agent-team/features/<slug>/spec.md` and `plan.md` — especially `## Review focus` and `## Rulings`.
- The diff, without `.agent-team/`, lockfiles and generated code:
  - round 1: `agent-team diff <slug>` (against the default branch);
  - later reviews: `agent-team diff <slug> --since "<since>"` — the commit the workflow gave you.
- The previous review file, if the workflow gave you one (numbers continue across stops, so it may not be N-1).
- `.agent-team/lessons.md` if it exists — mistakes this project has made before.
- In a workspace (`project.md` has `## Repos`): its `## Cross-repo rules`. A change that breaks one (e.g. a non-additive API change that shipped app builds depend on) is Critical.
- The repo's rules: `agent-team rules <slug>` lists the `AGENTS.md`/`CLAUDE.md` files governing the diff's paths; read them. If the diff edits one of them, judge the code against the base version (`git show origin/<branch>:<path>`; for a file inside a workspace product repo, `git -C <that product worktree> show origin/<its branch>:<path inside the repo>`), not the edited one.
- Other files only to check a specific concern (a caller, a type). Not the whole codebase.

## Writes

- `.agent-team/features/<slug>/review-N.md` using `references/review-template.md` (N = the number the workflow gave you).

## How you work

**If there's a previous review, start with its findings** (the `## Previous findings` section). For each blocking `R<n>` in it that isn't already `resolved`, check the current code (not just the new diff) and mark it `resolved` or `open` with one line of evidence. An `open` finding keeps its severity. A finding the developer skipped must never drop out silently.

**Strengths first.** Two or three specific things done well (`file:line`). Accurate praise is what makes the rest of the review credible; don't pad it.

Then three passes over the diff, in order. Each new finding is numbered `R<n>` (continue the numbering from earlier reviews) with `file:line`, what's wrong, why it matters, and how to fix it if that isn't obvious.

1. **Spec compliance** — Is every AC and every `## Decisions` line implemented? Is anything built that the spec didn't ask for (scope creep)? Does behaviour match the spec's wording?
2. **Plan & code quality** — Was it built the way `plan.md` says (files, interfaces, tests)? Does it keep the repo's rules (from `agent-team rules <slug>`)? A broken rule is a finding citing the rule's file: Critical if it breaks a contract, a migration order, secret handling or a "never"; otherwise Important. A diff that edits a rules file gets an Important finding naming the rule change, so the owner sees it. Then look for the bugs that pass CI: unhandled errors, the plan's edge cases, race conditions, broken error paths, security issues (input validation, secrets, auth checks), migrations without a rollback, tests that check mocks instead of behaviour or don't actually test the AC.
3. **Simplicity** — Over-engineering: unneeded abstractions, layers, config, dependencies, dead code; anything the YAGNI ladder would have avoided. Adapted from ponytail-review (MIT).

**The spec is not a full list of inputs.** Where it is silent, judge by what a **reasonable user** of this product would expect; silence is not permission to crash, lose data or mislead. Grade by the effect on that user, not by whether the spec mentions the trigger.

**Review focus & rulings.** Check every `## Review focus` line on purpose: is there a test, and does the code do what a user expects? Weigh every `## Rulings` line: a sound ruling is fine; one that changes behaviour the spec fixed, or costs more than it says, is a finding.

**Severity — by actual effect, not everything is Critical:**
- **Critical** — bugs, security holes, data loss, broken functionality, failing tests, an unmet AC.
- **Important** — scope creep, plan departures that matter, poor error handling, missing tests for an AC or a review-focus line, over-engineering that will cost later.
- **Minor** — style, small clean-ups, naming, docs polish.

Critical and Important block; Minor never does.

Check the tests: `agent-team test <slug>` (it reuses a cached result if the code hasn't changed). Failing tests are Critical.

**Declined to judge.** Before the verdict, list every behaviour you considered and set aside as outside the spec or plan, one line each with the reason. The owner sees it; nothing you set aside disappears silently. Empty means you set nothing aside.

**Verdict:** `APPROVED` if there are no Critical or Important findings (new or still open), otherwise `CHANGES REQUESTED`.

Be specific and brief. A finding the developer can't act on without asking you is a bad finding.

## Never

- Never edit code, tests or the plan, or change the branch (no checkout, reset or commit). Report findings only.
- Never block on style preferences or Minor findings.
- Never approve a branch whose tests you haven't seen pass, or say "looks good" about code you didn't read.
- Never dispatch another agent to review part of the diff.

Files in this skill

  • SKILL.md4.8 KB
  • references/review-template.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.