How to slice a feature into small changes a person can review

Day 3, 25 minutes · beginner

Goal of this lessonSplit your spec into small changes that each take minutes to review, put them in order and write a task brief for the first one.

Why it matters

A coding agent can write a whole feature in one go. That sounds efficient until someone has to review it. A change that touches twenty files takes an hour to read properly, so in practice it gets skimmed. Skimmed code is where bugs, odd extras and privacy slips get through.

The answer is to cut the feature into slices: small changes that each do one thing and that a person can review in minutes. Small slices also keep the agent on track, because it has one clear target, and a bad slice is cheap to throw away and try again.

Today you split your spec from day 2 into a handful of slices, put them in order, and write a task brief for the first one: the short instruction you would hand to a coding agent. You end with a slice plan your team could start from tomorrow.

A diff is what the reviewer reads

Every change to code shows up as a diff: the list of lines that were added, changed and removed, file by file. Review tools usually show added lines in green and removed lines in red. When people say "review the change", they mean reading the diff and checking it does what was asked and nothing else.

The size of the diff decides how well it gets reviewed. That is why slicing is a review skill, not only a planning skill.

Rules for good slices

These are our suggestions, not a standard from any vendor.

  • One behaviour per slice. Each slice delivers one thing from the spec, usually one or two behaviour examples.
  • The product still works after each slice. A half-finished slice can stay hidden, but nothing that already worked may break.
  • Small enough to review in about fifteen minutes. If you cannot picture reading the whole diff in that time, cut again.
  • Thin and complete first. Start with the simplest version that goes all the way through, for example showing offers before anyone can post one.
  • Risky parts get their own slice. Anything that touches stored data, who may see what, money or deleting gets a slice of its own, so it gets a careful review of its own.
  • Say what it must not touch. Name the parts of the product the slice should leave alone.

The task brief

A task brief turns one slice into an instruction for a coding agent. It points back to the spec and makes the finish line clear. A simple form:

TASK BRIEF: slice [number], [short name]
Spec: [name of the spec], behaviour examples [numbers]
Goal: [one sentence]
In scope: [what to build]
Out of scope: [what not to build in this slice]
Do not touch: [parts of the product to leave alone]
Done when: [the checks that must pass, filled in on day 4]
Before you start: show me your plan and wait for my OK.
When you finish: list every file you changed, what you ran to check
it, and anything you were unsure about.
Stop and ask if: [for example: you need a new package (ready-made
code from outside the project), you need to
change stored data, a test you did not write fails]

The last three lines matter most. Asking for a plan first lets you catch a wrong idea before any code exists. Asking for a list of changed files and checks gives the reviewer something to compare against the diff. "Stop and ask" lines keep the agent from solving a problem in a way you would not accept.

The steps

  1. Attach or open your spec from day 2. Pick your tool below and follow the steps.
  2. Ask for a first cut into slices, with the rules above in the prompt.
  3. Challenge the cut. For each slice ask: can someone review this in fifteen minutes? Does the product still work after it? Is a risky part mixed in with a safe one?
  4. Put the slices in order. Simple and visible first, risky later, each one building on the last.
  5. Write the brief for slice one. Leave "Done when" open for now; you fill it in tomorrow with your test list.
  6. Save the slice plan and the brief together as one file, next to your spec.

Okke's slice plan

Okke cut the seedling swap board into five slices:

  1. Show the board with offers from a small set of sample data. No posting yet.
  2. Members can post an offer.
  3. Members can claim plants from an offer (stored data changes, so on its own).
  4. Offers with nothing left or past their end date disappear.
  5. Members can withdraw their own offer.

Wren asked why claiming was not part of slice 2. Okke's answer: claiming changes numbers other members rely on, so it deserves its own careful review. Slice 1 got the first brief, with "Do not touch: the login and member pages" and "Stop and ask if: you want to add a package".

Common mistakes

  • Slicing by layer. "First the database, then the screens" gives slices nobody can try out. Slice by behaviour instead.
  • One giant brief. If the brief needs more than a page, the slice is too big.
  • Skipping the plan step. Reading a plan takes two minutes. Reading the wrong code takes much longer.

Today's actions

Ticks are not saved without an account

Do it in your tool

Claude

  1. Open your AI-native course project. Check that your spec from day 2 is in the project knowledge; if not, click the + button there and upload it.
  2. Start a chat in the project, paste the prompt below and send it.
    Use my spec (attached or in this project). Split the feature into 3 to 6 slices: small changes a person can review in about 15 minutes.
    Rules: one behaviour per slice; the product still works after each slice; start with the simplest version that goes all the way through; anything that touches stored data, who may see what, money or deleting gets its own slice.
    Give a numbered list: name, which behaviour examples it covers, what it must not touch, risk (low, medium, high). Then explain the order in two sentences.
    Then write a task brief for slice 1 with these lines: Spec, Goal, In scope, Out of scope, Do not touch, Done when (leave as "to fill in on day 4"), Before you start (show your plan and wait for my OK), When you finish (list every file you changed, what you ran to check it, what you were unsure about), Stop and ask if.
    Do not add behaviour that is not in the spec.
  3. Challenge the cut: ask which slice would take longest to review and whether a risky part is mixed in with a safe one. Ask for a new cut if needed.
  4. Save the slice plan and the brief as one text file and upload it to the project knowledge with the + button.

Note: Claude does not share context between chats in a project unless it is in the project knowledge, so add each finished file there.

Checked on 4 December 2026 · Source: Claude Help Center: How can I create and manage projects? (opens in a new tab)

Create a free account to save your progress. Sign in or sign up