惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
量子位
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
爱范儿
爱范儿
博客园 - 【当耐特】
Vercel News
Vercel News
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
博客园 - 叶小钗
博客园_首页
V
Visual Studio Blog
宝玉的分享
宝玉的分享
B
Blog
MyScale Blog
MyScale Blog
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
V
V2EX

Microsoft for Developers

Your work might not need the smartest model - Microsoft for Developers Start here: Azure SQL Foundations series - Microsoft for Developers Try Azure SRE Agent with no always-on charges - Microsoft for Developers The Microsoft 365 Copilot Agent’s Playbook: A Practical Livestream Series for Building Better Agents - Microsoft for Developers How to test agent experience changes without shipping them - Microsoft for Developers How to test agent skills without hitting real APIs - Microsoft for Developers Building AX evals that actually work - Microsoft for Developers Let’s Learn GitHub Copilot App - Free Virtual Training Event - Microsoft for Developers The hidden variables in your agent eval - Microsoft for Developers Don't rewrite your CLI for agents - Microsoft for Developers Not all model upgrades are upgrades - Microsoft for Developers What AI benchmarks are not telling you - Microsoft for Developers Your agent already has a plan - Microsoft for Developers Learn from Microsoft: Transform software development through an agentic platform - Microsoft for Developers When the model has never seen your code - Microsoft for Developers Models don't have preferences, they have context - Microsoft for Developers Stop overloading your skills - Microsoft for Developers When your agent extensions fight each other - Microsoft for Developers Competing against yourself - Microsoft for Developers Your agent just scaffolded a project from 2020 Is your agent extension actually working? Stop skillmaxxing, save your tokens - Microsoft for Developers Microsoft Build 2026 recap: vision, launches, and top sessions Improve your agentic developer tools by grounding in Microsoft Learn How AI coding agents actually use your technology The AX stack: what’s fixed, where you can win Agentic-Agile: Why Agent Development Needs Agile (Not Just Prompts) Azure Cosmos DB Conf 2026 Recap: Lessons from Production LangChain.js for Beginners: A Free Course to Build Agentic AI Apps with JavaScript - Microsoft for Developers Securing MCP: A Control Plane for Agent Tool Execution - Microsoft for Developers
Spec-Driven Development: A Spec-First Approach to AI-Nati...
Apoorv Gupta · 2026-06-11 · via Microsoft for Developers

AI has made software delivery faster, but speed alone does not guarantee better outcomes. As teams adopt AI-native development, the real challenge is keeping requirements, design, implementation, and validation aligned so the final result still reflects the original intent. Spec-Driven Development (SDD) addresses this by making structured specs the shared source of truth for both humans and AI. Instead of prompting first and aligning later, teams align first and let AI accelerate execution from a clear spec.

Why AI-assisted development still breaks down

Teams often ship software that works but still misses the original intent. The problem is not just code quality. It is the loss of meaning as ideas move from stakeholder needs to requirements, architecture, implementation, and validation.

Translation loss usually appears in four places:

  • Stakeholder needs to product requirements
  • Requirements to architecture and design
  • Design to implementation
  • Implementation to validation and release

Without a shared artifact that preserves intent, every handoff becomes an interpretation step. AI can accelerate those steps, but it cannot correct ambiguity that was never resolved.

Why prompt-first workflows are not enough

Prompt-first workflows can work well for simple tasks, but they often struggle as scope and complexity increase.

When requirements, constraints, and edge cases live only in prompts, teams get fast output without a durable source of truth. That leads to architectural drift, code drift, inconsistent implementations, harder reviews, and rework when assumptions differ across people or tools.

A spec-first workflow changes that dynamic. Instead of asking AI to infer intent from scattered prompts, teams define intent explicitly and use AI to execute against it. The result is faster delivery with better alignment.

What is Spec-Driven Development?

Spec-Driven Development (SDD) is a spec-first approach. Teams define common guardrails, requirements, constraints, acceptance criteria, and edge cases up front, then use AI to generate code, tests, and supporting artifacts from that shared context.

In practice, the spec becomes the connective tissue across the lifecycle. It links business intent to architecture, implementation, tests, and validation so that AI-generated output stays grounded in the same context.

Why should teams adopt SDD

Teams adopt SDD because it improves clarity before implementation and gives AI a stronger foundation to work from. The biggest benefits are practical:

  • Less ambiguity and rework because requirements are clarified earlier.
  • Better alignment across product, engineering, and test through a shared source of truth.
  • Faster implementation because AI can generate against structured context.
  • More predictable delivery because validation is tied back to the original intent.

What changes in practice

