agentleFS
juanklagosjuanklagos/spec-driven-development-template/.github/copilot-instructions.md

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…

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
  1. Distinctive:

    No code before approved spec and consistent plan.

    line 8
  2. Distinctive:

    No hay código sin spec aprobada y plan consistente.

    line 9
  3. Very specific:

    If the target project lives inside this template, keep it under www/.

    line 17
  4. Distinctive:

    Treat this repository as a starter template, not a product backlog.

    line 22
  5. Very specific:

    Read AI_START_HERE.md, idea/IDEA_GENERAL.md, specs/INDEX.md first.

    line 23
  6. Very specific:

    If gate is not met, refine docs (spec, plan, tasks, history, bitacora) only.

    line 25
  7. Very specific:

    Keep traceability in history.md, specs/INDEX.md, and bitacora/.

    line 26

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

GitHub Copilot Instructions - SDD Template

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 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:

  1. Treat this repository as a starter template, not a product backlog.
  2. Read AI_START_HERE.md, idea/IDEA_GENERAL.md, specs/INDEX.md first.
  3. Work from one active specification.
  4. If gate is not met, refine docs (spec, plan, tasks, history, bitacora) only.
  5. Keep traceability in history.md, specs/INDEX.md, and bitacora/.
  6. Record a decision in bitacora/decisiones/YYYY-MM-DD-<slug>.md when 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 .

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.