Writing a skill that actually gets used
Most published skills never load. The cause is almost always the description, not the content.
A skill only helps if the agent loads it at the right moment. That decision is made from the description — a line or two — before any of your careful instructions are read.
Which means: the description is the product. Most of the effort usually goes to the body, and most of the failures happen before the body is ever seen.
Write the description as a trigger
The agent is matching a situation, not a topic. So describe the situation.
Weak: "Best practices for database migrations." Strong: "Review a database migration for locking and rolling-deploy hazards. Use before applying a migration to a database with live traffic."
The second names the moment. The first names a subject, and subjects do not fire.
Include the words a user would actually use, including informal ones. If people say "ship it", the description should contain "ship", not only "deploy".
Keep it to one job
A skill called backend-helper covering migrations, endpoints, caching and logging will load at the wrong times and be ignored at the right ones — its description cannot be specific about a moment because it covers many. Four narrow skills beat one broad one, every time.
Structure the body for skimming
The agent reads under a budget. Put the trigger conditions first, the procedure second, the prohibitions third. Bury the important constraint in paragraph six and it competes with everything above it.
The prohibitions are the value
Anything can produce a plausible-sounding review. What makes a skill worth packaging is what it refuses:
- Never report a finding you cannot demonstrate with a concrete input.
- Never drop rows without saying how many.
- Never claim a component is compliant — you reviewed code, not behaviour.
Each of those encodes something someone learned the hard way. That is the transferable part. The generic advice around it, the model already has.
Test the trigger, not the output
Install the skill where your tool looks for it, which How to install agent skills lists for each tool. Start a fresh session and describe a situation the way a user would, without naming the skill. If it does not load, the body does not matter yet.
Then check the reverse: describe three adjacent situations where it should not load. A skill that fires on everything is as bad as one that fires on nothing, and it is harder to notice.