spec-driven
Skill9 starsChanged 7 months agoApache-2.0View on GitHub
Create a SPEC.md for a feature, validate via Council, then generate failing tests from acceptance criteria before implementation.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- adeonir/agent-skillstheir own version, first seen Nov 6, 2026
- Snowflake-Labs/coco-skillstheir own version, first seen Nov 1, 2026
- NoatToan/claude-code-pluginstheir own version, first seen Nov 1, 2026
- microsoft/FSQtheir own version, first seen Oct 13, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- zazzcode/zazz-skillstheir own version, first seen Aug 1, 2026
Used with
Projects with it also use implement.
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.
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- agencia-conversion/agentic-seo-skills★ 51same name
- Snowflake-Labs/coco-skills★ 49same name
- microsoft/FSQ★ 23same name
- adeonir/agent-skills★ 8same name
- creoaurea-devlab/agentic-skills★ 4same name
- zazzcode/zazz-skills★ 4same name
- 90sRehem/agent-skills★ 2same name
- b12consulting/skills★ 2same name
- hbarbosa02/alaz-mcp-nestjs★ 2same name
- aprameyak/coding-skills★ 1same name
4 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 repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cli/CLAUDE.mdCLAUDE.md
- control-plane-api/CLAUDE.mdCLAUDE.md
- control-plane-ui/CLAUDE.mdCLAUDE.md
- e2e/CLAUDE.mdCLAUDE.md
- portal/CLAUDE.mdCLAUDE.md
- stoa-gateway/CLAUDE.mdCLAUDE.md
- analyticsSkill
- cartoSkill
- ci-debugSkill
- ci-fixSkill
- competitive-watchSkill
- councilSkill
- decomposeSkill
- extractSkill
- fill-cycleSkill
- generate-backlogSkill
- impactSkill
- memory-consolidateSkill
- monitor-cdSkill
- parallel-reviewSkill
- pr-guardianSkill
- rewriteSkill
- roadmapSkill
- sync-planSkill
- verify-megaSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
If a CAB-XXXX ID is given, fetch the ticket from Linear: linear.get_issue("CAB-XXXX")
- Very specific: line 24
Write to branch root as SPEC.md
- Distinctive: line 28
Run the 4-persona Council but evaluate the spec quality, not the feature itself:
- Distinctive: line 45
All tests MUST fail (red) at this stage.
- Distinctive: line 49
Write code to make all tests pass.
- Distinctive: line 53
All spec tests green
- Distinctive: line 54
No other tests broken
- Distinctive: line 61
Every acceptance criterion = exactly one test
- Distinctive: line 63
If spec changes during implementation, re-run Council
“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-Driven Development
CAB-2005: Formalize the spec-first pattern. Council validates the spec BEFORE code. Acceptance criteria become test cases. Tests are written BEFORE implementation.
Usage
/spec-driven CAB-XXXX
/spec-driven "feature description"Step 1: Create Spec
- If a CAB-XXXX ID is given, fetch the ticket from Linear:
linear.get_issue("CAB-XXXX") - Copy template from
.claude/templates/SPEC.md - Fill in: Problem, Goal, API Contract, Acceptance Criteria, Edge Cases
- Write to branch root as
SPEC.md
Step 2: Council on Spec (Stage 1 variant)
Run the 4-persona Council but evaluate the spec quality, not the feature itself:
- Chucky: Are edge cases covered? Missing failure modes?
- OSS Killer: Is the goal measurable? Will this deliver user value?
- Archi: Is the API contract consistent with existing patterns? Breaking changes?
- Better Call Saul: Security considerations complete? PII/GDPR noted?
Threshold: >= 7.0 to proceed. Below 7.0: revise spec first.
Step 3: Generate Failing Tests
From each acceptance criterion, generate a test:
- Python (api):
test_spec_ac1_<description>()intests/test_spec_<ticket>.py - TypeScript (ui/portal):
describe('spec/CAB-XXXX', () => { it('AC1: ...') })insrc/__tests__/spec/ - Rust (gateway):
fn spec_ac1_description()in inline#[cfg(test)] mod tests
All tests MUST fail (red) at this stage. If any passes, the criterion is already met or the test is wrong.
Step 4: Implement
Write code to make all tests pass. Standard Pattern 3 workflow.
Step 5: Verify
- All spec tests green
- No other tests broken
SPEC.mdstays in the branch (committed with the PR) as documentation
Rules
- Spec lives in branch root, committed in the same PR as the implementation
- Council scores the spec, not the implementation plan
- Every acceptance criterion = exactly one test
- Edge cases table = additional tests (tagged
@edge-case) - If spec changes during implementation, re-run Council
.spec.md= technical only. Business data → stoa-strategy (private repo)
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.

