A slice is a thing you can click, not a layer. Doing all the database first gives you three sessions of work you cannot verify, and the mistake surfaces in session four. Rule 5 keeps a bad slice from costing you a day.
Workflow
Copied 10 times
1. Write the feature as a list of things I can click: "I can add a tag", "I can see my tags", "I can remove one".
2. Each slice touches the whole stack: migration, query, action, screen. Never all the database first.
3. One slice per session. The prompt names the slice and says the rest is out of scope.
4. End every slice with something visible in the browser, then commit.
5. If a slice needs more than two prompts it was too big. Split it and start again from the last commit.