Writes and revises agent skills so they trigger at the right moments and give usable instruction when they do. Use this when creating a new skill, editing an existing one, diagnosing a skill that fires too often or never fires, or reviewing a set of skills for overlap. Also use before adding to a skill library, to check the capability is not already covered.
npx skills add https://github.com/cbrock84/headcount --skill skill-authoring
A skill is judged twice: on whether it loads at the right moment, and on whether it helps once
loaded. Most fail the first test.
It is the only part read when deciding whether to load. Write it for that job:
the oblique ones ("why isn't this converting" as well as "CRO audit").
Vague descriptions produce two failures at once: the skill misses cases it should catch, and fires
on cases it cannot help.
Write for someone competent who has not thought about this problem today. That means:
next reader.
references/ and say when to read it. The body should fit in workingmemory.
Two skills whose descriptions both match a request means neither reliably wins. Before adding one,
check what already covers the ground. Prefer extending an existing skill, or consolidating the
family into one skill with references, over adding a near-neighbor.
name must be lowercase-hyphenated and equal the directory name, or the skill will not load.SKILL.md at its root; supporting material in references/ andscripts/.
Write three requests that should trigger it and two that should not, and check the description
actually discriminates. If a near-miss request would pull it in, tighten the description.
Take cbrock84/skill-authoring from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.