Skip to content
Back to skills

Vslice

ASecurity

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.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 29, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add vocsong/VocsCode --skill vslice --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vslice?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vslice
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vocsong-vslice/badge)](https://www.skillsdirectory.com/skills/vocsong-vslice)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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 …
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.