Splits a spec or large change into independent vertical slices for parallel builders in separate worktrees - prefactor first, dependency graph, file ownership and a checklist. Called by vfeature, vrefactor and varchitect.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vslice?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vocsong-vslice)
---
name: vslice
description: Splits a spec or large change into independent vertical slices for parallel builders in separate worktrees - prefactor first, dependency graph, file ownership and a checklist. Called by vfeature, vrefactor and varchitect.
disable-model-invocation: true
---
# vslice — split the work for parallel builders
Read the **Shared vocabulary** section of `../vcore/SKILL.md` before starting.
Apply the overlay rules in `../vcore/SKILL.md` (including `notes/vslice.md` and `overrides/vslice.md`).
## A good slice
- **Vertical** — cuts through every layer it needs and can be demonstrated on its own.
- **Independent** — two slices that can run at the same time do not edit the same files. If they
must, make one depend on the other or move the shared change into its own first slice.
- **Sized for one builder** — one worktree, one fresh context, one PR.
- **Verifiable** — names its acceptance check and the feature-map layers it must clear.
Wide refactors use expand → migrate → contract instead: one slice adds the new shape, migration
slices move callers in batches (by blast radius), a final slice deletes the old shape.
## Method
1. List the behaviours from the spec.
2. **Prefactor first:** if a small structural change would make the feature easy, make that its own
first slice ("make the change easy, then make the easy change").
Find shared foundations (types, schemas, a new module's skeleton). Make them the first slice(s)
so later slices can run in parallel on top.
3. Group the rest into vertical slices; assign each the files it owns.
4. Draw dependencies only where a slice truly needs another's code. Maximise the number of slices
that are ready at the same time.
5. Check for file collisions between slices with no dependency between them; fix by merging,
reordering or extracting.
6. At the spec sign-off gate, show the slice graph and ask about granularity (too coarse, too fine)
and any dependency edge you're unsure of.
## Output (goes into the spec)
Use preferred glossary terms in slice handoffs and link to the repo glossary if present.
```markdown
## Slices
| id | slice | depends on | owns | acceptance | layers |
| --- | --- | --- | --- | --- | --- |
| S1 | Shared types for X | — | src/shared/x.ts | typecheck + unit | L0 L1 |
| S2 | … | S1 | … | … | L0 L1 L2 |
Ready first: S1. Then in parallel: S2, S3.
- [ ] S1 …
- [ ] S2 …
```