Skip to content
mentoor

Topic 3 of 5 · 4 min read

Slicing work into thin vertical pieces

Goal: Split a large feature into vertical slices that each deliver a usable change on their own.

A vertical slice is a thin piece of a feature that works from the screen to the database, so it can be used, tested and shipped by itself. The opposite is a horizontal layer: "build the database", then "build the API", then "build the screens", where nothing works until the last layer lands.

Check yourself · 1 of 3

Which description is a vertical slice?

Choose one answer

Why it matters

Large items are hard to estimate because the unknowns hide inside them. Thin slices are easier to size, finish sooner and show real progress. If the plan is cut short, a finished slice is already in users' hands, while a finished layer is worth nothing alone.

Mike Cohn's guide to splitting user stories describes several ways to cut. The ones below come up most.

How to do it

  1. Start from the user's goal, not the technical parts. "A customer can download a report" is a goal.
  2. Find the thinnest path that works. One report, one format, one user type, one happy case, with everything else left out.
  3. Split by what varies. Cut by user type, by data type, by workflow step, by business rule, or by quality level (first it works, then it is fast, then it is pretty).
  4. Check each slice. Can a person use it? Can you test it end to end? Can one person finish it in a few days? If not, cut again.
  5. Order by learning and value. Put the slice that tests the riskiest unknown first.

Before and after

Before: Build the reporting feature (about 6 weeks).

After: (1) One fixed monthly sales report, shown on screen, for admins. (2) Add CSV download. (3) Add date filter. (4) Add scheduled email. (5) Add report for team leads.

Each step can ship, and each step is small enough to estimate with a range.

Slicing with AI

Ask an assistant such as Claude, ChatGPT or Copilot to propose slices, then check them against the rules above. It often returns layers disguised as slices, such as "API endpoints for reports". Ask it to rewrite each one as something a user can do. Thin slices also help AI-assisted coding: a small, clear change is easier for you to review and for an agent to get right.

What goes wrong

  • Layers called slices. If no user can notice the change, it is a layer.
  • Slices too thin to matter. "Add a button" with no action is not a slice.
  • Hidden dependencies. Slice three quietly needs a table that slice four creates. Walk through the order once.

Examples

Slicing a booking feature

Layers (weak): database tables for bookings, then booking API, then booking screens.

Slices (better):

  1. A logged-in customer books one fixed time slot and sees a confirmation.
  2. The customer picks from available slots.
  3. The customer cancels a booking.
  4. The customer receives an email reminder.
  5. The admin sees all bookings.

After slice 1 the feature already works in a small way, and the team has learned how booking really behaves.

Fixing a layered AI suggestion

An assistant proposes: "1. Create invoice table. 2. Create invoice API. 3. Create invoice page."

Prompt back: Rewrite these as slices where a user can notice each one. Slice 1 must let a customer see one real invoice.

The new list starts with "A customer opens a page that shows their latest invoice, with amount and date", which touches all three layers.

Key points

  • A vertical slice works from screen to data store and can be used and shipped on its own.
  • Horizontal layers deliver nothing usable until the last one lands.
  • Cut by user type, data type, workflow step, business rule or quality level.
  • Put the slice that tests the riskiest unknown early.
  • AI assistants tend to propose layers, so check that each slice is something a user can notice.

Common mistakes

  • Splitting by technical layer so nothing works until the end.
  • Making slices so thin that no user can tell the difference.
  • Leaving the riskiest unknown for the last slice.
  • Accepting an AI-generated breakdown without checking each slice is usable on its own.

Check yourself · 2 of 3

A story says: "Users can search products by name, category and price, with sorting and saved searches." What is the best first slice?

Choose one answer

Check yourself · 3 of 3

An AI assistant splits "export report" into: create export service, add export endpoint, add export button. What is the main problem?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic