Subagent-Driven Development

Dispatch a fresh subagent for each task and trigger code review after completion.

41|27|Updated Oct 6, 2025
One-click install
npx skills add https://github.com/obra/clank --skill subagent-driven-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Subagent-Driven Development
Source: https://github.com/obra/clank/tree/main/skills/collaboration/subagent-driven-development
Command: npx skills add https://github.com/obra/clank --skill subagent-driven-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Executing complex development plans can be slow and prone to errors if not managed with continuous oversight. This skill automates the execution of implementation plans by dispatching a fresh AI subagent for each task, followed by an immediate AI code review, ensuring high quality and rapid iteration within a single session.

Core Features & Use Cases

  • Task-Specific Subagents: Dispatches a new subagent for each task, providing a clean context and preventing pollution.
  • Inter-Task Code Review: Automatically triggers an AI code review after each task, catching issues early before they compound.
  • Fast Iteration: Enables continuous progress within the same session, eliminating human-in-the-loop delays between tasks.
  • Use Case: After creating a detailed implementation plan, you'll use this skill to execute it. For each task, an AI subagent will implement the code, and then another AI subagent will review it, providing feedback that you can address immediately before moving to the next step.

Quick Start

Announce usage

"I'm using Subagent-Driven Development to execute this plan."

The skill will then:

1. Load your plan and create TodoWrite tasks.

2. Dispatch an implementation subagent for Task N.

3. Dispatch a code-reviewer subagent for Task N's changes.

4. Guide you to apply review feedback.

5. Repeat until all tasks are complete.

Frequently Asked Questions about Subagent-Driven Development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code review as part of my development workflow?

Automate code review by dispatching a dedicated AI subagent after each task implementation. This catches issues immediately, prevents quality degradation, and enables fast iteration without waiting for human review cycles between implementation steps.

Can I execute a development plan with built-in quality gates?

Yes. Dispatch a fresh subagent for each task in your plan, followed by automatic AI code review. Each task runs in isolation with review checkpoints, ensuring quality gates are applied continuously and feedback is addressed before moving to the next task.

What's the best way to manage task execution and prevent context pollution between steps?

Use task-specific subagents that provide a clean context for each task. This isolation prevents accumulated errors and state pollution, allowing independent tasks to execute with fast iteration and immediate review feedback within a single session.

How do I reduce iteration cycles when implementing complex development plans?

Eliminate human-in-the-loop delays by automating task dispatch and code review within the same session. Each task receives implementation and review feedback immediately, enabling continuous progress and rapid refinement of changes before proceeding.

Does this approach work for independent tasks that require quality assurance?

Yes. This workflow applies to independent tasks requiring fast iteration and quality oversight. Task isolation, automated review, and per-task feedback loops ensure each step meets quality standards without human delays between execution cycles.