From sdd-engineering
Runs an already-approved DevDigest Implementation Plan end-to-end: dispatches sdd-engineering:implementer agents per the plan's DAG (multi-agent by non-overlapping owned paths, or single-agent), then gates with architecture-review:architecture-reviewer + sdd-engineering:plan-verifier in parallel, then resolves their comments in a bounded fix loop. Starts FROM a plan — spec authoring (sdd-engineering:spec-creator) and planning (sdd-engineering:implementation-planner) are run separately/manually beforehand. Never pushes or merges. TRIGGER when: "/run-plan", "run-plan plan:<path>", "run the plan", "run the DevDigest plan", "execute the approved plan". Prefer this over the generic `implement` skill for DevDigest's DAG/owned-path multi-agent execution. Does NOT cover: writing specs, writing the plan, authoring tests (test-writer is not invoked here), pushing/merging (run pr-self-review before push).
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdd-engineering:run-planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Take an approved Implementation Plan and drive it to reviewed code: implement per the DAG, gate
Take an approved Implementation Plan and drive it to reviewed code: implement per the DAG, gate with architecture-review:architecture-reviewer + sdd-engineering:plan-verifier, and resolve their comments in a bounded fix loop.
You are the orchestrator, running in the main session. The spec and the plan already exist and
were approved by a human beforehand (you run sdd-engineering:spec-creator and sdd-engineering:implementation-planner separately —
they are not part of this command). You do not implement or review yourself — you dispatch the
specialized agents and keep only their short final reports in context, so your context stays lean and
cheap. Spawn agents with the Agent tool; run independent agents concurrently (multiple tool
calls in one message).
| Token | Meaning | Default |
|---|---|---|
plan:<path> | Path to the approved Implementation Plan. Required. | — |
| free-text prose | Optional notes / constraints for this run (e.g. "skip phase 3 for now"). | — |
mode:multi / mode:single | Override the plan's Execution mode. | read from the plan |
max-fix:<n> | Cap on the architecture-review fix loop (Step 3). | 3 |
If no plan: is given, ask for the plan path and stop — do not guess. State your interpretation of
the args in one line before starting.
test-writer.git push, merge, or open a PR. The run ends at a review-clean working tree plus a
recommendation to run pr-self-review.max-fix iterations. Never loop forever; if findings remain, stop and
report them for a human.Read the plan file. Extract for every task: T-id, Action, Module, Type, Skills to use,
Owned paths, Depends-on, Known gotchas, Acceptance. Read the plan's ## Execution mode
field; a mode: arg overrides it. Build the dependency DAG from Depends-on. Print a one-line
summary of what will run (e.g. "6 tasks, multi-agent, 3 phases; fix loop max 3").
Multi-agent mode (default when the plan says so):
Depends-on are all complete and whose Owned paths do not
overlap any task already running this batch.sdd-engineering:implementer per ready task, concurrently (one message, multiple Agent calls).
Give each sdd-engineering:implementer its full task block plus the list of the other tasks' Owned paths so it
stays in its lane.Single-agent mode: run the tasks sequentially in plan order, one sdd-engineering:implementer at a time.
Each sdd-engineering:implementer self-verifies (the module's existing tests + typecheck) before returning. If one reports blocked / failing and cannot fix it in scope: record it, and either dispatch a targeted retry or surface it to the user — do not silently continue past a red task that others depend on.
Compute the changed-file set (git diff against origin/main, or accumulate from the sdd-engineering:implementer
reports). Then spawn, concurrently:
architecture-review:architecture-reviewer on the changed-file set → structural findings (severity + rule) and a
PASS/FAIL gate.sdd-engineering:plan-verifier with the plan + changed set → a traceability matrix and a PASS/FAIL/REVIEW gate.Both run on Sonnet (read-only, structured prompts). Collect both verdicts.
Build the fix backlog:
architecture-review:architecture-reviewer findings with severity critical or high (medium/low → report only).sdd-engineering:plan-verifier rows with status missing or partial (a requirement is not actually met).If the backlog is empty → go to Step 4. Otherwise loop, for iteration i = 1 … max-fix:
sdd-engineering:implementer(s) — one per group, concurrent where owned paths are disjoint — each
instructed: "Fix exactly these findings in these files, stay in scope, self-verify." Pass each
finding's text, file:line, and the reviewer's recommendation.architecture-review:architecture-reviewer scoped to the touched files;
re-run sdd-engineering:plan-verifier only for the requirements that were missing/partial.If max-fix is reached with a non-empty backlog → stop and list the remaining findings for a human
decision. Never exceed the cap.
Output the summary below and recommend running pr-self-review before push. Do not push,
merge, or open a PR. Offer to invoke pr-self-review as the next step.
## Run Plan — <feature>
- **Plan:** `docs/plans/<feature>.md` — mode: multi-agent | single-agent
- **Implemented:** <N> tasks (T1…Tn) — <one line>
- **Self-verify:** module suites + typecheck green | failing (<detail>)
### Review gate
- architecture-review:architecture-reviewer (sonnet): PASS | FAIL — <crit/high counts>
- sdd-engineering:plan-verifier (sonnet): PASS | FAIL | REVIEW — <verified N/M; missing/partial ids>
### Fix loop
- iterations run: <i> / <max-fix>
- resolved: <findings fixed>
- **remaining (needs human):** <list, or "none">
### Next step
Run `pr-self-review` before pushing. (Not pushed — by design.)
If plan: is missing or the plan is unreadable, or an sdd-engineering:implementer is blocked on something only a
human can decide — stop and say plainly what you need. A clear "blocked here, need X" is a valid
result; a half-run pretending to be complete is not.
npx claudepluginhub vadimpoltoratskiy/dev-digest-ai-marketplace --plugin sdd-engineeringCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.