/dispatching-workflows
Executing a phased plan in rolling waves where each phase runs as one multi-agent workflow harness: the supervisor elaborates the phase into tasks against the real landed code, launches a workflow that implements with TDD and runs mandatory in-harness review plus an adversarial
$ npx -y skills add LerianStudio/ring --skill dispatching-workflows --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/dispatching-workflows
Context preview
The summary Claude sees to decide when to auto-load this skill.
Executing a phased plan in rolling waves where each phase runs as one multi-agent workflow harness: the supervisor elaborates the phase into tasks against the real landed code, launches a workflow that implements with TDD and runs mandatory in-harness review plus an adversarial
SKILL.md
dispatching-workflows.SKILL.mdname: ring:dispatching-workflows
description: "Executing a phased plan in rolling waves where each phase runs as one multi-agent workflow harness: the supervisor elaborates the phase into tasks against the real landed code, launches a workflow that implements with TDD and runs mandatory in-harness review plus an adversarial contrarian pass (and researchers when the phase hits an unknown) before returning verified work, then reviews it, checkpoints with the user, and rolls to the next phase. Use when each wave should be a reviewed multi-agent harness, not a lone subagent. Skip when one supervised subagent per wave suffices (ring:executing-plans) or the full gated cycle is wanted (ring:running-dev-cycle)."
Dispatching Workflows
When to use
- A phased plan exists (typically from ring:writing-plans) and you want each phase executed by a **multi-agent harness**, not a single subagent
- You want review and an adversarial contrarian pass baked **inside** every wave — verified work returns, unverified work does not
- Work benefits from phase checkpoints and supervisor course-correction between phases
Skip when
- One supervised subagent per wave is enough → ring:executing-plans (lighter; the supervisor reviews after the wave returns)
- Production work needing the full gated specialist roster and Gate 0/8/9 → ring:running-dev-cycle
- No plan exists yet → ring:writing-plans first
- Plan covers multiple independent subsystems → split into separate plans before executing
Sequence
**Runs after:** ring:writing-plans (consumes and updates its living plan document) **Alternatives:** ring:executing-plans (one supervised subagent per wave — lighter), ring:running-dev-cycle (full gated specialist cycle — heavier)
Related
**Companion skills:** ring:writing-plans (Task Format + phase-epic-task hierarchy used during elaboration), ring:test-driven-development (RED→GREEN per task, inside the harness), ring:committing-changes (closes each task with a signed atomic commit), ring:reviewing-code (the full 9+ reviewer pool — run it at plan close or for a high-stakes phase)
---
The loop: **elaborate the current phase into tasks against the real landed code → launch the phase as one workflow that implements, reviews, and contrarian-verifies internally → the workflow returns verified work → review it as supervisor → phase checkpoint → roll to the next phase → repeat.** The main agent stays the supervisor; the workflow is a multi-agent harness, not a lone implementer. The plan document is the living source of truth — elaboration writes tasks back into it.
**Announce at start:** "Using ring:dispatching-workflows to execute this plan phase-by-phase as reviewed multi-agent workflows."
How this differs from the sibling skills
| Skill | Wave unit | What runs the wave | Where review happens | |-------|-----------|--------------------|----------------------| | ring:executing-plans | phase or epic | **one** supervised subagent | supervisor reviews **after** the wave returns | | **ring:dispatching-workflows** | **phase** | a **multi-agent workflow harness** | **inside** the harness (mandatory) — verified work returns | | ring:running-dev-cycle | task/epic/phase cadences | gated specialist orchestration | Gate 8 full reviewer pool, per epic |
If you do not need an in-harness multi-agent pass, use ring:executing-plans — it is cheaper and simpler.
The Harness (what runs inside one phase workflow)
Author one workflow per phase. Its stages, in order:
1. **Research (conditional)** — only when the phase introduces an unknown (a new library, an unfamiliar pattern, an external contract). A researcher agent resolves it and feeds findings to the implementers. Skip when the phase is well-understood. 2. **Implement** — the phase's tasks, in dependency order. Each task uses ring:test-driven-development (failing test first, capture RED, then GREEN) and closes with a signed atomic commit via ring:committing-changes. Tasks in a phase usually depend on each other → run them sequentially; parallelize only truly independent tasks, and then with `isolation: 'worktree'` so they don't collide on files. 3. **Review (MANDATORY)** — the relevant Ring reviewer agents, in parallel, over the phase diff. **Compose the existing reviewers via `agentType`** (`agent(prompt, {agentType: 'ring:logic-reviewer', schema})`) — do not re-implement them, and do not re-list the roster here. Pick by what the phase touched (see ring:reviewing-code for the roster and the triggers for conditional specialists). Review is read-only. 4. **Contrarian (MANDATORY)** — adversarial verifiers whose job is to **refute** the wave's claims, not confirm them: that tests actually ran, that the implementation matches each task's vision, that no scope was smuggled in, that no simpler correct approach was ignored. Prompt them to default to *refuted* when uncertain. This is a **role**, not a Ring agent — it lives in the harness prompt. 5. **Synthesize** — PASS only if review surfaced no Critical/High **and** the contrarian refuted nothing. Otherwise the harness self-heals once (fix → re-review), and if still not clean **returns `ISSUES`** rather than looping unbounded. Return a structured report: `status`, `commits`, `findings`, `refutations`.
**Review depth scales with the phase** — pick the reviewers the diff warrants; do not run all 12 every phase. The full ring:reviewing-code pool is the supervisor's call at plan close or for a high-stakes phase, not a per-phase default.
Workflow skeleton (Claude Code Workflow tool)
export const meta = {
name: 'phase-wave',
description: 'Implement one plan phase, then review + contrarian-verify before returning',
phases: [{ title: 'Implement' }, { title: 'Review' }, { title: 'Contrarian' }],
}
const TASKS = args.tasks // dispatch-ready tasks the supervisor elaborated this phase
const REVIEWERS = args.reviewers // Ring reviewer agentTypes picked for this phase's diff
// 2. Implement —Read more
name: ring:dispatching-workflows description: "Executing a phased plan in rolling waves where each phase runs as one multi-agent workflow harness: the supervisor elaborates the phase into tasks against the real landed code, launches a workflow that implements with TDD and runs mandatory in-harness review plus an adversarial contrarian pass (and researchers when the phase hits an unknown) before returning verified work, then reviews it, checkpoints with the user, and rolls to the next phase. Use when each wave should be a reviewed multi-agent harness, not a lone subagent. Skip when one supervised subagent per wave suffices (ring:executing-plans) or the full gated cycle is wanted (ring:running-dev-cycle)."
Dispatching Workflows
When to use
- A phased plan exists (typically from ring:writing-plans) and you want each phase executed by a **multi-agent harness**, not a single subagent
- You want review and an adversarial contrarian pass baked **inside** every wave — verified work returns, unverified work does not
- Work benefits from phase checkpoints and supervisor course-correction between phases
Skip when
- One supervised subagent per wave is enough → ring:executing-plans (lighter; the supervisor reviews after the wave returns)
- Production work needing the full gated specialist roster and Gate 0/8/9 → ring:running-dev-cycle
- No plan exists yet → ring:writing-plans first
- Plan covers multiple independent subsystems → split into separate plans before executing
Sequence
**Runs after:** ring:writing-plans (consumes and updates its living plan document) **Alternatives:** ring:executing-plans (one supervised subagent per wave — lighter), ring:running-dev-cycle (full gated specialist cycle — heavier)
Related
**Companion skills:** ring:writing-plans (Task Format + phase-epic-task hierarchy used during elaboration), ring:test-driven-development (RED→GREEN per task, inside the harness), ring:committing-changes (closes each task with a signed atomic commit), ring:reviewing-code (the full 9+ reviewer pool — run it at plan close or for a high-stakes phase)
---
The loop: **elaborate the current phase into tasks against the real landed code → launch the phase as one workflow that implements, reviews, and contrarian-verifies internally → the workflow returns verified work → review it as supervisor → phase checkpoint → roll to the next phase → repeat.** The main agent stays the supervisor; the workflow is a multi-agent harness, not a lone implementer. The plan document is the living source of truth — elaboration writes tasks back into it.
**Announce at start:** "Using ring:dispatching-workflows to execute this plan phase-by-phase as reviewed multi-agent workflows."
How this differs from the sibling skills
| Skill | Wave unit | What runs the wave | Where review happens | |-------|-----------|--------------------|----------------------| | ring:executing-plans | phase or epic | **one** supervised subagent | supervisor reviews **after** the wave returns | | **ring:dispatching-workflows** | **phase** | a **multi-agent workflow harness** | **inside** the harness (mandatory) — verified work returns | | ring:running-dev-cycle | task/epic/phase cadences | gated specialist orchestration | Gate 8 full reviewer pool, per epic |
If you do not need an in-harness multi-agent pass, use ring:executing-plans — it is cheaper and simpler.
The Harness (what runs inside one phase workflow)
Author one workflow per phase. Its stages, in order:
1. **Research (conditional)** — only when the phase introduces an unknown (a new library, an unfamiliar pattern, an external contract). A researcher agent resolves it and feeds findings to the implementers. Skip when the phase is well-understood. 2. **Implement** — the phase's tasks, in dependency order. Each task uses ring:test-driven-development (failing test first, capture RED, then GREEN) and closes with a signed atomic commit via ring:committing-changes. Tasks in a phase usually depend on each other → run them sequentially; parallelize only truly independent tasks, and then with `isolation: 'worktree'` so they don't collide on files. 3. **Review (MANDATORY)** — the relevant Ring reviewer agents, in parallel, over the phase diff. **Compose the existing reviewers via `agentType`** (`agent(prompt, {agentType: 'ring:logic-reviewer', schema})`) — do not re-implement them, and do not re-list the roster here. Pick by what the phase touched (see ring:reviewing-code for the roster and the triggers for conditional specialists). Review is read-only. 4. **Contrarian (MANDATORY)** — adversarial verifiers whose job is to **refute** the wave's claims, not confirm them: that tests actually ran, that the implementation matches each task's vision, that no scope was smuggled in, that no simpler correct approach was ignored. Prompt them to default to *refuted* when uncertain. This is a **role**, not a Ring agent — it lives in the harness prompt. 5. **Synthesize** — PASS only if review surfaced no Critical/High **and** the contrarian refuted nothing. Otherwise the harness self-heals once (fix → re-review), and if still not clean **returns `ISSUES`** rather than looping unbounded. Return a structured report: `status`, `commits`, `findings`, `refutations`.
**Review depth scales with the phase** — pick the reviewers the diff warrants; do not run all 12 every phase. The full ring:reviewing-code pool is the supervisor's call at plan close or for a high-stakes phase, not a per-phase default.
Workflow skeleton (Claude Code Workflow tool)
export const meta = {
name: 'phase-wave',
description: 'Implement one plan phase, then review + contrarian-verify before returning',
phases: [{ title: 'Implement' }, { title: 'Review' }, { title: 'Contrarian' }],
}
const TASKS = args.tasks // dispatch-ready tasks the supervisor elaborated this phase
const REVIEWERS = args.reviewers // Ring reviewer agentTypes picked for this phase's diff
// 2. Implement —Proven engineering practices, enforced through skills. Ring is a comprehensive skills library and workflow system for AI agents that transforms how AI assistants approach software development.
Repo: LerianStudio/ring
Other skills on ring.
- /analyzing-options
Analyzing different approaches for a task or problem with structured comparisons, effort estimates, and recommendations. Use when facing strategic decisions, architecture choices, or multiple viable approaches. Skip when there's an obvious single approach or the decision is
Open skill - /auditing-production-readiness
Auditing a service's production readiness against Ring engineering standards across base dimensions plus a conditional multi-tenant dimension, then emitting a scored report and an HTML dashboard. Use before production deploy, periodic review, onboarding, or a major release. Skip
Open skill - /cleaning-comments
Cleaning redundant and obvious comments following clean code principles while preserving meaningful documentation. Supports git scope filtering (staged, unstaged, branch, commit-range). Use when code has excessive comments, during code review, or post-refactor cleanup. Skip when
Open skill - /committing-changes
Commit changes with scope allowlist enforcement, atomic grouping, GPG-signed conventional commits, and trailer management. Detects the repo's PR-validation scope policy before proposing any message. Use when the user asks to commit or has changes ready to record. Skip when the
Open skill - /creating-handoffs
Creating a handoff document that captures session state (completed work, decisions, open items, next steps) and delivering it via Plan Mode so the user gets the native 'clear context and continue implementing' resume option. Use when ending a session, when context grows large,
Open skill - /creating-worktrees
Creating an isolated git worktree for parallel branch work: selects the directory by priority order, verifies/adds .gitignore safety, auto-installs the detected toolchain's dependencies, runs a baseline test, and reports readiness. Use before a feature that needs isolation from
Open skill

