Agentic Toolkit Course
Lesson 7 of 7

Lesson 7 of 7 · Individual agent

The Code Reviewer agent

Sometimes we want a review of what we've been working on — including what the AI has produced. The Code Reviewer is built exactly for this: a structured quality check before treating work as complete. In the Orchestrator stream, this same review step becomes the final SDLC stage.

When to use the Code Reviewer

How to use the Code Reviewer

  1. Give a short summary of the feature or change.
  2. Point the Code Reviewer at the changed files, or a git diff.
  3. State the intended behaviour and include test results if you have them.
  4. Call out any known concerns or areas you specifically want reviewed.
  5. Expect back: quality summary, APPROVED/REQUEST CHANGES verdict, standards discovered, severity-ranked findings, cross-file notes, breaking-change assessment, CVE flags.
"I've just added authentication middleware and role-based route guards
across the API. The changed files are src/middleware/auth.ts,
src/middleware/roleGuard.ts, and src/routes/admin.ts. Can you review for
security issues, standard compliance, and any breaking changes to
existing API consumers?"
Where the Code Reviewer fits in the Orchestrator: the Code Reviewer runs as Stage 5, using the changed files from the Coder and test results from the Unit Tester. Blocking issues bounce back to the Coder for remediation, then the Code Reviewer re-runs — up to two cycles before escalating to you. Stage 6 is the Orchestrator's own consolidated report.

Things to avoid

Test your knowledge

"I merged a coder-written auth middleware and want a second opinion before opening the PR." Which agent?

Source: documentation.md, "Code Reviewer".

← Back: Unit Tester agent Back to Home →