skills/subagent-development/SKILL.md
Default working mode for non-trivial tasks. Decompose into waves of 5-10 parallel sub-agents. Triggers: any multi-file / multi-concern task, "use subagents", "parallel implementation".
npx skillsauth add Wilder1222/superomni subagent-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.
Status protocol — end every session with one of: DONE (evidence provided) · DONE_WITH_CONCERNS (list each) · BLOCKED (state what blocks you) · NEEDS_CONTEXT (state what you need).
Auto-advance — pipeline: THINK → PLAN → REVIEW → BUILD → VERIFY → RELEASE. Only human gate is spec approval at THINK. On DONE at other stages, print [STAGE] DONE -> advancing to [NEXT-STAGE] and invoke the next skill. On any non-DONE status at any stage, STOP.
Output directory — all artifacts go in docs/superomni/<kind>/<kind>-[branch]-[session]-[date].md. See CLAUDE.md for the full directory map.
TACIT-DENSE — before high-tacit decisions, classify D1 (domain expertise) · D2 (user-facing UX) · D3 (team culture) · D4 (novel pattern). On hit, output TACIT-DENSE [D#]: [question] — My default: [recommendation]. See reference for actions.
Anti-sycophancy — take a position on every significant question. Name flaws directly. No filler ("that's interesting", "you might consider", "that could work").
Telemetry (local only) — at session end, log bin/analytics-log. Nothing leaves the machine.
See preamble-ref.md for detailed protocols.
Goal: Decompose work across specialized sub-agents, each with a focused context and clear output contract. This is the default working mode for all non-trivial tasks.
Before executing any task directly, ask:
If yes to any → use sub-agents by default. Only skip sub-agents for trivially small tasks (< 5 min, single file, single concern).
Default concurrency target: 5–10 agents per wave.
When breaking down a task:
For tasks with sufficient parallelizable work, this is the difference between a 3-hour task and a 30-minute task.
Anti-pattern (slow): Correct pattern (fast):
Wave 1: 2 agents Wave 1: 8 agents in parallel
Wave 2: 2 agents vs Wave 2: 6 agents in parallel
Wave 3: 2 agents Wave 3: 2 agents
Wave 4: 2 agents
Wave 5: 2 agents
Use sub-agents when:
See implementer-prompt.md — implements a specific, well-scoped feature.
See spec-reviewer-prompt.md — reviews specifications before implementation.
See code-quality-reviewer-prompt.md — reviews code after implementation.
Before spawning any agent, list ALL sub-tasks needed to complete the work:
Full task inventory:
1. [task A] — depends on: none
2. [task B] — depends on: none
3. [task C] — depends on: none
4. [task D] — depends on: A
5. [task E] — depends on: B, C
6. [task F] — depends on: none
...
Wave 1 (parallel): tasks 1, 2, 3, 6 ← all with no dependencies
Wave 2 (parallel): tasks 4, 5 ← unblocked after Wave 1
Before spawning, define:
Use the relevant prompt template from this directory. Fill in:
[TASK] — specific task description[CONTEXT] — relevant background[INPUT FILES] — files to read[OUTPUT CONTRACT] — exact output format required[CONSTRAINTS] — what to avoidSPAWNING WAVE [N] — [N] PARALLEL SUB-AGENTS
════════════════════════════════════════
Wave: [N of W]
Agents: [N] ← target 5-10 for large task sets
Agent 1 ([type]) — [task name]
Input: [what it receives]
Output: [what it must produce]
Scope: [allowed files]
Agent 2 ([type]) — [task name]
...
════════════════════════════════════════
When the sub-agent reports back, handle each status as follows:
Structural checks (apply regardless of status):
Apply this two-phase gate after every Implementer sub-agent reports DONE (or DONE_WITH_CONCERNS cleared):
Use spec-reviewer-prompt.md to verify the implementation matches the spec — no over-implementation, no under-implementation.
SPEC COMPLIANCE CHECK
Pass criteria: Spec APPROVED or APPROVED_WITH_NOTES (no P0 blockers)
If APPROVED → proceed to Phase 2
If NEEDS_REVISION → return to the same Implementer agent with the specific P0 issues; re-review after fix
⛔ Do NOT start Phase 2 until Phase 1 reaches APPROVED status.
Use code-quality-reviewer-prompt.md to assess code quality, test coverage, and security.
CODE QUALITY CHECK
Pass criteria: APPROVED or APPROVED_WITH_NOTES (no P0 issues)
If APPROVED → mark task complete, proceed to next wave or integration
If CHANGES_REQUESTED → return to the same Implementer agent with P0 items; re-review after fix
Merge sub-agent outputs carefully:
When using multiple sub-agents simultaneously, follow the wave-execution model: independent tasks run in parallel within a wave; dependent tasks across waves. For task lists with 6+ items, draft a formal Wave Execution Plan.
Reference: see reference/wave-planning.md for: parallel-wave template, formal wave-plan template, per-agent output contracts, conflict detection, agent failure handling, and integration verification.
For critical decisions, optionally run two agents on the same task; agreement → proceed, disagreement → surface as TASTE decision. Match model cost to task complexity.
Reference: see reference/consensus-protocol.md for the consensus protocol and the model-tier selection table.
After the session ends, write the full session record (agents dispatched, wave breakdown, outputs, integration summary, final status) to docs/superomni/subagents/subagent-[branch]-[session]-[date].md. This is the permanent record the user audits.
Reference: see reference/report-templates.md for the save script and file template.
development
Systematic, behavior-preserving code refactoring with safety gates. Dispatches refactoring-agent. Triggers: "refactor", "clean up code", "reduce tech debt", "extract method", "rename". NOT for reactive PR feedback — use code-review for that.
development
Meta-skill: create, install, list, and manage skills and agents within the superomni framework. Merges writing-skills + agent-management into one unified workflow. Triggers: "create skill", "write a skill", "install skill", "list skills", "create agent", "write an agent", "install agent", "list agents", "new skill", "new agent", "add skill", "add agent", "manage framework".
testing
Dependency security, license, and freshness audit. Dispatches dependency-auditor agent to scan all package managers. Triggers: "dependency audit", "check dependencies", "npm audit", "security scan", "check for vulnerabilities", "outdated packages", "license check".
development
Meta-skill: use when creating a new skill for the superomni framework. Guides through the process of designing and writing a well-structured skill. Triggers: "create a new skill", "write a skill for", "add a skill that".