๐ Full Skill Source โ This is the complete, unedited SKILL.md file. Nothing is hidden or summarized.
Execution โ Execute Plans at Scale โ
Three modes, one skill. Choose based on task structure.
Mode Selection โ
Have a plan with independent tasks?
โโโ Stay in this session?
โ โโโ YES โ Mode B: Subagent-Driven
โ โโโ NO โ Mode A: Batch Execution
โโโ Multiple independent failures/problems?
โโโ YES โ Mode C: Parallel Dispatch| Mode | When | Strategy |
|---|---|---|
| A: Batch | Plan with checkpoints | Execute 3 tasks โ report โ feedback โ next batch |
| B: Subagent | Plan with independent tasks, same session | Fresh subagent per task + 2-stage review |
| C: Parallel | 2+ independent problems | One agent per problem domain |
Mode A: Batch Execution โ
Process โ
- Load plan โ review critically โ raise concerns
- Execute batch (default: 3 tasks)
- Mark in_progress โ follow steps โ verify โ mark complete
- Report โ show what was done + verification output
- Continue โ apply feedback โ next batch
- Complete โ use
cm-code-reviewto finish
Rules โ
- Follow plan steps exactly
- Don't skip verifications
- Between batches: report and wait
- Stop when blocked, don't guess
Mode B: Subagent-Driven Development โ
Process โ
- Read plan โ extract ALL tasks with full text
- Per task:
- Dispatch implementer subagent with full task text
- Answer subagent questions if any
- Subagent implements, tests, commits, self-reviews
- Dispatch spec reviewer โ confirm matches spec
- Dispatch code quality reviewer โ confirm quality
- If issues โ implementer fixes โ re-review โ repeat
- After all tasks โ final code review โ
cm-code-review
Prompt Template (Implementer) โ
markdown
Implement [TASK_NAME]:
[Full task text from plan]
Context: [Where this fits in the project]
Rules:
- Follow TDD (cm-tdd)
- Commit when done
- Self-review before reporting
- Ask questions if unclear
Return: Summary of what you did + test resultsRed Flags โ
- Never start on main/master without consent
- Never skip reviews (spec OR quality)
- Never dispatch parallel implementers (conflicts)
- Never accept "close enough" on spec compliance
Mode C: Parallel Dispatch โ
When โ
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Each problem doesn't need context from others
Process โ
- Group failures by independent domain
- Create focused agent prompt per domain:
- Specific scope (one file/subsystem)
- Clear goal
- Constraints (don't change other code)
- Expected output format
- Dispatch in parallel
- Review + integrate โ verify no conflicts โ run full suite
Common Mistakes โ
- โ Too broad: "Fix all the tests"
- โ Specific: "Fix agent-tool-abort.test.ts"
- โ No context: "Fix the race condition"
- โ Context: Paste error messages + test names
Mode D: Autonomous RARV โ
Self-driving execution. Tasks flow through Reason โ Act โ Reflect โ Verify automatically.
When โ
- User runs
/cm-startwith a goal cm-tasks.jsonexists with backlog items- You want continuous autonomous execution
Process (RARV Cycle) โ
LOOP until backlog empty or user interrupts:
1. REASON โ Read cm-tasks.json โ pick highest-priority backlog task
Update task status to "in_progress"
Log: { phase: "REASON", message: "Selected: <title>" }
2. ACT โ Execute using the task's assigned CM skill
(cm-tdd, cm-debugging, cm-safe-deploy, etc.)
Log: { phase: "ACT", message: "<what was done>" }
3. REFLECT โ Update cm-tasks.json with results
Log: { phase: "REFLECT", message: "<outcome summary>" }
4. VERIFY โ Run tests/checks (cm-quality-gate)
If PASS โ status = "done", completed_at = now()
If FAIL โ rarv_cycles++, log error, retry from REASON
If rarv_cycles >= 3 โ status = "blocked"
Log: { phase: "VERIFY", message: "โ
passed" or "โ <error>" }
5. NEXT โ Recalculate stats, pick next taskcm-tasks.json Update Protocol โ
After EVERY phase, you MUST:
- Read current
cm-tasks.json - Find the active task by
id - Update
status,logs[], timestamps - Recalculate
statsobject:stats.total = tasks.length stats.done = tasks.filter(t => t.status === 'done').length stats.in_progress = tasks.filter(t => t.status === 'in_progress').length stats.blocked = tasks.filter(t => t.status === 'blocked').length stats.backlog = tasks.filter(t => t.status === 'backlog').length stats.rarv_cycles_total = tasks.reduce((sum, t) => sum + (t.rarv_cycles || 0), 0) - Set
updatedto current ISO timestamp - Write back to
cm-tasks.json
Rules โ
- Max 3 retries per task before marking "blocked"
- Always log โ the dashboard reads logs in real-time
- Don't batch-skip โ execute one task at a time through full RARV
- Respect interrupts โ if user sends a message, pause and respond
Integration โ
| Skill | When |
|---|---|
cm-git-worktrees | REQUIRED: isolated workspace before starting |
cm-planning | Creates the plan this skill executes |
cm-code-review | Complete development after all tasks |
cm-tdd | Subagents follow TDD for each task |
cm-quality-gate | VERIFY phase uses this for validation |
cm-ui-preview | RECOMMENDED: Preview UI on Google Stitch before implementing frontend tasks |
Workflows โ
| Command | Purpose |
|---|---|
/cm-start | Create tasks + launch RARV + open dashboard |
/cm-status | Quick terminal progress summary |
/cm-dashboard | Open browser dashboard |
The Bottom Line โ
Choose your mode. Execute systematically. Review at every checkpoint.