agentleFS
Wsh7AshWsh7Ash/skillmcp/skills/one-procedure-per-skill/SKILL.md

one-procedure-per-skill

Skill0 starsChanged 15 days agoMITView on GitHub

Keep each skill to a single reproducible procedure so an agent can follow it without branching. Use when a skill has grown into a survey of several unrelated techniques

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the skill and name the single outcome it produces

    line 20
  2. Distinctive:

    Check the cross-references point at the new slugs

    line 23
  3. Distinctive:

    no step could be executed independently of the others

    line 30
  4. Distinctive:

    every split skill passes the validator standalone

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

One Procedure Per Skill

Keep each skill to a single reproducible procedure so an agent can follow it without branching

Use when: a skill has grown into a survey of several unrelated techniques

Avoid when: the steps genuinely form one sequence that cannot be split

Procedure

  1. Read the skill and name the single outcome it produces
  2. Split any step that serves a different outcome into its own skill
  3. Give each split skill a title that states its outcome
  4. Check the cross-references point at the new slugs
  5. Confirm the original skill still stands alone
  6. Re-run the corpus validator after the split

Signals

  • the skill has one stated outcome and one done-when set
  • no step could be executed independently of the others
  • the title matches the outcome
  • the validator passes after restructuring

Patterns

1. Single outcome

produce a cache key verdict, not 'test caching'

2. Split decision

vary inspection separated from poisoning probes

3. Cross-reference

see also: cache-key-header-probe

Pitfalls

  • Keeping a catch-all skill because splitting feels like admin work
  • Splitting so finely that each skill has three trivial steps
  • Leaving dangling references after a split

Done when

  • each skill names exactly one outcome
  • every split skill passes the validator standalone

References

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.