subagent-driven-development
Use when /virtual-team:implement --sdd is active — defines orchestration protocol for fresh subagent per task with two-stage review
Skill by ovargas
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ovargas-subagent-driven-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/subagent-driven-development
What's inside
- Skill name
subagent-driven-development- Description
- Use when /virtual-team:implement --sdd is active — defines orchestration protocol for fresh subagent per task with two-stage review
- License
- MIT
- Instructions
- 183 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- code-quality-reviewer-prompt.md
- implementer-prompt.md
- spec-reviewer-prompt.md
SKILL.md (first lines)
# Subagent-Driven Development
## Overview
The orchestrator dispatches, never implements. Fresh subagent per task. Two-stage review, every task.
When `/virtual-team:implement --sdd` is active, the main session becomes an **orchestrator** that never writes code itself. It dispatches implementer subagents, manages review cycles, and tracks progress.
**Use SDD when:** Plans with 5+ tasks, multi-file implementations, complex features.
**Don't use SDD when:** Small plans (< 3 tasks), quick fixes, single-file changes. Use inline `/virtual-team:implement` instead.
## Wave Analysis
Run wave analysis BEFORE entering the task dispatch loop. This groups tasks into parallel waves based on file dependencies. The analysis is always run when SDD is active — the fallback (all tasks in one wave = sequential) is identical to current behavior.
### 1. File Reference Extraction
For each task/step in the plan, identify:
- **Creates:** Files listed with `(create)` or `[create]` in the step's "File:" line
- **Modifies:** Files listed with `(modify)` or `[modify]` in the step's "File:" line
- **Reads/references:** Files mentioned in "Pattern:" lines or "Follow `file:line`" references
If a step has no explicit "File:" line, treat it as modifying unknown files — it becomes a **dependency barrier** (must run after everything before it, and everything after it depends on it).
### 2. Dependency Edge Rules
- Task B **depends on** Task A if: B reads or modifies a file that A creates or modifies
- **Read-read is NOT a dependency** — two tasks reading the same file can run in parallel
- **Create-create on the same file is a CONFLICT** — same file created twice, move one to the next wave
- **Modify-modify on the same file is a CONFLICT** — same file modified by two parallel tasks, move one to the next wave
### 3. Wave Grouping Algorithm
1. Build dependency edges from the file references
2. Topologically sort into waves:
- **Wave 1:** tasks with no incoming dependency edges
- **Wave 2:** tasks whose dependencies are ALL in Wave 1
- **Wave N:** tasks whose dependencies are ALL in Waves 1 through N-1
3. **File conflict resolution:** If two tasks in the same wave both create or modify the same file, move the task with fewer other dependents to the next wave. Log: "T3 and T5 both modify `file.ext` — T5 moved to Wave N+1"
4. **Fallback:** If all tasks are sequentially dependent (each depends on the previous), produce N waves of 1 task each — behavior is identical to current sequential SDD
### 4. Presentation
Present the wave grouping to the user before dispatching:
```
## Wave Analysis
**Tasks:** [N] total
**Waves:** [N] (speedup: [N]x vs sequential)
| Wave | Tasks | Dependencies |
|------|-------|-------------|
| 1 | T1, T2 | none (independent) |
| 2 | T3, T4, T5 | T3→T1, T4→T2, T5→T1+T2 |
| 3 | T6 | T3, T4, T5 |
**File conflicts resolved:** [none | list]
**Estimated subagent sessions:** [N tasks] implementers + [N tasks × 2] reviewers + 1 holistic review = [total] sessions
```
## Orchestration Protocol
### For each wave (from wave analysis):
**Within a wave — dispatch all tasks in parallel:**
For each task in the current wave, simultaneously execute steps 1-4 using multiple Agent tool calls in a single message:
#### 1. Extract Task
Pull full task text from the plan. Include the step description, file references, pattern references, and what-to-do instructions. **Never tell the subagent to "read the plan file"** — provide everything it needs in the prompt.
#### 2. Build Scene-Setting Context
Every subagent starts fresh. It has no memory of previous tasks. Provide:
- Tasks completed so far and their outcomes (all previous waves)
- Files created or modified by previous waves
- Verification results from previous waves
- Where this task fits in the overall plan
For tasks in Wave 2+, the `{scene_setting}` in the implementer prompt should include:
```
**Previously completed (Waves 1-N):**
- Wave 1: [task names] — files created/modified: [list]
- Wave 2: [task names] — files created/modified: [list]
- All previous wave tasks passed spec and quality reviews.
- [Any issues found and resolved during reviews]
```
#### 3. Select Model
Use the model selection table below. When in doubt, use Sonnet.
#### 4. Dispatch Implementer Subagent
Use the implementer prompt template from `implementer-prompt.md`. Fill in:
- `{scene_setting}` — context from step 2
- `{task_text}` — full task text from step 1
- `{domain_skill_instruction}` — the relevant Layer 1 domain skill for this task
All implementers in the wave run simultaneously. Wait for all to return.
**Parallel dispatch cap:** Maximum 3 simultaneous implementer subagents per wave. If a wave has more than 3 tasks, split into sub-waves of 3.
**After all implementers in the wave return:**
For each task in the wave (sequentially — reviews don't parallelize across tasks):
#### 5. Handle Implementer Status
- **DONE** → Proceed to spec review (step 6)
- **DONE_WITH_CONCERNS** → Read concerns. If they're minor, proceed to review. If they indicate a problem, address before reviewing.
- **NEEDS_CONTEXT** → Provide the missing context and re-dispatch the implementer.
- **BLOCKED** → Assess root cause:
- Context problem → Re-dispatch with more context
- Reasoning problem → Upgrade model (e.g., Sonnet → Opus) and re-dispatchFrom ovargas/virtual-team, MIT.
More from ovargas/virtual-team
- 0.642score
grounded-claims
ovargas
Use when stating any fact about the codebase, a dependency, or prior work — separates verified claims from recalled ones so wrong premises are visible before…
SkillAFreshness: A★ 14Claude Code +9 - 0.642score
positive-framing
ovargas
Use when editing client-facing IDEA and PROPOSAL prose — reframes loss-framed phrases as gain-framed and enforces section-aware verb tense rules
SkillAFreshness: A★ 14Claude Code +9 - 0.641score
skill-awareness
ovargas
Use when starting any session — maps contexts to behavioral skills that should be active
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
git-practices
ovargas
Git conventions for branches, commits, and pull requests.
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
adr-convention
ovargas
Use when creating, reviewing, or referencing architectural decision records — defines the ADR format, three-gate creation threshold, and local/hub flavors
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
domain-glossary
ovargas
Use when a consumer project has a CONTEXT.md file — defines the domain glossary convention for consistent terminology across specs, plans, and code.
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
architecture-vocabulary
ovargas
Use when evaluating architecture in tech-review — provides formal vocabulary (Depth, Seam, Leverage, Locality, Adapter, Pass-through) with diagnostic…
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
design-principles
ovargas
Use when writing production code — enforces dependency inversion and testable design through checkpoint questions before writing function signatures and…
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
receiving-code-review
ovargas
Use when processing code review feedback from any source — enforces verify-before-implementing with no performative agreement
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
token-efficient
ovargas
Use when the user activates compressed output mode ("caveman mode", "terse", "compress") — drops conversational filler while preserving artifact quality.
SkillAFreshness: A★ 14Claude Code +9 - 0.634score
backlog-external
ovargas
External service backlog implementation (GitHub Issues, Linear, JIRA, YouTrack).
SkillAFreshness: A★ 14Claude Code +9 - 0.634score
backlog
ovargas
Abstract backlog operations interface.
SkillAFreshness: A★ 14Claude Code +9
Signals
- Stars
- 14
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- May 12, 2026 (5 months ago)
- Last release
- Oct 8, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ovargas/virtual-team
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ovargas
- 0.642score
grounded-claims
ovargas
Use when stating any fact about the codebase, a dependency, or prior work — separates verified claims from recalled ones so wrong premises are visible before…
SkillAFreshness: A★ 14Claude Code +9 - 0.642score
positive-framing
ovargas
Use when editing client-facing IDEA and PROPOSAL prose — reframes loss-framed phrases as gain-framed and enforces section-aware verb tense rules
SkillAFreshness: A★ 14Claude Code +9 - 0.641score
skill-awareness
ovargas
Use when starting any session — maps contexts to behavioral skills that should be active
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
adr-convention
ovargas
Use when creating, reviewing, or referencing architectural decision records — defines the ADR format, three-gate creation threshold, and local/hub flavors
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
git-practices
ovargas
Git conventions for branches, commits, and pull requests.
SkillAFreshness: A★ 14Claude Code +9 - 0.637score
domain-glossary
ovargas
Use when a consumer project has a CONTEXT.md file — defines the domain glossary convention for consistent terminology across specs, plans, and code.
SkillAFreshness: A★ 14Claude Code +9
Cite this page
subagent-driven-development skill. Agent Mart. https://agentmart.dev/skills/ovargas-subagent-driven-development (last updated 2026-10-24)