sdd-specify
Skill0 starsChanged 29 days agoApache-2.0View on GitHub
Use when the user describes a new feature, change or product idea and no spec exists for it yet, or when a requirement must be added or changed. Writes specs/NNN-slug/spec.md with numbered, testable requirements and marks open questions instead of guessing.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mariano-aguero/spec-driven-development-skilltheir own version, first seen Nov 8, 2026
- pchemguy/Skill-SDD-Managertheir own version, first seen Oct 6, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mariano-aguero/spec-driven-development-skill★ 11same name
- pchemguy/Skill-SDD-Manager★ 0same 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- sdd-constitutionSkill
- sdd-implementSkill
- sdd-planSkill
- sddSkill
- sdd-tasksSkill
- sdd-verifySkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before anything else, read these if they exist.
- Very specific: line 25
Write every artifact in language.
- Distinctive: line 30
If the user points at an existing spec, go to Changing a spec below.
- Very specific: line 37
Read <specs_dir>/constitution.md if it exists.
- Very specific: line 42
Ask at most 3 questions, one at a time, and only about things that change scope: who the user is, what must happen, what is explicitly out.
- Very specific: line 49
Write spec.md from the template.
- Distinctive: line 58
Before the gate, re-read the spec and fix inline:
- Distinctive: line 75
Add a row to the spec's Changelog.
- Very specific: line 78
If plan.md or tasks.md exist, list the steps and tasks that cite the changed IDs so they can be updated next.
- Very specific: line 83
If specify is in gates: show the user the artifact path and a 3–5 line summary, list any [NEEDS CLARIFICATION] items, and stop.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
SDD — Specify
The spec says what the system must do and why. It never says how: no file names, frameworks or APIs unless the user mandated them. It is the contract the plan, the tasks and the verification are checked against.
Step 0 — Load project settings
Before anything else, read these if they exist. Missing files are normal; use the defaults.
.sdd/config.yamlin the project, else~/.sdd/config.yaml. Defaults:specs_dir: specs,language: en,ids: {requirement: REQ, task: T},gates: [specify, plan, tasks],verify_command: "",phases: [constitution, specify, plan, tasks, implement, verify].- Template:
.sdd/templates/spec.md, else~/.sdd/templates/spec.md, elsetemplates/spec.mdnext to this file. - Extra rules:
.sdd/rules/all.mdand.sdd/rules/specify.md(project, then global). They add to this skill; when they conflict with it, they win.
Write every artifact in language. Use the configured ID prefixes everywhere this skill
says REQ or T.
Step 1 — Find or create the feature dir
- If the user points at an existing spec, go to Changing a spec below.
- Otherwise the next number
NNNis the highest three-digit prefix inspecs_dirplus one (start at001). The slug is kebab-case, at most 5 words, from the feature title. Create<specs_dir>/NNN-<slug>/.
Step 2 — Read context
Read <specs_dir>/constitution.md if it exists. Read code only as far as you need to
understand the domain and the current behavior — you are not designing yet.
Step 3 — Ask, don't invent
Ask at most 3 questions, one at a time, and only about things that change scope: who
the user is, what must happen, what is explicitly out. Anything else you do not know goes
into the spec as [NEEDS CLARIFICATION: <question>]. Never fill a gap with a plausible
guess; a guess in a spec becomes a requirement nobody asked for.
Step 4 — Write spec.md
Write spec.md from the template.
- Each requirement is
REQ-n: one sentence, one observable behavior ("the system does X when Y"), followed by at least one acceptance criterion in Given / When / Then. - A requirement that contains "and" usually hides two. Split it.
- List non-goals explicitly. They are what stops scope creep later.
Step 5 — Self-check
Before the gate, re-read the spec and fix inline:
- Can every
REQbe tested by someone who did not write it? - Is any implementation detail leaking in?
- Does anything contradict the constitution or another requirement?
- Is anything ambiguous enough to be built two ways? Make it explicit or mark it
[NEEDS CLARIFICATION].
Changing a spec
Requirements change; their IDs do not. When a requirement is added or changed — by the user or because implementation discovered it:
- A new requirement takes the next free number. IDs never renumber and are never reused, because plans, tasks, commits and tests already cite them.
- A changed requirement keeps its ID; rewrite it and note the change.
- A removed requirement stays in place as
~~REQ-4~~ (removed YYYY-MM-DD: <reason>). - Add a row to the spec's Changelog.
- An approved spec that changes goes back to
**Status:** draftuntil the user approves the change. - If
plan.mdortasks.mdexist, list the steps and tasks that cite the changed IDs so they can be updated next.
Gate
If specify is in gates: show the user the artifact path and a 3–5 line summary, list any
[NEEDS CLARIFICATION] items, and stop. Do not start the next phase until the user
approves. When they approve, set the artifact's status line to
**Status:** approved · **Date:** YYYY-MM-DD and save the file — approval has to live in
the file, so a later session or another agent can see it. If specify is not in gates, set
the status to approved yourself, say which phase runs next and continue.
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.

