// 3 skills for Claude Code and other agents
rules so AI works the way I do.
Each skill is one SKILL.md, in Portuguese and English. One command installs it. Free, MIT.
npx skills add di0rio/cd-skills01// skills
skills I use in my work.
02// in practice
a skill at work.
Click the steps to see what changes in the code or the text.
removed: interface PriceCalculator { calculate(items: Item[]): number }
removed: class DefaultPriceCalculator implements PriceCalculator {
removed: calculate(items: Item[]) {
removed: return items.reduce((sum, item) => sum + item.price, 0)
removed: }
removed: }
added: const total = items.reduce((sum, item) => sum + item.price, 0)
03// benchmark
with and without the skill.
Same tasks, same model: one run with the skill and one without. A second model graded them without knowing which was which.
- 191/200
- with
- 176/200
- without
- +15
- points more
| task | without | with |
|---|---|---|
| featured card | 30 | 38 |
| price format | 40 | 39 |
| relative dates | 37 | 38 |
| simplify handler | 38 | 37 |
| dead code | 31 | 39 |
| total | 176 | 191 |
04// how it works
how it works.
- 01
install the skill
One command copies the skill folder into your agent.
- 02
the agent reads SKILL.md
It loads the file when the task calls for it, or when you call the skill by name.
- 03
it starts following the rules
From then on it works the way I wrote it, without you repeating anything in the prompt.
// install
install and try it.
Grab a skill, run it on a real task and see if it helps. If it doesn't, open an issue.
npx skills add di0rio/cd-skills