norbertsuski/sdd-toolkit/sdd-run

Claude Code and agent skill by norbertsuski/sdd-toolkit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Drive an SDD change from whatever state it is in to an implemented, verified result — the Agent Factory entrypoint for the sdd-* family. Inspects the change's lifecycle state, routes through missing preparation (frame / research / plan), selects an execution strategy (single-agent, sequential multi-agent, or multi-agent DAG), constructs ephemeral scoped workers when — and only when — decomposition pays for itself, selects model/effort execution profiles for workers and review, coordinates their…

Install

npx vskill@latest install norbertsuski/sdd-toolkit/sdd-run

SKILL.md

The same SKILL.md was published earlier as norbertsuski/sdd-toolkit/sdd-run.

/sdd-run — Agent Factory for a Single Change

One command that takes a change-id and drives the change from its current lifecycle state toward implemented + verified. It is a composition layer over the existing `sdd-*` skills, not a replacement for any of them.

The design principle:

The factory contains no software-development knowledge of its own. It inspects state, selects an execution strategy, and composes existing skills, scoped context, and permissions into short-lived workers appropriate for the current specification.
SPEC / CHANGE
│
▼
inspect state (change.md status + artifacts on disk)
route missing prep (frame / research / plan — owning skills, never invented here)
analyze the plan (phases, files, dependencies)
select strategy (single-agent default · sequential · multi-agent DAG)
classify resources (per-phase model tier · effort · context · verification)
construct workers (ephemeral, task-derived — only when strategy is multi-agent)
execute (existing executor contracts: /sdd-implement, /sdd-goal-implement)
verify independently (existing review dimensions)
retry / STOP (bounded — /sdd-goal-implement semantics)
persist + report (## Progress + factory-log.md)

This skill operates under the CONTEXT_ROOT it resolves for the given change-id — app: may be absent for flat roots; do not require it.

When to use, when to skip

Use when: a change exists (or should exist) and the user wants it driven — "get this change done", "continue from wherever it is", "execute this plan, parallelize if it helps". Also when returning to a half-done change after an interruption.

Skip when: the user wants direct control of one step — run the owning skill instead (/sdd-plan, /sdd-implement, /sdd-impl-review, …); the whole manual pipeline keeps working without this skill. Also skip for whole-roadmap sequencing (/sdd-roadmap to generate it, /sdd-project-run to drive it — the project-level factory one layer above this one) or the phased test rollout (/sdd-test-plan — its own orchestrator).

Relationship to other skills

SkillRole for the factory
/sdd-new, /sdd-frame, /sdd-research, /sdd-plan, /sdd-plan-reviewPreparation stages. The factory routes to them when their artifact is missing; it never generates frame/research/plan content itself (they are interview-driven by design — never invent).
/sdd-implementThe attended single-agent executor. The factory hands the session to its process for single-agent attended runs, and reuses its phase-end commit ritual verbatim when committing worker output.
/sdd-goal-implementThe unattended executor. Source of the factory's non-interaction policy, gate stack, mismatch taxonomy, 2-attempt self-fix budget, and STOP block. Workers execute one phase under a scoped subset of this contract (criteria gates only); the factory itself runs the rest of the gate stack — staging, break-check, repo-wide checks, commit — at integration.
/sdd-tdd, /sdd-e2eExecution variants. When the user asks for test-first or browser-level execution, the factory routes the relevant phases to them instead of /sdd-implement; their own eligibility gates rule.
/sdd-impl-review, /sdd-impl-review-ciIndependent verification — part of the factory's completion contract (Step 8). Attended runs run /sdd-impl-review; unattended runs dispatch a reviewer subagent applying ../sdd-impl-review-ci/references/impl-review-instructions.md, including its APPROVED / NEEDS ATTENTION / REJECTED verdict model.
/sdd-mr, /sdd-archiveDownstream closeout. The factory names them in its final report; it does not run them unasked.
/sdd-helpRead-only sibling. /sdd-help reports state and recommends; /sdd-run acts on that same derivation.
/sdd-project-runParent orchestrator (the Project Factory). It selects a roadmap item's Change ID, invokes this skill for it — one change at a time — and consumes the FACTORY RESULT block (Step 11, references/run-result-contract.md) to decide what happens next at project level. This skill neither knows nor cares whether it was invoked by a human or by the project factory: same process, same gates, same outputs. Whole-project sequencing stays out of this skill by design.

Modes

  • Attended (default) — a human is present. Every human gate the existing skills define is honored: the per-phase manual-verification pause, commit-message approval, mismatch decisions, dirty-path prompts. Interactive prep skills may be run inline.
  • Unattended (--auto, or when running under a /goal session) — nobody is watching. The factory applies /sdd-goal-implement's non-interaction policy wholesale: no interactive questions, explicit automatic policies, Manual Progress rows never flipped, STOP blocks on anything a policy cannot resolve. Missing preparation is a STOP, not an interview.

Resolve audience per ../sdd-shape/references/plain-mode.md ("Audience resolution") for operator-facing text; artifacts are identical in both modes.

Process

Step 1: Resolve the change
  • /sdd-run <change-id> [--auto] → resolve exactly as /sdd-implement does: glob context/*/changes/<change-id>/ (legacy cross-root) and, for flat roots, <dir>/context/changes/<change-id>/; one match → use it and derive CONTEXT_ROOT; several → ask which root (attended) or STOP (unattended); zero → the change does not exist yet — see the missing row of the state table below.
  • A full path argument is accepted and reveals CONTEXT_ROOT directly.
  • Refuse archived changes: if the resolved path falls under $CONTEXT_ROOT/archive/, print "This change is archived. Open a new change with /sdd-new instead." and STOP.
  • No argument, attended → list $CONTEXT_ROOT/changes/*/ per discovered root and ask which change to drive. Unattended → STOP (Cannot start: no change resolved.).
Step 2: Derive lifecycle state and route

Read change.md (status), and check which artifacts exist: frame.md, research.md, plan.md, plan-brief.md, reviews/plan-review.md, reviews/impl-review*.md, and the plan's ## Progress completion (parse per ../sdd-plan/references/progress-format.md: first - [ ] = next step; count([x]) / count(all) = completion). Read $CONTEXT_ROOT/foundation/lessons.md if present. The artifacts on disk are authoritative; change.md.status is cross-checked and drift is reported, not trusted over the files.

Route on the first matching row:

State (from artifacts)Attended actionUnattended action
No change folderOffer to run /sdd-new <change-id> now (inline), or hand offSTOP — print Missing prerequisite: change folder. Run /sdd-new <change-id>.
Folder exists, no plan.md, intent (the change.md title + ## Notes) looks bug/scope-shaped (per /sdd-new's signal list) and no frame.mdRecommend /sdd-frame <change-id> first; offer inline run or skip to planningSTOP — Missing prerequisite: framing. Run /sdd-frame <change-id> interactively.
No plan.md, no research.md, and the change is non-trivial in unfamiliar territory (intent names meaningful codebase exploration, an unfamiliar subsystem, or broad architectural surface — the same signal /sdd-new uses to suggest research)Recommend /sdd-research <change-id> before planning; offer inline run or skip to planning (research is optional by family rule — /sdd-plan runs fine without it, it just asks more)STOP — Missing prerequisite: plan.md. Run /sdd-plan <change-id> interactively (consider /sdd-research <change-id> first).
No plan.mdRun /sdd-plan <change-id> inline (it interviews the user), or hand off via clipboardSTOP — Missing prerequisite: plan.md. Run /sdd-plan <change-id> interactively.
plan.md exists, no reviews/plan-review.md, status plannedAsk once: proceed to execution, or run /sdd-plan-review <change-id> first (recommended when the plan has many phases or a wide blast radius). After an inline review completes and its findings are triaged, re-enter this routingProceed, and record plan-review: skipped in the run report (matches /sdd-goal-implement, which does not require review)
plan.md with pending #### Automated rowsExecution path — continue to Step 3Same
Only #### Manual rows pending (all Automated [x])No executable work — present the pending manual checklist and gate on it (this is the phase pause a human resolves); then continue to the completed-rows routing belowNo dispatch (there is no automated worker to send — matches /sdd-goal-implement, where implementation completes on Automated rows). Run Step 8 verification if not yet done, surface the manual rows as the report's human checklist, and STOP — never loop
All Automated [x], verification snapshot is absent/stale per references/verification-freshness.md (whether or not old review/log evidence exists)Run fresh Step 8 (/sdd-impl-review <change-id>); then name /sdd-mr / /sdd-archiveRun unattended Step 8, then report
All Automated [x], verification snapshot is currentReport according to its selected verdict; name /sdd-mr <change-id> only for a positive disposition (or /sdd-archive <change-id> if integrated) and STOPSame, non-interactively

Routing to an interactive prep skill inline means invoking that skill's process in this same session with the user present — its questions, its artifacts, its gates, unchanged. When the user prefers a fresh context, use the family's clipboard handoff instead (copy the command, tell them to /clear and run it, STOP). Never generate a frame, research doc, or plan by shortcut: thin prep produces exactly the misframed work the prep skills exist to prevent.

When the route lands on the execution path, apply references/verification-freshness.md: with pending Automated work, update change.md to status: implementing from {planned, plan_reviewed, implemented, impl_reviewed} and bump updated. The old snapshot may remain as audit fields but is stale by status.

Status normalization on completed routes. Progress is canonical; change.md.status is derived. When a route matches on "all Automated rows [x]" but status is still implementing (a crash landed between the last flip and the executor's status update), normalize: set status: implemented, updated: <today>, narrate the normalization, and stage change.md into the run's closing commit (the epilogue, or the verification-only chore commit from Step 10). Never the reverse — a status claiming more than Progress shows is drift to report, not to trust.

Step 3: Parse the plan and the remaining work

Read plan.md fully (never limit/offset), plus every artifact it references (research.md, frame.md). Extract, for each phase with pending Progress rows:

  • phase number, title, and ### Changes Required file paths,
  • an optional **Depends on**: Phase X[, Phase Y] line in the phase block (plans may declare dependencies explicitly; absent = the phase depends on the previous one),
  • Automated / Manual success criteria and their commands,
  • whether the phase is code-producing or verification/manual-only.

Completed phases ([x]) are done — trust them (re-verify only if something looks off, per /sdd-implement's resume rule). The work-list is every phase with pending #### Automated rows, matching /sdd-goal-implement's resume rule. A phase whose only pending rows are Manual is not executable work: attended runs gate on it at that phase's manual-verification pause; unattended runs surface it on the report's human checklist and move on.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/norbertsuski/sdd-toolkit/sdd-run/badge)](https://verified-skill.com/skills/norbertsuski/sdd-toolkit/sdd-run)

Something wrong with this skill or its page? Tell us.