In practice, SDD changes where teams invest effort. More time goes into clarifying intent and planning up front, and less time is lost to downstream rework.

Product managers help define scenarios and constraints, architects shape the planning model, engineers use AI to accelerate implementation, and test shifts earlier because acceptance criteria are explicit from the start. The result is a workflow centred on shared intent rather than disconnected artifacts.

The ideas behind SDD matter only if teams can apply them consistently in day-to-day engineering work. That is where the toolkit becomes important: it translates the principles of shared intent, explicit specs, and early validation into a practical workflow teams can adopt and scale.

GitHub Spec Kit

GitHub Spec Kit is the toolkit that helps teams put SDD into practice. An open-source tools, created by Microsoft, it provides a structured workflow for turning requirements into plans, implementation tasks, and validation steps that work well with AI coding tools such as GitHub Copilot.

Refer to the link for more details on github/spec-kit: 💫 Toolkit to help you get started with Spec-Driven Development.

We introduced Spec Kit last year in the blog post Diving Into Spec-Driven Development With GitHub Spec Kit – Microsoft for Developers. Refer to it for a quick start on learning how to use Spec Kit.

GitHub Spec Kit Engineering lifecycle

The lifecycle is simple: define intent, remove ambiguity, plan with constraints, implement with AI, and validate against the spec.

  1. Constitution – Define principles, standards, and guardrails.
  2. Specify – Capture requirements, scenarios, and acceptance criteria.
  3. Clarify – Resolve ambiguity, dependencies, and edge cases.
  4. Plan – Translate intent into architecture, flows, and constraints.
  5. Tasks – Break the work into implementation-ready units.
  6. Implement – Use AI to generate and refine code and tests.
  7. Validate – Verify that the output matches the spec.

Each step reinforces the next, which makes the workflow more predictable and easier to scale across teams.

GitHub Spec Kit Workflow image

What we learned in practice

Across teams and use cases, a few practical lessons stood out:

  • Alignment is a team habit, not just a tooling choice.
  • Good specs capture intent, constraints, and acceptance criteria, not just structure.
  • Planning has an outsized impact on implementation quality.
  • More clarity early usually reduces total delivery time.
  • Not every change needs the full lifecycle, so adoption should be right-sized.

The quality of the outcome is closely tied to the quality of the spec. In summary, Spec quality = output quality.

Example: turning repeated onboarding into a scalable pattern

In one of the brownfield projects, the team recognized that onboarding new asset types followed the same basic flow but repeatedly required UI, API, and test changes.

By capturing the reusable pattern in parameterized specs and documenting only the deviations for each new asset, they shifted to a configuration-driven model that reduced onboarding time from 2–3 weeks to a few days.

Example: coordinating a complex multi-service platform

In one of the big greenfield projects, SDD helped the team align PMs, architects, and engineers around a shared vocabulary before building a globally distributed platform spanning thousands of moving parts across attendees, facilities, security, vendors, logistics, and compliance.

By treating the constitution, specs, and plans as the source of truth, the team improved cross-service consistency, made architectural constraints explicit, and reduced execution churn as implementation scaled across components.

Example: moving from prototype to working product faster

In another brownfield project, the team used SDD to move from a React and TypeScript prototype to a working product with multiple agents for DRI, Provisioning, and Policy, plus connectivity health monitoring and admin dashboards.

The structured workflow made it easier to validate AI-generated output against visible UI behaviour, and the team strengthened adoption with custom prompts and quality-gate scripts that made the process more repeatable across contributors.

How teams can get started with SDD

Teams do not need to adopt the full SDD lifecycle at once; a small, focused pilot is often the best way to learn what works in practice. Below is a simple 4-step playbook for adoption.

  1. Pilot – Start with one feature or workflow where alignment problems are visible.
  2. Formalize – Create a lightweight spec that captures scenarios, constraints, and acceptance criteria.
  3. Iterate – Use AI to generate implementation artifacts from that shared context.
  4. Refine and scale – Review the output against the spec and refine the workflow as you learn.

Keep the process lightweight at first. Treat specs as living artifacts, avoid over-specifying too early, and expand the workflow only where it adds clear value.

Why this matters now

Software engineering is moving from AI-assisted tasks toward AI-native workflows. As that shift continues, the limiting factor is no longer how quickly code can be generated. It is how clearly intent can be captured, shared, and validated across the lifecycle.

SDD gives teams a practical way to reduce translation loss, align around shared intent, and use AI more predictably across the lifecycle—enabling faster delivery, better quality, and stronger alignment.

Category

Topics

Author

Apoorv Gupta

Apoorv Gupta is a Principal Software Engineer at Microsoft.