Vertical slicing
Splitting work into thin end-to-end slices instead of technical layers.
A vertical slice cuts through the interface, logic and data to deliver one narrow piece of behavior. Each slice can be shipped and tested on its own. It is the main technique for turning a large feature into a series of small releases.
Why it matters for a product engineer
When work is split by layer, first the database, then the API, then the interface, nothing works until the end, and the hard problems appear late. A vertical slice goes through every layer to deliver one narrow behaviour that works. Each slice can be tested, shipped and judged on its own, so the team learns early, while learning is cheap.
How to do it
- Start from what a user can do, not from the components.
- Look for what there are many of: workflow steps, operations, business rules, kinds of data, interfaces.
- For a workflow, build the simple case from start to end first, then add the steps in the middle.
- Split a story that says “manage” into its operations: create, edit, cancel.
- Keep each slice small enough to finish in a few days, and useful enough that someone would notice.
- Use a time-boxed spike only as a last resort, when you cannot split the work without learning something first.
Common mistakes
- Slices by layer, named after components.
- Splitting a workflow one step at a time from the beginning, so nothing works from end to end for weeks.
- Slices so thin that none of them is worth showing to a user.
- A spike that quietly becomes the feature.
Example
A client of Humanizing Work had a short story: a content manager publishes a news story to the corporate website. The real workflow needed editorial and legal approval, and a review on a staging site. The story became five, starting with direct publishing from end to end, then one story for each step of the approval.
One story about publishing news, split along its workflow
- Publish a news story directlyWorks from end to end
- One workflow step at a time, from the startNothing works from end to end for weeks
- With editor review
- With legal review
- View it on a staging site
- Publish from staging to production
The first slice already does the job. Each later slice adds one step of the real workflow.
ReportedRichard Lawrence, Humanizing Work
Sources: The Humanizing Work guide to splitting user stories (Richard Lawrence) ↗ · Vertical slicing: from initiative to user stories (Humanizing Work) ↗
Resources
2- articleStart here
Vertical slicing: from initiative to user stories ↗
Humanizing Work · 4 minHow slicing works at every level, from a quarter-long initiative down to a single story.
- articleGo deeper
The Humanizing Work guide to splitting user stories ↗
Richard Lawrence (Humanizing Work) · 2020 · 25 minConcrete patterns for cutting a feature into thin end-to-end slices that each deliver value.