agentleFS
donniesilalahidonniesilalahi/cocreation-skills/.claude/skills/new-skill/SKILL.md

new-skill

Skill0 starsChanged 5 months agoMITView on GitHub

Scaffold a new Agent Skill in this repo from template/SKILL.md into skills/<name>/, enforcing the validate-skills.js rules so it passes validation on the first run. Use when adding a new skill to cocreation-skills.

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

11 rules. 0 are common, 2 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

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

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

    Create a new skill folder under skills/ that passes npm run validate immediately and matches repo conventions.

    line 11
  2. Very specific:

    When the user wants to add a new skill to this repo.

    line 15
  3. Very specific:

    Read $ARGUMENTS for the skill name.

    line 19
  4. Very specific:

    Read template/SKILL.md to get the current section layout.

    line 20
  5. Very specific:

    Create skills/<name>/SKILL.md from the template.

    line 21
  6. Very specific:

    Use ONLY allowed fields: name, description, license, compatibility, metadata, allowed-tools.

    line 24
  7. Distinctive:

    Keep the whole file ≤ 500 lines.

    line 25
  8. Very specific:

    If the skill needs recall/tracking, scaffold skills/<name>/memory-bank/ following an existing skill (e.g.

    line 26
  9. Very specific:

    Run npm run validate and fix anything it flags.

    line 27
  10. Very specific:

    Add the skill to .claude-plugin/marketplace.json if it should be discoverable as a plugin.

    line 28
  11. Distinctive:

    Never invent frontmatter fields.

    line 35

“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

Purpose

Create a new skill folder under skills/ that passes npm run validate immediately and matches repo conventions.

When to Use

When the user wants to add a new skill to this repo. Invoke with /new-skill <name> (kebab-case).

How to Use

  1. Read $ARGUMENTS for the skill name. Validate it: lowercase kebab-case (^[a-z0-9]+(-[a-z0-9]+)*$), ≤ 64 chars, not already present in skills/. If invalid or missing, ask for a valid name.
  2. Read template/SKILL.md to get the current section layout. Do NOT hardcode it from memory.
  3. Create skills/<name>/SKILL.md from the template. Set frontmatter:
    • name: must equal <name> exactly.
    • description: ≤ 1024 chars, stating both what the skill does and when to use it. Draft from the user's intent; confirm if unclear.
    • Use ONLY allowed fields: name, description, license, compatibility, metadata, allowed-tools. Drop the template's placeholder metadata.internal unless the skill is internal-only.
    • Keep the whole file ≤ 500 lines.
  4. If the skill needs recall/tracking, scaffold skills/<name>/memory-bank/ following an existing skill (e.g. coplan): an UPPERCASE index file with a columns: frontmatter spec, a _template.md, and an index.mjs copied/adapted to regenerate the table. Otherwise skip.
  5. Run npm run validate and fix anything it flags.
  6. Add the skill to .claude-plugin/marketplace.json if it should be discoverable as a plugin.
  7. Remind the user to bump package.json version in the PR if they want to publish (see CLAUDE.md release flow).

Principles

  • Match existing skills' tone and structure — read one before writing.
  • Move detail > 500 lines into a references/ subdir; keep SKILL.md focused.
  • Never invent frontmatter fields; the validator rejects unknown ones.

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.