skills/subagent-driven-development/SKILL.md
Execute implementation plans by dispatching independent subagents per task with automated review gates. Use when executing implementation plans with independent tasks, when you need per-task subagents for isolated context, or when you want spec compliance + code quality review after each task. CRITICAL for Hub-to-Hub handoffs between /ideation and /orchestrate — ensures plans survive context switches.
npx skillsauth add Thomashighbaugh/opencode subagent-driven-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Execute plan by dispatching a fresh implementer subagent per task, a task review (spec compliance + code quality) after each, and a broad whole-branch review at the end.
Why subagents: You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need.
Core principle: Fresh subagent per task + task review (spec + quality) + broad final review = high quality, fast iteration
Continuous execution: Do not pause to check in with your human partner between tasks. Execute all tasks from the plan without stopping. The only reasons to stop are: BLOCKED status you cannot resolve, ambiguity that genuinely prevents progress, or all tasks complete.
Use when you have an implementation plan with mostly independent tasks and you want to stay in the same session (no context switch).
vs. Manual execution:
vs. Parallel session execution:
This skill is the bridge between /ideation (planning) and /orchestrate (execution). When handing off between hubs:
When an /ideation session produces a plan that needs execution:
Finalize the plan — Ensure the plan has:
Create handoff artifact — Save the plan as a durable artifact:
.opencode/state/ideation/handoff-{timestamp}.md
Include: plan summary, task list with deps, decisions made, unresolved questions
Handoff command — From /ideation:
/orchestrate --plan .opencode/state/ideation/handoff-{timestamp}.md
On receipt — The orchestration agent reads the handoff artifact, creates a progress ledger, and dispatches tasks using subagent-driven development.
When an orchestration run completes:
.opencode/state/orchestration/progress/ledger-{timestamp}.md/harvest-context session to capture what was learned.opencode/state/ before switching hubsgit log over your own recollectionBefore dispatching Task 1, scan the plan once for conflicts:
Present findings to the human as one batched question before execution begins.
For each task:
DONE — Generate review package, dispatch task reviewerDONE_WITH_CONCERNS — Read concerns before proceedingNEEDS_CONTEXT — Provide missing context, re-dispatchBLOCKED — Assess and escalateAfter all tasks complete, dispatch a final code reviewer with the full branch diff.
Track progress in a ledger file — conversation memory does not survive compaction.
cat .opencode/state/orchestration/progress/ledger.md| Task Complexity | Model Tier | Example | |----------------|------------|---------| | Mechanical (1-2 files, clear spec) | Fast/cheap | Isolated functions, clear specs | | Integration (multi-file, coordination) | Mid | Cross-module changes | | Architecture/Design | Most capable | Broad codebase understanding | | Review | Match diff complexity | Small diff → fast, large → capable |
Never:
# Handoff: [Plan Name]
## Origin
- **From hub**: [hub name]
- **Date**: [timestamp]
## Plan Summary
[1-2 sentence summary]
## Task List
| # | Task | Dependencies | Status |
|---|------|-------------|--------|
| 1 | ... | none | pending |
| 2 | ... | 1 | pending |
## Decisions Made
- [Decision 1]
- [Decision 2]
## Open Questions / Blockers
- [Any unresolved issues]
## Context Files
- [Paths to relevant files]
tools
Create valid, type-safe TypeScript tools for OpenCode — generates correct boilerplate, typed interfaces, and handler stubs. Use when building new tools for global config or per-project .opencode/tools/.
testing
Explore multiple solution branches in parallel, evaluate each, and recommend the best path. Use when the user explicitly invokes /ideation tree-of-thoughts or asks for "tree of thought" / "branching exploration".
testing
Run multiple independent reasoning passes and find consensus. Use when the decision is critically important, the stakes are high, or the user explicitly requests "run it multiple times" / "check consistency" / "self-consistency".
testing
Optimization by PROmpting — generate candidate prompt variations, test each against a benchmark, and report the best performer. Use when the user invokes /ideation opro or asks for "prompt optimization" / "OPRO".