spec-create
Skill2 starsChanged 4 months agoMITView on GitHub
Generates a layered feature spec (F1-F5) using the factory template. Use when someone asks to "create spec", "specify feature" or describes new functionality before implementing it.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- benjaminthomas/spec-driven-devtheir own version, first seen Nov 8, 2026
- Atiqul-Islam/graphcrewtheir own version, first seen Oct 13, 2026
- pierre-lecocq/claude-skillstheir own version, first seen Oct 11, 2026
- maurigre/mgr-methodtheir own version, first seen Jul 15, 2026
- ecodelearn/template-claude-code-opentheir own version, first seen May 7, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- ecodelearn/template-claude-code-open★ 25same name
- benjaminthomas/spec-driven-dev★ 2same name
- maurigre/mgr-method★ 2same name
- Atiqul-Islam/graphcrew★ 0same name
- pierre-lecocq/claude-skills★ 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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- as-is-learnSkill
- as-isSkill
- as-is-syncSkill
- clarifySkill
- consistencySkill
- context-reportSkill
- convergeSkill
- harness-initSkill
- implement-taskSkill
- orchestrateSkill
- repo-addSkill
- repo-mapSkill
- spec-reviewSkill
- system-mapSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
B · NEW application: no repo exists. The spec declares it.
- Distinctive: line 22
If you cannot classify with certainty: ASK the user.
- Distinctive: line 30
0.3 Dependencies — ask, NEVER assume: if the stories, the as-is or the packs reveal that the application depends on another system/service:
- Distinctive: line 40
0.4 Requirement ambiguity: if the request admits interpretations that change scope, design or certification, run /clarify BEFORE F1.
- Very specific: line 45
Create specs/$(date +%Y-%m)-$0.md from specs/_template.md:
- Distinctive: line 58
Do not write code. Do not modify files outside specs/ and knowledge/.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Context
- Existing specs: !
ls specs/ 2>/dev/null - Registered repos: !
. scripts/repo-lib.sh 2>/dev/null && registry_repos | tr '\n' ' ' - Current business rules: see knowledge/business-rules.md
STEP 0 — Requirement triage (MANDATORY before F1)
0.1 Classify against repos.yaml and the mapa-sistemas index:
- A · EXISTING application: the requirement touches registered repos. Identify WHICH ones and record it in the spec ("Requirement type" field).
- B · NEW application: no repo exists. The spec declares it; the stack and the architecture are decided in F5, and the task plan starts with a T0 for creation (create repo → /repo-add → scaffolding → as-is and pack at birth).
- Mixed: a combination; apply both protocols.
- If you cannot classify with certainty: ASK the user. Do not assume.
0.2 Load context (scenario A): for each affected repo, load its
pack (<prefijo>-<repo>) and the system pack (<prefijo>-sistema).
- Pack doesn't exist? → generate it with /repo-map (or /system-map) BEFORE F1.
- It exists? → validate freshness:
scripts/freshness.sh check <pack>andscripts/assertions.sh <sistema>. Stale → regenerate before continuing.
0.3 Dependencies — ask, NEVER assume: if the stories, the as-is or the packs reveal that the application depends on another system/service:
- Is it registered in repos.yaml? NO → STOP AND ASK the user which is its repository (URL/path) or whether it is explicitly out of scope. With the answer: /repo-add + /repo-map for the dependency.
- YES → validate that its pack exists and is current (as in 0.2).
- Any INCONSISTENCY (pack contradicts code or registry, false assertion, declared dependency that does not appear in the code or vice versa): ALWAYS ASK; never normalize silently.
0.4 Requirement ambiguity: if the request admits interpretations that change scope, design or certification, run /clarify BEFORE F1; its decisions feed the spec and are recorded in its Clarifications section.
Task
Create specs/$(date +%Y-%m)-$0.md from specs/_template.md:
- Delegate story writing to the
requirementssubagent (phase 1). - With the stories approved by PO/TL, delegate estimation to the
estimationsubagent (phase 2). - Iterate refinement with /spec-review until the DoR is met, and close the phase with /consistency at a FIT FOR GATE verdict (phase 3).
- Delegate analysis (rules, dependencies, edge cases) to the
analysissubagent (phase 4). - Delegate design (contracts, C4, ADRs) to the
architecturesubagent (phase 5).
At each human gate: STOP, present the agent's summary and wait for explicit approval. Record in the spec who approved and when. Do not write code. Do not modify files outside specs/ and knowledge/.
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.

