To Slices

To Slices#

Break a spec, plan, or conversation into tracer-bullet vertical slices, each a markdown file declaring its blocking edges.

Description#

The to-slices skill decomposes work into slices — narrow but complete vertical cuts through every layer, each demoable on its own and sized to fit a single fresh context window. Each slice file declares the slices that block it; a slice with no blockers can start immediately.

Wide mechanical refactors are the exception to vertical slicing and are sequenced as expand–contract instead: expand (add the new form beside the old), migrate (batches sized by blast radius), contract (delete the old form).

The proposed breakdown is presented to the user — granularity, blocking edges, merge/split — and iterated until approved before any files are written.

Triggers#

/wf:to-slices resources/agent-docs/specs/001-feature/spec.md

Also: “slice this spec”, “break this into slices”.

Output#

  • One file per slice: resources/agent-docs/specs/<NNN>-<slug>/slices/<NN>-<slice-slug>.md with what-to-build, blocked-by edges, status, and acceptance criteria.

  • A ## Slices checkbox list added to the parent spec.md, ticked by implement as slices land.

Attribution#

Adapted from the to-tickets skill in mattpocock/skills (MIT license). Tracker publishing replaced with markdown slice files.