From dev-workflow-agents
Agentic implementation workflow. Orchestrates the Coordinator → Executor → Verifier pipeline with an adaptive fix loop. Run via /dev-workflow before any non-trivial implementation task.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow-agents:dev-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
I'm using the dev-workflow skill to run the agentic implementation pipeline.
I'm using the dev-workflow skill to run the agentic implementation pipeline.
Display the configuration to the user and collect their choices:
╔══════════════════════════════════════════╗
║ dev-workflow — configuration ║
╠══════════════════════════════════════════╣
║ Coordinator : claude-sonnet-latest ║
║ Executor : claude-haiku-latest ║
║ Verifier : claude-sonnet-latest ║
╠══════════════════════════════════════════╣
║ Project complexity? ║
║ simple — skip Verifier ║
║ complex — full pipeline (default) ║
╠══════════════════════════════════════════╣
║ Override a model? (optional) ║
║ Syntax: role=model ║
║ Example: verifier=claude-opus-latest ║
║ Roles: coordinator / executor / verifier║
╚══════════════════════════════════════════╝
Collect from the user:
simple or complex (default: complex)role=model)Save the configuration — it will be used throughout the pipeline.
Create .dev-workflow-state.md in the current project directory:
## Metadata
- Coordinator: [model]
- Executor: [model]
- Verifier: [model]
- Mode: [simple/complex]
- Started: [current date and time]
- Fix iterations: 0 / max 3
- Coordinator actual model ID: [recorded on first invocation]
- Executor actual model ID: [recorded on first invocation]
- Verifier actual model ID: [recorded on first invocation]
If an agent's actual model ID changes between invocations within the same pipeline run, log a warning in the state file:
WARNING: [agent] model changed from [old] to [new] mid-pipeline.
Invoke agent dev-coordinator with the following context:
## Metadata and ## Requirements sections from .dev-workflow-state.md (do NOT pass other sections)The Coordinator will invoke the Executor for code analysis on its own.
Wait for the user to approve both the plan AND the sprint contract before proceeding to Phase 2.
Invoke agent dev-coordinator with:
.dev-workflow-state.mdThe Coordinator handles the pre-check → approval → Executor implementation → checkpoint loop on its own.
When delegating a task to the Executor, the Coordinator sends ONLY: the task description, its sprint contract criteria, and relevant file paths — not the full plan or other tasks' results.
If the Executor escalates a task, the Coordinator records the decision in .dev-workflow-state.md under ## Phase 2 — Escalation [task name] before passing the revised task back.
After each task is implemented, the Coordinator reviews the Executor's result in the state file (## Phase 2 — Result [task name]), runs the post-task checkpoint against the sprint contract criteria, and confirms it passes before proceeding to the next task.
After each task's checkpoint passes, create a git commit with message: [dev-workflow] Task N: [task name]. This enables:
If any agent signals CONTEXT LIMIT:
.dev-workflow-state.md.If mode is simple — skip this step and go to Step 7.
Important: Do not commit changes before verification — the Verifier needs to see them in the diff.
Prepare context for the Verifier (ONLY these elements, nothing more):
.dev-workflow-state.md (no implementation details)## Sprint Contract from .dev-workflow-state.md (testable criteria)git diff in the project directory (staged + unstaged changes). If the diff is empty, also try git diff HEAD in case changes were committed.Invoke agent dev-verifier with this context.
The loop runs while the Verifier reports findings, up to 3 iterations.
If the Verifier reported UNCERTAIN findings:
.dev-workflow-state.md.Invoke dev-coordinator with:
ARCHITECTURAL findings from the Verifier.dev-workflow-state.mdInvoke dev-executor with:
MINOR findings.dev-workflow-state.md.dev-workflow-state.md (the skill orchestrator is responsible for incrementing Fix iterations).dev-verifier with the same minimal context (requirements + sprint contract + new git diff HEAD + task titles).ITERATION LIMIT REACHED
The following issues could not be resolved after 3 iterations:
[list of unresolved findings]
Options:
1. Continue manually
2. Restart verification with new instructions
3. End workflow and accept the current state
Invoke dev-coordinator with the instruction: "Prepare the final report based on .dev-workflow-state.md."
The report must include:
git diff --name-only HEAD)Delete .dev-workflow-state.md from the project directory.
Each agent invocation should receive ONLY the state file sections relevant to its current task. Do not pass the entire state file when a subset suffices.
## Metadata + ## Requirements only## Metadata + current task from ## Phase 1 — Coordinator Plan + ## Sprint Contract (current task criteria only). Do NOT pass prior task results.## Metadata + current task plan + Executor's pre-check## Metadata + ## Requirements + ## Sprint Contract + task titles only + git diff (NO Phase 2 results, NO escalations, NO pre-checks)## Metadata + specific findings being fixed + ## Sprint Contract criteria for affected tasksThe state file .dev-workflow-state.md has a strict section structure. Each section has an OWNER (the only agent allowed to write to it) and READERS.
| Section | Owner | Readers | Created |
|---|---|---|---|
## Metadata | SKILL | All | Step 2 |
## Requirements | SKILL | All | Step 2 |
## Sprint Contract | Coordinator | Verifier, SKILL | Phase 1 |
## Phase 1 — Coordinator Plan | Coordinator | Executor, SKILL | Phase 1 |
## Phase 1 — Code Analysis | Executor | Coordinator | Phase 1 |
## Phase 2 — Pre-check [task] | Executor | Coordinator | Phase 2 |
## Phase 2 — Result [task] | Executor | Coordinator | Phase 2 |
## Phase 2 — Checkpoint [task] | Coordinator | SKILL | Phase 2 |
## Phase 2 — Escalation [task] | Coordinator | Executor | Phase 2 |
## Phase 2 — Summary | Coordinator | Verifier, SKILL | Phase 2 end |
## Active Verification Results | Verifier | Coordinator, SKILL | Phase 3 |
## Verification Score | Verifier | Coordinator, SKILL | Phase 3 |
## Phase 3 — Verification [N] | Verifier | Coordinator, Executor, SKILL | Phase 3 |
## Phase 4 — Fixes [N] | Coordinator | Executor, SKILL | Phase 4 |
## Final Report | Coordinator | SKILL, User | Step 7 |
Agents MUST NOT write to sections they do not own. Agents SHOULD NOT read sections not listed in their Readers column.
*-latest models are used by default — they always point to the newest version of the model family.npx claudepluginhub kzzalews/dev-workflow-agents --plugin dev-workflow-agentsOrchestrates an adversarial plan-implement-review pipeline by spawning agents with separate context windows. Use after intake skills produce a starting document.
Executes approved implementation plans using parallel developer agents. Initializes shared state, performs integration review, and runs verification (lint, tsc, format, build). Use post-planning.
Orchestrates multi-phase project execution by dispatching dedicated persona agents for planning, execution, verification, and review. Use after spec approval for automated phase chaining.