agentleFS
AndrewTtofiAndrewTtofi/spine/CLAUDE.md

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
  1. Distinctive:

    Every shipped skill MUST:

    line 7
  2. Very specific:

    Run node scripts/validate.mjs before every commit.

    line 14
  3. Very specific:

    Keep SKILL.md thin. Put depth in sibling reference files (progressive disclosure) and link to them.

    line 21
  4. Very specific:

    Every lifecycle skill declares its Spine I/O — what it reads from and writes to .spine/.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 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 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.