agent-skills / specs
CLAUDE.md2 starsChanged 49 days agoMITView on GitHub
This file provides guidance when working in specs/. It auto-loads in Claude Code when you read or edit files in this directory. Design specs live at specs/<N>-<topic>/, normally as a plan.md + tasks.md pair. The pre-flight check that runs before you start writing a spec ("verify the current version, line count, and recent commits for the skill") stays in the root CLAUDE.md under Planning Workflow, because it must fire before you touch anything under this directory. Spec step numbers drift:…
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- evals/CLAUDE.mdCLAUDE.md
- skills/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- compact-messageSkill
- js-depsSkill
- learnSkill
- peer-reviewSkill
- pr-commentsSkill
- pr-human-guideSkill
- ship-itSkill
- uv-depsSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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 9
Spec step numbers drift: When editing or reviewing specs for an existing skill, verify step numbers (e.g.
- Very specific: line 11
Check off spec tasks as you complete them: When working through a specs/*/tasks.md, mark each - [ ] item as - [x] immediately after …
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md 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
Specs
This file provides guidance when working in specs/. It auto-loads in Claude Code when you read or edit files in this directory.
Design specs live at specs/<N>-<topic>/, normally as a plan.md + tasks.md pair. The pre-flight check that runs before you start writing a spec ("verify the current version, line count, and recent commits for the skill") stays in the root CLAUDE.md under Planning Workflow, because it must fire before you touch anything under this directory.
Rules
Spec step numbers drift: When editing or reviewing specs for an existing skill, verify step numbers (e.g. "Step 5", "Step 6") against the current SKILL.md — they shift as skills evolve and specs can silently fall out of sync.
Check off spec tasks as you complete them: When working through a specs/*/tasks.md, mark each - [ ] item as - [x] immediately after completing it — do not batch updates at the end.
When editing a spec that has both plan.md and tasks.md, apply every fix to both files in the same pass and re-read both before finishing — a fix applied to only one file is incomplete and will require a follow-up consistency pass to catch what was missed.
Update a spec's embedded copy of a real file (test snippet, verification command) in the same commit as the file — a re-runner follows the spec, not the code.
After implementing review suggestions to spec files, re-read all modified files before reporting done — catch consistency gaps yourself rather than leaving them for the next review round. For plan/tasks pairs, re-read both files end-to-end even when only one was edited.
Use phrase anchors, not line numbers, when referencing locations in files under active development — hardcoded line numbers shift the moment the first edit lands. Write "find the sentence containing 'X'" rather than "edit line N." This applies to spec task descriptions referencing benchmark.md, SKILL.md, or any file that will be edited in the same phase.
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.

