agentleFS
jocarrdjocarrd/crux-agents/skills/skill-creator/SKILL.md

skill-creator

Skill4 starsChanged 18 days agoMITView on GitHub

Write a new skill that gets discovered when it should, can be followed without ambiguity and takes up little context: check first that it does not already exist, write the trigger, split between the procedure and its references, decide whether it carries a script, place it in the kernel or the project and test it with scenarios. Use when you want to turn into a procedure something you have done by hand more than twice, when a skill does not activate when it should, or when a skill has grown too long.

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

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 185 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Before creating it, check whether it already exists: Write the sentence you would ask for it with and check it against the catalogue: node …

    line 17
  2. Distinctive:

    If an existing skill wins, extend that one.

    line 20
  3. Distinctive:

    One skill, one thing: If it does three, it activates badly for all three.

    line 22
  4. Distinctive:

    Write in the imperative and in short sentences.

    line 52
  5. Distinctive:

    Do not name tools of a specific agent: describe the action.

    line 78
  6. Very specific:

    The description: test with probe.mjs a sentence that does not come from the description itself.

    line 89

“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

A skill is a procedure that an agent finds through its description and loads in full into its context every time it uses it. That is why it has to activate when it should and take up as little as possible. The examples and the reason behind each rule are in <this-skill-directory>/references/why.md.

1. Is a new skill needed?

  • Only if you have done it by hand more than twice and the third time you had to work something out again. Once does not make a procedure.
  • Before creating it, check whether it already exists. Write the sentence you would ask for it with and check it against the catalogue: node <skill-audit-directory>/scripts/probe.mjs "the sentence". If an existing skill wins, extend that one; do not create another that competes with it.
  • One skill, one thing. If it does three, it activates badly for all three.

2. The trigger

The frontmatter description is the only thing read to decide whether to activate it. Two halves: what it does, in concrete terms, and when to use it, with the situations and the words of whoever has the problem, not of whoever already knows the solution.

---
name: name-in-kebab-case        # same as the directory
description: What it does. Use when <situation>, when <another>, or when <symptom>.
---

3. The size

Words in SKILL.md
Target400 to 800
Maximum1,000 (the kernel suite and crux doctor check it)

SKILL.md carries what the agent has to do: steps, commands, rules, decision tables, gotchas in one line and how to verify. Everything else goes in references/why.md and is opened only if needed: the reason behind each rule, the history of how it was discovered, the cases that gave rise to it, the sources and the long examples. Cite the reference at the start with <this-skill-directory>/references/why.md.

Write in the imperative and in short sentences. Do not narrate what the command already says or explain what any manual covers.

4. The body

# name
What it solves, in one or two sentences, and where the reference is.
When to use and when not to (repeated: not all agents read the frontmatter).
The procedure, step by step.
Gotchas.
Anti-patterns, one line each.
Related.

Gotchas are what is worth most: what cannot be deduced from the happy path.

5. Does it carry a script?

A script for the mechanical and exact part that repeats the same way (a calculation, a format, a comparison). Prose for the judgement (what to look at and how to interpret it). A script that encapsulates the judgement becomes a black box.

6. Neutrality and place

  • Do not name tools of a specific agent: describe the action.
  • In the kernel no projects are named: the data goes in an adapter.
  • Boundary test: cover the proper names. If the procedure still makes sense, it goes in the kernel and the project keeps an adapter; if not, it belongs to the project.
  • An adapter has to win the sentence with the project's names and lose the generic one. Check it with the two sentences written before the description: node <skill-audit-directory>/scripts/probe.mjs --adapter <adapter> <skill> "<generic>" "<with names>".

7. Before accepting it

  1. The description: test with probe.mjs a sentence that does not come from the description itself. If another skill wins, or it wins by less than 15 %, it does not distinguish it.
  2. The size: wc -w SKILL.md within budget.
  3. Three scenarios with a known answer, in tests/scenarios.md: a normal case, an edge case and one the skill must reject, each with its Pregunta: and its Debe: / No debe: checks (regular expressions). Run them with crux skill test <skill>; if you are shortening or changing a skill, with --against <ref> and --runs 3: the new one has to answer the same. A regression is a lost nuance; it goes in SKILL.md, not in the reference.
  4. Execute it following what it says, not what you remember.

Anti-patterns

  • Creating a skill that competes with an existing one.
  • Generic description ("helps with deployments").
  • Documenting the tool instead of the procedure.
  • Putting the history and the why in SKILL.md.
  • Writing it from memory without executing or testing it.
  • Leaving it unmaintained: a skill that lies is followed with confidence.

Related

  • /skill-audit — whether a skill is in the right place and whether to merge
  • /promote-to-docs — for what is knowledge and not procedure

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.