agentleFS
AndrewTtofiAndrewTtofi/spine/skills/init/SKILL.md

init

Skill2 starsChanged 6 months agoMITView on GitHub

Use to bootstrap the .spine/ project-memory store in a repo before using the other skills. Detects the stack and seeds context.md, conventions.md, and journal.md. Run once per repo.

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use migrate, survey and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • genomewalkerSkill

    migrate

    Import soul data from SQLite or shared chitta files

    Also in 8 projects that use this

  • SNL-UCSBSkill

    survey

    Literature survey assistant with four modes: /survey intent (capture student goals, expertise, and success criteria), /survey triage (landscape mapping via NotebookLM), /survey deepen (structured reading with craft and visualization extraction), /survey synthesize (cross-paper analysis for related work, area exams, gap identification). Also: /survey expand (corpus growth proposals). Use when students mention reading papers, literature review, related work, area exam prep, paper corpus, or any systematic reading task.

    Also in 3 projects that use this

  • pvnarpSkill

    bug

    Investigates and resolves bugs using structured diagnosis. Categorizes by system, traces root cause, proposes minimal fix, and suggests prevention. Use when debugging issues or investigating unexpected behavior.

    Also in 3 projects that use this

  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 3 projects that use this

  • Eipi-TongSkill

    adopt

    Onboard an existing codebase into the starter kit. Use when the user says "adopt this project", "add the kit to my existing repo", or "set up the kit on existing code".

    Also in 3 projects that use this

  • mlz11Skill

    reset

    Completely reset ClaudeNotifier installation, removing all components and permissions

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 80 edited versions we read keep these.

  • 1

    Distinctive

    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
  1. Very specific:

    Check for an existing Spine: If .spine/ already exists, report what's there and ask whether to refresh specific files rather than …

    line 13
  2. Distinctive:

    Never invent commands you haven't verified exist in the manifest/scripts.

    line 56

“Common” is measured: kept by at least 6 in 10 of the 80 edited versions of this file we could read. “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
SKILL.md

init — bootstrap the Spine

The Spine (.spine/) is the shared memory every andreas-skill reads and writes. This skill creates it.

Steps

  1. Check for an existing Spine. If .spine/ already exists, report what's there and ask whether to refresh specific files rather than overwriting.
  2. Detect the stack. Inspect manifests (package.json, pyproject.toml, go.mod, Cargo.toml, etc.) and config to infer language, framework, test runner, and the install/test/typecheck/build commands.
  3. Create the structure:
    • .spine/context.md
    • .spine/conventions.md
    • .spine/journal.md
    • .spine/decisions/ (empty, with a .gitkeep) Seed each from this skill's templates/, filling in detected values. Leave <placeholders> only where you genuinely lack information, and flag them.
  4. Install the contracting gate. This makes align fire for every non-trivial request in this repo — the gate ships with the Spine, not just with the plugin. Two artifacts, both merged into what already exists (never clobber):
    • .claude/settings.json — merge in the UserPromptSubmit hook from templates/settings.gate.json. It self-gates on .spine/ existing, so it stays silent in a checkout where the Spine was removed. If the file already has a hooks.UserPromptSubmit array, append this entry; don't duplicate it if an identical Spine-gate command is already present.
    • CLAUDE.md — append the block from templates/claude-gate.md (create CLAUDE.md if absent). It's wrapped in opening/closing spine:contracting-gate markers; if the opening marker is already present anywhere in the file, the block is installed — leave it, don't add a second copy.
  5. Confirm with the user. Show the seeded conventions.md commands and the context.md architecture map; correct anything wrong before finishing. Mention that the contracting gate is now active.
  6. Suggest committing .spine/, .claude/settings.json, and CLAUDE.md so the memory and the gate are shared with the team.
  7. Point to the dashboard. Tell the user they can view the Spine anytime in a browser with npx spine-dashboard (read-only).

Spine I/O

  • Writes: context.md, conventions.md, journal.md, decisions/.
  • Also writes (outside .spine/): .claude/settings.json (contracting-gate hook), CLAUDE.md (contracting-gate instruction).

Notes

  • Never invent commands you haven't verified exist in the manifest/scripts.
  • The Spine is for durable knowledge, not transient chatter.
  • Merge, never overwrite, .claude/settings.json and CLAUDE.md — they routinely hold unrelated config the user cares about.

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.