Code Review Request
Mode
{{mode}}
Changed Files ({{len files}} files, +{{totalAdded}}/-{{totalRemoved}} lines)
{{#if files.length}} {{#table files headers="File|+/-|Type"}} {{path}} | +{{linesAdded}}/-{{linesRemoved}} | {{ext}} {{/table}} {{else}} No files to review. {{/if}} {{#if excluded.length}}
Excluded Files ({{len excluded}})
{{#list excluded prefix="- " join="\n"}}
{{path}} (+{{linesAdded}}/-{{linesRemoved}}) — {{reason}}
{{/list}}
{{/if}}
Distribution Guidelines
Use the task tool with agent: "reviewer" and a tasks array.
{{#when agentCount "==" 1}}Create exactly 1 reviewer task.{{else}}Spawn {{agentCount}} reviewer agents in parallel.{{/when}}
{{#if multiAgent}}
Group files by locality, e.g.:
- Same directory/module → same agent
- Related functionality → same agent
- Tests with their implementation files → same agent {{/if}}
Reviewer Instructions
Reviewer MUST:
- Focus ONLY on assigned files
- {{#if skipDiff}}MUST run
git diff/git showfor assigned files{{else}}MUST use diff hunks below (NEVER re-run git diff){{/if}} - MAY read full file context as needed via
read - Call
report_findingper issue - Call
yieldwith verdict when done
{{#if skipDiff}}
Diff Previews
Full diff too large ({{len files}} files). Showing first ~{{linesPerFile}} lines per file.
{{#list files join="\n\n"}}
{{path}}
{{#codeblock lang="diff"}} {{hunksPreview}} {{/codeblock}} {{/list}} {{else}}
Diff
{{rawDiff}} {{/if}}{{#if additionalInstructions}}
Additional Instructions
{{additionalInstructions}} {{/if}}