원클릭으로
subagent-driven-development
Use when executing an implementation plan with multiple independent tasks that benefit from fresh context per task
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when executing an implementation plan with multiple independent tasks that benefit from fresh context per task
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
[Workflow] Explore an idea and design a solution before implementing
Use when the what or how of a change has open questions requiring collaborative design dialogue with the user — before committing to an approach
[Agent] Subagent persona for reviewing code changes against a plan and quality standards
Use when approaching complex exploration, research, or synthesis tasks — understanding systems, codebases, domains, or architectures before proposing changes or designs
Use when facing 2+ tasks that can proceed without shared state, sequential dependencies, or mutual file edits
[Workflow] Execute an implementation plan task by task with review checkpoints
| name | subagent-driven-development |
| description | Use when executing an implementation plan with multiple independent tasks that benefit from fresh context per task |
| metadata | {"owner":"shrug-labs","last_updated":"2026-03-09T00:00:00.000Z"} |
Dispatch a fresh agent context per task, with two-stage review after each: spec compliance first, then code quality.
NEVER LET A SUBAGENT GUESS — ANSWER ITS QUESTIONS OR PROVIDE THE CONTEXT IT NEEDS
A subagent working from assumptions produces plausible code that misses the point. Every question from a subagent is a signal that you failed to provide sufficient context. Answer completely before the subagent proceeds.
No exceptions:
Violating the letter of this rule IS violating the spirit.
Not all harnesses support subagent dispatch. Before starting:
Task, Cursor: background agents, etc.)digraph process {
rankdir=TB;
"Extract all tasks from plan" [shape=box];
"Dispatch implementer (fresh context)" [shape=box];
"Implementer asks questions?" [shape=diamond];
"Answer questions completely" [shape=box];
"Implementer implements, tests, commits" [shape=box];
"Spec review: code matches spec?" [shape=diamond];
"Implementer fixes spec gaps" [shape=box];
"Quality review: code well-built?" [shape=diamond];
"Implementer fixes quality issues" [shape=box];
"Mark task complete" [shape=box];
"More tasks?" [shape=diamond];
"Final cross-task review" [shape=box];
"finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
"Extract all tasks from plan" -> "Dispatch implementer (fresh context)";
"Dispatch implementer (fresh context)" -> "Implementer asks questions?";
"Implementer asks questions?" -> "Answer questions completely" [label="yes"];
"Answer questions completely" -> "Dispatch implementer (fresh context)";
"Implementer asks questions?" -> "Implementer implements, tests, commits" [label="no"];
"Implementer implements, tests, commits" -> "Spec review: code matches spec?";
"Spec review: code matches spec?" -> "Implementer fixes spec gaps" [label="no"];
"Implementer fixes spec gaps" -> "Spec review: code matches spec?" [label="re-review"];
"Spec review: code matches spec?" -> "Quality review: code well-built?" [label="yes"];
"Quality review: code well-built?" -> "Implementer fixes quality issues" [label="no"];
"Implementer fixes quality issues" -> "Quality review: code well-built?" [label="re-review"];
"Quality review: code well-built?" -> "Mark task complete" [label="yes"];
"Mark task complete" -> "More tasks?";
"More tasks?" -> "Dispatch implementer (fresh context)" [label="yes"];
"More tasks?" -> "Final cross-task review" [label="no"];
"Final cross-task review" -> "finishing-a-development-branch";
}
Read the plan once. Extract every task with its full text, acceptance criteria, and relevant context. Do NOT make subagents read the plan file — you provide the content.
Create a fresh agent context for each task. Provide:
The implementer must ask questions BEFORE starting work if anything is unclear.
Stage 1 — Spec Compliance (dispatch fresh reviewer context):
Stage 2 — Code Quality (dispatch fresh reviewer context, ONLY after spec passes):
If either reviewer finds issues:
Do NOT skip re-review. Do NOT accept "I fixed it" without reviewer confirmation.
Mark task complete. Move to the next task with a fresh implementer context. Previous task's context does not carry over — that is the point.
After all tasks, dispatch one final reviewer across the entire implementation:
Spec compliance FIRST because:
Quality SECOND because:
| Excuse | Reality |
|---|---|
| "I'll review both at once to save time" | Spec failures invalidate quality feedback. Two passes, always. |
| "The subagent can probably figure it out" | Probably = assumption. Provide context or answer questions. |
| "This task is too small for a subagent" | Small tasks still benefit from fresh context. Skip only for trivial changes. |
| "I'll fix it myself instead of routing back" | You are the controller, not the implementer. Context pollution. |
| "Spec is close enough" | Close enough = not compliant. Reviewer found issues = implementer fixes. |
| "I'll do quality review later, across all tasks" | Per-task quality catches issues before they compound. Final review is additive, not a replacement. |
| "Re-review is wasteful, the fix was obvious" | Obvious fixes sometimes introduce new issues. Reviewer confirms, always. |
| Situation | Adjustment |
|---|---|
| Trivial task (rename, config change) | Skip subagent, do directly, still verify |
| Task depends on prior task's output | Provide prior task's result as context to the new implementer |
| Reviewer and implementer disagree | Controller decides. State reasoning. |
| Subagent fails entirely | Dispatch a new context with specific fix instructions |
| Only 2-3 small tasks | Single-context fallback may be more efficient |
When your harness cannot dispatch subagents, simulate the pattern:
The fallback loses fresh-context isolation but preserves the discipline: one task at a time, two-stage review, no skipping.
Once all tasks pass review and the final cross-task review is clean, proceed to branch completion. If the finishing-a-development-branch skill is available, invoke it.