agentsclimarketplace

Subagent driven development

Skill roronoazoroshao369/vibe-coding-os/skills/core/subagent-driven-development

Vibe Coding OS — Claude/Codex/Cursor skill framework with 139 skills, 111 commands, 95 templates, 22 tracked sources, 28/28 validation gates PASS. Quality Shield, Engineering Discipline Pack, plugin marketplace.From the repository description

Install
npx -y skills add roronoazoroshao369/vibe-coding-os --skill subagent-driven-development

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.6 KB, 890 tokens by cl100k_base, as published. Nobody here has run it

Skill: Subagent-Driven Development

Purpose

Use separate agent passes or delegated workers for bounded subtasks without losing ownership of integration, review, and verification.

When to use

Use when independent subtasks can run in parallel, when a reviewer/tester pass can improve quality, or when exploration and implementation can be separated safely.

Inputs

Main task, accepted plan, independent subtask boundaries, file ownership, expected outputs, validation commands, and integration owner.

Workflow

  1. Decide which task remains on the critical path and keep that work local.
  2. Delegate only concrete, bounded subtasks with clear file ownership or read-only questions.
  3. Tell each worker they are not alone in the codebase and must not revert others' edits.
  4. Keep delegated write scopes disjoint when possible.
  5. Integrate returned work deliberately: inspect changed files, resolve conflicts, and run checks.
  6. Record which agent/pass did what only when useful for review or handoff.

Orchestrator role

For multi-subtask work, designate an orchestrator that owns the task graph, delegates subtasks, monitors lifecycle states, and integrates results. The orchestrator is not a manager role that blocks workers — it is a coordination role that ensures subtask boundaries are respected, dependencies are resolved, and integration validation runs. See skills/core/superagent-orchestration/SKILL.md for the full orchestrator pattern with lifecycle states (queued → planning → executing → reviewing → merging → complete).

Sandbox scoping

Before delegating a write subtask, declare the worker's sandbox scope: write zone (files the worker may modify), read-only zone (files the worker may inspect), and forbidden zone (files the worker must not touch). Include a side-effect declaration listing every operation outside pure file writes. Use templates/sandbox-scope-template.md and the sandboxed execution skill for the scope declaration discipline. This prevents silent conflicts when multiple workers touch the same repository.

Error-handling patterns for subagent failures

Subagents can fail silently (wrong output), loudly (crash or timeout), or partially (some work done, some wrong). Handle each case deliberately.

Detection

  • Silent failure: Validate subagent output against acceptance criteria before integration. Always run per-subtask gates.
  • Loud failure: Check return codes, exit signals, and whether expected output files were actually created or modified.
  • Partial failure: Compare the worker's output against the brief's acceptance criteria item by item. Accept valid portions; reject the rest.

Recovery strategies

Failure typeRecovery action
Wrong output, no integration yetRescope the brief with tighter constraints and re-delegate.
Wrong output, already integratedRevert the affected files from the worker, fix in the orchestrator pass, and add a regression gate.
Timeout or crashReduce subtask scope, add checkpoint gates inside the subtask, and re-delegate with a simpler brief.
Sandbox violation (wrote to forbidden zone)Revert all files touched by the worker, tighten the brief's forbidden-zone language, and re-delegate to a different worker.
Side-effect leak (ran a script instead of making file edits)Roll back the side effect if possible, add an explicit side-effect declaration requirement to the brief.

Prevention

  • Split large subtasks into smaller units with intermediate checkpoints.
  • Include a "stop if uncertain" instruction in every brief: the worker should block and report ambiguity rather than guess.
  • Run dry-run validation before delegation: confirm task boundaries, scopes, and dependencies make sense before a worker starts.
  • After a failure, record the pattern in the orchestration retrospective to tune future decomposition.

Outputs

Delegation brief(s), completed subtask outputs, integrated patch, and verification or review notes.

Failure modes

  • Delegating the immediate blocking task and stalling the main workflow.
  • Multiple agents edit the same files without coordination.
  • Subagent output is trusted without integration review.
  • Parallelism adds complexity without reducing risk or time.

Verification checklist

  • Subtasks are independent and bounded.
  • File ownership is clear for write tasks.
  • Returned changes were reviewed before finalizing.
  • Final verification covers the integrated result.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.