spec-driven-workflow
Skill2 starsChanged 9 months agoMITView on GitHub
Own the spec-first planning workflow for feature or behavior work. Use when the work needs user-visible requirements under `/doc/spec/`, a temporary execution plan in `/doc/plan.md`, ordered hierarchical sections using `Section`, `Subsection`, and optional `Sub-subsection` headings as needed, checkbox maintenance during implementation, and cleanup of the temporary plan file once all tracked work is done. Do not use this skill to decide app-code architecture or cloud platform topology.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- sebastianwessel/skillstheir own version, first seen Aug 15, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- Hussain-Elfalah/Agentic-Skillstheir own version, first seen Jun 4, 2026
- csiddhant796-blip/claude-skills-collectiontheir own version, first seen May 10, 2026
- Arnav-0/claude-code-setuptheir own version, first seen Mar 28, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Hassaan146/claude-skills★ 18same name
- sebastianwessel/skills★ 7same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
- mahiunfiltered/claude-code-skills★ 1same name
- Arnav-0/claude-code-setup★ 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 repository7 other files it gives its agents.
The file
Show its rules and text
We split this skill into the rules it gives an agent
43 rules. 0 are common, 18 are distinctive, and 25 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
18
Distinctive
This author's own choices. Worth a look.
25
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to turn a development request into a spec-first, plan-driven workflow.
- Very specific: line 11
Keep the requirements document focused on what the user sees, needs, and accepts.
- Distinctive: line 12
If the incoming request is overly detailed or repetitive, propose a higher-level goal framing, show the preserved constraints, and ask the …
- Very specific: line 17
Read references/spec-documentation.md before writing or updating /doc/spec/.
- Very specific: line 18
Read references/plan-documentation.md before creating or rewriting /doc/plan.md.
- Very specific: line 19
Read references/commit-history-guidance.md before recording shared commit history.
- Very specific: line 20
Read references/plan-execution-workflow.md before executing the plan.
- Very specific: line 22
if /doc/spec/ is empty or the relevant spec does not exist yet, start by creating the initial user-facing spec under /doc/spec/
- Distinctive: line 23
if the incoming instruction is overly fine-grained, propose a higher-level goal framing and ask the instruction giver to review it before …
- Very specific: line 24
create or update the temporary execution tracker in /doc/plan.md
- Very specific: line 27
keep /doc/plan.md checkboxes current
- Distinctive: line 30
update the spec and plan if accepted behavior or execution sequence changes
- Very specific: line 37
Document the user-visible requirement under /doc/spec/ before substantial implementation begins.
- Very specific: line 38
If /doc/spec/ has no relevant document for the request yet, create the initial spec before creating the main implementation.
- Very specific: line 39
Create or update /doc/plan.md before substantial implementation so execution is tracked in one place.
- Very specific: line 40
Keep /doc/plan.md temporary.
- Distinctive: line 41
When incoming instructions are overly fine-grained or repetitive, propose a higher-level goal that preserves the user's intent and ask the …
- Very specific: line 44
use a single Section for simple, directly executable work
- Very specific: line 45
add Subsection when a section spans several reviewable slices
- Very specific: line 46
add Sub-subsection only when a subsection still needs a deeper ordered breakdown
- Distinctive: line 48
Update checkboxes as work completes.
- Distinctive: line 49
Remove or rewrite stale plan items when the work changes.
- Distinctive: line 51
Keep shared commit history in Conventional Commits format when the repository uses it.
- Distinctive: line 52
Prefer one logical, reviewable work unit per commit when practical.
- Distinctive: line 54
Keep the spec and plan aligned.
- Very specific: line 55
Do not turn /doc/plan.md into a permanent history log.
- Very specific: line 61
Create /doc/spec/ if it does not exist.
- Very specific: line 62
If /doc/spec/ exists but does not yet contain a relevant document for the request, start by creating the initial spec file.
- Distinctive: line 63
Use a clear filename that ties back to the work item, typically with a stable slug.
- Distinctive: line 65
If the request arrives as repeated micro-instructions, show a higher-level goal framing around the user goal, visible outcome, and real …
- Very specific: line 71
Use /doc/plan.md as the temporary execution tracker for the current delivery unit.
- Distinctive: line 72
Start with only the hierarchy levels that the work actually needs.
- Distinctive: line 73
Keep the lowest active heading immediately executable.
- Very specific: line 74
Add Subsection only when several reviewable slices need grouping.
- Very specific: line 75
Add Sub-subsection only when a subsection still needs another ordered layer.
- Distinctive: line 77
Keep plan items about delivery steps, not vague aspirations.
- Distinctive: line 82
Check off the matching plan checkbox as each slice is finished.
- Very specific: line 83
Update /doc/plan.md if work is reordered, split, or moved between Section, Subsection, and Sub-subsection blocks.
- Distinctive: line 86
Update the spec when accepted behavior changes.
- Distinctive: line 87
Keep the active plan small enough to stay useful.
- Very specific: line 92
Delete /doc/plan.md once there is no remaining tracked work.
- Very specific: line 93
Keep the durable behavior description in /doc/spec/, not in the deleted plan file.
- Very specific: line 99
commit history and Conventional Commits guidance: references/commit-history-guidance.md
“Common” is measured: kept by at least 6 in 10 of the 6 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 Driven Workflow
Overview
Use this skill to turn a development request into a spec-first, plan-driven workflow. Capture the user-visible requirement in /doc/spec/ first, then create a temporary execution tracker in /doc/plan.md and keep the spec and plan synchronized until implementation is complete.
Keep the requirements document focused on what the user sees, needs, and accepts. Keep /doc/plan.md focused on execution state, sequencing, and checkbox progress. Delete /doc/plan.md once every tracked checkbox is complete so only durable project documents remain.
If the incoming request is overly detailed or repetitive, propose a higher-level goal framing, show the preserved constraints, and ask the instruction giver to review that reframing before you drive the spec and plan from it.
This skill owns planning artifacts and shared commit-log workflow, not app architecture or cloud platform rules. Pair it with the relevant coding or hosting skill after the spec and execution path are clear.
Quick Start
- Read
references/spec-documentation.mdbefore writing or updating/doc/spec/. - Read
references/plan-documentation.mdbefore creating or rewriting/doc/plan.md. - Read
references/commit-history-guidance.mdbefore recording shared commit history. - Read
references/plan-execution-workflow.mdbefore executing the plan. - For a new development request:
- if
/doc/spec/is empty or the relevant spec does not exist yet, start by creating the initial user-facing spec under/doc/spec/ - if the incoming instruction is overly fine-grained, propose a higher-level goal framing and ask the instruction giver to review it before drafting the spec and plan
- create or update the temporary execution tracker in
/doc/plan.md - choose only the hierarchy levels the work needs: a single
Sectionfor simple work, addSubsectionfor grouped reviewable slices, and addSub-subsectiononly when a subsection still needs a deeper ordered breakdown
- if
- During implementation:
- keep
/doc/plan.mdcheckboxes current - record changes in deliberate, reviewable commit units
- revise the plan when technical findings change the execution path, sequencing, or slice boundaries
- update the spec and plan if accepted behavior or execution sequence changes
- keep
- At completion:
- confirm all plan checkboxes are done or intentionally removed
- delete
/doc/plan.md
Non-Negotiable Rules
- Document the user-visible requirement under
/doc/spec/before substantial implementation begins. - If
/doc/spec/has no relevant document for the request yet, create the initial spec before creating the main implementation. - Create or update
/doc/plan.mdbefore substantial implementation so execution is tracked in one place. - Keep
/doc/plan.mdtemporary. Delete it when all tracked checkboxes are complete and no execution tracking is still needed. - When incoming instructions are overly fine-grained or repetitive, propose a higher-level goal that preserves the user's intent and ask the instruction giver to review it before adopting it.
- Preserve hard constraints, acceptance criteria, and externally required sequencing, but do not mirror incidental micromanagement step by step.
- Structure
/doc/plan.mdas an ordered hierarchy only to the extent the work needs it:- use a single
Sectionfor simple, directly executable work - add
Subsectionwhen a section spans several reviewable slices - add
Sub-subsectiononly when a subsection still needs a deeper ordered breakdown
- use a single
- Break work into the smallest meaningful reviewable steps and record them as checkboxes under the lowest useful heading.
- Update checkboxes as work completes. Do not leave finished steps unchecked.
- Remove or rewrite stale plan items when the work changes. Do not preserve obsolete steps just for history.
- Revise
/doc/plan.mdwhen implementation reveals a better technical path. Do not force execution to follow an outdated plan. - Keep shared commit history in Conventional Commits format when the repository uses it.
- Prefer one logical, reviewable work unit per commit when practical.
- Split behavior changes, refactors, docs, tests, and dependency updates into separate commits when they represent different reasons to change, but do not force tiny broken commits.
- Keep the spec and plan aligned. Do not let one artifact tell a different story from the other.
- Do not turn
/doc/plan.mdinto a permanent history log. When the work is done, delete it.
Workflow
1. Capture the request in /doc/spec
- Create
/doc/spec/if it does not exist. - If
/doc/spec/exists but does not yet contain a relevant document for the request, start by creating the initial spec file. - Use a clear filename that ties back to the work item, typically with a stable slug.
- Capture the request as a user-facing requirement document before writing the main implementation.
- If the request arrives as repeated micro-instructions, show a higher-level goal framing around the user goal, visible outcome, and real constraints, then ask the instruction giver to confirm it before you rely on it.
- Link the spec to
/doc/plan.mdwhile the temporary plan exists.
2. Create or update /doc/plan.md
- Create
/doc/if it does not exist. - Use
/doc/plan.mdas the temporary execution tracker for the current delivery unit. - Start with only the hierarchy levels that the work actually needs.
- Keep the lowest active heading immediately executable.
- Add
Subsectiononly when several reviewable slices need grouping. - Add
Sub-subsectiononly when a subsection still needs another ordered layer. - Once the reframed goal is reviewed, plan against that higher-level goal rather than every repeated instruction line.
- Keep plan items about delivery steps, not vague aspirations.
3. Implement and keep the workflow current
- Complete work one meaningful slice at a time.
- Check off the matching plan checkbox as each slice is finished.
- Update
/doc/plan.mdif work is reordered, split, or moved betweenSection,Subsection, andSub-subsectionblocks. - Revise
/doc/plan.mdwhen technical review or implementation findings change dependencies, sequencing, or slice boundaries. - Record progress in coherent commits that match the current execution slice.
- Update the spec when accepted behavior changes.
- Keep the active plan small enough to stay useful.
4. Finish cleanly
- Confirm every plan checkbox is complete or intentionally removed.
- Delete
/doc/plan.mdonce there is no remaining tracked work. - Keep the durable behavior description in
/doc/spec/, not in the deleted plan file.
References
- spec-writing guidance:
references/spec-documentation.md /doc/plan.mdhierarchical structure and checkbox guidance:references/plan-documentation.md- commit history and Conventional Commits guidance:
references/commit-history-guidance.md - plan execution and cleanup workflow:
references/plan-execution-workflow.md
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.

