8000 GitHub - dominikwozniak/dw-skills: 🧩 Personal Claude Code skills β€” a specβ†’planβ†’buildβ†’verify workflow that persists in git and adapts to any stack. Β· GitHub
[go: up one dir, main page]

Skip to content
dominikwozniakPublic

About

🧩 Personal Claude Code skills β€” a specβ†’planβ†’buildβ†’verify workflow that persists in git and adapts to any stack.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

dw-skills

spec β†’ plan β†’ build β†’ verify β€” a persistent, technology-agnostic workflow for Claude Code that survives a /clear.

License: MIT 18 skills 3 plugins Claude Code plugin CI

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.

β—† Why these skills exist

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-resume picks the work back up, dw-handoff packs it for the next agent.
  • The agent runs on a wrong assumption β€” dw-spec forces the unknowns to the surface as a numbered Open-Questions gate and HARD STOPS until you answer.
  • "Done" is claimed but never proven β€” dw-explain writes runnable scenarios; dw-verify runs them and never reports PASS without captured output.
  • The work is too big for one plan β€” dw-split decomposes 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-sync re-aligns PLAN.md with what actually shipped.
  • A change merges on an eyeball, not a real pass β€” dw-review / dw-conform / dw-risk weigh it across axes, against the repo's own patterns, and for blast radius.
  • Review findings have nowhere to land β€” dw-fix applies them: the one writer in the quality pipeline, severity-gated (blockers first), one commit per fix.
  • The test suite bloats β€” dw-prune trims 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".

β–Έ Quick start

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".

↻ The workflow

πŸ“– New here? docs/WORKFLOWS.md is 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.

The core loop

  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").

Acting on findings

/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.

Anytime

  • /dw-git β€” commit / push / PR / sync / branch / stash, by your CLAUDE.local.md conventions.
  • /dw-handoff β€” compact the session context for the next agent.

Setup (once per repo)

  • /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.

β—‡ Task router β€” which skill for which task

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).

β–£ Plugins β€” install what you need (3)

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-split is the escape hatch when a spec is too big for one PLAN.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-fix is 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.

βš™ How it works β€” the design in one screen

Full design rationale β€” the why behind each choice β€” lives in docs/DESIGN.md.

  • Persistence in the skill, not a wrapper. Each SKILL.md writes 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 in docs/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-skills for your own. Install one lane per repo; what the split costs is recorded in docs/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.

β–€ Project structure

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

β—ˆ Contributing

Layout, conventions, the add-a-skill checklist, and CI all live in AGENTS.md (CLAUDE.md is a symlink to it).

β–ͺ License

MIT

About

🧩 Personal Claude Code skills β€” a specβ†’planβ†’buildβ†’verify workflow that persists in git and adapts to any stack.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0