spec-specify
Skill0 starsChanged 9 months agoMITView on GitHub
Create or update specs/{feature}/spec.md from user requirements — writing user stories, functional requirements, acceptance criteria, and resolving ambiguity through focused questions. Use this skill whenever someone wants to document feature requirements, write a specification, turn ideas or user research into a formal spec, update spec.md, or says "create a spec for [feature]". This is the first required step in the spec-driven workflow and typically follows spec-constitution when a team uses shared constitutional rules. Don't use for execution design, task decomposition, bug fixes, or implementation.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- xfstudio/skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- xfstudio/skills★ 9same 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- spec-constitutionSkill
- spec-implementSkill
- spec-planSkill
- spec-researchSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Create or update specs/{feature}/spec.md from user requirements.
- Very specific: line 33
Create the spec from references/spec-template.md.
- Distinctive: line 34
Keep the spec focused on user needs, behavior, business rules, and constraints
- Distinctive: line 37
When meaningful alternatives exist, compare 2-3 approaches with trade-offs and record the selected direction plus rejected alternatives …
- Distinctive: line 38
Avoid locking in technical design choices unless the user explicitly requires them
- Distinctive: line 39
If optional or secondary capabilities can stand alone, prefer splitting them into separate specs instead of expanding the current one
- Very specific: line 41
Write acceptance scenarios as natural sentences that still make context, action, and outcome explicit.
- Distinctive: line 42
Run a specification self-review: Scope, Data, UX, Non-Functional, Integration, Edge, Terminology, Ambiguity, Completion.
- Distinctive: line 43
Ask only high-impact clarification questions.
- Distinctive: line 44
Ask one question at a time
- Distinctive: line 45
Prefer multiple choice when possible — easier to answer than open-ended
- Distinctive: line 47
If the request describes multiple independent subsystems, stop and surface the decomposition decision immediately — do not spend …
- Distinctive: line 57
Remove repetition, simplify wording, resolve contradictions
- Very specific: line 60
If open points need investigation: spec-research
- Very specific: line 61
If more refinement is needed: continue spec-specify
- Distinctive: line 69
No unresolved high-impact ambiguity remains before handoff.
≈ “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
Specify Skill
Purpose
Core principle: Understand before specifying. No spec without exploring the problem space first.
Create or update specs/{feature}/spec.md from user requirements.
Resolve ambiguity within this skill before handing off to downstream phases.
Input
- User requirements
- Existing
specs/constitution.mdwhen present - Existing
specs/{feature}/spec.mdwhen present
Output
specs/{feature}/spec.md
Steps
- Resolve
languageand shared rules fromspecs/constitution.mdwhen present; otherwise infer from the available workflow documents and the user's own message. Ask only if still unclear, then conduct all subsequent interaction in this language. - Decide the feature slug and target
specs/{feature}/. - Create the spec from
references/spec-template.md.- Keep the spec focused on user needs, behavior, business rules, and constraints
- Design for isolation and clarity — break the system into units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
- YAGNI ruthlessly — remove unnecessary features from all designs
- When meaningful alternatives exist, compare 2-3 approaches with trade-offs and record the selected direction plus rejected alternatives concisely
- Avoid locking in technical design choices unless the user explicitly requires them
- If optional or secondary capabilities can stand alone, prefer splitting them into separate specs instead of expanding the current one
- Record spec-to-spec prerequisites only in frontmatter
dependenciesasspecs/{feature}/spec.mdpaths - Write acceptance scenarios as natural sentences that still make context, action, and outcome explicit; avoid forcing literal
Given/When/Thenwording when it hurts readability
- Run a specification self-review: Scope, Data, UX, Non-Functional, Integration, Edge, Terminology, Ambiguity, Completion.
- Ask only high-impact clarification questions.
- Ask one question at a time
- Prefer multiple choice when possible — easier to answer than open-ended
- Actively look for ambiguity that would materially change scope, behavior, data, UX, or downstream execution design
- If the request describes multiple independent subsystems, stop and surface the decomposition decision immediately — do not spend clarification cycles refining details of a project that first needs to be split into separate specs
- Resolve high-impact ambiguity before recommending the next phase
- Delegate low-impact open points to
spec-researchfor investigation
- Integrate answers directly into the spec.
- Update frontmatter.
- Required keys:
status,summary,dependencies - Initial
status:draft - Set
dependencies: []when the spec has no prerequisite specs - Set
status: approvedwhen no unresolved high-impact ambiguity remains and the spec is ready for execution design and tasking
- Required keys:
- Perform final review and keep the file within 150 lines.
- Remove repetition, simplify wording, resolve contradictions
- In the completion message, suggest the next step.
- If review-ready:
spec-plan - If open points need investigation:
spec-research - If more refinement is needed: continue
spec-specify
- If review-ready:
Success Criteria
- Prioritized user stories include at least one P1 story.
- Acceptance scenarios are testable.
- Functional requirements align with success criteria.
- Material alternatives and the selected direction are explicit when they affect scope.
- No unresolved high-impact ambiguity remains before handoff.
Completion Guidance
- Next recommended step:
spec-plan(orspec-researchif open points remain) - Include the target feature and generated
spec.mdpath in the response
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.

