All field notes
Guides

Claude Code skills for a team: five to copy, and how to tell if one works

What a skill is, when to write one instead of adding to CLAUDE.md, five skill files to copy, where to put them so teammates get them, and how to check a skill actually helps.

By Christian Buckner

A Claude Code skill is just a folder with a SKILL.md file in it. The file holds instructions, and Claude reads them when the task fits, or when someone types / and the skill's name. Put the folder in .claude/skills/ in your repository, commit it, and everyone who clones the repo has the skill.

What makes skills cheap is that only each skill's name and description load at the start of a session. The rest of the file loads when the skill is used, so a long procedure costs almost nothing until someone needs it.

I'm going by Claude Code's skills documentation as of November 26, 2026, which moves fast, so check version numbers there.

When a skill is the right place

The rough rule I use: a fact Claude needs in every session goes in CLAUDE.md, and rules for one part of the codebase go in a file under .claude/rules/. A procedure with steps, or a checklist you keep pasting into chat, is a skill. So is long reference material that's only needed now and then, with the detail in a second file inside the skill's folder. And a rule that has to hold every single time isn't a skill at all. It's a hook.

You'll usually notice it's time when you've pasted the same instructions into chat twice, or a section of CLAUDE.md has turned into a numbered list of steps. I wrote about what stays in CLAUDE.md in CLAUDE.md for a team.

Five skills to copy

Each of these is a single file. The folder's name becomes the command, so .claude/skills/pr-description/SKILL.md runs as /pr-description.

A skill that reads the branch before it writes

If you only copy one, I'd make it this. Save it as .claude/skills/pr-description/SKILL.md:

---
description: Writes a pull request description from this branch's commits and diff. Use when the user asks for a PR description or is about to open a pull request.
allowed-tools:
  - Bash(git log *)
  - Bash(git diff *)
---
 
## Commits on this branch
!`git log --oneline main..HEAD`
 
## Files changed
!`git diff --stat main...HEAD`
 
## Your task
Write a pull request description with three parts: what changed, why, and how it was tested.
Keep it under 150 words. If the diff holds a migration or a config change, say so in the first line.

A ! followed by a command in backticks runs before Claude sees the skill, and Claude gets the command's output in its place. These commands never stop to ask permission, so in every permission mode except auto, a command that isn't already allowed makes the skill fail. That's why the allowed-tools lines are there. If a command fails, the whole skill fails and Claude Code shows the error, so in a repository without a main branch, change the branch name.

A skill that takes an argument

Save as .claude/skills/new-endpoint/SKILL.md, with an example handler next to it as template.ts:

---
description: Adds a new API endpoint the way this codebase does it. Use when the user asks for a new endpoint or route.
argument-hint: "[resource/action]"
---
 
Add the endpoint `$ARGUMENTS`.
 
1. Copy the shape of [template.ts](template.ts) into `src/api/handlers/`.
2. Validate input with a schema in `src/api/schemas/`.
3. Add a test in `tests/api/` that covers one success and one refusal.
4. Run `pnpm test` and fix what fails.

Typing /new-endpoint users/export puts users/export where $ARGUMENTS is. The template is a second file in the skill's folder, and Claude only reads it when the skill is used.

A skill only a person can start

Save as .claude/skills/release/SKILL.md:

---
description: Cuts a release
disable-model-invocation: true
---
 
Cut the release $ARGUMENTS:
 
1. Check that `main` is green in CI. Stop if it isn't.
2. Update `CHANGELOG.md` from the commits since the last tag.
3. Create the tag and push it.
4. Post the changelog entry in the release channel.

With disable-model-invocation: true, Claude can't decide to run it on its own. Someone has to type /release 2.4.0. I'd use this for anything that ships, sends or deletes.

A skill only Claude uses

Save as .claude/skills/legacy-billing/SKILL.md:

---
description: How the old billing service works and what must not change in it. Use when a task touches services/billing-v1 or invoices made before 2024.
user-invocable: false
---
 
- `billing-v1` rounds each line, not the total. Leave it: finance reconciles against it.
- Invoice numbers repeat across regions. Look one up by region and number together.
- New work goes in `services/billing/`. Change `billing-v1` only to fix a bug.

With user-invocable: false, the skill stays out of the / menu, and Claude loads it when a task matches the description. It's a good home for background knowledge that would otherwise bloat CLAUDE.md.

A skill that works in a separate context

Save as .claude/skills/migration-check/SKILL.md:

---
description: Checks a database migration against this team's rules. Use when the user asks for a migration review or adds a file under migrations/.
argument-hint: "[migration file]"
context: fork
agent: Explore
---
 
