agentleFS
timmo001timmo001/skills/writing-dot-skills/SKILL.md

writing-dot-skills

Skill2 starsChanged todayApache-2.0View on GitHub

Craft for authoring Agent Skills that select reliably and stay lean. Use when creating or revising a skill's description, workflow, references, scripts, or structure.

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Keep SKILL.md self-contained and focused on decisions, ordering, and traps that change the agent's behaviour.

    line 14
  2. Distinctive:

    Keep each rule in one place.

    line 17
  3. Distinctive:

    Use the repository's existing registration and import tools.

    line 22
  4. Distinctive:

    Run the existing skill/metadata validator and discovery check.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

Writing Agent Skills

Lineage: adapted from Matt Pocock's writing-great-skills and Trail of Bits' designing-workflow-skills.

Write

  • Make the description say what the skill does and when it should load. Name distinct branches and concrete triggers; use explicit-only gating where needed.
  • Keep SKILL.md self-contained and focused on decisions, ordering, and traps that change the agent's behaviour. Use exact commands for fragile operations; leave easily retrieved syntax to current tooling and --help.
  • Reuse existing commands, validators, import tooling, and owning skills. Add a script only when a repeated deterministic operation lacks an existing tool.
  • Link supporting files directly from SKILL.md, saying when to read them. Split only substantial branch-specific detail; avoid reference chains.
  • Keep each rule in one place. Remove repeated checklists, obvious advice, and fixed process or output quotas that do not serve the task.

Maintain

  1. Find the source of truth and repository instructions. Edit authored skills there; change tool-owned imports in their owning repository. Preserve licences, source attribution, and the established source-to-import update order.
  2. Use the repository's existing registration and import tools. Update callers when renaming or removing a skill, and update compatibility metadata when its runtime or tool assumptions change. Keep machine-specific values in private configuration and shared instructions portable.
  3. Regenerate catalogues and other derived files through their owning tools. Follow the repository's packaging, pinning, and stow rules; do not write into installed copies or silently advance dependency pins.
  4. Run the existing skill/metadata validator and discovery check. Verify names, frontmatter, referenced files, and generated output. Use client diagnostics when changing client registration. Commit and publish only when requested.

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.