agentleFS
SentryKnown publishergetsentry/skillet/skills/skillet-authoring/SKILL.md

skillet-authoring

Skill12 starsChanged 7 months agoMITView on GitHub

Authors, improves, or migrates agent skills with the Skillet CLI; use when asked to create or write a skill, improve its instructions or evals, diagnose failing evals, or migrate a legacy SKILL.md, uppercase SPEC.md, or spec.yaml skill, but not when merely using an existing skill.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Run npx -y @sentry/skillet@latest status <dir> --json and do what next says.

    line 14
  2. Very specific:

    If status says the installed skillet-authoring instructions are stale, stop artifact work and reinstall the skill through the method it …

    line 15
  3. Very specific:

    When status reports uppercase SPEC.md, preserve or rename that legacy document before creating lowercase spec.md.

    line 16
  4. Very specific:

    When status marks lowercase spec.md invalid, preserve or rename legacy content and derive a valid Skillet spec before rendering SKILL.md.

    line 17
  5. Very specific:

    When spec.md is next, fetch npx -y @sentry/skillet@latest instructions spec <dir> --json.

    line 19
  6. Distinctive:

    Never delete or loosen an eval case just to get to green.

    line 38
  7. Very specific:

    Never report a skill as done while npx -y @sentry/skillet@latest validate reports errors.

    line 42
  8. Distinctive:

    Never scaffold or modify skill artifacts when the user only asked a question or an unrelated task.

    line 43

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

Skillet Authoring

Run every Skillet command through the current package: npx -y @sentry/skillet@latest, or pnpx @sentry/skillet@latest in a pnpm environment. Never prefer a bare skillet executable from PATH; if one reports an update, rerun that command through the explicit latest package before continuing. Treat spec.md as the behavior contract and SKILL.md as the agent instructions. Evals are an optional extension, not part of ordinary authoring. Never write these files from a remembered format.

Steps

  1. Run npx -y @sentry/skillet@latest status <dir> --json and do what next says. For a brand-new skill, run npx -y @sentry/skillet@latest new <name> first. Never guess a skill's state or start over when artifacts already exist.
    • If status says the installed skillet-authoring instructions are stale, stop artifact work and reinstall the skill through the method it reports. To continue in this session, read the reinstalled SKILL.md; otherwise start a new session. Then rerun status.
    • When status reports uppercase SPEC.md, preserve or rename that legacy document before creating lowercase spec.md; never parse it as the active Skillet spec.
    • When status marks lowercase spec.md invalid, preserve or rename legacy content and derive a valid Skillet spec before rendering SKILL.md.
  2. When migrating, inventory behavior-bearing material before drafting: triggers, ordered workflow, exact lists, protocols and output formats, thresholds, failure and stop rules, constraints, runtime references, and maintenance docs that describe active behavior. Every accepted behavioral rule must land in spec.md; verbose execution detail may additionally remain in a linked runtime reference after the spec defines the observable contract. Explicitly supersede or reject non-behavior content.
  3. When spec.md is next, fetch npx -y @sentry/skillet@latest instructions spec <dir> --json. If intent remains ambiguous after inspecting the available evidence, ask 2–4 pointed questions before writing. Then write the spec with the served Skillet version footer as its final non-empty line, run npx -y @sentry/skillet@latest validate <dir>, and fix every spec error before deriving anything.
  4. When SKILL.md is next, fetch npx -y @sentry/skillet@latest instructions skill <dir> --json and render it from the validated spec. When migrating, do not weaken exact formats, enumerations, thresholds, delegation rules, or stop conditions. Move long protocols to references/ when useful, link them from SKILL.md, then compare the old and new runtime surfaces and account for every removed rule. Search README and provenance docs for stale artifact paths, prompt locations, runtime-section claims, frontmatter descriptions, and coverage claims.
  5. Run npx -y @sentry/skillet@latest validate <dir> and fix every core spec.md or SKILL.md error. A valid spec and current SKILL.md complete ordinary creation, improvement, or migration. Do not create, repair, or run eval cases unless the user explicitly requested that work. If existing optional eval artifacts fail validation, report the errors and ask before fixing them; do not call the skill fully validated while errors remain. Existing eval files or directories are not a request.

Optional eval work

Enter this branch only when the user explicitly asks to create, run, improve, or diagnose evals.

  • To create or update cases, fetch npx -y @sentry/skillet@latest instructions evals <dir> --json, write cases for the selected high-value scenarios, and validate their schemas and spec links. Behaviors without cases remain valid; do not add cases merely to claim complete coverage.
  • To execute cases, run only the dry, normal, baseline, trial, or report workflow the user requested. npx -y @sentry/skillet@latest eval <dir> --dry checks pristine workspaces; eval <dir> runs with the skill; eval <dir> --baseline also measures the results without it. Use --trials <n> only when repeated observations are useful, and --report <file> only when the user wants a shareable result (npx vitest-evals serve <file> renders it).

When evals fail

Classify the failure before editing anything, then fix at that layer only:

  • Wrong intent — the spec asks for the wrong thing: fix spec.md, then re-render SKILL.md.
  • Weak wording — SKILL.md expresses the behavior ambiguously: tighten SKILL.md, leave the eval case untouched.
  • Unfair eval — the case punishes a legitimately better outcome: fix the case and say explicitly why it was unfair.

Never delete or loosen an eval case just to get to green.

Never

  • Never report a skill as done while npx -y @sentry/skillet@latest validate reports errors.
  • Never scaffold or modify skill artifacts when the user only asked a question or an unrelated task.

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.