agentleFS
AndrewTtofiAndrewTtofi/spine/skills/new-skill/SKILL.md

new-skill

Skill2 starsChanged 6 months agoMITView on GitHub

Use when adding a new skill to the spine repo — scaffolds a conventions-compliant SKILL.md, wires it into plugin.json, the README, and the skill index, and runs the validator until green. Meta-tooling that dogfoods spine's own contribution rules so extensions land correctly the first time.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use commit and handoff.

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

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 0

    Distinctive

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

    add ./skills/<name> to .claude-plugin/plugin.json

    line 27
  2. Very specific:

    Validate: Run node scripts/validate.mjs and fix until it prints All N skills valid.

    line 30
  3. Very specific:

    Don't bloat SKILL.md. If it's getting long, a sibling reference file is the answer.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 14 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

new-skill — scaffold a spine skill, wired and valid

Adding a skill means more than writing a SKILL.md — it must be wired into the manifest, the README, and the index, or scripts/validate.mjs fails. This skill does the whole job to the repo's own quality bar. Unlike the lifecycle skills, it operates on the spine repo itself, not a user's .spine/.

Steps

  1. Read the conventions. Load CLAUDE.md (the wiring rules the validator enforces) and CONTRIBUTING.md, and skim an existing SKILL.md as the template for voice and structure.
  2. Interview. Settle, one question at a time: the skill's name (which must equal its folder), the phase/problem it owns, explicit trigger phrases for the description, whether it's a lifecycle skill (and thus declares Spine I/O), and what sibling reference files — if any — it needs.
  3. Write skills/<name>/SKILL.md. Frontmatter name matching the folder and a description with "Use when …" triggers. Keep the body thin: a one-line intent, ## Steps, ## Spine I/O (for lifecycle skills), and ## Notes. Push depth into sibling files and link to them — progressive disclosure.
  4. Wire it in (all three, or the validator fails):
    • add ./skills/<name> to .claude-plugin/plugin.json
    • link it in the README's Skills section
    • list it in skills/README.md
  5. Validate. Run node scripts/validate.mjs and fix until it prints All N skills valid.
  6. Hand off. Suggest committing, and point at ship to open the PR.

What it touches

Unlike a lifecycle skill, this reads and writes the spine repo's own files — CLAUDE.md, CONTRIBUTING.md, .claude-plugin/plugin.json, README.md, skills/README.md, and the new skills/<name>/ directory. It does not touch a user's .spine/.

Notes

  • The validator is the test. A skill isn't done until scripts/validate.mjs is green — frontmatter name must equal the folder, and all three wirings present.
  • Match the existing skills' voice: senior-engineer terse, no ceremony.
  • Don't bloat SKILL.md. If it's getting long, a sibling reference file is the answer.

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.