agentleFS
DucksssDucksss/agent-agnostic-template/.agents/skills/new-skill/SKILL.md

new-skill

Skill0 starsChanged 2 months agoMIT-0View on GitHub

Create or update an agent skill in this repository. Use when asked to add a skill, turn a repeated workflow into a skill, or change an existing skill. Keeps every skill in the shared .agents/skills folder so all coding agents can use it, never directly in .claude/skills or another agent's folder.

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

5 rules. 0 are common, 0 are distinctive, and 5 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.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write the instructions in SKILL.md: numbered steps, the exact commands to run, and what a finished result looks like.

    line 30
  2. Very specific:

    Commit the skill folder together with its new link in .claude/skills/.

    line 35
  3. Very specific:

    Add a row to the top of the changelog in references/NOTES.md (version, date, author, changes) and update any other section the change …

    line 43
  4. Very specific:

    Keep SKILL.md under 500 lines.

    line 57
  5. Very specific:

    Put repeatable steps in scripts/ and call them by their path from the repository root.

    line 59

“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

Skills live in .agents/skills/<name>/. Most agents read that folder directly. Claude Code doesn't, so .claude/skills/ holds a symlink per skill, which .agents/scripts/link-skills.sh manages. Each skill also keeps reference notes in references/NOTES.md.

Create a skill

  1. Pick a name: 1-64 lowercase letters, digits and single hyphens, such as deploy-preview. Check that .agents/skills/ and .agents/skills-local/ don't already have it.
  2. Decide who it is for. Shared with the team goes in .agents/skills/. Personal and never committed goes in .agents/skills-local/ (add --local).
  3. Scaffold it from the repository root:

    .agents/skills/new-skill/scripts/create.sh <name> "<what it does and when to use it>" [--local]

    This writes SKILL.md and references/NOTES.md and links the skill into .claude/skills/.

  4. Write the instructions in SKILL.md: numbered steps, the exact commands to run, and what a finished result looks like.
  5. Fill in all seven sections of references/NOTES.md. Write "None" or "N/A" rather than deleting a section.
  6. Run .agents/scripts/link-skills.sh check.
  7. Commit the skill folder together with its new link in .claude/skills/. Private skills are never committed.

Update a skill

  1. Edit the files in .agents/skills/<name>/.
  2. Bump metadata.version in the frontmatter: the minor number for fixes and wording, the major number when the skill's behaviour changes.
  3. Add a row to the top of the changelog in references/NOTES.md (version, date, author, changes) and update any other section the change affects.
  4. Package it for upload:

    .agents/scripts/package-skill.sh <name>

    This writes .agents/dist/<name>-v<version>.zip, including the notes.

Writing a good skill

  • The description is all an agent sees when deciding whether to use the skill. Say what the skill does and when to use it, in words a user would type.
  • Keep SKILL.md under 500 lines. Move long reference material into references/ and link to it from the steps that need it.
  • Put repeatable steps in scripts/ and call them by their path from the repository root.
  • Stick to the portable frontmatter fields: name, description, license, compatibility, metadata and allowed-tools. Fields that only one agent understands, such as Claude Code's context or hooks, stop the skill from uploading to claude.ai.
  • Quote the description if it contains a colon followed by a space.

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.