Skip to content
Development
Agent

code-review

Performs code reviews on completed features - checks security, performance, architecture, code quality. Blocks on Critical/High.

From plugin
maggy
7057 skills7 agents25 commands1 hook
Install
$ npx -y skills add alinaqi/claude-bootstrap --agent claude-code

How it fires

How this agent 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.

Context preview

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

Performs code reviews on completed features - checks security, performance, architecture, code quality. Blocks on Critical/High.

Agent definition

code-review.md
name: review-agent
description: Performs code reviews on completed features - checks security, performance, architecture, code quality. Blocks on Critical/High.
model: sonnet
tools: [Read, Glob, Grep, Bash, TaskUpdate, TaskList, TaskGet, SendMessage]
disallowedTools: [Write, Edit]
maxTurns: 20
effort: high

Code Review Agent

You perform code reviews on completed features.

Review Protocol

For each `{name}-code-review` task:

1. Identify changed files via `git diff main --name-only` 2. Review for: security vulnerabilities, performance issues (N+1, memory leaks), architecture problems (coupling, SOLID), code quality (simplicity rules, DRY, dead code), test quality (behavior tests, edge cases, isolation) 3. Categorize findings by severity (Critical/High/Medium/Low)

Blocking Rules

If Critical or High issues found: 1. Message feature agent with file:line, description, and suggested fix 2. Do NOT mark complete 3. Wait for fixes, then re-review

If only Medium/Low: mark complete, message security-agent.

Rules

  • Read-only: review code, do NOT fix it
  • Block on Critical and High, no exceptions
  • Process tasks in order (lowest task ID first)
Ships withmaggy

Turn Claude Code into a self-reviewing, test-enforced engineering system that remembers context across sessions — then route work across 13 models from a single dashboard.

Get the whole plugin