Start projects with specification-first discipline, GitHub Spec Kit as the base workflow, and AI-friendly guidance.
This framework uses GitHub Spec Kit as the primary workflow reference. Use this repository as the practical layer around that base:
- GitHub Spec Kit = reference workflow engine
- this repository = starter structure, sidecar installation, AI rules, MCP, and project guidance
- Open AI_START_HERE.md or START_HERE_NON_TECH.md if you are non-technical.
- Copy/paste this prompt:
Using https://github.com/juanklagos/spec-driven-development-template, guide me step by step with SDD for my project.
My project is: [describe your project in plain language].
If my project is new, initialize from this template and GitHub Spec Kit as the base workflow.
If it already exists, adapt it without breaking current behavior.
No code before approved spec and consistent plan.
- Choose your level and continue:
- Beginner: docs/en/13-quick-guide-non-programmers.md
- Intermediate: docs/en/14-intermediate-guide.md
- Advanced: docs/en/15-advanced-guide.md
If your AI client supports MCP, this repository now includes a local sdd-mcp server and shared project config.
If you want the simplest explanation first:
Important distinction:
GitMCPor similar can help an AI read and understand this public repository for free.- It does not replace this framework's own
sdd-mcpbehavior. - Use
GitMCPfor remote repo context andsdd-mcpfor the real guided SDD workflow.
Quick path:
- Build the server:
npm install
npm run build- Use one of these configs:
- Claude Code project config:
.mcp.json - Cursor example:
packages/sdd-mcp/examples/.cursor/mcp.json - Codex example:
packages/sdd-mcp/examples/codex.config.toml
- Read in this order:
- docs/en/43-easy-mcp-guide.md
- docs/en/41-complete-mcp-reference.md
- docs/en/33-mcp-server-guide.md
- docs/en/40-command-results-reference.md
flowchart LR
A["Describe project in plain language"] --> B["Create SDD base"]
B --> C["Approve first spec"]
C --> D["Align plan and tasks"]
D --> E["Validate + gate"]
E --> F["Implement only after explicit consent"]
Use a complete example:
This template enforces policy + gate checks:
# standalone framework workspace
./scripts/check-sdd-policy.sh .
./scripts/check-sdd-gate.sh .
# compact sidecar inside a real project
./spec/scripts/check-sdd-policy.sh .
./spec/scripts/check-sdd-gate.sh .Hard stop:
- No code before approved
spec.mdand consistentplan.md. - Record explicit user consent before execution/implementation starts:
- sidecar:
./spec/scripts/confirm-user-consent.sh "User approved scope X" - standalone:
./scripts/confirm-user-consent.sh "User approved scope X"
- sidecar:
Reference files:
| β Problem | β SDD Solution |
|---|---|
| Decisions lost in chat history | Single source of truth in specs/ |
| Code created without planning | Mandatory spec.md + plan.md gate |
| Hard onboarding for teams/AI | Standard structure and level-based guides |
| Weak traceability | Session logs in bitacora/ |
- This repository is a framework/template.
- It uses GitHub Spec Kit as the base operating reference for the command sequence and SDD flow.
- The professional productization path is: framework root +
packages/sdd-core+packages/sdd-mcp. - Your product work should run in your target project using this structure.
- For real projects, prefer a compact
spec/sidecar inside the project and keep code in the project root. - Do not clone or copy the full framework repository into the target project unless you explicitly want a full standalone workspace.
- Inside this repository, use
www/<project-name>/as the clean container when the target project should live here. - The user may choose another target path; if the runnable project lives inside this repository, keep it under
www/to avoid mixing framework and product work. - If you adapt an existing project, integrate
idea/specs/bitacorawithout breaking current behavior.
flowchart LR
A["Beginner"] --> B["Intermediate"]
B --> C["Advanced"]
A --> D["First idea + first spec"]
B --> E["Consistent team sessions"]
C --> F["Governance + quality gates"]
Full folder-by-folder map:
flowchart TD
A["Framework Root"] --> B["idea/"]
A --> C["specs/"]
A --> D["bitacora/"]
A --> E["docs/"]
A --> F["scripts/"]
A --> G["packages/"]
A --> H["www/"]
H --> I["target-project/"]
I --> J["spec/"]
Mandatory folders:
idea/: project intent and scopespecs/: numbered specificationsbitacora/: execution trace and handoffsdocs/: usage guides and references
For real target projects, those SDD folders usually live under ./spec/:
./spec/idea/./spec/specs/./spec/bitacora/
Mandatory spec bundle (for each feature):
spec.mdplan.mdtasks.mdhistory.md
- Start here: AI_START_HERE.md
- Ultra-simple starter: START_HERE_NON_TECH.md
- Follow level path: docs/en/18-complete-3-level-path.md
- Use ready prompts:
| Tool | Command | Description |
|---|---|---|
| Create execution workspace | ./scripts/create-www-project.sh my-project codex |
Create clean project root under www/ and install compact spec/ sidecar |
| Install compact sidecar | ./scripts/install-spec-sidecar.sh /absolute/path/to/project --profile=recommended |
Install only the SDD sidecar inside an existing or external project |
| Full standalone workspace | ./scripts/init-project.sh /absolute/path/to/project --profile=full |
Copy the larger standalone template only when explicitly needed |
| New Spec | ./spec/scripts/new-spec.sh |
Create numbered spec folder in compact sidecar mode |
| Validation | ./spec/scripts/validate-sdd.sh . --strict |
Validate structure and consistency in compact sidecar mode |
| Policy Check | ./spec/scripts/check-sdd-policy.sh . |
Validate multi-agent policy files in compact sidecar mode |
| SDD Gate | ./spec/scripts/check-sdd-gate.sh . |
Enforce approval and plan consistency in compact sidecar mode |
| Status Dashboard | ./spec/scripts/generate-status.sh |
Generate project status report when that script is present in the project layout |
| MCP Server MVP | npm run mcp:start |
Start the local sdd-mcp stdio server |
Tip
Default professional path: install only the compact spec/ sidecar in real projects. Use a full copy only when you explicitly need a standalone workspace.
- Essentials: Structure Β· Workflow
- AI: Supported Agents Β· Lovable Guide
- MCP: Complete Reference
- MCP Easy Mode: Easy Guide
- MCP Hosted Onboarding: Model
- MCP Client Examples: Visual Guide
- MCP Free External Options: Guide
- MCP GitMCP Connection: Step-by-step
- Sidecar Prompts: Exact prompts for
spec/mode - MCP Setup: Server Guide
- MCP Results: Command Reference
- Client Setup: Recipes
- Versioning: Strategy
- Roadmap: Public Roadmap
- Organization: Project Map
- Media Kit: Assets and Positioning
- Historical Release Prep: v1.3.0 prep notes
- Quality: Stage Checklists Β· ADR
- License: PolyForm Noncommercial 1.0.0
- Legal guide: docs/en/31-legal-framework-and-commercial-use.md
- Changelog: CHANGELOG.md
- Author: Juan Klagos (AUTHORS.md)