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

skill-creator

Skill15 starsChanged 5 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.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use taskflow-inbox-triage, mermaid-diagram-generator 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.
  • AtomicBot-aiSkill

    taskflow-inbox-triage

    Also in 6 projects that use this

  • shalombSkill

    mermaid-diagram-generator

    Guide on creating and editing Mermaid charts safely. Use when asked to draw a diagram, flowchart, or architecture chart. Triggers on: 'mermaid', 'diagram', 'flowchart', 'visualize'.

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • +6 more from naman10parikh

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 185 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 185 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.