agentleFS
The-UrcydoThe-Urcydo/Agents-Skills-Roles-Oriented/skills/write-skill/SKILL.md

write-skill

Skill2 starsChanged 22 days agoMITView on GitHub

Create or revise an agent skill in this library or a project's agent skills directory. Use when adding a skill, fixing an existing skill, or asked how to write one.

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

  • +3 more from google

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 5

    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. Distinctive:

    Use this when a procedure should become a skill.

    line 11
  2. Distinctive:

    When working in this library, the commands use Python 3.13+ and the standard library only.

    line 13
  3. Distinctive:

    Read references/checklist.md for the front matter and quality rules.

    line 16
  4. Distinctive:

    Write the description first.

    line 20
  5. Distinctive:

    Write the body: what the skill does, ordered steps, how to verify the result, and when to stop and ask.

    line 21
  6. Very specific:

    Add references/, scripts/, or assets/ only when the body needs them.

    line 22
  7. Very specific:

    If the skill is imported, add PROVENANCE.md and update THIRD_PARTY_NOTICES.md when the host repository has one.

    line 23

“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

Use this when a procedure should become a skill. A skill is a procedure, not a fact and not a role rule.

When working in this library, the commands use Python 3.13+ and the standard library only; they need no network access.

  1. Confirm the content is a skill. Facts every session needs go in AGENTS.md. Role ownership and stop conditions go in roles/<role>/ROLE.md. A one-off change belongs in the pull request.
  2. Read references/checklist.md for the front matter and quality rules.
  3. Create the folder:
    • In this library: python3 tools/new_skill.py <name> --category <engineering|productivity|design|repo>. This creates skills/<name>/SKILL.md and updates SKILLS.md. If you create it by hand, run python3 tools/catalog.py after editing.
    • In another project: create <name>/SKILL.md inside that project's agent skills directory, for example .agents/skills/<name>/SKILL.md (portable), .claude/skills/<name>/SKILL.md, or .opencode/skills/<name>/SKILL.md.
  4. Write the description first. It must say what the skill does and when to use it; that is the only text the agent sees before loading the body.
  5. Write the body: what the skill does, ordered steps, how to verify the result, and when to stop and ask.
  6. Add references/, scripts/, or assets/ only when the body needs them. Keep links inside the skill folder, relative to the skill folder root, so the skill stays portable.
  7. If the skill is imported, add PROVENANCE.md and update THIRD_PARTY_NOTICES.md when the host repository has one.
  8. Validate with the commands under Verify.
  9. In this library, open a pull request with the skill name, the trigger, and the check output. In another project, follow that project's review process. Do not merge it; the owner approves.

Verify

  • In this library: python3 tools/catalog.py --check and python3 tools/check.py --strict pass.
  • Elsewhere: skills-ref validate <skill-folder> passes if it is installed. skills-ref is a separate Python package; installing it may need network access. If it is unavailable, satisfy every item in references/checklist.md.

Stop and ask

  • The request is a fact, a role rule, or a one-off.
  • The skill would need a secret, a personal path, or undocumented network access.
  • An existing skill already covers the job: improve that skill instead of adding a near-duplicate.
  • The skill you are writing changes shared state or spends money: mark that skill metadata.invocation: user and get the owner's approval.

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.