Skip to content
Development
Skill

/review

Code review: systematic single-file, parallel multi-reviewer, full-repo audit, PR diff review.

From plugin
vexjoy-agent
42561 skills198 agents12 commands78 hooks
Install
$ npx -y skills add notque/vexjoy-agent --skill review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/review

Context preview

The summary Claude sees to decide when to auto-load this skill.

Code review: systematic single-file, parallel multi-reviewer, full-repo audit, PR diff review.

SKILL.md

review.SKILL.md
name: review
description: "Code review: systematic single-file, parallel multi-reviewer, full-repo audit, PR diff review."
user-invocable: true
allowed-tools:
  - Read
  - Write
  - Bash
  - Grep
  - Glob
  - Edit
  - Task
  - Agent
routing:
  force_route: true
  not_for: "security scanning (use security), linting (use code-quality), git push/commit/PR (use pr-workflow)"
  triggers:
    - "review code"
    - "code review"
    - "code review methodology"
    - "structured review"
    - "code audit"
    - "review methodology"
    - "comprehensive review"
    - "parallel review"
    - "3-reviewer review"
    - "multi-reviewer"
    - "concurrent review"
    - "full repo review"
    - "review entire repo"
    - "codebase health check"
    - "review all files"
    - "full codebase review"
    - "audit the codebase"
    - "codebase audit"
    - "review whole repo"
    - "sweep all source files"
    - "repo health"
    - "review this PR"
    - "review my PR"
    - "review my changes"
    - "PR review"
    - "diff review"
  category: code-review
  pairs_with:
    - security
    - testing

Review

Three modes. Pick one by request shape, default to systematic.

| Request matches | Mode | |---|---| | Review a file, diff, or PR | Systematic (default) | | "parallel review", "multi-reviewer", "3-reviewer" | Parallel | | "full repo review", "codebase audit", "repo health", review ALL files | Full-repo |

Deep References

| Signal | Load | Why | |---|---|---| | Reviewing Go code | `references/go-review-patterns.md` | Exports, concurrency, resources, metrics, tests | | Dispatching Architecture reviewer in parallel mode | `references/architecture-smell-baseline.md` | 12 Fowler smells with language counter-examples and severity cap | | Writing full-repo report | `references/report-template.md` | Report structure and field definitions | | Dispatching full-repo wave agents | `references/audit-playbook.md` | 8-category checklists with evidence requirements | | Receiving review feedback | `references/receiving-feedback.md` | Feedback-handling patterns |

Severity Classification

Shared across all modes. When in doubt, classify UP.

| Level | Scope | Examples | |---|---|---| | BLOCKING | Security, correctness, reliability | Auth bypass, race condition, resource leak, logic error, test failure | | SHOULD FIX | Material quality, patterns, tests | Missing tests, unhelpful errors, pattern violations, N+1 in hot paths | | SUGGESTION | Optional, stylistic | Naming preferences, comments, micro-optimizations |

Decision: security/correctness/reliability risk? -> BLOCKING. Violates patterns or creates maintenance burden? -> SHOULD FIX. Purely stylistic? -> SUGGESTION.

Verdict Rules

| Condition | Verdict | |---|---| | Any BLOCKING finding | **REQUEST-CHANGES** (or BLOCK) | | SHOULD FIX findings, no BLOCKING | **FIX** before merge | | Only SUGGESTION or clean | **APPROVE** |

Omit empty severity sections. Include review scope, evidence, and limitations. Validate output:

python3 scripts/validate-review-output.py --type systematic /tmp/review-output.md

Exit 0 = valid; 1 = schema errors; 2 = unparseable; 3 = missing jsonschema.

---

Mode 1: Systematic Review (default)

Single-reviewer, 4-phase review of a named file, diff, or PR.

Phase 1: UNDERSTAND

Read repository instructions and the complete diff. Read surrounding code to understand each changed path and its consumers. When signatures change, find all callers and interface implementations. Trace parameters to their source: query params may hold any user string; tokens may be server-issued IDs; enums have bounded values. Check validation at each caller.

**Gate:** Every changed path accounted for, callers traced where needed.

Phase 2: VERIFY

Run relevant tests and required repository checks. Reuse prior results only when they cover current code and environment. Check material claims in comments and PR description against code and tests. Missing tools, skipped checks, and inferred outcomes are not passes.

**Gate:** Claims have supporting evidence; required checks passed or the gap is recorded.

Phase 3: ASSESS

Assess risks: security (auth, validation, injection, secrets), performance (N+1, unbounded work, allocations on hot paths), architecture (conventions, compatibility, scope, unnecessary abstractions). For extracted helpers, recheck contract and callers.

**Gate:** Relevant risks and remaining uncertainty are explicit.

Phase 3.5: VERIFY FINDINGS

Before reporting, check each finding's input sequence, existing guards, and proposed fix. Drop unreachable or already-handled claims. Deduplicate when combining reviews; resolve severity from evidence.

Phase 4: DOCUMENT

Review Summary:
  Files Reviewed: N | Lines Changed: +X/-Y
  Test Status: PASS | FAIL | SKIPPED
  Risk Level: LOW | MEDIUM | HIGH | CRITICAL

BLOCKING:
  1. Issue and consequence — path/file.ext:42
SHOULD FIX:
  1. Issue and consequence — path/file.ext:52
SUGGESTIONS:
  1. Optional improvement — path/file.ext:62

Verdict: APPROVE | REQUEST-CHANGES | NEEDS-DISCUSSION
Rationale: Evidence, scope, and limitations.

---

Mode 2: Parallel Review

Three concurrent reviewers, then aggregate.

Step 1: Scope

Identify the diff or files. Record the reviewed revision.

git diff --name-only HEAD
gh pr view --json files -q '.files[].path'

Select Architecture reviewer by language: Go -> `golang-general-engineer`; Python -> `python-general-engineer`; TypeScript -> `typescript-frontend-engineer`; mixed -> `Explore`.

Step 2: Dispatch

Dispatch three reviewers together. Read-only; no code edits.

| Reviewer | Focus | |---|---| | Security | Auth, authorization, input validation, secrets, OWASP | | Business Logic | Requirements, edge cases, state transitions, failure modes | | Architecture | Design, structure, performance, maintainability, scope |

Pass `references/architecture-smell-baseline.md` verbatim to the Architecture revie

Read more
Ships withvexjoy-agent

Essays and writing behind this toolkit live at vexjoy.com. VexJoy Agent connects plain-English requests to specialist agents, skills, and workflows. /do selects the knowledge and tools needed for your task.

Get the whole plugin

Other skills on vexjoy-agent.