Start projects with specification-first discipline and AI-friendly 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.
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
This template enforces policy + gate checks:
./scripts/check-sdd-policy.sh .
./scripts/check-sdd-gate.sh .Hard stop:
- No code before approved
spec.mdand consistentplan.md. - Record explicit user consent before execution/implementation starts:
./scripts/confirm-user-consent.sh "User approved scope X"
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.
- Your product work should run in your target project using this structure.
- Inside this repository, use
www/<project-name>/as execution root for runnable projects. - Keep runnable projects inside the current chat/workspace folder (do not create them outside).
- 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"]
Mandatory folders:
idea/: project intent and scopespecs/: numbered specificationsbitacora/: execution trace and handoffsdocs/: usage guides and references
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 runnable project under www/ (recommended scaffold by default) |
| New Project | ./scripts/init-project.sh |
Bootstrap SDD structure |
| New Project + Spec Kit | ./scripts/init-project-with-spec-kit.sh |
Bootstrap + Spec Kit init |
| New Spec | ./scripts/new-spec.sh |
Create numbered spec folder |
| Validation | ./scripts/validate-sdd.sh . --strict |
Validate structure and consistency |
| Policy Check | ./scripts/check-sdd-policy.sh . |
Validate multi-agent policy files |
| SDD Gate | ./scripts/check-sdd-gate.sh . |
Enforce approval and plan consistency |
| Status Dashboard | ./scripts/generate-status.sh |
Generate project status report |
Tip
For a clean copy: npx degit juanklagos/spec-driven-development-template
- Essentials: Structure · Workflow
- AI: Supported Agents · Lovable Guide
- 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)