Builds on steps 1 and 6. Skills package a procedure. A subagent is a worker, and a skill is a recipe, which may use workers.
Read time2 min
SectionClaude Code Setup Playbook
01 — 7 · skills
What to do
Why: if you have typed the same multi-step prompt three times, it should be a skill.
Do this:
Create .claude/skills/<name>/SKILL.md.
Write a description that says when to use it. If you can't say it in one sentence, you have two skills.
List the inputs and the exact output: a file, a report or a commit.
Anything with side effects (commit, push, deploy) gets disable-model-invocation: true, so only a human can trigger it.
Move long reference material into separate files in the skill folder and have SKILL.md point to them. Claude reads them only when needed.
02 — 7 · skills
Example
Example..claude/skills/commit/SKILL.md:
markdown
---
name: commit
description: Stage and commit the current work with a conventional message. Use only when the user types /commit.
disable-model-invocation: true
argument-hint: "[message]"
---
1. Run format, lint and type check. Stop and report if any fail.
2. Show `git status --short` and `git diff --stat`. Stage only files related to the task.
3. Write the message as `<type>(<scope>): <summary>`, 72 characters or fewer, with the reason in the body.
4. Commit. Push only if the user asked. Never push to `main`.
03 — 7 · skills
Check it works
Check: type /commit and watch it follow the steps. Then describe a commit in plain words and confirm the model does not start the skill on its own.
Watch out:
Two skills with similar descriptions force the agent to guess. Merge them or sharpen the descriptions.
Third-party skills run with your agent's permissions. Read one before you install it, and read the diff when it updates.
Put project-specific values (commands, doc paths) in one shared file so skills stay reusable.