spec-driven-development-template
Copilot instructions15 starsChanged 3 months agoMITView on GitHub
Canonical source: - template-context/core-instructions/AGENT_OPERATING_SYSTEM.md - sdd.policy.yaml Hard stop: - No code before approved spec and consistent plan. - No hay código sin spec aprobada y plan consistente. Execution workspace: - Inside THIS template repository, put runnable code under www/<project-name>/. - For a project that already exists somewhere else — the common case — install the compact spec/ sidecar in it and leave the code where it is. That is the recommended default workspace for real work. - Dentro de ESTA…
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- site/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- sdd-serveSkill
- sdd-serveSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
No code before approved spec and consistent plan.
- Distinctive: line 9
No hay código sin spec aprobada y plan consistente.
- Very specific: line 17
If the target project lives inside this template, keep it under www/.
- Distinctive: line 22
Treat this repository as a starter template, not a product backlog.
- Very specific: line 23
Read AI_START_HERE.md, idea/IDEA_GENERAL.md, specs/INDEX.md first.
- Very specific: line 25
If gate is not met, refine docs (spec, plan, tasks, history, bitacora) only.
- Very specific: line 26
Keep traceability in history.md, specs/INDEX.md, and bitacora/.
≈ “Common” is an estimate: at least 1 in 5 of the 3,894 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions - SDD Template
Canonical source:
template-context/core-instructions/AGENT_OPERATING_SYSTEM.mdsdd.policy.yaml
Hard stop:
- No code before approved spec and consistent plan.
- No hay código sin spec aprobada y plan consistente.
Execution workspace:
- Inside THIS template repository, put runnable code under
www/<project-name>/. - For a project that already exists somewhere else — the common case — install the compact
spec/sidecar in it and leave the code where it is. That is the recommended default workspace for real work. - Dentro de ESTA plantilla, el código ejecutable va en
www/<nombre-proyecto>/. - Para un proyecto que ya existe en otro sitio —el caso normal— instala el sidecar compacto
spec/y deja el código donde está. Ese es el espacio de trabajo recomendado por defecto para el trabajo real. - The user may choose another target path.
- If the target project lives inside this template, keep it under
www/. - For real external projects, install the compact
spec/sidecar and keep code in the project root. - Para proyectos reales externos, instala el sidecar compacto
spec/y mantén el código en la raíz del proyecto.
Required behavior:
- Treat this repository as a starter template, not a product backlog.
- Read
AI_START_HERE.md,idea/IDEA_GENERAL.md,specs/INDEX.mdfirst. - Work from one active specification.
- If gate is not met, refine docs (
spec,plan,tasks,history,bitacora) only. - Keep traceability in
history.md,specs/INDEX.md, andbitacora/. - Record a decision in
bitacora/decisiones/YYYY-MM-DD-<slug>.mdwhen it chose between real alternatives, will be expensive to reverse, or a future reader would ask "why is it like this?". Include a "when to revisit" section, source every rationale (commit,file:line, spec history, CHANGELOG,idea/), and never invent one.
Validation commands:
./scripts/validate-sdd.sh . --strict./scripts/check-sdd-policy.sh ../scripts/check-sdd-gate.sh .
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

