Spec-Driven Development in the Age of AI: OpenSpec vs. GitHub Spec Kit Fission-AI and GitHub have released open-source frameworks for Spec-Driven Development (SDD), a methodology that replaces 'vibe coding' with structured, executable contracts for AI pair programming. OpenSpec, from Fission-AI, targets brownfield repositories with delta specifications, while GitHub's Spec Kit emphasizes constitutional guardrails and blueprint planning. Both tools aim to make AI-generated code more maintainable and verifiable in production environments. Originally published on labitcode.com. In the early wave of generative AI, the software industry embraced "vibe coding" — prompting an LLM in an open chat window, hitting apply, and tweaking code until the test suite or browser stopped throwing errors. For weekend prototypes and disposable scripts, vibe coding feels like magic. But when applied to production monoliths, distributed microservices, or long-lived codebases, it quickly degenerates into an unmaintainable tangle: The solution to this chaos is Spec-Driven Development SDD : the engineering methodology that shifts AI pair programming from conversational guessing to structured, executable contracts . Instead of asking an AI to immediately write code, SDD breaks the development cycle into distinct, verifiable phases: Conversational Prompting "Vibe Coding" : Vague Prompt ──▶ AI Guesses Architecture ──▶ Generates Code ──▶ Silent Bugs & Drift Spec-Driven Development SDD : Human Intent ──▶ Structured Spec & Rules ──▶ Plan & Task Matrix ──▶ Autonomous AI Execution ──▶ Verification Two open-source frameworks lead the SDD ecosystem today. Here is how they work and compare: Fission-AI/OpenSpec Developed by Fission-AI , OpenSpec https://github.com/Fission-AI/OpenSpec is designed specifically for brownfield existing repositories and multi-agent development. Rather than requiring you to document an entire legacy codebase upfront, OpenSpec operates in atomic "changes" : specs/ .spec.md describing only what changes relative to the current system.| Command | Purpose | |---|---| openspec init | Scaffolds the .openspec/ configuration in your repo | /opsx:explore | Read-only analysis mode to investigate codebase safely | /opsx:propose | Generates proposal.md , design.md , tasks.md , and delta specs | /opsx:apply | Autonomously executes the checklist in tasks.md | /opsx:sync | Merges delta specs into the permanent specs/ directory | /opsx:archive | Archives the completed change to preserve Git history | github/spec-kit Spec Kit https://github.com/github/spec-kit is GitHub's open-source toolkit for Spec-Driven Development, powered by the Python CLI tool specify-cli . GitHub Spec Kit places heavy emphasis on Constitutional Guardrails . Before specifying features, the project establishes a constitution.md file setting inviolable rules for architectural patterns, linting, test coverage, and security boundaries. | Command | Phase | Output Artifact | |---|---|---| /speckit.constitution | Governance | .specify/memory/constitution.md | /speckit.specify | Requirements | .specify/specs/