agentleFS
pcattoripcattori/skills/write-skill/SKILL.md

write-skill

Skill1 starsChanged yesterdayMITView on GitHub

Author and organize agent skills. Use when creating, editing, splitting, merging, or renaming a skill or its supporting files.

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use grill, write-docs and 9 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.
  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 5 projects that use this

  • SentrySkill

    write-docs

    Create or update documentation pages for the Abacus docs site. Use when adding new documentation, updating existing pages, or ensuring docs stay in sync with code changes. Ensures pages follow Starlight patterns and build correctly.

    Also in 3 projects that use this

  • GoogleSkill

    to-spec

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 4 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 5 projects that use this

  • GoogleSkill

    to-tickets

    Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker — edges as text in one file per ticket locally, or native blocking links on a real tracker.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 4 projects that use this

  • +2 more from google

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Generic first, specific on top: keep conventions specific to one host or company, like GitLab quick actions for assigning reviewers, in …

    line 18
  2. Very specific:

    Files: follow the Agent Skills spec: <name>/SKILL.md, plus references/ for docs the agent reads, assets/ for templates and other files it …

    line 25
  3. Distinctive:

    Keep a short local copy of linked material only when the agent will need it often and looking it up is expensive.

    line 51
  4. Very specific:

    Headings are API: before renaming a heading or moving or renaming a file, find links to it from other skills and update them.

    line 62
  5. Very specific:

    Check that every relative link and #anchor pointing into a skill you changed still resolves by running check-links.py.

    line 67

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

Write a skill

A skill is read by two audiences: the agent deciding whether to load it, and a human maintaining it. Write for both: an accurate trigger for the agent, and a body a person can scan without their eyes glazing over, following write-for-humans.

Naming and layout

  • Group by prefix: give related skills a shared prefix when there are several in one domain (pr-, lang-, write-). Name each after the word you'd actually type to ask for it.
  • Generic first, specific on top: keep conventions specific to one host or company, like GitLab quick actions for assigning reviewers, in their own skill layered on a generic one like pr-create.
  • Own skill or reference file: split material into its own skill when the parent's description would have to list its cases for the agent to find it. A toolchains skill covering TypeScript and HTML became lang-typescript and lang-html.
  • Files: follow the Agent Skills spec: <name>/SKILL.md, plus references/ for docs the agent reads, assets/ for templates and other files it uses in output, and scripts/ for code it runs.

Description

List the distinct cases that should load the skill: Use when <case>, <case>, or <case>. Give each case once; synonyms for the same case add load without adding reach. Include the words you actually speak or type, but don't summarize the body.

Open with a subject (<Subject>. Use when …) only when the cases don't make it obvious, such as a skill named after a project, or one that adds a convention like attribution to an everyday task.

Body

  • Only what changes behavior: cut instructions the agent would follow anyway.
  • Capabilities, not products: name what the agent needs ("inline HTML", "the question tool") and what to do without it, not the product or tool that provides it. Products should document their own tools.
  • Autonomy needs limits: a skill that lets the agent act on its own states what the request authorizes, when to ask, and how it ends.

Warm cache

Keep a short local copy of linked material only when the agent will need it often and looking it up is expensive; then the skill acts as a warm cache for what matters most to its task.

Spend the skill's words on what no lookup would turn up: unwritten conventions, the reasons behind choices, and gotchas the docs don't mention.

Links between skills

  • Relative paths: link other skills as [pr-proof](../pr-proof/SKILL.md), and sections as ../pr-tend/SKILL.md#no-merging.
  • Headings are API: before renaming a heading or moving or renaming a file, find links to it from other skills and update them.

Verify

Check that every relative link and #anchor pointing into a skill you changed still resolves by running check-links.py.

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.