Generating in Small Slices
Asha pasted her whole brief and asked for everything at once. Ten minutes later she had forty new files, a screen that mostly worked and an allergy filter that did nothing. She could not tell which of the forty files was wrong, and every fix she asked for broke something else.
The rule
Generate one thin working slice, check it, save it, then the next.
A slice is a thin piece of the product that runs end to end — through screen, logic and data — even if it does very little. The first slice is often a walking skeleton: the whole path exists, with a fake answer where the hard part will eventually go.
Why slices beat one giant request:
- Checkable. A small change has only a few places where it can go wrong.
- Recoverable. A save point after each working slice — a commit in version control, or your tool's snapshot — means a bad next step costs minutes, not the project.
- Honest. Each slice is checked against its own acceptance check, so broken parts cannot hide inside a big result that only looks finished.
Put the riskiest parts early, and make sure each slice leaves the app working.