skills/optimize-skills/SKILL.md
Use when creating or refining SKILL.md-based skills, or diagnosing weak triggering (under/over-triggering, vague descriptions, bloated context, or missing workflow guidance).
npx skillsauth add ahgraber/skills optimize-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to create, review, or improve SKILL.md-based skills so they trigger correctly, stay concise, and execute reliably.
optimize-skills.references/ instead.SKILL.md, references/, assets/, and scripts/.A skill is a reference guide for proven techniques, patterns, or tools, typically classed as procedural knowledge or best practices. Skills help future Agent instances find and apply effective approaches.
Skills are: Reusable techniques, patterns, tools, reference guides
Skills are NOT: Narratives about how you solved a problem once
Create when:
Don't create for:
SKILL.md and related resources as baseline.name and description.description and ## When to Use (and ## When Not to Use when helpful).references/, assets/, or scripts/ and link from SKILL.md.references/best-practices.md and references/skills-search-optimization.md.
Then run scenario and functional checks against realistic prompts.SKILL.md sections into resources where appropriate.references/.references/.description/## When to Use, not pasted verbatim?
If not, convert.references/skills-search-optimization.md).description and ## When to Use.SKILL.md under 500 lines and focused on action.name + description): small startup footprint, ideally ~100 tokens.SKILL.md: keep actionable and concise, target <5000 tokens and <500 lines.scripts/, references/, assets/: loaded only when needed; keep files narrow so agents pull less context.digraph when_flowchart {
"Need to show process guidance?" [shape=diamond];
"Non-obvious decision or loop?" [shape=diamond];
"Use markdown (list/table/code)" [shape=box];
"Use small inline DOT flowchart" [shape=box];
"Need to show process guidance?" -> "Non-obvious decision or loop?" [label="yes"];
"Need to show process guidance?" -> "Use markdown (list/table/code)" [label="no"];
"Non-obvious decision or loop?" -> "Use small inline DOT flowchart" [label="yes"];
"Non-obvious decision or loop?" -> "Use markdown (list/table/code)" [label="no"];
}
references/graphviz-conventions.dot for node shapes and labels.Render DOT to SVG with scripts/render-dot.py.
Output SVGs are written to the target skill's assets/ directory.
scripts/render-dot.py skills/optimize-skills/references/skill-workflow.dot
scripts/render-dot.py skills/optimize-skills/SKILL.md
scripts/render-dot.py skills/optimize-skills/SKILL.md --force # overwrite existing SVGs
skills/
skill-name/
SKILL.md # Main reference (required)
assets/ # (optional) Static reusable resources such as templates or figures
references/ # (optional) On-demand documentation, organized by topic or variant
scripts/ # (optional) Executable helpers for deterministic tasks;
# scripts should be self-contained or clearly declare dependencies,
# include clear errors, and handle edge cases.
SKILL.md.name in frontmatter.name and description fields.name must be kebab-case and match the folder name.description should emphasize when to use the skill and include triggers/symptoms.## When to Use / ## When Not to Use for trigger cues; do not add a dedicated trigger-scenarios section unless explicitly requested by the repo.assets/skill-template.md for a suggested (but easily modified) template structure.description instead of stating actionable triggers and symptoms.description and ## When to Use.SKILL.md instead of linking to references/.assets/skill-template.md for a suggested SKILL.md structure.references/best-practices.md: checklists, structure guidance, testing, and troubleshooting patterns.references/skills-search-optimization.md: description and trigger optimization rules.references/skill-workflow.dot: canonical workflow for this skill.references/graphviz-conventions.dot: DOT style and semantics for workflow diagrams.development
Use when the user wants rigorous, non-sycophantic editorial feedback on a draft, essay, blog post, or argument through back-and-forth dialogue — pressure-testing thesis, structure, argument, clarity, tone, and evidence. Triggers: "be my sparring partner", "pressure-test this draft", "poke holes in my argument", "is this ready to publish", "sharpen this post", "where is this weak". Not for one-shot copyediting, proofreading, or ghostwriting.
testing
Use when distilling the through-line gist of one or more sources — the spine, argument, tension, or recurring frame running through a set of documents, notes, research, or transcripts, OR across the ideas within a single rich piece — into a few concise paragraphs. Triggers: "synthesize", "what's the through-line/gist", "extract the insight", "pull these together". Not for faithful summary or condensation that covers what a source says, nor for comparisons or catalogs where enumeration is the deliverable.
development
Use when writing or reviewing tests in any language, or diagnosing a suite that is slow, brittle, or hard to read. Triggers: "write tests", "how should I test this", "what kind of test", "test is flaky/fragile", "should I mock this", "test is hard to read". For Python-specific guidance see `python-testing`.
development
Use when writing, debugging, or explaining Strudel live-coding music patterns — mini-notation syntax, pattern functions (fast/slow/every/off/stack), synth/sample selection, audio effects, scale/chord/voicing API, or EDM production recipes. Triggers: "write a Strudel pattern", "how do I make a bassline in Strudel", "what does .every() do", "strudel drum beat", "strudel chord voicing", any Strudel code question.