spec-writer
Skill8 starsChanged 3 months agoMITView on GitHub
Writes specs in the Spec-Driven Development (SDD) format — walks the user through spec → plan → tasks before any code. Use when the user asks for a new feature, a meaningful behavioral change, or when no corresponding spec exists in the specs/ directory.
25 other projects use a version of this.
Adopted by
Most recently taken up by
- fx/skillstheir own version, first seen Nov 8, 2026
- newkirkjosh/skillstheir own version, first seen Nov 1, 2026
- JPeetz/agent-skillstheir own version, first seen Oct 28, 2026
- go-sphere/skillstheir own version, first seen Oct 20, 2026
- jaydenluckertjes-ai/Carmack-Counciltheir own version, first seen Oct 13, 2026
- dayvisonassis/sdd-skillstheir own version, first seen Oct 12, 2026
Used with
Projects with it also use learn.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
Other versions25 projects use a version of this.
Word for word · 1
- jcarlos78/GAIDE★ 8100% same
Edited · 0
None found.
Wrote their own version · 24
- MageByte-Zero/spec-superflow★ 875same name
- AlpacaLabsLLC/skills-for-architects★ 390same name
- SamJHudson01/Carmack-Council★ 52same name
- dannwaneri/spec-writer★ 26same name
- JPeetz/agent-skills★ 14same name
- kambleakash0/agent-skills★ 10same name
- AskExe/exe-build-skills★ 4same name
- fx/skills★ 4same name
- dayvisonassis/sdd-skills★ 3same name
- goldenprofile/llm-skills★ 3same name
14 more not listed
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
- .claude/CLAUDE.mdCLAUDE.md
- adr-writerSkill
- code-reviewerSkill
- security-reviewerSkill
- test-generatorSkill
- verifierSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
2
Distinctive
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
- Very specific: line 17
Read specs/constitution.md to know the non-negotiable principles.
- Very specific: line 18
Check whether a related spec already exists in specs/.
- Very specific: line 23
Create the file at specs/<feature-slug>/spec.md following this template:
- Distinctive: line 80
Don't invent requirements: If something is ambiguous, ask the user.
- Distinctive: line 81
Respect the constitution: If the feature violates a principle, flag it before proceeding.
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- GENERATED from agents/skills/spec-writer.md by scripts/sync-adapters.sh — edit the source and re-run; do not edit this file. -->Skill: spec-writer
When to activate
- The user asks for a new feature
- The user describes a desired behavior without referencing implementation
- No
specs/<feature>/spec.mdexists for it - There is ambiguity about what needs to be built
Before starting
- Read
specs/constitution.mdto know the non-negotiable principles. - Check whether a related spec already exists in
specs/. - Confirm with the user: "I'll write the spec first, without touching code. OK?"
Structure of the spec to produce
Create the file at specs/<feature-slug>/spec.md following this template:
# Spec: <Feature name>
## Context
Why this feature exists. What problem it solves. For whom.
## Expected behavior
Executable description of what the application should do. Does not include *how*.
### Use cases
1. **Main case:** [given/when/then]
2. **Alternative case:** [given/when/then]
3. **Error case:** [given/when/then]
## Acceptance criteria
Verifiable list (each item testable):
- [ ] Criterion 1
- [ ] Criterion 2
- [ ] ...
## Out of scope
Explicitly list what this feature does NOT do.
## Security considerations
Data sensitivity, authentication/authorization, abuse cases. "None" is acceptable; silence is not. Each abuse case becomes a negative acceptance criterion.
## Dependencies
Other specs, systems, or MCPs required.
## Constitution adherence
Confirm which constitution principles apply and how they will be honored.Workflow
Step 1 — Spec
Drive a conversation to fill in the spec. Don't infer behaviors that weren't stated.
Step 2 — Plan
Once the spec is user-approved, create specs/<slug>/plan.md with:
- Architectural decisions needed (if relevant, suggest creating an ADR via
adr-writer) - Implementation sequence (task order)
- Identified risks
Step 3 — Tasks
Once the plan is approved, create specs/<slug>/tasks.md decomposing into atomic tasks (~30 min each):
- Task 1 — concrete description, affected files, completion criterion
- Task 2 — ...
Step 4 — Human validation
Pause and ask for explicit human approval before starting implementation.
Principles
- Don't code in this skill. This skill produces documents, not code.
- Don't invent requirements. If something is ambiguous, ask the user.
- Respect the constitution. If the feature violates a principle, flag it before proceeding.
- Atomicity. Small, independent tasks make assisted implementation easier.
Expected output
Three files in specs/<feature-slug>/:
spec.mdplan.mdtasks.md
With explicit user confirmation at each step.
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.