Check the migration `$ARGUMENTS` against these rules:
 
1. A column the code still reads is never dropped. Stop using it in one release, drop it in the next.
2. A new column on an existing table is nullable or has a default.
3. An index on a large table is built without locking writes.
 
For each rule, say whether the migration follows it and quote the lines.
Then list every table the migration changes.

context: fork hands the skill to a subagent, so reading the migration and the code around it doesn't fill up your conversation. The subagent doesn't see your conversation, and the Explore agent starts without your CLAUDE.md files, so the skill has to say everything the task needs. That's why the rules are written into the skill itself. It runs in the background and the result arrives when it's done (add background: false if you'd rather wait for it). And it needs an actual task: a skill that only lists conventions gives a subagent nothing to do.

Who can run what

In the fileYou can run itClaude can run itIts description is loaded
Nothing extraYesYesYes
disable-model-invocation: trueYesNot on its ownNo
user-invocable: falseNoYesYes

Where the folder goes decides who gets it

WhereWho gets it
.claude/skills/<name>/ in the repositoryEveryone who clones it
~/.claude/skills/<name>/Only you, in every project on this machine
A plugin's skills/ folderEveryone with the plugin switched on. It runs as /plugin-name:skill-name
Your Claude accountYou, wherever you sign in to Claude Code with that account. In a terminal this needs version 2.1.273 or later
The managed settings directoryEveryone on the machines IT set up

On a Team or Enterprise plan, the Claude account route also carries skills an owner published for the whole organization.

A few things catch teams out. Your own skill wins over the team's: if you have a deploy skill in ~/.claude/skills/ and the repository has one too, /deploy runs yours. A skill deep in a monorepo, say in apps/web/.claude/skills/, only appears the first time Claude reads or edits a file under apps/web/, unless you started Claude Code there. Old command files in .claude/commands/ still work, but if a skill has the same name, the skill wins. And if a new skill doesn't show up, /reload-skills usually fixes it, since Claude Code watches the folders but can miss a change.

Write the description for Claude

The description decides whether Claude reaches for the skill, and it's the only part loaded up front. Say what the skill does and then when to use it, in the words a teammate would actually type. Claude Code cuts the description at 1,536 characters in its list, so put the main use first.

Keep SKILL.md itself under 500 lines and move detail into other files in the folder, named in SKILL.md. Put the most important instruction at the top, because once a skill has been used its text stays in the conversation, and when a long conversation gets compacted Claude Code keeps only the first 5,000 tokens of each skill.

And don't hoard skills you never use. The list of descriptions gets 1% of the model's context window, and past that Claude Code starts dropping descriptions, beginning with the skills you use least. /skill-doctor (version 2.1.252 or later) shows what each skill costs and which ones were never used.

A skill isn't a guarantee

Claude follows a skill the way it follows CLAUDE.md: usually, not always. If something must hold every time, like "never edit a merged migration", make it a hook, which Claude Code runs itself whether or not Claude is following the skill. Claude Code for a team shows a hook in a team settings file.

How to tell whether a skill works

Seeing a skill run only tells you Claude found it. It doesn't tell you the result got better. The honest test is a before and after: collect three or four prompts a teammate would really type, run each in a fresh session with the skill on, then turn it off (in the /skills menu, highlight it, press Space until it's off, then Esc) and run them again. Compare the two sets.

Anthropic's skill-creator plugin runs that loop for you and keeps the test cases in the skill's folder:

/plugin install skill-creator@claude-plugins-official

Then ask Claude to "evaluate my pr-description skill with skill-creator".

If a skill never triggers, check its frontmatter first. A file whose frontmatter doesn't parse still runs by name, but Claude can't match its description. This finds the broken ones (version 2.1.233 or later):

claude plugin validate .claude/skills

Using a skill outside Claude Code

Skills follow an open format, Agent Skills, that other AI tools read too, and Claude Code adds its own fields on top. If you upload a skill to a Claude account so it works in the Claude apps, only six fields are accepted: name, description, license, compatibility, metadata and allowed-tools. Anything else, like argument-hint or context, makes the upload fail, and the ! command lines don't work there either.

That means none of the five skills above would upload as written. Four use a field only Claude Code has, and the first depends on ! commands. If you want one skill in both places, stick to those six fields and plain instructions.

Skills share procedures someone wrote down ahead of time. What a session works out along the way is a different problem, and I covered it at the end of CLAUDE.md for a team.

Sources

Read on November 26, 2026: Extend Claude with skills, Hooks, Plugins, Use skills in Claude, and the skill-creator plugin in Anthropic's plugin catalog.

Claude Code skills for a team: five to copy, and how to tell if one works — Jackdaw Blog