/tslateman-skills:slice [spec path, issue reference, or nothing to use the conversation]from tslateman-skills
Turn a spec, plan, or conversation into a graph of tracer-bullet tasks, each declaring what blocks it and how you will know it is done. Covers vertical slicing, sizing tests, verification commands, checkpoints, and the expand-migrate-contract sequence for wide refactors no single slice can land green. Use after a spec exists and before implementation starts, or on "break this down", "what are the tasks", "turn this into tickets". Do not use to decide what to build — that is spec-out — or to execute a named restructure, which is refactor.
Ships in tslateman-skills. 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.
A spec says what to build. It does not say what to build first, or what done means for any one piece of it. Hand an agent a spec and it builds until it runs out of context, leaving a half-finished layer nobody can verify. Hand it a slice and it finishes.
Two properties make a slice finishable: it cuts through every layer so the result is demonstrable on its own, and it names the evidence that will prove it. Everything below serves those two.
spec-out.brainstorm.refactor.deprecate.Each task cuts a narrow but complete path through every layer — schema, service, interface, tests — so finishing it produces something demonstrable.
HORIZONTAL (wrong) VERTICAL (right)
1. All the schema 1. User can create an account
2. All the endpoints 2. User can log in
3. All the UI 3. User can create a task
4. Wire it together 4. User can see their tasks
Horizontal slices finish in the wrong order: nothing is demonstrable until the last one lands, so every estimate is a guess until the end.
Do any prefactoring first, as its own task. Make the change easy, then make the easy change.
Give every task its blocking edges: the tasks that must complete before it can start. A task with no blockers can start now.
This makes the frontier visible — every task whose blockers are done — which is what lets work be picked up in parallel, or picked up at all after a break. A flat ordered list hides that; it says what came next for the author, not what is available to the next person.
On a real tracker use its native blocking links. In local files, name the blockers in the task itself.
| Size | Files | Scope |
|---|---|---|
| XS | 1 | One function or config change |
| S | 1-2 | One component or endpoint |
| M | 3-5 | One feature slice |
| L | 5-8 | Multi-component feature |
| XL | 8+ | Too large — break it down |
Agents finish S and M reliably. L is a warning; XL is not a size, it is a decomposition you have not done yet.
Break a task down further when any of these is true:
Acceptance criteria state the behavior. Verification names the commands, so whoever picks the task up does not have to reconstruct how this repo proves anything:
## Task 3: User can create a task
**Delivers:** the end-to-end behavior, from the user's side, not a layer list.
**Blocked by:** Task 1 (schema), Task 2 (auth)
**Acceptance:**
- [ ] Specific, testable condition
- [ ] Specific, testable condition
**Verification:**
- [ ] Tests: <the repo's focused-test command>
- [ ] Build: <the repo's build command>
- [ ] Manual: <what to look at, and what right looks like>
**Size:** M
Leave file paths out of anything that outlives the week. Paths go stale faster than the work does, and a wrong path is worse than none. A same-session checklist can name them; a tracker item should not.
Add a checkpoint every two or three tasks — full suite green, the core flow working end to end, and a human look before continuing.
A wide refactor is one mechanical change whose blast radius fans across the codebase: retype a shared symbol, rename a column. A single edit breaks thousands of call sites at once, so no vertical slice can land green and the rule above stops applying.
Sequence it as expand, migrate, contract instead:
EXPAND ─────────────→ MIGRATE ─────────────→ CONTRACT
add the new form move call sites in drop the old form once
beside the old batches sized by nothing references it
blast radius
Each migrate batch is its own task blocked by the expand, and CI stays green
between them because the old form still exists. Contract is blocked by every
batch. Where batches genuinely cannot stay green alone, let them share an
integration branch that blocks one final verify task, and promise green only
there. deprecate runs the same sequence for removal.
Show the numbered list — title, blocked by, what it delivers — and ask three questions: is the granularity right, does each task depend only on what genuinely gates it, and should anything be merged or split. Iterate until the answer is yes, then publish in dependency order so blockers exist before the tasks that reference them.
Merged from to-tickets in
mattpocock/skills (blocking edges, the
frontier, expand-migrate-contract) and planning-and-task-breakdown in
addyosmani/agent-skills (sizing
tests, verification commands, checkpoints). Both MIT. They disagree on file
paths; the rule above resolves it by lifespan.
What SKILL.md sets; muted values are Claude Code's defaults
tslateman-skills@tslateman is listed by tslateman/claude-plugins — review the source before installing
npx claudepluginhub tslateman/claude-plugins --plugin tslateman-skillsOther plugins' skills for the same job
61 skills in this plugin
/adrGenerate Architecture Decision Records that capture the reasoning behind technical decisions. Use when the user asks to "create an ADR", "document a decision", "record why we chose X", or discusses architectural trade-offs worth preserving./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./automagic-problem-discoveryAudit a workspace for recurring friction, pick the highest-leverage one, and build the automation that removes it. Use when the user asks "what should I automate", "what's wasting my time", "find the friction in my workflow", wants a self-improvement pass over their own tooling, or runs this on a recurring loop.