spec-writer
Skill838 starsChanged 5 months agoMITView on GitHub
Create or refine spec-superflow planning artifacts. Invoke when the change is understood well enough to write proposal.md, specs/, design.md, and tasks.md.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- wtsi-hgi/agentskillstheir own version, first seen Oct 4, 2026
- JPeetz/agent-skillstheir own version, first seen Sep 29, 2026
- TienDat-Vna/BackSpectheir own version, first seen Sep 28, 2026
- AlpacaLabsLLC/skills-for-architectstheir own version, first seen Sep 20, 2026
- goldenprofile/llm-skillstheir own version, first seen Aug 12, 2026
- Bosh-Kuo/awesome-agent-toolkittheir own version, first seen Jul 5, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- AlpacaLabsLLC/skills-for-architects★ 368same name
- SamJHudson01/Carmack-Council★ 52same name
- dannwaneri/spec-writer★ 29same name
- JPeetz/agent-skills★ 10same name
- kambleakash0/agent-skills★ 10same name
- AskExe/exe-build-skills★ 4same name
- dayvisonassis/sdd-skills★ 3same name
- goldenprofile/llm-skills★ 3same name
- 45ck/documentation-evidence-skills★ 2same name
- Bosh-Kuo/awesome-agent-toolkit★ 2same name
5 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- bug-investigatorSkill
- build-executorSkill
- code-reviewerSkill
- contract-builderSkill
- need-explorerSkill
- release-archivistSkill
- spec-mergerSkill
- workflow-startSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 3 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Before executing a CLI line below, replace its leading SSF with node "<plugin-root>/scripts/spec-superflow.mjs".
- Distinctive: line 12
Create or refine planning artifacts when the change has moved beyond exploration.
- Very specific: line 22
Read .spec-superflow.yaml (especially dp_0_decisions, dp_0_confirmed) and any existing planning artifacts.
- Very specific: line 26
Run: SSF runtime config --get artifacts.order — generate in configured order (default: proposal → specs → design → tasks).
- Very specific: line 37
Honor DP-0: Read dp_0_decisions, respect confirmed constraints, don't silently expand scope.
- Distinctive: line 40
Must state: observed problem, what changes, in/out scope, impact areas, and proof of completion.
- Very specific: line 43
Every requirement must be testable.
- Distinctive: line 46
Must have: relevant facts and constraints, goals and non-goals, decisions (Choice + Rationale + Alternatives + Consequences), and risks …
- Very specific: line 70
Must use the template checkbox format (one - [ ] per task on its own line).
- Very specific: line 82
After DP-2 is recorded, remain in specifying and continue to contract-builder.
- Very specific: line 86
Do not start implementation after writing planning artifacts.
“Common” is measured: kept by at least 6 in 10 of the 12 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
Bundled runtime
Before executing a CLI line below, replace its leading SSF with node "<plugin-root>/scripts/spec-superflow.mjs"; <plugin-root> is the absolute directory two levels above this file. Never run SSF literally or call an ssf from PATH.
Create or refine planning artifacts when the change has moved beyond exploration.
New planned changes
For a new request (no state or workflow auto), or workflow_variant planned, write proposal.md and tasks.md together without pausing between individual artifacts. Proposal holds the goal, in/out scope, acceptance and risks; tasks holds ordered deliverables and proof commands. Add specs only for behavior needing durable scenarios and design only for unresolved architectural decisions. Do not create execution-contract.md or duplicate the task list in another plan.
Check shared interfaces against the real source once, then self-check the problem, scope, dependencies and proof. Present one approval request only if this concrete plan lacks approval. After approval run SSF workflow start <dir> --path planned --confirm --reason "<user decision>" and continue implementation. No intermediate planning/bridging transitions or independent reader agent. A semantic revision uses the same command after approval; a nonsemantic correction uses execution resync and retains failed-review history. The remaining sections apply only to existing legacy changes.
Required Inputs
Read .spec-superflow.yaml (especially dp_0_decisions, dp_0_confirmed) and any existing planning artifacts. If dp_0_confirmed is not true, stop and route back to workflow-start for DP-0.
Config Check
Run: SSF runtime config --get artifacts.order — generate in configured order (default: proposal → specs → design → tasks). Run with artifacts.skip — skip any listed artifacts.
Artifact Roles
proposal.md: why and scopespecs/: required behavior (testable)design.md: architecture decisions and trade-offs (not line-by-line)tasks.md: dependency-aware implementation steps
Working Rules
Honor DP-0: Read dp_0_decisions, respect confirmed constraints, don't silently expand scope. Pause on unconfirmed decisions.
proposal.md
Must state: observed problem, what changes, in/out scope, impact areas, and proof of completion. Prefer concrete facts over empty adjectives such as “better”, “robust”, or “efficient”.
specs/
Every requirement must be testable. Use SHALL or MUST. Every requirement must have at least one #### Scenario: with WHEN/THEN. Group under ADDED/MODIFIED/REMOVED Requirements headers.
design.md
Must have: relevant facts and constraints, goals and non-goals, decisions (Choice + Rationale + Alternatives + Consequences), and risks with verification evidence. Do not invent stakeholders, migration steps, or open questions when they do not affect the decision.
tasks.md
Must include a delivery/proof map and dependency-aware tasks. Each task names the affected path or bounded area, the observable outcome, and the evidence command. Keep RED/GREEN details, review receipts, and dispatch mechanics in the execution contract/task brief; do not inflate reader-facing tasks into five ritual substeps.
Artifact Generation
Enter specifying before creating or editing planning artifacts: run SSF state transition <change-dir> specifying only if not already there. On resume, continue incomplete artifacts; do not self-transition. Full planning may omit specs only for explicitly unchanged behavior, and may omit design by configuration. Full cannot skip tasks: correct this configuration before generating the pack.
When DP-0 has made the scope clear, generate the configured planning pack (proposal, delta specs from templates/spec.md, design, and tasks) in order without pausing between individual artifacts. Validate the pack, then request one DP-2 review. Pause earlier only when the missing decision can change user-visible behavior, compatibility, security, delivery scope, or the selected design; or when artifacts state incompatible scope.
Validation Checklist
proposal.md
## Why> 50 chars,## What Changes,## Scope(In/Out),## Impact, no TBD/TODO; claims name an observed problem and a completion proof
specs/
- SHALL/MUST for required behavior,
#### Scenario:with WHEN/THEN per requirement, grouped under delta headers, no contradictions
design.md
- facts/constraints, goals/non-goals,
## Decisions(≥1, with Choice+Rationale+Alternatives+Consequences), risks and verification
tasks.md
- delivery/proof map, numbered tasks, affected paths or bounded areas, observable outcomes, no placeholders, every requirement mapped, explicit dependencies
- Must use the template checkbox format (one
- [ ]per task on its own line); the guard enforces this format when entering execution
If any artifact fails validation, fix before handing off to contract-builder.
DP-2: Artifact Review Gate
Present a concise summary of the configured artifacts. Self-check five questions once: problem, command boundary, invalidation boundary, continuation boundary, and document flow. Do not dispatch a blind-reader subagent unless the user explicitly requested delegation. Reuse approval already covering these artifacts; ask one consolidated question only for a new material decision or missing artifact approval. Do not add a separate continuation question. After approval:
SSF state set <change-dir> dp_2_result "approved: <summary>"
SSF state set <change-dir> dp_2_timestamp nowAfter DP-2 is recorded, remain in specifying and continue to contract-builder.
Handoff Rule
Do not start implementation after writing planning artifacts. Once stable, validated, and DP-2 is recorded, hand off to contract-builder.
Exception Handling
- Parse failures: Report specific file/error; don't generate from corrupted templates
- Missing templates: Fall back to artifact structure defined in this skill
- User interruption: Artifacts on disk are the recovery checkpoint; resume from first missing/incomplete one
- Validation failure: Fix before handoff — do not hand off broken artifacts
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.

