spec-workflow
Skill1 starsChanged 13 days agoMITView on GitHub
Drives feature development through a repo-stored, phased spec workflow: specify requirements, design architecture, break into atomic tasks, then implement autonomously with frequent per-task commits and a progress log for session continuity. Use when the user says "let's spec this", "new feature", or "let's plan", or when a change touches 3+ files, adds dependencies, alters infrastructure, or requires trade-off decisions. Distinct from general coding assistance: this skill manages a persistent spec directory lifecycle (Draft → Implementing → Done) with explicit phase gates and user confirmation checkpoints before each transition.
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
- mahdyarief/spec-driven-agent-kittheir own version, first seen Nov 1, 2026
- Onlyaguest/ViviStableSkillstheir own version, first seen Oct 10, 2026
- ramboz/jigtheir own version, first seen Jun 22, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- 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
- masonhuemmer/dops★ 3same name
- rundops/dops★ 3same name
- yourhoneypomelo-cell/agent-workspace-template★ 2same 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openkata-eval-runnerSkill
- openkata-optimize-skillsSkill
- openkata-review-ruleSkill
- openkata-review-skillSkill
- openkata-rule-conventionsSkill
- openkata-ryu-releaseSkill
- openkata-skill-conventionsSkill
- commit-conventionsSkill
- create-adrSkill
- create-evalsSkill
- create-profileSkill
- create-ruleSkill
- create-skillSkill
- critical-thinkingSkill
- github-create-prSkill
- git-worktreeSkill
- grill-meSkill
- grill-with-docsSkill
- makefile-conventionsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Ask user about validation → validate in fresh session
- Very specific: line 38
Read specs/_current to determine state:
- Very specific: line 43
All tasks Done, no validation-report.md → Validate
- Very specific: line 46
If no specs/ directory exists, create it.
- Very specific: line 76
When specs/_current points to an active spec:
- Distinctive: line 78
Read the progress log for context from prior sessions
- Distinctive: line 79
Check git status and git log --oneline -5 to see what was last committed
- Distinctive: line 103
Commit after each task (not at the end).
- Distinctive: line 104
Keep tasks to one commit, one concern — split if a task needs multiple commits
- Very specific: line 109
Create feature branches when asked.
- Distinctive: line 114
Delete or overwrite existing specs
“Common” is measured: kept by at least 6 in 10 of the 9 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 Dev
Phase details: See references/phase-*.md for step-by-step instructions per phase.
Drive feature work from idea to implementation through repo-stored specs. Five phases: specify → design → tasks → implement → validate.
Execution Flow
- Detect state → enter correct phase
- Specify requirements with user
- Design architecture (deep only)
- Break into atomic tasks → confirm
- Implement tasks sequentially with commits
- Ask user about validation → validate in fresh session
Mode Detection
Read specs/_current to determine state:
- File missing or empty → New feature (start at Specify)
- Directory exists, no
tasks.md→ Specify or Design tasks.mdexists, tasks Pending → Implement (resume)- All tasks Done, no
validation-report.md→ Validate validation-report.mdexists → Complete
If no specs/ directory exists, create it.
Spec Directory Structure
specs/
_current # plain text: path to active spec dir, e.g. specs/0001-auth
0001-auth/
spec.md # requirements (Draft → Implementing → Done)
design.md # architecture notes (deep depth only)
tasks.md # task list with Status fields + progress log
validation-report.md # created during Phase 5
0002-payments/
...Sample specs/_current content:
specs/0001-authSample specs/0001-auth/tasks.md excerpt:
## Task 0001-03 — Add JWT middleware
Status: Pending
Files: src/middleware/auth.ts, src/routes/index.tsResuming
When specs/_current points to an active spec:
- Read the progress log for context from prior sessions
- Check
git statusandgit log --oneline -5to see what was last committed - Find the first task with Status: Pending or In Progress
- Summarize to the user: "Resuming spec NNNN, task N: [title]. Last completed: [summary]." Then continue Phase 4.
Phases
| Phase | When | Output | Reference |
| 1. Specify | New feature | spec.md with sections: Problem, Requirements, Constraints, Acceptance Criteria | phase-specify.md |
| 2. Design | Deep depth only | design.md with sections: Architecture, Key Components, Data Flow, Trade-offs | phase-design.md |
| 3. Tasks | After spec confirmed | tasks.md with atomic, commit-sized tasks, each listing Status and Files | phase-tasks.md |
| 4. Implement | Tasks are Pending | Code commits (one per task) + progress log entries | phase-implement.md |
| 5. Validate | All tasks Done | validation-report.md summarising acceptance criteria results | phase-validate.md |
See example-spec.md for a complete output example.
Rules
Do:
- One spec directory per feature; 4-digit zero-padded numbering (0001, 0002, …)
- Commit after each task (not at the end); reference the spec and task number
- Keep tasks to one commit, one concern — split if a task needs multiple commits
- Investigate code before asking — read first, ask second
- Log progress after every task for session continuity
- Spec statuses: Draft → Implementing → Done. Spec is frozen once Implementing.
- Spec the why; tasks the what. Quick depth for < 3 files, Standard for features.
- Create feature branches when asked; create and update files in
specs/
Do not:
- Skip phase gates or proceed to implementation without user confirmation on spec or tasks
- Modify files outside the current task's boundary
- Delete or overwrite existing specs
- Push without explicit user permission
Common failures:
- Skipping confirmation — building without sign-off leads to building the wrong thing.
- Tasks too large — if a task needs multiple commits, split it.
- No progress log — without log entries, the next session can't resume correctly.
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.

