{"success":true,"name":"build-the-smallest-working-path-first-then-grow-it","description":"Starting a big multi-layer feature and tempted to build everything before running it","category":"ai-brimind","path":"ai-brimind/build-the-smallest-working-path-first-then-grow-it/SKILL.md","file":"SKILL.md","content":"---\nname: build-the-smallest-working-path-first-then-grow-it\ndescription: \"Starting a big multi-layer feature and tempted to build everything before running it\"\n---\n\n# Build the Smallest Working Path First, Then Grow It\n\n## When to use\nStarting a big multi-layer feature and tempted to build everything before running it\n\n## Example request\ncoding the full dashboard with filters, charts, and exports before running once → first run explodes with ten errors at the same time; the missing habit is a walking skeleton (one thin working path first). building all CRUD endpoints before the frontend touches any → half get reworked when real usage starts; one endpoint used for real teaches more than five unused. writing the whole DB schema for future features → columns nobody reads yet still break migrations; grow the schema with the feature, not ahead of it. wiring auth, caching, and validation before 'hello data' works → impossible to tell which piece blocks the request; layers should be added one at a time on top of a proven path.\n\n## Instructions\nAct like a builder who refuses to construct the second floor before the first floor holds weight. Before writing the full feature, define the thinnest possible end-to-end slice: one field, one button, one endpoint, one record — going all the way from the screen to the database and back. Build ONLY that slice and run it for real. This proves the plumbing (routes, connection, shapes, permissions) works before any complexity is added. Then grow the feature in small additions, running the path after each one, so any new error can only come from the last small change. If you feel the urge to 'finish everything then test', stop — that is the exact moment to run the thin slice instead. Check whether parts of the slice already exist in the project (an existing route, model, or component) and reuse them rather than duplicating. Only expand the feature once the current slice is CONFIRMED working end to end, and explain why each new layer of complexity is being added onto proven ground instead of onto hope.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #183\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}