Tips, tricks, and lessons from building software.
Tips, tricks, and lessons from building software — a personal dev blog by Tommy.
Invoking Subagents Explicitly vs Automatically
You can name a subagent directly, let Claude delegate by description, or start a whole session as one agent.
The Built-in Explore, Plan, and General-Purpose Agents
Claude Code ships with three ready-made agents: Explore for search, Plan for design, and general-purpose for anything.
Running Subagents in Parallel
Because each subagent has its own context window, you can send several to investigate different areas at once.
Isolating Subagents with Git Worktrees
A git worktree gives a subagent its own working copy, so parallel changes never fight over the same files.
A Code-Reviewer Subagent You Can Copy
A ready-to-use code-reviewer agent definition: read-only tools, a clear description, and a focused prompt.
Keeping Your Main Context Clean with Subagents
Offload noisy investigation to subagents so your main session keeps only the decisions, not the file dumps.