Skip to main content
Spec-Driven Development adapts to different project phases and development scenarios. These examples demonstrate how to apply SDD principles whether you’re starting from scratch, enhancing existing systems, or exploring multiple technical approaches.

The Three Development Phases

SDD supports three distinct development patterns, each with unique characteristics and workflows:

0-to-1 (Greenfield)

Build new projects from initial concept to production-ready code

Brownfield Enhancement

Add features to existing codebases while maintaining architectural integrity

Parallel Implementations

Explore multiple tech stacks from a single specification

Greenfield Development (0-to-1)

Focus: Generate from scratch
  • Starting a new project with no existing code
  • Building a proof-of-concept or MVP
  • Creating a new microservice in a greenfield architecture
  • Prototyping a product idea rapidly
Key activities:
  • Start with high-level requirements and user stories
  • Generate complete specifications with acceptance criteria
  • Plan implementation steps and architecture from scratch
  • Build production-ready applications with full test coverage
Example projects:
  • New SaaS products (task management, analytics dashboards)
  • CLI tools (deployment automation, data migration)
  • Internal libraries (authentication, data validation)

Complete Walkthrough

Build a photo album organizer from zero to production

Brownfield Enhancement (Iterative)

Focus: Add features to existing systems
  • Extending an existing application with new features
  • Modernizing legacy systems incrementally
  • Adapting existing processes to new requirements
  • Refactoring while maintaining functionality
Key activities:
  • Analyze existing architecture and constraints
  • Create specifications that respect current design patterns
  • Plan features that integrate seamlessly with existing code
  • Modernize incrementally without breaking changes
Example scenarios:
  • Adding OAuth2 login to an app with email/password auth
  • Implementing a REST API for an existing CLI tool
  • Creating a dashboard for a system with no UI
  • Adding real-time updates to a polling-based application

Feature Addition Guide

Add real-time notifications to an existing task management system

Creative Exploration (Parallel Implementations)

Focus: Experiment with diverse solutions
  • Evaluating different technology stacks for the same requirements
  • Optimizing for different constraints (performance, cost, maintainability)
  • Exploring UX patterns before committing to one
  • Building platform-specific versions (web, mobile, desktop)
Key activities:
  • Create a single, technology-agnostic specification
  • Generate multiple implementation plans targeting different stacks
  • Build parallel prototypes to compare approaches
  • Validate the hypothesis that SDD transcends specific technologies
Example explorations:
  • Web dashboard: React vs. Vue vs. Svelte vs. vanilla JS
  • API service: Python/FastAPI vs. Go/Gin vs. Rust/Axum
  • Mobile app: React Native vs. Flutter vs. Swift/Kotlin native
  • CLI tool: Python/Click vs. Go/Cobra vs. Rust/Clap

Multi-Stack Exploration

Implement the same chat feature in 3 different tech stacks

Choosing Your Path

Use this decision tree to select the right approach:
1

No existing code

→ Greenfield DevelopmentStart with /speckit.constitution to establish principles, then proceed through the full SDD workflow.
2

Extending existing system

→ Brownfield EnhancementAnalyze current architecture first, then create specifications that integrate cleanly.
3

Exploring options

→ Parallel ImplementationsWrite one specification, generate multiple plans targeting different stacks.

What You’ll Learn

Each tutorial demonstrates:

Complete Command Flow

Every /speckit.* command with real prompts and outputs

Decision Points

When to clarify, when to iterate, when to regenerate

Quality Validation

Using checklists and analysis to ensure completeness

Common Pitfalls

Mistakes to avoid and how to recover from them

Tutorial Structure

Each example follows this format:
  1. Scenario Setup: The problem you’re solving
  2. Step-by-Step Commands: Actual /speckit.* commands with prompts
  3. Generated Artifacts: What the AI produces at each step
  4. Validation Checkpoints: How to verify quality before proceeding
  5. Common Issues: Troubleshooting and iteration strategies
  6. Final Output: The complete working implementation

Before You Begin

Make sure you’ve completed:
1

Installation

Install Spec Kit and configure your AI assistantInstallation Guide →
2

Quick Start

Complete the quick start to understand basic workflowQuick Start →
3

Core Concepts

Read about SDD philosophy and workflowCore Concepts →

Example Complexity

Recommended learning path:
  1. Start with Greenfield Development to learn the full workflow
  2. Then try Brownfield Enhancement to understand integration
  3. Finally explore Parallel Implementations for advanced patterns
TutorialComplexityTimePrerequisites
Greenfield ProjectBeginner30-45 minInstallation complete
Brownfield EnhancementIntermediate45-60 minUnderstand greenfield workflow
Parallel ImplementationsAdvanced60-90 minComfortable with SDD process

Additional Resources

Command Reference

Detailed documentation for all /speckit.* commands

Troubleshooting

Solutions to common issues and error messages

Templates

Understanding and customizing specification templates

Community Examples

More examples from the Spec Kit community

Next Steps

Greenfield Tutorial

Build a photo organizer from scratch

Brownfield Tutorial

Add notifications to existing system

Parallel Exploration

Compare multiple tech stacks

Build docs developers (and LLMs) love