claude-skills
CLAUDE.md6 starsChanged 53 days agoMITView on GitHub
Notes to myself. This repo is a personal collection, not a community project — no PRs, so there's nothing here about reviewing other people's. 1. mkdir -p plugins/<plugin>/skills/<skill-name> 2. Copy templates/SKILL.md into it and write the skill. The directory name and the frontmatter name must match — Claude Code addresses the skill by directory. 3. Put anything long (per-language checklists, worked examples, recipes) in skills/<skill-name>/reference/*.md and link it from the body by relative path. Those files load only when the…
In this repositoryOne other file it gives its agents.
- my-skillSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Put anything long (per-language checklists, worked examples, recipes) in skills/<skill-name>/reference/*.md and link it from the body by …
- Very specific: line 36
Add a row to the catalog table in README.md, and a section below it.
- Very specific: line 37
Add it to the table in START-HERE.md too, with where it works and its raw link.
- Very specific: line 56
Create plugins/<theme>/ with the layout above, then register it in .claude-plugin/marketplace.json under plugins with "source": …
- Very specific: line 89
Check that it fires on a natural sentence, not just on /<skill-name>.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Working in this repo
Notes to myself. This repo is a personal collection, not a community project — no PRs, so there's nothing here about reviewing other people's.
Layout
.claude-plugin/marketplace.json # lists every plugin; users add this repo as a marketplace
plugins/<theme>/
├── .claude-plugin/plugin.json # name must equal the directory name
└── skills/<skill-name>/
├── SKILL.md # always read when the skill fires
└── reference/ # loaded only when SKILL.md sends the model there
scripts/validate.py # run before pushing; CI runs it on every PR
scripts/package.py # builds dist/<skill>.zip for claude.ai and ChatGPT uploads
START-HERE.md # read by an assistant when someone pastes the repo link
templates/SKILL.md # starting point for a new skillAdding a skill to an existing plugin
mkdir -p plugins/<plugin>/skills/<skill-name>- Copy
templates/SKILL.mdinto it and write the skill. The directory name and the frontmatternamemust match — Claude Code addresses the skill by directory. - Put anything long (per-language checklists, worked examples, recipes) in
skills/<skill-name>/reference/*.mdand link it from the body by relative path. Those files load only when the body sends the model to them, which keeps the always-read part small.claude plugin details <plugin>shows the split: always-on tokens vs. on-invoke. - Bump
versionin bothplugins/<plugin>/.claude-plugin/plugin.jsonand the plugin's entry in.claude-plugin/marketplace.json. This is the step that gets forgotten — the validator fails on drift, which is why it exists. - Add a row to the catalog table in
README.md, and a section below it. Add it to the table inSTART-HERE.mdtoo, with where it works and its raw link. That file is what an assistant reads when someone pastes the repo link, so a skill missing there doesn't exist for non-coders. - Rebuild the upload zips and validate:
python3 scripts/package.py && python3 scripts/validate.py && claude plugin validate .The validator fails if a zip in dist/ doesn't match its source, or if a
skill is missing from START-HERE.md or README.md.
Adding a new plugin
Group by theme, not one plugin per skill: skills surface as
<plugin>:<skill>, so a plugin per skill gives you pr-preflight:pr-preflight.
A theme also means anyone who installed it picks up later skills in that area
without doing anything.
Create plugins/<theme>/ with the layout above, then register it in
.claude-plugin/marketplace.json under plugins with
"source": "./plugins/<theme>". An unregistered plugin directory is not
installable, and the validator treats that as an error rather than letting it
ship silently.
The bar for adding one
- It has been run repeatedly on real work. Not "this seems like a good idea" — something that survived actual use and got fixed where it broke.
- It works in a repo it wasn't written for. This is the one that
disqualifies most drafts. A skill that hard-codes
npm run lintworks in one repo; one that reads the repo's CI config works everywhere. If it can't discover what it needs, it isn't ready to publish. - It states its own failure modes. What it doesn't do, and where it can be wrong, belongs in the skill. A skill that oversells itself gets trusted in situations it can't handle.
- No house rules. Anything true only of one employer's codebase gets stripped, or turned into a documented option that self-detects at runtime.
Testing a skill before publishing it
Reading it is not testing it. Both defects in v0.1.1 and v0.1.2 were found by
running pr-preflight against a repo it wasn't written for, and neither was
visible on the page:
- Install it for real —
claude plugin marketplace add <path-or-repo>thenclaude plugin install <plugin>@niklas-skills. - Pick a repo whose shape is unlike the one the skill came from. Different package manager, no CI, unusual script names. That is where assumptions surface.
- Plant known defects that the type-checker won't catch, so you're testing
the skill's judgment rather than
tsc. - Check that it fires on a natural sentence, not just on
/<skill-name>. The description is the whole trigger surface; a skill that installs but never activates looks fine in the repo and is worthless in practice.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

