Free guide
The best Claude Code skills: 5 we tested on one small app
Two of the best Claude Code skills already come with it: /code-review and /simplify. In our test, /code-review found all three faults we planted in a small app, and /simplify cleaned up the copied code. Add skill-creator when you want a skill of your own. Install the pdf skill only if you make PDFs, and treat /security-review as a narrow check, not an audit.
- One app, 3 planted faults
- The prompt for each skill
- Why skills never run
Published · Updated
Start buildingThe best Claude Code skills: 5 we tested on one small app
A skill is a folder with a SKILL.md file that holds a short description and a set of instructions. You can call a skill by name, like /code-review. Otherwise Claude sees only its name and description, and it loads the rest when your request matches. Lists of "the best Claude Code skills" tend to name 10 or 20 with a line each. One writer who checked his own usage, Ilia Karelin, found that a few skills did nearly all the work and the rest almost never ran.
So we tried five skills on the same small project and wrote down what each one did. Then we tested the thing that decides whether a skill runs at all: its description.
The test project
We built a plain to-do list app: one HTML page, one JavaScript file and one CSS file, about 180 lines in all. Before running any skill, we put in three faults on purpose and wrote them down:
- Delete removes the wrong item. The list shows items as 1, 2, 3, but the delete code treats those numbers as if they started at 0. Click Delete on item 2 and item 3 disappears.
- Your text goes into the page as code. Type
<img src=x onerror=alert(1)>as a to-do and the browser runs it. This kind of bug is called cross-site scripting, or XSS. - The same four lines appear four times. Every action saves the list and updates the "items left" counter with a copy of the same block.
The app sat in a git repository, on a branch with one commit, so the review skills had a change to look at. Before each skill, we reset the folder to that same commit.
What you need
You need Claude Code. The first three below come with it, so there is nothing to install.
For the others, a skill lives in one of two places:
.claude/skills/<name>/SKILL.mdinside a project, for that project only~/.claude/skills/<name>/SKILL.mdin your home folder, for every project
We copied pdf and skill-creator from Anthropic's public anthropics/skills repository into the project's .claude/skills folder. Both are Apache 2.0, as the LICENSE.txt file in each folder says. The official docs also list a plugin route for skill-creator:
/plugin install skill-creator@claude-plugins-official
1. /code-review: the one to keep
Type this inside your project:
/code-review
It took about half a minute. It found the delete bug first, with the exact one-line fix, and pointed out that the toggle code got the same math right. It found the XSS bug second and suggested textContent instead of innerHTML. For the third fault, it noticed that the counter text was built in five places, and that one copy had already drifted: on page load the app said "1 items left". We hadn't planted that one, and it's a real bug.
It also listed four edge cases, such as the browser's storage being full or blocked, plus one small nit. They are true, but they're overkill for a to-do app, and it marked three of them as important. Nothing it reported was false.
Skip it if the change is one line you have already read. For anything bigger, run it before you commit.
2. /simplify: tidied up without breaking our app
/simplify
This one took about a minute. It ran four review passes, then merged the copied block into one small save helper and put the counter text in one place. It also rebuilt each list item with textContent, which should also close the XSS hole, because textContent shows your text as text, never as code. It told us so.
It left the delete bug alone on purpose. Fixing it would change how the app behaves, so it named the bug and suggested /code-review instead.
We checked the app's logic (add, delete, tick, clear and save) with a small Node script before and after. The results matched: everything passed except the planted delete bug. The script can't run the page itself, so we didn't confirm the XSS fix in a browser.
Skip it if you want bugs found. It cleans up. Pair it with /code-review.
3. /security-review: narrow, and it judged the bug safe
/security-review
Strictly, /security-review is a built-in command that Claude can also run as a skill. Our first try failed, because it compares your branch with the main branch on your remote, so the project needs one. After we pointed the repo at a remote, it ran in about 35 seconds.
It reported no high or medium issues. It did see the XSS bug, then dropped it on purpose. It argued that only you can type into your own list, since nothing in the app reads from a link or shares lists. That makes it "self-XSS", and it gave the textContent fix as hardening. That's fair for this app. It stops being true the day you add sharing or import.
Skip it if you want a whole-app audit. It reads only the changes on your branch. For a full check, follow our guide to auditing a vibe-coded app with Claude Code.
4. pdf: only when you make PDFs
We wrote a two-page release-notes PDF for the app, then asked:
Summarize release-notes-2.0.pdf in one paragraph, then put the changes in a table.
The skill didn't run. Claude read the PDF on its own and gave a clean paragraph and a 13-row table. Calling /pdf by name gave a similar answer, after two failed commands, because the tools it reached for weren't installed.
Then we asked for something that needs it:
Make a one-page PDF handout from release-notes-2.0.pdf: a title, the summary, and a table of the changes. Save it as handout.pdf.
This time the skill loaded by itself. It set up its Python libraries in a temporary folder and made a correct one-page handout with a colour-coded table, in about 40 seconds.
Skip it if you only read PDFs. Claude Code already does that.
5. skill-creator: writes a skill for you
Make a skill for this project that writes release notes for users from the recent git commits. Keep it short.
The skill-creator skill wrote .claude/skills/release-notes/SKILL.md in about 15 seconds. It has a full test loop, but it skipped it because we said "keep it short". We added a week of commits to the app and asked "what changed since last week? write it up for users". The new skill gave three short sections, New, Improved and Fixed, in plain words. It also left out a security detail that users didn't need to see, and said so.
Skip it if you already know what your skill should say. Then you can write the file by hand, as shown below.
Why your skill never runs
Claude doesn't read your skills up front. Unless you call a skill by name, Claude sees only a list of names and descriptions, and it opens a skill when a request seems to match. So when Claude picks a skill on its own, it goes by those two lines.
We tested that with the release-notes skill and 10 plain requests, such as "tell users what we fixed this week" and "draft the what's new text for the app". For each request we started a fresh session and checked whether Claude loaded the skill.
With release-notes as the only skill in the folder, the description barely mattered. A three-word description, "Writes release notes.", fired on all 10 requests. "Only skill" here means the only one in the project folder: Claude Code's built-in skills and the ones on our account were still in the list.
So we made it harder, the way real setups are. We renamed the skill rn, the kind of short name people give their own skills, and described it as "Helper for the rn workflow." Then we put it next to the 19 skills from Anthropic's repository. It fired on 7 of 10. For the other three, such as "i need a changelog for the new version", Claude wrote the notes itself and never opened the skill.
Then we changed only the description. Same name, same folder, same neighbours. It fired on all 10.
Before:
name: rn
description: Helper for the rn workflow.
After:
name: rn
description: "Write short release notes for the app's users from recent git commits. Use when someone asks what changed, what's new, for a changelog, an update or announcement for users, or the notes for a version, even if they never say \"release notes\"."
The rewrite does two things. It says when to use the skill, and it uses the words people type, like "what changed" and "what's new". Put the main use first. Claude Code cuts each description (with any when_to_use text) at 1,536 characters. If all your descriptions together outgrow the space set aside for them, it drops the descriptions of the skills you use least.
The name counts too. In the same crowded folder, a skill called release-notes with only "Writes release notes." also fired on all 10. So give each skill a plain name that says the task, and a description that does the rest.
To check your own skills:
- Ask Claude "What skills are available?" and make sure yours is listed.
- Run
/skill-doctor(in recent versions of Claude Code). It lists your skills, what it costs in every message, and how often it has run. It flags the ones that never have. - To test one request, run it in print mode and pull out the Skill tool calls with
jq. If it prints the skill's name, the skill loaded. If it prints nothing, Claude did the task without it:
claude -p --output-format stream-json --verbose "tell users what we fixed this week" \
| jq -r 'select(.type=="assistant") | .message.content[]? | select(.type=="tool_use" and .name=="Skill") | .input.skill'
Make your own
Here is the release-notes skill from our test, with the rewritten description. To use it, make a folder called .claude/skills/release-notes in your project and save this as SKILL.md inside it:
---
name: release-notes
description: "Write short release notes for the app's users from recent git commits. Use when someone asks what changed, what's new, for a changelog, an update or announcement for users, or the notes for a version, even if they never say \"release notes\"."
---
# Release notes
Turn recent commits into short, plain-language notes for the app's users (not developers).
## 1. Find the commits
- If the user names a range or version, use it.
- If they name a time ("this week", "since last week", "since Monday"), use `git log --since="<date>"` with that date worked out from today.
- Otherwise use commits since the latest tag: `git describe --tags --abbrev=0`, then `git log <tag>..HEAD`.
- If there are no tags, use the whole history on the current branch (`git log`).
Run `git log --stat <range>` so you see which files changed. When a message is vague, read the diff (`git show <sha>`) to work out what actually changed for the user.
## 2. Pick what matters to users
Keep changes a user would notice: new features, changed behavior, fixed bugs, visible UI changes.
Skip internal work such as refactors, tests, CI, dependency bumps and project setup, unless it changes something users can see.
## 3. Write
Describe what the user can now do, not what the code does. Use short sentences and no jargon, commit hashes or file names. Leave out any empty section.
```markdown
## What's new: [version or date]
### New
- You can now ...
### Improved
- ...
### Fixed
- ...
```
Print the notes in the chat. Write them to a file only if the user asks.
Start a new session and ask "what changed this week? write it up for users". Headings alone don't prove the skill ran, since Claude can write them without it. Use the print-mode check above to see the Skill tool load. To make one for your own task, swap the steps for yours and keep the description in the words you'd type.
Should I install this skill?
Before you add any skill, go through this list:
- I've read the SKILL.md and every script in the folder. A skill can run code on your computer.
- It fits a task I do every week, not one I might do someday.
- Claude can't already do it without the skill. Our PDF summary didn't need one.
- Its description uses the words I'd type for that task.
- I'll check
/skill-doctorin a month and remove it if it never ran.
Each skill that Claude can pick on its own puts its name and description in every message you send, whether it runs or not.
Where to go next
- Claude Code frontend design: pages that don't look like every other AI-made site, using one skill and a short design file.
- Claude skills for everyday work: eight skills for emails, notes and reports.
How we tested
We ran each skill once in Claude Code on 23 November 2026, using Claude Opus 5.5 on a subscription login, from the same starting commit. The trigger test used 10 requests per description, each in a fresh session. Claude Code's built-in skills and the skills on our account were listed in every run.
| Skill | What it did on our app | Time |
|---|---|---|
| /code-review | Found the delete and XSS bugs and the copied counter text, plus one real bug we hadn't planted | about 30 s |
| /simplify | Removed the copied code, switched to textContent (should close the XSS hole), left the delete bug for review | about 1 min |
| /security-review | Saw the XSS bug and judged it not exploitable in this app | about 35 s |
| Didn't run for a summary; made a correct handout PDF when asked | about 40 s | |
| skill-creator | Wrote a working release-notes skill | about 15 s |
| Description | Anthropic's skills in the folder | Fired |
|---|---|---|
| "Writes release notes." | none | 10 of 10 |
| skill-creator's own description | none | 10 of 10 |
| "Helper for the rn workflow." (skill named rn) | none | 9 of 10 |
| "Writes release notes." | 19 | 10 of 10 |
| "Helper for the rn workflow." (skill named rn) | 19 | 7 of 10 |
| The rewritten description (skill named rn) | 19 | 10 of 10 |
Credits: pdf and skill-creator are by Anthropic, from the anthropics/skills repository, under the Apache 2.0 licence. /code-review, /simplify and /security-review come with Claude Code. The to-do app and its release notes are our own demo.
Questions people ask
What is a Claude Code skill?
A folder with a SKILL.md file inside. The file has a short description at the top and instructions below. Unless you call it by name, Claude sees only its name and description until a request matches, and then it reads the rest.
Which Claude Code skills should I install first?
None, at first. /code-review and /simplify already come with Claude Code, and they were the most useful in our test. Add skill-creator when you want a skill of your own, and the pdf skill only if you make or edit PDFs.
Why doesn't my skill run?
Claude picks skills by their name and description. In our test a skill with a vague name and description fired on 7 of 10 plain requests with Anthropic's 19 public skills installed next to it. After we rewrote only the description, in the words people use for that task, it fired on all 10.
Where do Claude Code skills go?
Put a skill in .claude/skills/<name>/SKILL.md inside a project to use it there, or in ~/.claude/skills/<name>/SKILL.md to use it in every project. Built-in skills like /code-review need no install.
Are skills from GitHub safe?
A skill can tell Claude to run scripts on your computer. Read the SKILL.md and every script in the folder before you copy it in, the same way you would read a shell script from a stranger.
Save it for later