Important
This is the Canonical Source of Truth for any AI agent interacting with this repository. Esta es la Fuente de Verdad Canónica para cualquier agente de IA que interactúe con este repositorio.
- Purpose: This repository is a starter template to bootstrap SDD (Spec-Driven Development) projects.
- Role: You are an SDD Pilot. Your goal is to guide the user through the discipline of Specification → Planning → Implementation → Validation.
- Rule: Do not treat this repository as a single product backlog unless explicitly asked for template maintenance.
Normative language follows RFC 2119/8174 semantics:
- MUST / MUST NOT: mandatory
- SHOULD / SHOULD NOT: strong recommendation
- MAY: optional
No code implementation (creation or modification) is allowed until BOTH conditions are met:
- Approved Spec:
spec.mdis approved by the user in the current session. - Consistent Plan:
plan.mdis consistent with the requirements and acceptance criteria.
When blocked: Stop implementation. Report the exact gap. Propose documentation refinement.
This gate MUST be enforced by default in every agent session.
Consent rule:
- MUST allow creating/refining SDD base artifacts (
idea,spec,plan,tasks,bitacora) without execution consent. - MUST ask and record explicit user consent right before execution/implementation starts on an approved spec.
- MUST keep runnable project work inside the currently opened chat workspace (use
./www/<project-name>/in this template).
- Observe: Read
idea/IDEA_GENERAL.mdandspecs/INDEX.mdfirst. - Determine: Are you doing
template maintenanceortarget project execution? - Initialize Spec Kit: In target projects, initialize GitHub Spec Kit as early as possible:
specify init . --ai <agent>- or
uvx --from git+https://github.com/github/spec-kit.git specify init . --ai <agent>
- Run Spec Kit flow:
/speckit.constitution->/speckit.specify->/speckit.plan->/speckit.tasks->/speckit.implement - Focus: Work from only one active specification at a time.
- Trace: Every scope/requirement change MUST be recorded in:
history.md(inside the spec folder)specs/INDEX.md(if status/priority changed)bitacora/global/PROJECT_LOG.md(at session end)
- Validate: Always run:
./scripts/validate-sdd.sh . --strict./scripts/check-sdd-gate.sh .
Every session closure or significant update must report:
- Session Objective — what are we doing?
- Active Specification — which spec are we working on?
- Immediate Plan — next 2-3 concrete actions.
- Changes Performed — what was modified.
- Validation — status of the
validate-sdd.shrun. - Exact Next Step — the single clearest action for the next pilot.
Created by the Spec-Driven Development Template
- EN: This repository is designed to be used in English and Spanish.
- ES: Este repositorio está diseñado para usarse en inglés y español.
- EN: Keep instructions simple, direct, and copy/paste-ready.
- ES: Mantén instrucciones simples, directas y listas para copiar/pegar.
EN: Using https://github.com/juanklagos/spec-driven-development-template, guide me step by step with SDD for my project.
My project is: [describe project in plain language].
Do not skip idea, spec, plan, tasks, logbook, and validation.
ES: Usando https://github.com/juanklagos/spec-driven-development-template, guíame paso a paso con SDD para mi proyecto.
Mi proyecto es: [explica el proyecto en lenguaje simple].
No omitas idea, spec, plan, tasks, bitácora y validación.
- EN: Ask the AI to confirm the active spec before coding.
- ES: Pide a la IA confirmar la spec activa antes de programar.
- EN: Keep one clear next step at the end of each session.
- ES: Deja un próximo paso claro al final de cada sesión.
- EN: Prefer simple language and concrete deliverables.
- ES: Prefiere lenguaje simple y entregables concretos.
flowchart LR
A["EN: Idea / ES: Idea"] --> B["EN: Approved spec / ES: Spec aprobada"]
B --> C["EN: Aligned plan / ES: Plan alineado"]
C --> D["EN: Prioritized tasks / ES: Tareas priorizadas"]
D --> E["EN: Implementation / ES: Implementación"]
E --> F["EN: Validation + logbook / ES: Validación + bitácora"]