spec-harness-spec
Skill34 starsChanged 5 months agoMITView on GitHub
Turn a rough brief into a structured, testable spec.md (the 'what'). Use when Malik says 'spec this', 'write the spec for X', or 'what are the requirements'. First SDD step.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/app_feature_first_architecture.mdcCursor rule
- .cursor/rules/app_rules.mdcCursor rule
- .cursor/rules/best_practices.mdcCursor rule
- mobilelauncherSkill
- spec-harness-auditSkill
- spec-harness-buildSkill
- spec-harness-generate-agentsSkill
- spec-harness-installSkill
- spec-harness-learnSkill
- spec-harness-planSkill
- spec-harness-rulesSkill
- spec-harnessSkill
- spec-harness-tasksSkill
- spec-harness-ticketsSkill
- spec-harness-verifySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Every correction or FAIL cause goes through spec-harness-learn → a dated rule.
- Distinctive: line 20
Never scaffold the second-brain vault.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
spec-harness-spec
Produce the 'what': a spec.md with testable acceptance criteria, grounded in the memory bank + index so it references real components and reuses what exists.
Run it
- Load the full procedure — read the command doc and follow it exactly:
.claude/commands/spec-harness/spec.md(this repo) or the spec-harness sourcecommands/spec.md. - Agents — spawn from
.claude/agents/: researcher. - Stay inside the 3 pillars — memory bank (
.memory/) · Spec-Driven Development · Harness (ratchetAGENTS.md+ verifier + learning loop). ReadSPEC-HARNESS.mdfor how this repo is wired.
Non-negotiables
- The ratchet only tightens (rules are append/sharpen, never drop).
- Nothing is "done" until the separate verifier returns PASS against
goal.md. - Every correction or FAIL cause goes through
spec-harness-learn→ a dated rule. - Never scaffold the second-brain vault. Never commit a client repo unless asked.
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.

