spec-workflow
Skill3 starsChanged 8 months agoMITView on GitHub
Spec-driven development workflow. Use when creating new features, writing specs, planning implementation from specs, mapping specs to tests, or when the user references a spec file. Triggers on spec creation, implementation planning, or any mention of specs, requirements, or acceptance criteria.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- yourhoneypomelo-cell/agent-workspace-templatetheir own version, first seen Nov 8, 2026
- komluk/scaffoldingtheir own version, first seen Nov 7, 2026
- TencentCloudBase/skillstheir own version, first seen Nov 6, 2026
- tovrleaf/openkatatheir own version, first seen Nov 1, 2026
- mahdyarief/spec-driven-agent-kittheir own version, first seen Nov 1, 2026
- Onlyaguest/ViviStableSkillstheir own version, first seen Oct 10, 2026
Other versions10 projects use a version of this.
Word for word · 1
- masonhuemmer/dops★ 3100% same
Edited · 0
None found.
Wrote their own version · 9
- TencentCloudBase/skills★ 80same name
- aws-samples/sample-claude-code-agent-team★ 67same name
- Onlyaguest/ViviStableSkills★ 18same name
- komluk/scaffolding★ 16same name
- ramboz/jig★ 7same name
- yourhoneypomelo-cell/agent-workspace-template★ 2same name
- tovrleaf/openkata★ 1same name
- mahdyarief/spec-driven-agent-kit★ 0same name
- XiaMuYao/claude-skill★ 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 repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bubbletea-patternsSkill
- charm-stylingSkill
- clean-code-boundariesSkill
- clean-code-designSkill
- clean-code-errorsSkill
- clean-code-functionsSkill
- clean-code-namingSkill
- clean-code-solidSkill
- clean-code-testingSkill
- cli-structureSkill
- create-runbookSkill
- demo-recordingSkill
- mutation-testingSkill
- shell-scriptsSkill
- tdd-workflowSkill
- tui-layoutSkill
- tui-testingSkill
- wizard-formsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
5
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 58
Create the plan in plans/ as an active plan
- Distinctive: line 60
Only after explicit approval, begin implementation
- Very specific: line 61
When implementation is complete and verified, move the plan to plans/completed/
- Very specific: line 64
Only approved plans are moved to plans/completed/ — rejected or abandoned plans are deleted
- Distinctive: line 66
Never implement an unapproved plan
- Distinctive: line 87
If it's not in the spec, don't build it
- Distinctive: line 88
If the spec is ambiguous, clarify it before coding — don't guess
- Distinctive: line 89
If implementation reveals a gap in the spec, update the spec first
“Common” is measured: kept by at least 6 in 10 of the 8 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
This project follows a spec-driven development process. Specs are the source of truth for what gets built.
Spec Format
Specs are plain markdown files stored in specs/. Each spec describes one feature or capability.
Structure:
# Feature Name
## Overview
One paragraph describing what this feature does and why it exists.
## Requirements
- Concrete, testable requirements
- Each requirement maps to one or more tests
- Use precise language — "must", "should", "may" per RFC 2119
## Acceptance Criteria
- [ ] Criterion 1 — specific, verifiable condition
- [ ] Criterion 2
- [ ] Criterion 3
## Error Cases
- What happens when X fails
- What the user sees when Y is invalid
## Out of Scope
- What this feature explicitly does NOT do (prevents scope creep)Plans
Plans are implementation proposals that must be approved before work begins.
Directory structure:
plans/
├── 2026-03-22-deploy-command.md # Active (in progress or awaiting approval)
├── 2026-03-22-config-loading.md # Active
└── completed/
├── 2026-03-20-project-setup.md # Approved and done
└── 2026-03-21-cli-skeleton.md # Approved and doneNaming: YYYY-MM-DD-<short-description>.md — datetime prefix followed by a kebab-case description.
Lifecycle:
- Create the plan in
plans/as an active plan - Present to user for review and approval
- Only after explicit approval, begin implementation
- When implementation is complete and verified, move the plan to
plans/completed/
Rules:
- Only approved plans are moved to
plans/completed/— rejected or abandoned plans are deleted - A plan that needs revision stays in
plans/until re-approved - Never implement an unapproved plan
Workflow
- Write the spec first — before any code
- Create a plan — write an implementation plan in
plans/YYYY-MM-DD-<description>.md - Get approval — present the plan to the user; do not proceed without explicit approval
- Write tests from acceptance criteria — each criterion becomes one or more test cases
- Implement to pass the tests — the spec and approved plan define the boundary of work
- Verify — all acceptance criteria checked off
- Complete the plan — move the approved plan to
plans/completed/
Spec-to-Code Traceability
- Names mirror spec language — if the spec says "deployment target", the type is
DeploymentTarget - Tests reference the spec — test names reflect acceptance criteria
- Functions map to requirements — if you can't trace a function to a spec, question it (YAGNI)
- Error handling matches spec error cases — every documented error scenario has a test
Rules
- If it's not in the spec, don't build it
- If the spec is ambiguous, clarify it before coding — don't guess
- If implementation reveals a gap in the spec, update the spec first
- Specs are living documents — update them when requirements change
- Acceptance criteria are the definition of done
Spec Review Checklist
Before implementing:
- Every requirement is testable (no vague language like "should be fast")
- Error cases are documented
- Out of scope is defined
- No implicit requirements — everything is explicit
- Naming is consistent with existing specs and codebase
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.

