Claude Tools / Agents / Code Reviewer
Illustrative delegable role
Code Reviewer
Reviews a diff for correctness, security, maintainability, and project conventions.
read-onlyTemplate signals
Status
Draft
Audit
Not run
Collection
Agents
Anatomy
What it contains
- A focused role and delegation description
- A system prompt defining responsibilities and boundaries
- An explicit tool grant and optional model choice
Lifecycle
How it works
- The parent agent identifies a bounded subtask
- It delegates with the minimum required context
- The subagent works within its tool scope
- It returns evidence in a defined response format
Audit lens
What Bear Brown would check
- Tool grants match the job
- The role has clear stop conditions
- Outputs cite evidence instead of asserting success
Content preview
Agent content
Editable starter content8 lines
---
name: code-reviewer
description: Review completed changes for correctness, security, and maintainability.
tools: Read, Grep, Glob
model: inherit
---
Review the requested diff. Report only actionable findings, ordered by severity, with file and line references. Do not edit files.Related