
Description
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.
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, SKILL.md as the agent instructions, and eval cases as repeatable runs of the spec scenarios. Never write these files from a remembered format.
Steps
- Run
npx -y @sentry/skillet@latest status <dir> --jsonand do whatnextsays. For a brand-new skill, runnpx -y @sentry/skillet@latest new <name>first. Never guess a skill's state or start over when artifacts already exist.- When status reports uppercase
SPEC.md, preserve or rename that legacy document before creating lowercasespec.md; never parse it as the active Skillet spec. - When status marks lowercase
spec.mdinvalid, preserve or rename legacy content and derive a valid Skillet spec before renderingSKILL.mdor adding coverage.
- When status reports uppercase
- 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. - When
spec.mdis next, fetchnpx -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, runnpx -y @sentry/skillet@latest validate <dir>, and fix every spec error before deriving anything. - When
SKILL.mdis next, fetchnpx -y @sentry/skillet@latest instructions skill <dir> --jsonand render it from the validated spec. When migrating, do not weaken exact formats, enumerations, thresholds, delegation rules, or stop conditions. Move long protocols toreferences/when useful, link them fromSKILL.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. Validate again before adding evals. - When eval coverage is next, fetch
npx -y @sentry/skillet@latest instructions evals <dir> --json, add at least one case per behavior, then validate with the same package command until no errors or uncovered-behavior warnings remain. - Run
npx -y @sentry/skillet@latest eval <dir> --dryto find checks that pass before the agent runs. Then runnpx -y @sentry/skillet@latest eval <dir> --baselineto compare the tested results with and without the skill. Add--trials <n>only when repeated observations are useful, and--report <file>when the user wants a shareable run artifact (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 validatereports errors. - Never scaffold or modify skill artifacts when the user only asked a question or an unrelated task.
More from Sentry
View publisherxcodebuildmcp
build and test Apple apps with XcodeBuildMCP
XcodeBuildMCP
Apr 6DebuggingiOSmacOSSentry +2xcodebuildmcp-cli
build and test Apple apps via CLI
XcodeBuildMCP
Apr 6CLIiOSmacOSTesting +1agents-md
maintain project instruction files
skills
May 15DocumentationEngineeringblog-writing-guide
write and review engineering blog posts
skills
May 15CommunicationsSentryTechnical Writingbrand-guidelines
write copy following Sentry brand guidelines
skills
May 15BrandingContent CreationSentryUX Copyclaude-settings-audit
generate Claude Code settings permissions
skills
May 15Claude CodeConfigurationSecurity