spec-writer
Skill1 starsChanged 14 days agoMITView on GitHub
Explicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Creates and manages per-feature OpenSpec change folders: proposal, specs/stories, design and tasks artifacts from product discovery artifacts, and archives a completed change when dev says to.
25 other projects use a version of this.
Adopted by
Most recently taken up by
- fx/skillstheir own version, first seen Nov 8, 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
- wtsi-hgi/agentskillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use security-reviewer and code-reviewer.
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.
JeffallanSkillsecurity-reviewer
Identifies security vulnerabilities, generates structured audit reports with severity ratings, and provides actionable remediation guidance. Use when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security. Invoke for SAST scans, penetration testing, DevSecOps practices, cloud security reviews, dependency audits, secrets scanning, or compliance checks. Produces vulnerability reports, prioritized recommendations, and compliance checklists.
Also in 3 projects that use this
GoogleSkillcode-reviewer
Also in 4 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- 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
- Ecoa-PUC-Rio/GAIDE★ 8same name
- jcarlos78/GAIDE★ 8same name
- AskExe/exe-build-skills★ 4same name
- fx/skills★ 4same name
15 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 repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- arch-reviewSkill
- devils-advocateSkill
- devSkill
- discoverySkill
- extract-designSkill
- find-skillsSkill
- gh-issuesSkill
- githubSkill
- kmp-go-contractSkill
- koin-kmpSkill
- learnSkill
- linearSkill
- metro-kmpSkill
- product-researchSkill
- prSkill
- repo-setupSkill
- resolve-pr-feedbackSkill
- session-logSkill
- session-prepSkill
- shellSkill
- shipSkill
- srd-importSkill
- teamSkill
- unifiSkill
- verify-changeSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
0
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 49
Write tasks.md with ordered implementation steps broken by layer
- Very specific: line 118
Never write a Cross-review: line into the contract: dev adds it in Phase 4 from a real review result, and its presence is what tells dev …
- Very specific: line 124
When invoked with a Scope Brief (from dev), keep proposal.md and tasks.md inside it: its Explicitly out of scope items go in the proposal …
“Common” is measured: kept by at least 6 in 10 of the 21 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
Spec Writer
When to Use
Invoke for:
- Starting work on a story group — "set up spec-writer for X", "create change folder for X"
- Archiving a completed feature — "archive feat-X" (only when explicitly instructed by
devafter all sub-issues are confirmed closed)
Explicit use only — always an explicit act: the user names this skill, or dev calls it.
Entry detection — before creating, check openspec/changes/<feat-name>/ in the project repo:
| Existing state | Action |
| Folder does not exist | Create folder and all artifacts |
| Folder exists, artifacts complete | Output folder path, skip creation |
| Archive instruction received | Move folder to openspec/changes/archive/<feat-name>/ — do not check issue state (dev confirms first) |
Principles
Change folder location: openspec/changes/<change-name>/ inside the project repo. The change name is kebab-cased with the change type as prefix: feat- for a story group ("Onboarding" → feat-onboarding), fix- for a bug, chore- for non-feature work. Stories live in a specs/ subdirectory within the change folder.
Bug fixes and other changes with no story group: write proposal.md with **Story group:** none (<where the bug was found>), and write specs/stories.md from the bug itself: one story for the broken behaviour from the user's side, plus one for the regression guard if the fix adds one. Everything else is unchanged.
Artifacts and their sources:
| File | Source | Rule |
proposal.md | one-pager.md or lean-canvas.md + story group | Derived — no questions needed |
specs/stories.md | Story group from job-stories.md | Pulled verbatim; acceptance criteria derived from story outcomes |
design.md | arch-review skill output; for a bounded change, a short design note | Written verbatim from inline arch-review invocation output — do not reformat or summarize. A bounded change (the Path in the Scope Brief) skips arch-review: write the options as a short trade-off table, the choice, and what it sacrifices |
tasks.md | Derived from design.md + story scope | One section per layer, named and ordered as the project defines them (see Layers); omit empty layers |
sprint-contract.md | Derived from specs/stories.md | Written by dev from the evaluator's report at Phase 3 — do not create during Phase 0 |
issues.md | Written by linear | Do not create — leave absent at this stage |
Layers come from the project, never from this skill: the layer names and their order in the repository's AGENTS.md, or the rules in openspec/config.yaml if it has them. If the project names no layers, ask the user once and suggest they add them to AGENTS.md.
Conversation flow:
- Confirm which story group this change covers
- Derive
proposal.mdandspecs/stories.mdfrom discovery artifacts — no questions needed - Invoke
arch-reviewto producedesign.md, or for aboundedchange write the short design note yourself - Write
tasks.mdwith ordered implementation steps broken by layer - Output the change folder path
Archive action:
Receives an explicit archive instruction from dev (never self-triggers). Moves openspec/changes/<feat-name>/ → openspec/changes/archive/<feat-name>/. Does not verify issue state — dev handles that before invoking.
proposal.md template:
# Proposal: <Feature Name>
**Change:** <feat-name>
**Story group:** <Onboarding | Core Loop | Edge Cases>
**Date:** YYYY-MM-DD
## Scope
[1-3 sentences: what this change builds]
## Rationale
[1-3 sentences: which job stories drive this, why now]
## Out of scope
[Explicit exclusions — YAGNI]specs/stories.md template:
# Specs: <Feature Name>
## Story 1
When [situation], I want to [motivation], so I can [outcome].
### Acceptance criteria
- [ ] [one checkbox per verifiable behavior derived from the outcome]
## Story 2
When [situation], I want to [motivation], so I can [outcome].
### Acceptance criteria
- [ ] [one checkbox per verifiable behavior derived from the outcome]Each story gets its own section with acceptance criteria directly below it.
tasks.md template:
# Tasks: <Feature Name>
**Change:** <feat-name>
**Date:** YYYY-MM-DD
## :<first-layer>
- [ ] [task]
## :<next-layer>
- [ ] [task]One section per project layer, in the project's order. Omit layer sections that have no tasks for this story group.
sprint-contract.md template:
# Sprint Contract: <Feature Name>
**Change:** <feat-name>
**Date:** YYYY-MM-DD
**Derived from:** specs/stories.md
## :<layer-name>
- [ ] [concrete testable assertion derived from acceptance criteria]
- [ ] [concrete testable assertion]Never write a Cross-review: line into the contract: dev adds it in Phase 4 from a real review result, and its presence is what tells dev the review ran.
Layer names are taken from tasks.md headings. One section per layer present in tasks.md.
Constraints
- When invoked with a Scope Brief (from
dev), keepproposal.mdandtasks.mdinside it: its Explicitly out of scope items go in the proposal as non-goals, and its Also update items become tasks design.mdis written verbatim fromarch-reviewoutput — never reformatted or summarized (aboundedchange's short design note is the exception)- Checkboxes in
tasks.mdandspecs/stories.mdstay unticked: they are the plan, andsprint-contract.mdis the record of what was verified. Reviewers shouldn't flag unticked boxes - The archive move happens in the change's own PR, as its last commit (see
devPhase 4), so merging archives it issues.mdis written bylinear, notspec-writer— do not create it here- Archive action is only invoked by
dev— never self-triggered - Change name is kebab-cased with a type prefix:
feat-(story groups),fix-(bugs),chore-(non-feature work) - Omit empty layer sections from
tasks.md sprint-contract.mdis written bydevat Phase 3, from the evaluator's report — never created byspec-writerduring Phase 0; leave absent at setup time
Examples
Creating a change folder:
Story group: Onboarding (Habit Tracker)
Change folder created at openspec/changes/feat-onboarding/:
proposal.md ← scope: first-time user adds a habit without friction
specs/
stories.md ← 3 onboarding stories, each with acceptance criteria below
design.md ← arch-review output (verbatim): HabitRepository in the first layer, HabitListScreen in the second
tasks.md ← one section per project layer that has work (here two: :<layer-1>, :<layer-2>)
issues.md ← absent at creation time; written later by linear
sprint-contract.md ← absent at creation time; written at Phase 3 from the evaluator's reporttasks.md for this example:
# Tasks: Onboarding
**Change:** feat-onboarding
**Date:** 2026-03-23
## :<layer-1>
- [ ] Define Habit schema in SqlDelight
- [ ] Implement HabitRepository with insert and getAll operations
- [ ] Write unit tests for HabitRepository
## :<layer-2>
- [ ] Implement HabitListScreen composable with empty state
- [ ] Implement AddHabitScreen composable with a name field
- [ ] Wire navigation between HabitListScreen and AddHabitScreenDoes 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.

