agentleFS
d-oitd-oit/rust-2026-template/.agents/skills/skill-creator/SKILL.md

skill-creator

Skill11 starsChanged 6 months agoMITView on GitHub

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

188 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, skill-share 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.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 20 projects that use this

  • bkootazSkill

    artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 39 projects that use this

  • seedprodSkill

    goplaces

    Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.

    Also in 5 projects that use this

  • seedprodSkill

    things-mac

    Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.

    Also in 5 projects that use this

  • JetBrainsSkill

    slack-gif-creator

    Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.

    Also in 93 projects that use this

  • +1 more from seedprod

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 6 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    Check upstream: - Read .agents/context/external-repos.json to see if the skill already exists in a parent template

    line 17
  2. Very specific:

    Write draft: - Create SKILL.md with frontmatter and instructions

    line 19
  3. Distinctive:

    Run evals: - Test with-skill vs baseline (or old version)

    line 21
  4. Distinctive:

    Review results: - Use eval-viewer for human review + benchmarks

    line 22
  5. Very specific:

    Check .agents/context/external-repos.json for related repositories

    line 30
  6. Very specific:

    Read the shared_skills list to see if the skill already exists upstream

    line 31
  7. Very specific:

    If the skill exists upstream with override_local: false, use the canonical version via symlink

    line 32
  8. Very specific:

    If the skill exists but needs local customization, copy it and document overrides in .agents/context/README.md

    line 33
  9. Distinctive:

    Only create a genuinely new skill if no upstream equivalent exists

    line 34
  10. Very specific:

    Use progressive disclosure: move detailed content to references/

    line 65
  11. Distinctive:

    Should-trigger failing → broaden scope or add context

    line 92
  12. Distinctive:

    Should-not-trigger false-triggering → add specificity about what the skill does *not* do

    line 93
  13. Distinctive:

    Realism: Add file paths, personal context, specific details, casual language

    line 120

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

Skill Creator

Core Loop

  1. Check upstream - Read .agents/context/external-repos.json to see if the skill already exists in a parent template
  2. Capture intent - What should the skill do? When should it trigger?
  3. Write draft - Create SKILL.md with frontmatter and instructions
  4. Create test cases - Realistic prompts users would actually say
  5. Run evals - Test with-skill vs baseline (or old version)
  6. Review results - Use eval-viewer for human review + benchmarks
  7. Iterate - Improve based on feedback until satisfied
  8. Optimize description - Fine-tune frontmatter for better triggering

Before Creating a New Skill

  1. Check .agents/context/external-repos.json for related repositories
  2. Read the shared_skills list to see if the skill already exists upstream
  3. If the skill exists upstream with override_local: false, use the canonical version via symlink
  4. If the skill exists but needs local customization, copy it and document overrides in .agents/context/README.md
  5. Only create a genuinely new skill if no upstream equivalent exists

Skill Specification

Directory Structure

skill-name/
├── SKILL.md          # Required: metadata + instructions
├── scripts/          # Optional: executable code
├── references/       # Optional: documentation
├── assets/           # Optional: templates, resources
└── evals/            # Optional: test cases

Frontmatter Fields

FieldRequiredConstraints
nameYesMax 64 chars. Lowercase letters, numbers, hyphens only.
descriptionYesMax 1024 chars. Describes what the skill does AND when to use it.
licenseNoLicense name or reference to bundled license file.
compatibilityNoMax 500 chars. Environment requirements.
metadataNoArbitrary key-value mapping.
allowed-toolsNoSpace-delimited list of pre-approved tools.

SKILL.md Body

  • Keep under 250 lines
  • Use progressive disclosure: move detailed content to references/
  • Include step-by-step instructions, examples, and common edge cases

Optimizing Skill Descriptions

Core Writing Principles

  1. Use imperative phrasing — "Use this skill when..." rather than "This skill does..."
  2. Focus on user intent, not implementation — Describe what the user is trying to achieve
  3. Err on the side of being pushy — Explicitly list contexts where the skill applies
  4. Keep it concise — A few sentences; max 1024 characters

Testing & Evaluation

  1. Design trigger eval queries — Create ~20 realistic prompts (8-10 should-trigger, 8-10 should-not-trigger)
  2. Vary should-trigger queries along multiple axes: phrasing, explicitness, detail, complexity
  3. Create strong should-not-trigger queries — Use near-misses that share keywords but need something different
  4. Run each query multiple times — Model behavior is nondeterministic; run 3 times
  5. Use train/validation splits — ~60% train / ~40% validation

The Optimization Loop

  1. Evaluate on both sets — Train results guide changes; validation tells if changes generalize
  2. Identify failures in train set only — Keep validation results hidden during iteration
  3. Revise strategically:
    • Should-trigger failing → broaden scope or add context
    • Should-not-trigger false-triggering → add specificity about what the skill does not do
  4. Select best iteration by validation pass rate
  5. Check the 1024-character limit

Creating Test Cases

Store in evals/evals.json:

{
  "skill_name": "example-skill",
  "evals": [
    {
      "id": 1,
      "prompt": "User's task prompt",
      "expected_output": "Description of expected result",
      "files": [],
      "assertions": ["The output includes X"]
    }
  ]
}

Test Case Guidelines

  • Realism: Add file paths, personal context, specific details, casual language
  • Variety: Mix formal/casual, terse/context-heavy, single-step/multi-step
  • Near-misses: Include queries that share keywords but need something different

Reference Files

  • references/best-practices.md - Best practices for skill creators
  • references/evaluating-skills.md - Evaluating skill output quality
  • references/schemas.md - JSON structures for evals.json, grading.json

Rationalizations

RationalizationReality
"The skill works, I don't need evals."Without evals, you can't prove the skill works or detect regressions.
"I'll write evals later."Later never happens. Write evals alongside the skill.
"My description is fine."Bad descriptions cause false triggers or missed activations. Test them.

Red Flags

  • Creating a skill without evals/evals.json
  • Description longer than 1024 characters
  • No test cases that verify the skill triggers correctly

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.