plan-to-slices
Skill2 starsChanged 6 months agoMITView on GitHub
Decompose a PROJECT_BRIEF.md into vertical, TDD-ready implementation slices. Each slice is independently demoable. Use when user wants to break down a project into slices
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- updating-ai-knowledgeSkill
- complete-sliceSkill
- define-projectSkill
- iterate-planSkill
- role-buildSkill
- role-deploySkill
- role-harness-engineerSkill
- role-qaSkill
- role-rootSkill
- role-verifySkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Read PROJECT_BRIEF.md and produce SLICES.md — an ordered sequence of vertical, demoable slices, each with acceptance criteria a dev can …
- Very specific: line 8
If there's no brief, tell the user to run define-project first.
- Distinctive: line 13
Explore the codebase: if one exists. Module boundaries, test patterns, what's already there.
- Distinctive: line 20
Every slice is vertical. No "set up the database" slice unless the project is pure infra.
- Distinctive: line 57
Every slice is demoable and testable
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Read PROJECT_BRIEF.md and produce SLICES.md — an ordered sequence of vertical, demoable slices, each with acceptance criteria a dev can turn into tests
If there's no brief, tell the user to run define-project first. Slicing without a brief just ships the ambiguity forward into dev turns
Process
- Read the brief. Scope, MVP, technical approach, risks
- Explore the codebase if one exists. Module boundaries, test patterns, what's already there. Slices land where seams already exist
- Identify vertical slices. Slice 1 is the thinnest end-to-end path that proves the core approach
- Order by dependency and risk. Uncertain integrations push forward so you learn early. User-facing value before internal polish. Clearly label dependencies so independent slices can run in parallel
- Write acceptance criteria — 3–5 observable outcomes per slice
Slicing rules
- Every slice is vertical. No "set up the database" slice unless the project is pure infra. A horizontal slice can't be demoed, so you lose the feedback that makes slicing valuable
- O11y lives inside the slice that introduces the behavior
- Sizes within an order of magnitude. If one slice is 10x the others, split it; if one is 1/10th, fold it in. Agents complete well-sized vertical slices strongly — don't over-fragment out of caution
Acceptance criteria
Observable and verifiable. "POST /users returns 201 with user ID" — not "user creation works." Scoped to this slice; don't duplicate criteria earlier slices already own
Cover: happy path always; input validation where a new interface appears; edge cases when core to the slice; integration with prior slices from slice 2 onward. The implementer discovers more tests during red-green-refactor — you're defining the boundary of done, not the full test plan
Output — SLICES.md
# [Project Name] — Implementation Slices
> Generated from [PROJECT_BRIEF.md](./PROJECT_BRIEF.md)
## Slice 1: [Verb] [what] *(MVP)*
### What this delivers
One sentence — what a user/system can do once this ships
### Acceptance criteria
1. ...
2. ...
### Implementation notes
Key decisions, constraints, layers touched. For slice 2+: **Depends on**: Slice N
---
(repeat per slice)Quality bar
- One
SLICES.md, not scattered files - Every slice is demoable and testable
- Dependencies between slices are explicit
- A dev reading
SLICES.mdknows what to build first, what done looks like, and what order to go in - Slices are right sized for expert agents
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

