Skip to main content
HS
HiSETSuccess
LeetCode Prep

Agent Engineering

From autocomplete user to superstar developer — coding agents, context, skills, MCP, hooks, spec-driven and parallel workflows, and building your own agents.

Lab · Intermediate · 60 min

Implementer + Reviewer Subagent Split

Define a read-only reviewer subagent with a bug-hunting prompt, run it after the main agent implements a feature, and compare bugs found against self-review.

Claude Code · Cursor · GitHub Copilot

Show all 3 steps

Step 1 of 3

Lab brief

Goal

A reusable reviewer definition that catches real issues the implementer missed, with no write access.

Failure mode

Asking the same agent 'any bugs?' after it wrote the code — it rationalizes its own choices and approves.

Staff move

Isolate context and restrict tools: the reviewer sees only the diff and the spec, cannot edit, and must cite file and line for each finding.