subagent-driven-development

Installation
SKILL.md

Subagent-Driven Development

Part of Agent Skills™ by googleadsagent.ai™

Description

Subagent-Driven Development dispatches each discrete task to a fresh subagent with a clean context window, then subjects the output to a two-stage review before merging. The orchestrating agent decomposes work into atomic units, writes precise specifications for each, and spawns isolated subagents that cannot pollute each other's context or carry forward stale assumptions.

Context window contamination is the silent killer of agent code quality. As a conversation grows, early instructions fade, variable names blur, and the agent begins referencing code that has since been refactored. By giving each task a fresh subagent, every implementation starts from a clean slate with only the relevant specification and referenced files. The result is consistently high-quality output regardless of session length.

The two-stage review process catches defects at different abstraction levels. Stage 1 verifies spec compliance: does the output do what was asked? Stage 2 evaluates code quality: is it well-structured, tested, and maintainable? Only code that passes both gates is accepted into the codebase.

Use When

  • A task can be decomposed into 3+ independent subtasks
  • The conversation context has grown large enough to risk coherence loss
  • Multiple files or modules must be modified in parallel
  • You need best-of-N attempts for a complex implementation
  • Quality gates must be enforced consistently across all outputs
Related skills
Installs
9
GitHub Stars
8
First Seen
Apr 12, 2026