Share
Embed
Spec Driven Development - Then End of Vibe Coding | BASTA! Spring Frankfurt 2026
Daniel Sogl PRO
March 04, 2026
Transcript
25 slides
-
Spec Driven Development Vibe Coding Done Right Daniel Sogl [email protected]
Principal Consultant | Speaker -
Daniel Sogl About me Spec Driven Development The End Of
Vibe Coding Principal Consultant @ Thinktecture AG Focus Developer Productivity & Gen AI MVP Developer & Web Technologies Socials linktr.ee/daniel_sogl -
AI Agents Fail More Than You Think Spec Driven Development
The End Of Vibe Coding The Problem Sources: SWE-Bench Pro (Sep 2025), Stack Overflow Survey 2025, CodeRabbit Report (Dec 2025) <25% 66% 2.74x -
Spec Driven Development The End Of Vibe Coding Five Core
Limitations Of AI Coding Agents Context Management "Lost in the middle" despite 200K+ token windows Multi-File Coordination No real-time dependency graphs, missed instructions Silent Failures Removes safety checks, generates fake data silently Architecture Decisions Sees structure but doesn't understand trade-offs Enterprise Context Missing implicit business logic and unwritten rules -
Four Mechanisms How Specs Improve AI Spec Driven Development The
End Of Vibe Coding Spec Driven Development Treat AI agents like literal-minded pair programmers, not search engines Complete Context Agent gets full picture upfront 1 Structured Reasoning Reduces hallucinations 2 Validation Checkpoints Humans verify before proceeding 3 Autonomous Implementation Specs + tests = guardrails 4 -
What is Spec Driven Development (SDD)? Spec Driven Development The
End Of Vibe Coding Spec Driven Development SDD is a development methodology where detailed specifications drive the entire development process — especially the collaboration with AI coding agents. Spec First Write the specification before any code AI-Optimized Specs give AI agents full context upfront Iterative Specs evolve alongside the project Consistency Uniform architecture across all features 1 2 3 4 -
Spec Driven Development The End Of Vibe Coding How SDD
Relates to TDD and BDD SDD What & Why Intent Level Human writes intent BDD System Behavior Feature Level Given / When / Then TDD Code Correctness Unit Level Red / Green / Refactor -
Aspect OpenSpec Spec Kit Language TypeScript Python & Shell Commands
5 (lightweight) 8 (comprehensive) Workflow proposal → apply → archive specify → plan → task → implement GitHub Stars 21k 66k Best For Brownfield (1 → n) Greenfield (0 → 1) Spec Driven Development The End Of Vibe Coding OpenSpec vs. GitHub Spec Kit Hybrid Approach: Use Spec Kit for greenfield, then switch to OpenSpec for maintenance -
Real Results Spec Driven Development The End Of Vibe Coding
Practical Implementation 250k Developers in 3 Months AWS Kiro - The New Stack 94% Satisfaction Score Delta Airlines (re:Invent) 16k+ Spec Kit Stars in Week 1 GitHub (Sept 2025) Specs are the new code. 80-90% of our work as programmers is structured communication Sean Grove, OpenAI Sources: AWS Kiro, AWS re:invent (2025), The New Code – AI Engineer (2025) -
Walking Through the 4 Phases Spec Driven Development The End
Of Vibe Coding SDD In Action Specify Plan Task Implement YOU AI + YOU AI AI -
Your Repo, Your Rules 1. Constitution File • Project-level rules:
tech stack, conventions, boundaries • Lives in repo root: CONSTITUTION.md or .openspec/constitution.md 2. Specs Directory • .specs/ or .openspec/specs/ — one Markdown file per feature • Plans & tasks generated alongside each spec 3. AI Agent Config • CLAUDE.md, .github/copilot-instructions.md, .cursorrules • Points agent to constitution & spec workflow Spec Driven Development The End Of Vibe Coding Setting Up SDD -
What Makes a Good Specification Spec Driven Development The End
Of Vibe Coding Anatomy of a Spec A spec is a structured Markdown document that captures the three pillars every AI agent needs to succeed. Intent What should be built and why? Describes the goal, user story, and motivation behind the feature. Constraints Tech stack, patterns, and boundaries the agent must follow. Prevents architectural drift. Acceptance Criteria Concrete, testable conditions that define done. The agent validates its own output against these. 1 2 3 -
The Building Blocks Overview & Motivation • What are we
building and why? Business context for the AI agent Requirements & User Stories • Functional requirements, user flows, edge cases — be explicit Technical Constraints • APIs, libraries, patterns to use (and to avoid!) Acceptance Criteria • Testable conditions that define "done" — the AI's exit criteria Non-Functional Requirements • Performance, security, accessibility — the implicit rules made explicit Spec Driven Development The End Of Vibe Coding Spec Structure -
Do's & Don'ts Spec Driven Development The End Of Vibe
Coding Writing Good Specs ✓ Do ✗ Don't • Be specific about behavior and edge cases • Define explicit acceptance criteria • List constraints: what NOT to do • Reference existing code patterns • Include error handling expectations • Describe implementation details • Write vague requirements ("make it fast") • Assume the agent knows your codebase • Mix multiple features in one spec • Skip non-functional requirements -
Boundaries Before Code Spec Driven Development The End Of Vibe
Coding Constitution Design & Development I. Test-First with BDD / Gherkin II. Domain-Driven Design III. SOLID Principles IV. Mobile-First & Responsive V. API-First Design VI. Ubiquitous Language Architecture & Quality VII. Vertical Slice Architecture VIII. Definition of Done IX. No Magic Numbers & No Primitives X. Observability by Default XI. Security by Design XII. Dependency Management Mandatory Workflow Specify → Contract → Plan → Tasks → Red → Green → Refactor → Review -
The only file you write by hand “As a user
I want a SPA to search and explore Pokémon.” Search & Discovery • Debounced search bar, responsive grid (5/3/2 cols), infinite scroll Pokémon Cards • Image, name, base stats (HP, Attack, Defense, Sp. Atk, Sp. Def, Speed) Detail View • Full profile: types, abilities, height, weight, stats as bar chart Loading & Error Handling • Skeleton placeholders while loading; user-friendly error messages Spec Driven Development The End Of Vibe Coding The Spec -
From spec + prompt to a full architecture plan Tech
stack & architecture from the prompt • Next.js 16 + pnpm, Tailwind CSS v4 + shadcn/ui • TanStack Query for data fetching, caching & infinite scroll • Vitest (unit) + Playwright (e2e), Biome (lint & format) • Lefthook pre-commit hooks, GitHub Actions CI pipeline What the AI generates from this • Component tree, data flow & PokéAPI integration strategy • File structure, module boundaries & edge case handling • CI jobs: format check, lint, build, unit tests, e2e tests You review and approve the plan before any code is written. Spec Driven Development The End Of Vibe Coding The Plan -
Atomic, parallel, ready to execute Plan gets broken into atomic
work units • Each task is a single, focused unit of work (one file, one concern) • Dependencies between tasks are explicit (task 3 needs task 1 + 2) • Independent tasks can run in parallel across agents Each task includes • Clear description of what to implement • Affected files and acceptance criteria • Test commands the agent runs to self-validate Spec Driven Development The End Of Vibe Coding The Tasks -
All green. Spec validated. The agent executes tasks against the
spec • Works through tasks sequentially, respecting dependencies • Runs test commands after each task to self-validate • Checks off acceptance criteria as it goes The result • All tests green — spec fully validated • Working feature, consistent architecture, no drift • Ready for human code review Spec Driven Development The End Of Vibe Coding Implementation -
Spec → Plan → Tasks → Running Code Spec Driven
Development The End Of Vibe Coding Live Coding Feed Spec Hand Pokémon spec to the AI agent Watch Execution Agent plans, creates tasks, implements Review Output Review generated code against the spec All Green Tests pass, working Pokémon app LIVE DEMO 1 2 3 4 -
Spec Driven Development The End Of Vibe Coding Where SDD
Excels Greenfield Projects Spec becomes single source of truth Complex Features Agents need structure to avoid breaking contracts Multi-Agent Coordination Specs prevent conflicting implementations Compliance & Audit Specs as traceable control surfaces Rule of thumb: If it takes 2+ prompts to explain, write a spec. -
Know the Limits Spec Driven Development The End Of Vibe
Coding When NOT to Use SDD Small Bug Fixes Spec overhead exceeds the change Rapid Prototyping Uncertain requirements — specs need clarity UI-Heavy / Creative Work Visual design needs iteration, not specs One-Off Scripts Throwaway code — just vibe code it Rule of thumb: If you can explain the task in one sentence, skip the spec. -
• AI agents are powerful but limited - <25% success
rate on realistic tasks • SDD shifts from 'code as truth' to 'intent as truth' • Specifications become executable through AI • Choose your tool: OpenSpec (brownfield) vs Spec Kit (greenfield) • Industry convergence: structured intent is becoming standard practice Key Takeaways The End Of Vibe Coding Spec Driven Development -
The End Of Vibe Coding Spec Driven Development Exceptional at
pattern completion, not at mind reading.