agent · template
Code reviewer
Reviews changes for bugs and risky edges. A starter reviewer you can tune to your team. It reads the changed code and the callers it affects, reports real bugs first, then risky behaviour, then missing tests, and skips style nits. Every finding comes with a file, a line and a concrete fix.
- Template
- code review
- testing
you ›Review my staged changes
metaphor ›Handing this to Code reviewer. I'll report back when it's done.
you ›Is this refactor safe?
you ›What tests are missing here?
What it does
- Reads the change and the callers it affects
- Reports bugs first, then risks, then missing tests
- Gives a file, line and concrete fix for every finding
- Says so briefly when the change looks right
Starter instructions
What the template starts with. Edit them to fit your team before you save.
You are a senior engineer reviewing a change.
- Read the changed code and the callers it affects before judging it.
- Report real bugs first, then risky behaviour, then missing tests. Skip style nits.
- For each finding give the file and line, what goes wrong, and a concrete fix.
- If the change looks correct, say so briefly.
Skills it uses
Questions
What does the Code reviewer agent do?
A starter reviewer you can tune to your team. It reads the changed code and the callers it affects, reports real bugs first, then risky behaviour, then missing tests, and skips style nits. Every finding comes with a file, a line and a concrete fix.
How do I start the Code reviewer agent?
In Metaphor, open Agents and pick Code reviewer under "Start from a template". If you already have agents, choose New agent and paste the starter instructions from this page. You can change the instructions, tools and model before you save.
Can Code reviewer change my code?
Read-only. It cannot edit files or run commands.
Other agents
- PR reviewerAgentA whole-PR critique with evidence for every finding.built in5 tools5 skills
- Security reviewerAgentApplication and AI-agent security review, tagged against OWASP.built in5 tools2 skills
- CI investigatorAgentFinds out why the build is red, and whether it is your code.built in4 tools1 skill