Generate a structured implementation plan before writing any code. Produces a spec with requirements, data model, API surface, edge cases, and open questions. Use when starting a non-trivial feature, when the user says "plan this out", or before any implementation that touches more than 2 files.
npx @senso-ai/shipables install KeyanVakil/plan-before-you-codeStop. Think. Plan. Then code.
One paragraph: what is being built, why it's needed, and what "done" looks like.
Split into:
Define the shape of any new or modified data: fields, types, relationships, and constraints. Use a simple table or TypeScript interface format.
List every new function, route, component, or event that will be created or modified. For each:
Ordered list of concrete coding tasks, small enough that each one could be a single commit. Flag which steps have dependencies.
Things that could go wrong: race conditions, auth gaps, data migration concerns, external API failures, performance cliffs.
Anything that needs a human decision before or during implementation. Don't proceed past this section until these are resolved.