spine
CLAUDE.md2 starsChanged 6 months agoMITView on GitHub
Skills live under skills/, one directory per skill, each with a SKILL.md. Every shipped skill MUST: - be listed in .claude-plugin/plugin.json - be referenced (linked) in the top-level README.md - be listed in skills/README.md .claude-plugin/plugin.json must carry name, description, version, author. Run node scripts/validate.mjs before every commit. It must pass. - Frontmatter name must match the skill's folder name. - description should include explicit trigger phrases ("Use when ...") so the skill activates reliably. - Keep SKILL.md thin. Put depth…
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Every shipped skill MUST:
- Very specific: line 14
Run node scripts/validate.mjs before every commit.
- Very specific: line 21
Keep SKILL.md thin. Put depth in sibling reference files (progressive disclosure) and link to them.
- Very specific: line 23
Every lifecycle skill declares its Spine I/O — what it reads from and writes to .spine/.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
Repository conventions
Skills live under skills/, one directory per skill, each with a SKILL.md.
Wiring (enforced by scripts/validate.mjs)
Every shipped skill MUST:
- be listed in
.claude-plugin/plugin.json - be referenced (linked) in the top-level
README.md - be listed in
skills/README.md
.claude-plugin/plugin.json must carry name, description, version, author.
Run node scripts/validate.mjs before every commit. It must pass.
Skill conventions
- Frontmatter
namemust match the skill's folder name. descriptionshould include explicit trigger phrases ("Use when ...") so the skill activates reliably.- Keep
SKILL.mdthin. Put depth in sibling reference files (progressive disclosure) and link to them. - Every lifecycle skill declares its Spine I/O — what it reads from and
writes to
.spine/.
The Spine
.spine/ is the per-repo memory store: context.md, conventions.md,
journal.md, and decisions/. Skills read and write it. init creates it;
remember compacts it. It is the connective tissue across phases and sessions.
<!-- spine:contracting-gate (managed by spine init) -->The contracting gate
This repo uses the Spine (.spine/). Every non-trivial request starts with
align. Before writing code or making a change for a feature, fix, or anything
ambiguous, invoke align and run it to completion — an extensive interview, an
explicit confidence score, and a context playback the user confirms. Do not
start building until confidence is high and the user has confirmed the
playback. The point is that both the agent and the user are certain the
context is right.
Trivial work is exempt: one-line edits, answering a question, mechanical chores, or anything the user has already specified unambiguously. When in doubt, align.
<!-- /spine:contracting-gate -->Labels
Work in the Spine is labelled so the path stays queryable and filterable.
ADRs carry a - **Labels:** area, topic line; journal History entries are tagged
- <date> {labels} — …. Reuse a small, shared vocabulary across both. The skills
(align, design, remember) record labels; the dashboard derives more from
commit type/scope and lets you filter the graph by them.
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.

