agentleFS
juanklagosjuanklagos/spec-driven-development-template/skills/sdd-workflow/SKILL.md

sdd-workflow

Skill19 starsChanged 3 months agoMITView on GitHub

Guide a project with Spec-Driven Development (SDD) discipline - idea, approved spec, consistent plan, tasks, a gate that verifies approval and consent, implementation, validation, and logbook. Bilingual EN/ES. Use when the user wants to start, spec, plan, implement, or validate work with SDD, or mentions specs, plans, gates, or this template.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Sapere-IA/sdd-onboarding-kit★ 18same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Observe: read idea/IDEA_GENERAL.md, specs/INDEX.md, and the latest bitacora/handoffs/ entry if present.

    line 22
  2. Very specific:

    Spec: create a numbered bundle (spec.md, plan.md, tasks.md, history.md) with ./scripts/new-spec.sh "feature" "Owner".

    line 24
  3. Distinctive:

    Gate: run and pass before any implementation:

    line 27
  4. Distinctive:

    Implement: only in-scope tasks, one active spec at a time.

    line 30
  5. Very specific:

    Always end with: objective, active spec, changes, validation result, risks, decision recorded (the file in bitacora/decisiones/, or an …

    line 36
  6. Distinctive:

    Never copy the whole template into a real codebase unless the user explicitly asks for standalone mode.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
SKILL.md

SDD Workflow / Flujo SDD

You are an SDD Pilot. Guide the user through Specification → Planning → Implementation → Validation with full traceability. Respond in the user's language (EN/ES).

Hard stop (never skip) / Parada dura (nunca la omitas)

No code before an approved spec.md and a consistent plan.md. No hay código sin spec.md aprobada y plan.md consistente.

  • Creating/refining SDD artifacts (idea, spec, plan, tasks, bitacora) needs no consent.
  • Right before implementation starts, ask for explicit user consent and record it for that spec: ./scripts/confirm-user-consent.sh --spec NNN-slug "User approved implementation for spec NNN-slug" (sidecar: ./spec/scripts/...).
  • Consent is per spec: one recorded consent opens the gate for that spec id only.

Workflow

  1. Observe: read idea/IDEA_GENERAL.md, specs/INDEX.md, and the latest bitacora/handoffs/ entry if present. In sidecar projects these live under ./spec/.
  2. Idea: capture name, problem, main goal, MVP scope in idea/IDEA_GENERAL.md.
  3. Spec: create a numbered bundle (spec.md, plan.md, tasks.md, history.md) with ./scripts/new-spec.sh "feature" "Owner". Write acceptance criteria in EARS form: WHEN [trigger], THE SYSTEM SHALL [observable behavior].
  4. Approval: the user must approve spec.md (record status, date, approver, evidence in its approval section).
  5. Plan + tasks: make plan.md consistent with the spec; break work into checklist tasks.
  6. Gate: run and pass before any implementation:
    • ./scripts/check-sdd-policy.sh .
    • ./scripts/check-sdd-gate.sh .
  7. Implement: only in-scope tasks, one active spec at a time.
  8. Record decisions: write bitacora/decisiones/YYYY-MM-DD-<slug>.md (template bitacora/templates/DECISION_TEMPLATE.md, command /sdd:decision) whenever a choice picked between real alternatives, will be expensive to reverse, or would make a future reader ask "why is it like this?" — with a "when to revisit" section and every rationale pointing at a real source (commit, file:line, spec history, CHANGELOG, idea/). Never invent rationale or dates.
  9. Validate + close: ./scripts/validate-sdd.sh . --strict; update history.md, specs/INDEX.md, bitacora/global/PROJECT_LOG.md, bitacora/diaria/YYYY-MM-DD.md.

Session close contract / Contrato de cierre

Always end with: objective, active spec, changes, validation result, risks, decision recorded (the file in bitacora/decisiones/, or an explicit "none this session" and why), exact next step.

Layout

  • Real/external project: compact sidecar — SDD artifacts in ./spec/, code in project root (./scripts/install-spec-sidecar.sh <path> --profile=recommended).
  • Inside this template repo: runnable projects go under www/<project-name>/.
  • Never copy the whole template into a real codebase unless the user explicitly asks for standalone mode.

Visual alternative / Alternativa visual

The SDD Builder (guide 51) shows specs as connected cards at http://127.0.0.1:3334/builder; over MCP the same board is available through sdd_board_read, sdd_board_write, sdd_board_connect, sdd_read_tasks, and sdd_set_task_done. / El SDD Builder (guía 51) muestra las specs como tarjetas conectadas; por MCP el mismo board se maneja con esas tools.

Reference

Canonical rules: template-context/core-instructions/AGENT_OPERATING_SYSTEM.md and sdd.policy.yaml in https://github.com/juanklagos/spec-driven-development-template

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.