Introduction
Software delivery has always involved translating business requirements into working software.
A business requirement is captured. Business analysts develop user stories. Architects define the solution. Engineers write code. Testers validate the implementation. Finally, the application moves through release and deployment processes.
This traditional model has served organisations for decades.
However, the introduction of Large Language Models (LLMs), AI coding assistants and autonomous coding agents is changing how software can be developed.
We are moving beyond using AI simply to generate code or provide development suggestions.
The bigger opportunity is to change how software engineering is organised and executed.
This is where Spec-Driven Development (SDD) becomes important.
Instead of relying primarily on developers to interpret requirements and translate them into code, SDD introduces structured specifications as the foundation for AI-assisted engineering.
These specifications define what needs to be built, how the system should behave, what constraints must be followed and how the implementation should be validated.
AI agents can then use these specifications to support planning, code generation, testing and documentation.
But this is not just a change in development tooling.
It represents a shift in the software delivery operating model.
1. The challenge with traditional software delivery
Traditional software delivery follows a well-established lifecycle:
Requirements → Design → Development → Testing → Deployment
Each stage has defined responsibilities and deliverables.
However, enterprise delivery often encounters challenges across these stages.
Requirements interpretation
Business requirements are written in natural language. Different teams can interpret the same requirement differently, resulting in inconsistent implementation.
Multiple handovers
Business analysts, solution architects, developers and testers work through different stages. Information can be lost or interpreted differently during these handovers.
Manual development activities
Engineers spend considerable time translating requirements into technical implementation, writing repetitive code, creating test cases and maintaining documentation.
Specification and code becoming disconnected
As requirements change, technical documentation, test cases and implementation may not always remain aligned.
Rework and delayed feedback
Defects identified during testing can result in changes to design, code and test cases, increasing delivery effort and extending timelines.
These challenges are not necessarily caused by Agile, Waterfall or any particular delivery methodology.
They are often the result of information gaps, manual interpretation and disconnected engineering activities.
AI provides an opportunity to address some of these challenges.
However, simply introducing an AI coding assistant does not solve the underlying problem.
The requirements, design decisions, business rules and acceptance criteria still need to be understood correctly.
This is where structured specifications become important.
2. Understanding Spec-Driven Development
Spec-Driven Development is an approach where structured specifications become the central reference for software implementation.
Rather than asking an AI coding assistant to build something based on a short instruction, the engineering team provides a detailed specification describing the expected behaviour and constraints of the application.
The specification can include:
- Business requirements and functional behaviour.
- Business rules and validation logic.
- Data structures and relationships.
- API contracts and integration requirements.
- Architecture and technology constraints.
- Security and compliance requirements.
- Acceptance criteria and expected test scenarios.
The specification is then used by AI coding agents to support the engineering lifecycle.
The important distinction is that the specification is not simply a prompt.
A prompt instructs an AI model to perform an activity.
A specification defines what the software must do and provides a reference against which the implementation can be evaluated.
This distinction is important when moving from individual AI-assisted development towards enterprise-scale engineering.
3. Specifications become the foundation
Specifications can be represented using different formats depending on their purpose.
There is no single mandatory format for Spec-Driven Development.
Common formats include:
| Format | Purpose |
|---|---|
| Markdown | Functional and technical specifications |
| YAML | Structured requirements, configuration and business rules |
| JSON | Structured data definitions and schemas |
| OpenAPI | API contracts and endpoint definitions |
| Gherkin | Behaviour-driven acceptance criteria |
| XML | Structured enterprise data and system definitions |
For example, consider an insurance platform that needs to introduce a customer claims management API.
A simplified YAML specification might look like this:
service: Customer Claims API
requirements:
- Create a customer claim
- Retrieve existing claim details
- Validate customer policy status
business_rules:
- Customer must have an active policy
- Claim date cannot be in the future
- Claim reference must be unique
api:
method: POST
endpoint: /api/claims
security:
authentication: OAuth2
authorisation: Claims permissions
acceptance_criteria:
- Reject claims for inactive policies
- Generate a unique claim reference
- Record claim creation activity
This example is illustrative rather than a complete production specification.
A real enterprise specification would need additional detail covering error handling, data validation, API responses, authorisation rules, integration dependencies and non-functional requirements.
The objective is to reduce ambiguity before implementation begins.
A well-defined specification gives both engineers and AI agents a consistent understanding of the expected outcome.
4. How AI agents consume specifications
This is where the engineering model starts to change.
A specification does not automatically execute itself.
An AI coding agent needs access to the specification, relevant source code, project context and approved engineering tools.
The agent uses an underlying LLM to interpret the information and perform the requested activities.
Depending on the framework and implementation, this can involve multiple agents or a single agent performing several tasks.
A typical workflow includes:
Step 1: Specification analysis
The AI agent reads the specification and identifies the requirements, dependencies, business rules and constraints.
Step 2: Implementation planning
The agent proposes a technical implementation plan, including development tasks, affected components and potential dependencies.
Step 3: Code generation
The coding agent generates application code based on the approved specification and existing project context.
Step 4: Test generation
The agent creates unit tests, integration tests and other validation scenarios based on the defined acceptance criteria.
Step 5: Validation
Generated code and tests are executed. Results are checked against the specification.
Step 6: Engineering review
Engineers review the implementation, validate architecture, inspect security implications and approve changes before release.
The specification remains the reference throughout the process.
Importantly, AI-generated code is not automatically correct simply because it was generated from an approved specification.
The implementation must still pass engineering validation and quality controls.
5. The new AI-assisted software delivery lifecycle
Traditional software delivery and Spec-Driven Development share many of the same lifecycle stages.
The difference is how these activities are initiated, executed and connected.
Traditional delivery
Business Requirements → Solution Design → Development → Testing → Deployment.
Each stage is primarily driven by human interpretation and execution.
Specification-driven delivery
Business Requirements → Structured Specification → AI-assisted Planning → Code Generation → Automated Testing → Human Validation → Controlled Deployment.
The specification becomes the common reference across the engineering activities.
A simplified workflow:
flowchart TD
A[Business Requirements] --> B[Structured Specification]
B --> C[Specification Review and Approval]
C --> D[AI-assisted Planning]
D --> E[AI Coding Agents]
E --> F[Code Generation]
F --> G[Automated Test Generation]
G --> H[Build and Quality Validation]
H --> I{Engineering Approval}
I -->|Changes Required| E
I -->|Approved| J[CI/CD Pipeline]
J --> K[Production Release]
This workflow does not eliminate traditional delivery controls.
Instead, it introduces AI-assisted execution within an established engineering governance model.
6. Technology landscape: What tools make SDD possible?
SDD is not a single product or technology.
It is an engineering approach supported by different tools across specification management, AI orchestration, development and deployment.
Some relevant technologies include:
| Technology | Role in SDD |
|---|---|
| GitHub Spec Kit | Specification-driven development workflow |
| GitHub Copilot | AI-assisted coding and development |
| OpenAI models | Language understanding, reasoning and code generation |
| Azure OpenAI | Enterprise access to supported OpenAI models |
| LangChain | Building LLM-powered applications and agent workflows |
| LangGraph | Orchestrating stateful, multi-step agent workflows |
| GitHub / Azure Repos | Specification and source code version control |
| Azure DevOps / GitHub Actions | Build, testing and deployment automation |
| xUnit / NUnit | Automated application testing |
One practical combination would be:
- GitHub Spec Kit for specification-driven workflows.
- GitHub Copilot as the coding agent.
- An appropriate supported LLM for reasoning and code generation.
- GitHub for source control.
- .NET Web API for application development.
- xUnit for automated testing.
- GitHub Actions for CI/CD.
The important point is understanding the responsibility of each component.
Spec Kit provides a structured workflow. The coding agent performs engineering activities. The underlying LLM provides language and code-generation capabilities. The development and delivery toolchain validates and releases the implementation.
These components work together, but they are not interchangeable.
7. The enterprise delivery operating model
Introducing SDD into an enterprise is not simply a matter of making AI coding tools available to developers.
It requires changes to how teams collaborate, how specifications are managed and how engineering accountability is maintained.
The responsibilities of existing roles may evolve.
| Role | Evolving responsibility |
|---|---|
| Product Owner | Define business outcomes, priorities and acceptance criteria |
| Business Analyst | Develop clear and structured specifications |
| Solution Architect | Define architecture, technical constraints and integration standards |
| Engineering Lead | Govern AI-assisted implementation and technical quality |
| Developer | Work with AI agents, validate generated code and handle complex engineering decisions |
| QA Engineer | Define quality strategy, validate generated tests and assess system behaviour |
| Security Engineer | Ensure security requirements, controls and vulnerabilities are addressed |
| Delivery Manager | Manage execution, dependencies, capacity, governance and outcomes |
The objective is not to remove existing roles.
It is to allow teams to spend less time on repetitive engineering activities and more time on solution quality, business outcomes and complex problem-solving.
From a delivery leadership perspective, this requires a clearly defined operating model covering:
- Specification ownership and approval.
- AI agent responsibilities and permissions.
- Engineering standards and reusable patterns.
- Human review and approval gates.
- Development and testing standards.
- Release and production controls.
- Skills development and organisational adoption.
Without these controls, AI-assisted development can introduce additional delivery risks rather than improve delivery performance.
8. Governance, security and engineering control
Enterprise software development cannot compromise security, compliance or operational stability in the pursuit of faster delivery.
AI-generated code introduces additional considerations.
Specification governance
Specifications need ownership, version control, approval and traceability to business requirements.
Architecture governance
AI agents must operate within approved architectural standards, integration patterns and technology constraints.
Security controls
Generated code must undergo appropriate security analysis, dependency scanning, vulnerability assessment and code review.
Human approval
Critical architecture decisions, security-sensitive changes and production releases require appropriate human accountability.
Auditability
Organisations should maintain records of specification versions, AI-assisted changes, code reviews, test results and approvals.
Production readiness
Generated code must meet the same operational standards as traditionally developed software, including monitoring, resilience, performance and supportability.
There is also an important consideration around data privacy.
Enterprise specifications and source code may contain sensitive business information. Organisations must ensure that approved AI models and development environments comply with their data protection and security policies.
AI should accelerate engineering execution, not weaken engineering controls.
9. Measuring the business value
One of the biggest mistakes organisations can make is measuring AI adoption by counting how many developers use AI coding assistants.
Tool adoption does not automatically translate into business value.
The real objective should be measurable improvements across software delivery performance, quality and cost.
Some useful metrics include:
| Metric | What it measures |
|---|---|
| Lead time | Time from approved requirement to production delivery |
| Specification-to-release cycle time | Time from specification approval to production release |
| Development throughput | Number of completed and accepted features |
| Defect escape rate | Defects reaching production |
| Rework percentage | Engineering effort spent correcting or reworking implementation |
| Test coverage | Extent to which application code is covered by automated tests |
| Cost per feature | Total delivery cost relative to accepted functionality |
| AI-assisted contribution | Proportion of engineering activities supported by AI |
These measures should be interpreted carefully.
For example, a reduction in development time is not necessarily a productivity improvement if the resulting code creates additional defects or operational support costs.
Similarly, AI-generated code ratios are not a measure of business value on their own.
A better approach is to establish a baseline before introducing SDD and compare results across similar types of work.
The focus should remain on delivery predictability, quality, cost and business outcomes.
10. Challenges and considerations
SDD offers significant opportunities, but enterprise adoption is not without challenges.
Incomplete specifications
AI agents can only work effectively with the information and constraints available to them. Missing business rules or ambiguous requirements can result in incorrect implementation.
Over-reliance on AI
Generated code must be reviewed and validated. AI output should never be treated as automatically production-ready.
Legacy application complexity
Existing enterprise systems often contain undocumented dependencies, integration constraints and business logic. Specifications must account for these realities.
Changing team responsibilities
Engineers, architects, analysts and testers need to develop new skills to work effectively with AI-assisted engineering.
Governance complexity
Organisations need clear controls around AI model usage, agent permissions, code ownership, security and auditability.
Measuring genuine productivity
Faster code generation does not necessarily mean faster software delivery. Testing, integration, security and production readiness remain important activities.
These challenges reinforce one important principle.
SDD is not simply a technology implementation. It is an organisational and engineering transformation.
11. How organisations can adopt SDD
A gradual adoption approach is more practical than attempting to transform every engineering team at once.
I would consider a four-stage approach.
Stage 1: Foundation and assessment
Assess the existing software development lifecycle, engineering maturity, AI readiness and governance requirements.
Identify suitable applications and development teams for an initial pilot.
Stage 2: Proof of concept
Select a contained application or service.
Introduce structured specifications and an AI coding agent.
Demonstrate the complete workflow from specification to code generation and testing.
Establish a baseline against which the results can be measured.
Stage 3: Controlled adoption
Introduce common specification standards, reusable templates, engineering guardrails and approval processes.
Extend adoption to additional teams while monitoring productivity, quality and delivery performance.
Stage 4: Enterprise scaling
Integrate SDD into the wider software engineering operating model.
Establish portfolio-level reporting, engineering capability development and continuous improvement.
The objective is to make specification-driven engineering a repeatable delivery capability rather than an isolated AI experiment.
12. The future of enterprise software delivery
Software engineering is entering a period of significant change.
AI coding assistants have already demonstrated how LLMs can support developers with code generation, debugging and documentation.
The next step is to connect these capabilities through structured specifications, AI agents and governed engineering workflows.
Spec-Driven Development provides one approach to achieving this.
It creates a stronger connection between business intent and engineering execution.
Specifications provide structure.
AI agents support execution.
Engineering teams provide technical judgement and accountability.
Governance provides control.
Delivery leadership ensures that the technology investment translates into measurable business value.
However, the success of SDD will not be determined by how much code AI can generate.
It will be determined by whether organisations can consistently deliver secure, reliable and maintainable software with improved predictability, quality and cost efficiency.
The future is not about replacing software engineers with AI. It is about building a better engineering delivery model where people and AI work together, guided by clear specifications and controlled execution.