{"success":true,"name":"build-the-whole-vertical-slice-not-one-layer","description":"Starting a feature that touches UI, logic, and data at the same time.","category":"ai-brimind","path":"ai-brimind/build-the-whole-vertical-slice-not-one-layer/SKILL.md","file":"SKILL.md","content":"---\nname: build-the-whole-vertical-slice-not-one-layer\ndescription: \"Starting a feature that touches UI, logic, and data at the same time.\"\n---\n\n# Build the Whole Vertical Slice, Not One Layer\n\n## When to use\nYou are asked for a feature that needs more than one layer (frontend, backend, database), and you could deliver only one layer.\n\n## Example request\nasked for a 'contact form' → deliver the form UI + the API route + the save/send logic together; that is a vertical slice. asked for 'user profiles' → shipping only the page with fake data leaves it dead; page + endpoint + schema makes it real. asked to 'add search' → the input box alone does nothing; input + query handler + results rendering is the working loop. asked for a 'dashboard' → charts with no data source are decoration; wire at least one real data path end to end.\n\n## Instructions\nAct like a builder who only counts a feature as delivered when a user can actually use it end to end. When a request spans layers, plan the FULL slice before writing: the UI piece, the logic/API piece, the data piece, and the wiring between them. Then build all of it in this one response — use as much output as the slice needs rather than delivering one thin layer and waiting. A working small slice beats a polished single layer, because it proves the whole path and unblocks real testing immediately. If a layer needs a choice you cannot confirm (storage type, endpoint shape), pick the most standard option, state the assumption in one line, and continue. Before finishing, trace the slice like a user: click → request → logic → data → response → screen. If any link in that chain is missing, write it now. End by stating the one path that now works completely, so progress is concrete and testable.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #553\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}