spec β plan β build β verify β a persistent, technology-agnostic workflow for Claude Code that survives a /clear.
Plans and reviews land on disk under .ai/ (tracked in git), so work survives a /clear, a new
session, or a handoff to another agent. Every skill reads your project's own commands and
conventions β nothing about a stack is baked in.
These aren't theoretical. Each is a failure mode I kept hitting in day-to-day work with AI agents β the catalog is the set of reusable steps I pulled out of that loop. Each skill kills one:
- Context dies on /clear or a handoff β plans and reviews persist as tracked
.ai/files;dw-resumepicks the work back up,dw-handoffpacks it for the next agent. - The agent runs on a wrong assumption β
dw-specforces the unknowns to the surface as a numbered Open-Questions gate and HARD STOPS until you answer. - "Done" is claimed but never proven β
dw-explainwrites runnable scenarios;dw-verifyruns them and never reports PASS without captured output. - The work is too big for one plan β
dw-splitdecomposes a spec into a dependency graph of slices with a takeable frontier, instead of one spine no single session can finish. - The plan silently drifts from the code β
dw-syncre-alignsPLAN.mdwith what actually shipped. - A change merges on an eyeball, not a real pass β
dw-review/dw-conform/dw-riskweigh it across axes, against the repo's own patterns, and for blast radius. - Review findings have nowhere to land β
dw-fixapplies them: the one writer in the quality pipeline, severity-gated (blockers first), one commit per fix. - The test suite bloats β
dw-prunetrims redundant tests without dropping coverage.
The why behind each design choice is in docs/DESIGN.md.
Working alone? A repo only you read doesn't need three planning artifacts and five audits. dw-solo-skills is the same idea at one file and one pass β same conventions, far less ceremony. Install that instead of the two lane plugins below; see
docs/DESIGN.md, "Two lanes, two repos".
claude plugin marketplace add git@github.com:dominikwozniak/dw-skills.git
claude plugin install dw-misc # bootstrap Β· git Β· handoff Β· doctor Β· setup-precommit
claude plugin install dw-planning # spec β plan β split β build β resume β sync
claude plugin install dw-quality # review Β· conform Β· fix Β· prune Β· explain Β· verify Β· risk
Then /dw-bootstrap once per repo, start a feature with /dw-spec, and resume after a /clear with
/dw-resume.
For a repo only you read, install
dw-solo instead of dw-planning +
dw-quality β one lane per repo, or two skills compete for "start a feature".
π New here?
docs/WORKFLOWS.mdis the guided tour β the loop walked step by step, a recipe for each situation (start a feature, resume after a/clear, review before a PR, fix findings, reconcile drift), and the decisions between skills. The map below; that's the tour.
SPEC PLAN BUILD REVIEW Β· VERIFY SHIP
/dw-spec β /dw-plan β /dw-build β /dw-review /dw-explain β (open PR β your own tooling)
β³ /dw-split (too big for one plan β slice graph)
βΊ /dw-resume (pick up) /dw-conform /dw-verify
/dw-sync (fix drift) /dw-prune /dw-risk
βββββββββββββββ .ai/runs/<id>/ βββββββββββββββ ββ .ai/verify/<branch-slug>/ ββ
One lane per repo β installing this alongside
dw-solo means two skills compete for "start a
feature". Why the two exist, what the thin lane drops, and what the split costs:
docs/DESIGN.md, "Two lanes, two repos".
<branch-slug> = the current branch slugified, e.g. ABC-123/password-reset β
abc-123-password-reset. SHIP β deciding when to open the PR, plus the deploy/CI that follows β is
intentionally outside this toolkit (see docs/DESIGN.md, "Composable, not
chained").
/dw-fix is the one writer in the loop β it applies the dw-review / dw-conform / dw-risk
findings the auditors record (blockers first, one commit per fix), then you re-audit to confirm β
required after blockers, optional after a medium/low-only pass.
/dw-gitβ commit / push / PR / sync / branch / stash, by yourCLAUDE.local.mdconventions./dw-handoffβ compact the session context for the next agent.
/dw-bootstrapβ scaffold a repo for this loop (tracked.ai/+.claude/)./dw-doctorβ read-only health check of the tools and hooks the loop assumes./dw-setup-precommitβ wire git-level husky + lint-staged pre-commit hooks.
A recommendation, not a rail: every skill stands alone and is invoked when you need it. They
compose through the shared .ai/ artifacts + a "Next:" pointer at the end of each skill.
A task may match several rows β read all that apply. β = explicit-invoke only: say its name (it
never auto-fires). The phrases that trigger each skill live in its own description, not here.
Setup
| Skill | Task | What you get |
|---|---|---|
dw-bootstrap β |
Scaffold a repo for the dw-* loop: .ai/, settings, hooks |
tracked .ai/ + .claude/ |
dw-doctor |
Diagnose tools, hooks, .ai/ sanity (read-only) |
health report + fixes |
dw-setup-precommit β |
Wire husky + lint-staged for a pnpm node/ts/js repo | .husky/ + .lintstagedrc.json |
Plan & build β spec, plan, build.
| Skill | Task | What you get |
|---|---|---|
dw-spec |
Start a feature; surface unknowns via an open-questions gate | SPEC.md under .ai/runs/ |
dw-plan |
Turn a ready spec into thin vertical slices | PLAN.md status table |
dw-split β |
Spec too big for one plan β a dependency graph of slices | slices/NN-slug.md + INDEX.md |
dw-build |
Build the next slice: RED β GREEN β regression β commit | code + done row + SHA |
dw-resume |
Pick up after a /clear; find the first not-done step |
read-only status report |
dw-sync β |
Re-align the plan with the code after drift | reconciled PLAN.md |
Review & verify
| Skill | Task | What you get |
|---|---|---|
dw-review |
Multi-axis review of a diff (correctness/security/perf/β¦) | review.md + verdict |
dw-conform |
Check a change against the repo's existing patterns | conform.md drift report |
dw-explain |
Explain a change + generate runnable verification scenarios | explain.md scenarios |
dw-verify |
Run those scenarios and record PASS/FAIL + evidence | verify-run.md |
dw-risk |
Assess blast radius, out-of-code impact, rollback | risk.md |
dw-fix |
Apply those findings β severity-ordered, one commit per fix | code commits + fix.md |
dw-prune β |
Trim redundant tests without dropping coverage | keep/merge/delete plan |
Anytime
| Skill | Task | What you get |
|---|---|---|
dw-git |
All git ops β commit / push / PR / sync / branch / stash | commits / PR per CLAUDE.local.md |
dw-handoff β |
Compact the session for the next agent | .ai/handoffs/<ts>.md |
Within Review & verify: dw-explain β dw-verify is a chain (verify runs explain's scenarios);
dw-review and dw-conform are independent axes; dw-prune trims redundant tests on explicit
consent; dw-risk reads whatever neighbours exist and closes the pipeline. dw-fix is the one
writer β it applies the findings the auditors record (blockers first), then you re-audit to confirm
(required after blockers, optional after a medium/low-only pass).
Three plugins, grouped by job. The task router above says what each skill does β here's which plugin ships it and where its artifacts land.
dw-miscβ repo setup + everyday helpers.dw-bootstrapΒ·dw-gitΒ·dw-handoffΒ·dw-doctorΒ·dw-setup-precommit.dw-planningβ the specβplanβbuild loop.dw-specΒ·dw-resumeΒ·dw-planΒ·dw-splitΒ·dw-buildΒ·dw-sync.dw-splitis the escape hatch when a spec is too big for onePLAN.md. Artifacts:.ai/runs/<id>/.dw-qualityβ the change-quality pipeline.dw-reviewΒ·dw-conformΒ·dw-fixΒ·dw-pruneΒ·dw-explainΒ·dw-verifyΒ·dw-risk. The auditors diagnose (read-only);dw-fixis the one writer. Artifacts:.ai/verify/<branch-slug>/.
For a repo only you read, dw-solo is the thin
alternative to dw-planning + dw-quality β one CHANGE.md instead of spec+plan+notes, one gated
pass instead of five auditors. It ships from its own marketplace; install it instead of those two,
not alongside.
Full design rationale β the why behind each choice β lives in docs/DESIGN.md.
- Persistence in the skill, not a wrapper. Each
SKILL.mdwrites its own.ai/paths as part of its procedure, so plans land automatically and travel with the installed plugin β no.claude/commands/glue layer. (Stack commands are read from your project too β nothing is hardcoded; that's the opening pitch up top.) .ai/is tracked, one folder per task, no central index. Artifacts are real work docs committed with the code; each run is matched to its git branch, so branches never fight over one file.- Thin harness, fat skills. The process lives in the markdown, not in glue code β so every model
upgrade improves the skills for free. Bulky detail (templates, examples) loads on demand from
references/. (Inspired by "Fat Skills".) - Composable, not chained. Skills stay separate and link through shared
.ai/artifacts + a "Next:" pointer β a recommendation, never a forced sequence. Why there's no autonomous loop closing this is indocs/DESIGN.md, "Loops vs persistence." - Two lanes, two repos. How much process a change deserves depends on who reads the artifacts, so
the same idea ships at two weights β this repo for shared work,
dw-solo-skillsfor your own. Install one lane per repo; what the split costs is recorded indocs/DESIGN.md. - Explicit-only skills (
dw-bootstrap,dw-handoff,dw-prune,dw-split,dw-sync,dw-setup-precommit) are invoked by name and never auto-trigger; the rest can be model-invoked when the task fits.
skills/<name>/SKILL.md canonical skill (edit here)
plugins/<collection>/ plugin.json + git-tracked symlinks β ../../../skills/<name>
scripts/runtime/ shipped scripts, symlinked into each consuming plugin
templates/ shared template payload (hooks, settings.json, CLAUDE.local.md)
.claude-plugin/marketplace.json makes the repo installable
docs/WORKFLOWS.md the guided tour (the "how" β recipes + decisions)
docs/DESIGN.md design rationale (the "why")
docs/SKILL-ANATOMY.md the shape every SKILL.md follows
Layout, conventions, the add-a-skill checklist, and CI all live in AGENTS.md
(CLAUDE.md is a symlink to it).
MIT