{"success":true,"name":"draw-the-data-s-journey-before-writing-the-feature","description":"Starting a feature that moves data between several places","category":"ai-brimind","path":"ai-brimind/draw-the-data-s-journey-before-writing-the-feature/SKILL.md","file":"SKILL.md","content":"---\nname: draw-the-data-s-journey-before-writing-the-feature\ndescription: \"Starting a feature that moves data between several places\"\n---\n\n# Draw the Data's Journey Before Writing the Feature\n\n## When to use\nYou are about to build something where data travels through multiple stations (input → processing → storage → display) and haven't sketched that path.\n\n## Example request\nCoding the display first, then discovering the data never gets stored in that shape → rework; the journey sketch would have shown the gap. Two parts of the flow disagree on the data's format → they were built blind to each other; the map aligns them. A field needed at the end but never collected at the start → discovered at the last step; tracing start-to-end catches it on paper. Knowing each station's input and output → each piece becomes small and testable; that is data-flow design.\n\n## Instructions\nAdopt the mindset of a railway planner who draws the full route before laying any track. Before building a multi-step feature: (1) Sketch the data's journey as stations: where it enters, every transformation it passes through, where it rests (storage), and where it exits (screen, file, message). A rough list or arrows on paper is enough. (2) At each station, write what the data LOOKS like coming in and going out — names, shapes, formats. Mismatches between stations are the number-one source of integration bugs, and on paper they cost nothing to fix. (3) Trace one concrete example value through the whole map by hand: 'the user types 50, it becomes..., it's saved as..., it displays as...'. Gaps and contradictions jump out. (4) Only then build, station by station, checking each one's real output against the map. If you can't complete the map because a station is unclear (what format does that API return?), investigate THAT first — it's the cheapest moment to learn it. When done, the explanation writes itself: here is the route, and here is proof each station honors it.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #288\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}