On This Page
The Failure Pattern Behind Fast Vibe Coding
When shipping Tartila solo across Go Fiber APIs, React 19 UI, Supabase classroom tables, and 6 mini-games, raw conversational prompts consistently introduced four classes of bugs: touching unrelated files outside the ask, breaking shared TypeScript/API shapes silently, omitting loading/empty/error UI states, and reporting tasks complete without running compiler checks.
Codifying discipline into small, composable Markdown playbooks (quality-gate, spec-to-feature, ui-guardrail, and content-spec) turned AI assistance into predictable execution across every slice.
Separating Execution Into Four Sequential Gates
Rather than dumping one giant 20-requirement prompt, each feature moves through four explicit checkpoints:
1. spec-to-feature -> Define Zod schema, API boundary, UI states, and edge cases first.
2. ui-guardrail -> Enforce design tokens, WCAG AA contrast, and loading/empty/error coverage.
3. quality-gate -> Check diff scope, protect shared contracts, verify typecheck and build pass.
4. content-spec -> Rewrite copy cleanly with concrete hooks and zero AI cliche phrases.Practical Trade-Off in Daily Velocity
Adding a 2-minute schema and verification gate before coding feels slower than hitting enter on a giant prompt. In practice across multi-repo products (Tartila, Vibemotion, and this portfolio), running npx tsc --noEmit and npm run build strictly before marking work finished eliminates multi-hour cleanup debugging cycles.