configs/claude-code/skills/subagent-driven-development/SKILL.md
Execute an implementation plan by dispatching one fresh subagent per task with two-stage review (spec compliance, then code quality)
npx skillsauth add jimweller/dotfiles 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.
STARTER_CHARACTER = 🎬
Execute a plan by dispatching a fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.
Arguments: $ARGUMENTS
The argument is the path to a plan file. If $ARGUMENTS is empty, look in .llmtmp/ for plan files (matches local convention used by ralph-builder and code-reviews).
Why subagents: Tasks delegate to subagents with isolated context. Precise instructions and curated context keep the subagent focused and successful. Subagents do not inherit session context or history. The controller curates exactly what each subagent needs. This also preserves controller context for coordination work.
Core principle: Fresh subagent per task plus two-stage review (spec then quality) yields high quality and fast iteration.
Use this skill when:
If tasks are tightly coupled or the plan does not yet exist, use a different approach. The brainstorming and plan-creation skills are not provided here; use whatever local tooling generates the plan first.
This skill is the same-session execution pattern. Fresh subagent per task, no context pollution, two-stage review after each task, fast iteration.
/review-quick is invoked per task. It needs git access to compute deltas; no extra binary./review-full is invoked once at the end. It shells out to npx repomix and uses the repomix MCP server. If repomix is unavailable, the final whole-codebase audit cannot run; either install it or skip the final-review step.The controller follows this loop:
Read the plan file once. Extract every task with its full text and surrounding context. Create a TodoWrite list with all tasks.
For each task:
/review-quick skill. It auto-detects the just-committed task changes and dispatches 8 specialized review agents in parallel. Returns a consolidated report./review-quick reports High or Medium severity findings, the implementer fixes them. Re-invoke /review-quick until it returns no High/Medium findings.After all tasks are complete, invoke /review-full for a whole-codebase audit of the implementation.
Hand off to the /commit skill to finalize the work.
Use the least powerful model that can handle each role to conserve cost and increase speed.
Task complexity signals:
Implementer subagents report one of four statuses. Handle each appropriately.
DONE: Proceed to spec compliance review.
DONE_WITH_CONCERNS: The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they are observations (e.g., "this file is getting large"), note them and proceed to review.
NEEDS_CONTEXT: The implementer needs information that was not provided. Provide the missing context and re-dispatch.
BLOCKED: The implementer cannot complete the task. Assess the blocker:
Never ignore an escalation or force the same model to retry without changes. If the implementer said it is stuck, something needs to change.
Code quality review uses the /review-quick skill, which dispatches 8 specialized review agents in parallel. No template needed in this skill.
Plan extracted, 5 tasks identified, TodoWrite created.
Task 1: Hook installation script.
Dispatch the implementer with full task text and context. The implementer asks: "Should the hook be installed at user or system level?" The user answers: "User level." The implementer implements, tests, commits, self-reviews, and reports DONE.
Dispatch the spec reviewer. It returns: spec compliant.
Invoke /review-quick. It dispatches 8 specialized review agents in parallel and returns: no High or Medium findings (one Low finding noted but not blocking).
Mark Task 1 complete.
Task 2: Recovery modes.
Dispatch the implementer. It reports DONE.
Dispatch the spec reviewer. It returns: missing progress reporting (spec says "report every 100 items"); extra unrequested --json flag.
The implementer fixes both issues. Re-dispatch the spec reviewer. Returns: spec compliant.
Invoke /review-quick. Returns: Code Quality flagged a Medium finding for magic number 100.
The implementer extracts a PROGRESS_INTERVAL constant. Re-invoke /review-quick. Returns: no High or Medium findings.
Mark Task 2 complete.
Continue for remaining tasks. After all tasks, invoke /review-full for a whole-codebase audit. Hand off to /commit.
vs. manual execution:
Quality gates:
Cost:
Never:
If a subagent asks questions:
If a reviewer finds issues:
If a subagent fails the task:
Subagents should use:
Code review:
Workflow handoff:
testing
Search saved session transcripts for past decisions, actions, errors, and context that has left the current conversation window.
data-ai
Review a PRD for defects via Claude opus subagent.
development
Markdown authoring guidelines for formatting, code blocks, and structure. Use when writing or editing markdown files.
development
--- name: md-style description: README style guide for concise, direct documentation. Use when writing or editing README files. ß--- <!-- markdownlint-disable-file MD041 --> # README Style Guide Write concise, direct README files for experienced engineers. ## Principles - **No fluff** - Skip tables of contents, verbose explanations, development history - **No roadmaps** - Document current state only, not plans or decisions. Readme is an engineering specification. Not a project plan or chan