spec-driven-development
Skill118 starsChanged 6 months agoApache-2.0View on GitHub
Build software via spec-driven development (github/spec-kit). Whenever the user asks for a feature larger than a one-line tweak, scaffold a spec-kit project, capture WHAT + WHY, declare tech stack, break into tasks, then iterate the implementation until tests pass.
68 other projects use a version of this.
Adopted by
Most recently taken up by
- GuillemRoca/agent-skills-androidtheir own version, first seen Oct 3, 2026
- addyosmani/agent-skillstheir own version, first seen Oct 3, 2026
- weisser-dev/agentic-skillstheir own version, first seen Oct 3, 2026
- jonhill90/skillstheir own version, first seen Sep 30, 2026
- fworks-tech/agenthoodtheir own version, first seen Sep 28, 2026
- Shelra/ShelraCodetheir own version, first seen Sep 25, 2026
Used with
Projects with it also use using-agent-skills, git-workflow-and-versioning and 10 more.
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.
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 28 projects that use this
LLl0k0laDSkillgit-workflow-and-versioning
Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams.
Also in 27 projects that use this
vinvcnSkillconstraint-driven-development
把一个项目的质量线确立为书面契约,并阻止 agent 悄悄降低它。通过访谈确定用户在意哪些维度,当用户心里没有数字时提供合理的默认阈值,把一切记录进 CONSTRAINTS.md,并盯住 diff 中质量线被削弱的迹象——新增的 @ts-ignore 或 eslint-disable 抑制注释、被跳过或删除的测试、被剥掉的断言、未实现的 stub、被调低的阈值。当没有任何质量线被写下来时使用;当用户说 "set up constraints" 或 "define our standards" 时;当用户希望把他们在意的维度——无障碍性、Web 性能、覆盖率——设置成被强制执行的约束时;当 agent 为了变绿不断静默检查或跳过测试时;当你需要一个覆盖率或性能阈值却不知道该选什么数字时;或者当 agent 写下的代码超出任何人会读的体量时。
Also in 4 projects that use this
az9713Skillcode-simplification
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.
Also in 31 projects that use this
az9713Skilldeprecation-and-migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.
Also in 20 projects that use this
- +7 more from LLl0k0laD
Other versions68 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 68
- addyosmani/agent-skills★ 101ksame name
- kdlbs/kandev★ 899same name
- shashankswe2020-ux/whoop-mcp★ 165same name
- FredAntB/Spec-Driven-Development★ 152same name
- magnus919/agent-skills★ 109same name
- tranhieutt/software_development_department★ 72same name
- drvoss/everything-copilot-cli★ 47same name
- az9713/addyosmani-agent-skills★ 38same name
- vinvcn/addyosmani-agent-skills-zh★ 38same name
- jmxt3/gitscape.ai★ 32same name
58 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 repository21 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- app-deployerSkill
- deploy-ai-agentSkill
- drift-detectionSkill
- file-managerSkill
- flight-recorderSkill
- generation-timelineSkill
- morning-briefingSkill
- natural-language-configSkill
- network-managerSkill
- nix-optimizerSkill
- predictive-resourcesSkill
- scaled-swarm-predictSkill
- security-hardeningSkill
- self-healingSkill
- service-explorerSkill
- swarm-predictSkill
- system-configSkill
- system-monitorSkill
- system-packagesSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 0 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 65 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 136
Don't forget the audit trail: Every spec_kit_run is hash-chained in agentd's ledger.
- Very specific: line 140
After spec_kit_init: "Project scaffolded at /workspace/csv-exporter.
- Very specific: line 142
After specify: "Spec captured.
- Very specific: line 144
After plan: "Tech stack locked: Python 3.12 + click + pytest.
- Very specific: line 148
After implement (tests green): "Implementation complete.
- Very specific: line 150
If implement fails after N iterations: stop, report which tests failed, ask the user.
- Very specific: line 161
Every spec_kit_* tool call writes to agentd's hash-chained ledger:
“Common” is measured: kept by at least 6 in 10 of the 65 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 Development Skill
You ship software through GitHub's spec-kit (92K stars, MIT, baked into every osModa spawn). The workflow makes you a closed loop: humans declare WHAT and WHY; you generate plan, tasks, code; tests are the inner-loop signal of success; the human is the outer-loop reviewer.
When to invoke spec-kit
Use spec-kit when:
- The user asks for a feature implementation: "build me X", "add Y", "implement Z", "rewrite this so it does W"
- The work spans more than ~5 file edits
- Tests will exist that you can iterate against
- The user wants a reproducible artifact trail (specs, plans, tasks)
Skip spec-kit when:
- One-line fix or typo
- Operational task: use
system-monitor,self-healing,app-deployerinstead - Exploratory hack: free-form chat
- The user explicitly says "just edit the file" / "don't write a spec"
The 8-step workflow
| # | Skill | Purpose |
| 1 | speckit-constitution | Project governance: code style, test policy, language choice |
| 2 | speckit-specify | What & why (no tech stack yet). User stories with priorities. |
| 3 | speckit-clarify (optional) | Ask user for gaps before locking the plan |
| 4 | speckit-plan | Tech stack + architecture choices |
| 5 | speckit-tasks | Ordered actionable task list |
| 6 | speckit-analyze (optional) | Cross-artifact consistency check |
| 7 | speckit-checklist (optional) | Quality gates before implement |
| 8 | speckit-implement | Generate code, run tests, iterate until green |
How to call from your tool box
The two MCP tools spec_kit_init + spec_kit_run wrap the spec-kit workflow. Use them — don't shell out to specify directly. Tool calls are audit-ledgered; raw shell isn't.
Step 1 — scaffold
spec_kit_init({
project_name: "csv-exporter",
integration: "claude",
constitution_seed: "Python 3.12+, pytest for tests, no async, single binary"
})Returns { project_path: "/workspace/csv-exporter", skills: [9 speckit-*], next_action }. The 9 skills become available as /speckit-* slash commands inside that project.
Step 2 — set governance
spec_kit_run({
project_path: "/workspace/csv-exporter",
command: "constitution",
prompt: "Python 3.12+, pytest, no async runtime, all functions have docstrings, max 200 LOC per module"
})Writes /workspace/csv-exporter/memory/constitution.md. Read the user's .specify/.constitution-seed.md first if it exists — they may have pre-staged principles.
Step 3 — capture WHAT and WHY
spec_kit_run({
project_path: ".../csv-exporter",
command: "specify",
prompt: "<user's exact feature request, expanded with their goals>"
})Resist the urge to declare a tech stack here — that's step 4. Specify is purely product-level.
Step 4 — clarify (only if specify left gaps)
spec_kit_run({ command: "clarify", prompt: "" })This is interactive in the user-facing flow. From your loop: skip unless specify output mentions ambiguities.
Step 5 — declare the plan
spec_kit_run({
command: "plan",
prompt: "Python 3.12, click for CLI, pandas for parsing, pytest for tests, single-file binary via shiv"
})Writes /specs/<feature>/plan.md.
Step 6 — break into tasks
spec_kit_run({ command: "tasks", prompt: "" })Writes /specs/<feature>/tasks.md with numbered ordered tasks.
Step 7 — implement
spec_kit_run({
command: "implement",
prompt: "",
timeout_seconds: 1800 // give it 30 min for non-trivial features
})This is the long step. The agent reads tasks.md, generates code, runs tests, iterates. Do not interrupt unless the user explicitly aborts. Token usage will be high — that's by design (token-max philosophy).
Common pitfalls
- Don't run
implementbeforeplan— the implement step readsplan.mdfor the tech stack. Without it, the agent guesses (often wrong). - Don't write the spec FOR the user. Capture their exact words for the WHAT/WHY. If their description is too vague to act on, run
clarifyinstead of inventing requirements. - Don't skip
constitutionfor multi-feature projects. It's the cross-feature governance contract. Without it, feature 2 will violate decisions you implicitly made in feature 1. - Don't run two
spec_kit_runs in parallel for the same project. They contend for the same.specify/state. Sequence them. - Don't forget the audit trail. Every
spec_kit_runis hash-chained in agentd's ledger. Queryingagentctl events --type spec-kitshows the full project history. Show this to the user when they ask "what did you do?"
Telling the user about progress
After spec_kit_init: "Project scaffolded at /workspace/csv-exporter. Now capturing requirements."
After specify: "Spec captured. Read /workspace/csv-exporter/specs/0001-*/spec.md and review the user stories. Want me to clarify anything before locking the plan?"
After plan: "Tech stack locked: Python 3.12 + click + pytest. Tasks coming next."
During implement: report at task boundaries. Don't stream every line of compile output.
After implement (tests green): "Implementation complete. Tests pass. Specs and code are at /workspace/csv-exporter/. Next: review the diff (git diff if you initialized git) or run the binary."
If implement fails after N iterations: stop, report which tests failed, ask the user. Don't burn tokens flailing — they're cheap, but goodwill isn't.
Reference templates
The pre-deployed templates live at /var/lib/osmoda/templates/spec-kit/. Useful when:
- A user asks "what does a spec look like?" — show them
spec-template.md - You want to reference the canonical constitution structure —
constitution-template.md - You're debugging why a
speckit-*skill output looks wrong — compare against the template
Audit + visibility
Every spec_kit_* tool call writes to agentd's hash-chained ledger:
agentctl events --type spec-kit --limit 20External integrators can query the per-server /api/v1/spec-kit/projects endpoint (see Phase 7-LITE) to discover all spec-kit projects on a given osModa server. This makes the substrate queryable in the YC sense — every action produces an artifact the intelligence at the center of the company can learn from.
Why this skill exists
osModa's positioning: GitHub gives you the workflow. osModa gives you the workstation. Spec-driven development is the canonical AI-coding-agent workflow as of 2026 — joining it is how we live the "software factories" YC principle structurally, not aspirationally. Use it for non-trivial work; the user is opting into a real software factory each time.
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.

