warden-spec
Skill2 starsChanged 37 days agoMITView on GitHub
Template and rules for writing a task spec in docs/specs/ before any implementation. Use when starting a new feature, fix or refactor in AgentWarden.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- dev-workflowSkill
- eval-caseSkill
- hook-protocolSkill
- judge-tuningSkill
- meta-apiSkill
- meta-redteamSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Every task starts with docs/specs/NNN-short-name.md.
- Very specific: line 14
Every spec that touches hooks, the daemon, the judge or providers lists its failure paths explicitly, and each must end in ask.
- Distinctive: line 16
If the spec changes behaviour a judge could see in the demo, say so under "Demo impact".
- Distinctive: line 20
When the spec is done:
- Very specific: line 22
Small: write the tests, implement until make test is green, tick the criteria, commit.
- Very specific: line 25
Commit messages start with the NNN: prefix.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Writing a spec
Every task starts with docs/specs/NNN-short-name.md. NNN is the next free three-digit number. Copy docs/specs/000-template.md.
Rules:
- One spec = one reviewable change, ideally one evening of work.
- Acceptance criteria are checkable: a test name, a command and its output, or a metric threshold. "Works well" is not a criterion.
- Every spec that touches hooks, the daemon, the judge or providers lists its failure paths explicitly, and each must end in
ask. - "Out of scope" is mandatory. It stops the agent from gold-plating.
- If the spec changes behaviour a judge could see in the demo, say so under "Demo impact".
Mark the size at the top of the spec: Size: small or Size: large (rules in CLAUDE.md).
When the spec is done:
- Small: write the tests, implement until
make testis green, tick the criteria, commit. - Large:
planner→test-writer→ implement →reviewer→ fix findings → tick the criteria → commit.
Commit messages start with the NNN: prefix.
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.

