/dd:flow:gofrom dd:flow
Plans and ships features as vertical slices driven by a single living doc. Use when starting a new feature, breaking scope into tasks, or continuing from a feature context doc.
Ships in dd:flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Plan and ship a feature as vertical slices driven by one living doc — one slice ("a go") at a time. This encodes a fixed method so it never has to be re-explained per feature.
The method is depth-first and just-in-time: build one complete, working layer at a time, fold what you learned back into the doc, then the user clears the chat and starts the next slice from that doc.
/clear and starts the next one fresh from the doc. Don't try to do two slices in one go.feat: slice 2 — transcript loading · ✅ feat(transcript): load a session JSONL into scrollable lines/// Reading measure, in columns. Configurable in slice 4. · ✅ /// Reading measure, in columns. — a not-yet-built option is not a fact about the code; if the constraint is real, say it without the slice number.Each feature has one markdown doc in ~/.context/ — a dedicated directory outside the project repo. Planning docs live there, never in the project itself. It is the seed a fresh session reads — written for Claude, not for reading cover to cover.
Keep the directory lean: one dir per project, one file per active feature — ~/.context/<project>/<feature>.md. Delete a doc once its feature ships; the merged code and git history are the record, so finished docs are just clutter.
Index, not store. Each finished decision is a one-line gist plus a pointer (file:line, a path, a link) — never pasted code or detail. This is what keeps the doc from bloating into slop as the feature grows.
Structure:
# <feature name>
> **This doc drives the `/dd:flow:go` flow. If you're reading it to do work, invoke that skill first — it holds the method this doc assumes.**
## Destination
What "done" looks like — the end state, in a few lines. Re-read every session.
## Notes
Domain terms, constraints, preferences, key file/paths. Gist + pointer only.
## Decisions
- <one-line gist of a settled decision> — <pointer>
(the index of what's already chosen; grows as slices close)
## Slices
- [x] <slice that shipped> — <PR / commit / pointer>
- [ ] <next takeable slice — blockers all closed>
- [ ] <later slice>
## Not yet specified
Loose notes for things that can't be phrased as a sharp task yet (fog of war).
## Out of scope
Explicitly not doing.
Working from an older doc that has no banner? Add it — one line, no other edits.
Settle what this slice does and how it will work. Grill one question at a time:
docs/design/, if it has one). It holds why the built system is the way it is — decisions promoted out of earlier features. Most "why is this like this" questions are answered there, and framing that contradicts it is framing that gets thrown away.WebSearch/WebFetch the docs. Don't ask the user what you can verify.Turn the framed scope into vertical slices:
When the doc is created for the first time, stop here. Do not start building in this session.
Framing is exploration-heavy — rejected proposals, refuted guesses, dead ends. Building on top of that context means the doc never gets used as what it is: the seed a fresh session reads. Handing over tests the seed while it's still cheap to fix.
/clears and re-enters this skill to build. Don't run the clear for the user, and don't start Step 3.If the doc already exists (a continuing session), skip this step — go straight to Step 3. A doc with an empty ## Slices is not a continuing session: /dd:flow:look seeds facts, not a plan, so that doc still gets Step 1, Step 2, and this hand-over.
The TL;DR. The user should get the whole picture in one scan — never have to open the file to know what was decided and what's about to be built. So it covers everything the doc covers; what gets cut is the prose, not the items.
Cut: rationale, the path you took to a decision, pointers and file:line refs, verification output, alternatives you rejected. Keep the what, drop the how you got there — the doc holds that for the next session.
The seed block. The user copy-pastes this straight into the fresh chat, so it has to stand alone there — one line is the floor, not a cap. Include:
/dd:flow:go + <doc path> + which slice. Always, and always with the command: pasted text alone won't pull this skill in, and a fresh session without it builds off-method. The doc's header banner is the backstop for docs opened some other way, not a substitute — it only fires once the file is already open./clear, and where the restart command lives if it doesn't. This is the part that saves the next session real time; a doc records the plan, not what's running right now.Keep it to those. Anything a fresh session can find by reading the doc doesn't belong in the block.
Build the current slice end to end. Keep the change minimal and within the PR-size budget. If it's growing past ~1k lines, stop and re-slice — tell the user it needs splitting rather than shipping an unreviewable PR.
For logic-heavy slices (clear inputs/outputs — parsers, calculations, rules), drive it with a failing test first. For scaffold, wiring, and config slices, skip it — there's nothing to red-test.
Everything you write into the repo is read by people who never saw the doc — keep slice vocabulary out of it (see Principles).
When the slice is built, wrap it up so it's ready for the user's review. Reviewing, committing, and clearing the chat are the user's to do — don't do them for the user or tell the user to do them.
/dd:rust:review, which loads all five and runs the cargo checks itself. TypeScript → invoke /dd:ts:review, which loads the convention skills and runs format, typecheck, lint and tests itself. Fix what it finds, or say why you didn't./dd:flow:spec. Uncommitted here means the next feature's session rediscovers it from scratch, or contradicts it. Scaffold and wiring slices usually promote nothing; say so rather than inventing an entry.[x] with a pointer to the change, add any new settled Decisions (gist + pointer), fold new facts into Notes, move anything now-sharp out of Not yet specified.TBD, TODO, or requirement too vague to act on?If there's no doc yet, do Step 1 first, then create the doc in ~/.context/ with the structure above, then Step 2. If the feature rests on facts nobody has yet — an unfamiliar API, protocol, or codebase — run /dd:flow:look before framing: it writes the doc's Notes from primary sources so Step 1 grills open questions instead of verifiable ones. The very first slice of a new project is usually the scaffold (init, README, CLAUDE.md, CI, lint/fmt) — small, green, runnable.
What SKILL.md sets; muted values are Claude Code's defaults
mediumOther plugins' skills for the same job
5 skills in this plugin
/backfillOne-time bootstrap of `docs/design/` for a repo that has code but no spec — plan the domains as slices, then write them one per session. Invoked explicitly with /dd:flow:backfill./lookSend background agents at the primary sources and come back with cited findings — facts, or a menu of options with their costs. Use before framing a feature, or any time the user says "look into X", "research X", "check whether X", "what are my options for X", "I need to start but don't know where"./seedAudit the living doc against this chat, fold in what's missing, and print the seed block for the next session. Use when the user is about to /clear, asks for "the seed", "a seed block", "how do I continue this", or wants to check the context doc captured everything before starting fresh.npx claudepluginhub napalmpapalam/skills --plugin flow