Claude Code
authorKRIATIZ
03 · Extensions / lesson 1 of 4

Skills: your own instructions for the agent

20 minIntermediate5 steps

A skill is a folder with instructions the agent loads only when a task matches it. CLAUDE.md stays short, and the agent gets detailed guidance for rare tasks.

data and requestsproblem
Lesson stepsstep 1 of 5
  1. Repeats
  2. Descriptions
  3. Instructions
  4. Script
  5. Result
step 1 / 5problem

Explaining the same thing again

Every release you spell out the steps for the agent. Putting it all in CLAUDE.md bloats it.

Key point

Rare procedures belong in a skill.

← → steps · space pause · R restart · ⌘K search
You will learn 6
Lesson notes

How a skill works

At session start the agent sees only the names and short descriptions of available skills. When a task matches a description, it reads the full instructions and any extra files in the skill. That is why the description must state clearly when the skill applies.

Structure

.claude/skills/release/
├── SKILL.md
├── checklist.md
└── scripts/bump-version.sh
---
name: release
description: Prepares a release: bumps the version, updates CHANGELOG, tags the commit. Use when asked to make a release or ship a version.
---

# Release

1. Run tests: npm test. If they fail, stop.
2. Bump the version with scripts/bump-version.sh.
3. Add a CHANGELOG.md section from commits since the last tag.
4. Commit "release: vX.Y.Z" and tag vX.Y.Z.
5. Don't push, show a summary.

Where to store them

PathFor whom
.claude/skills/ in the repothe whole team, committed to git
~/.claude/skills/only you, in every project

Skill, CLAUDE.md or command

When to use
CLAUDE.mdrules needed all the time: test commands, style, don’ts
Skilldetailed instructions for a specific kind of task, the agent turns it on itself
Custom commanda prompt you run manually via /name; stored in .claude/commands/

A good description

  • What the skill does: "prepares a release".
  • When to use it: "when asked to make a release or ship a version".
  • No vague words like "a helpful assistant".
Scripts inside a skill save context: the agent runs a ready script instead of rewriting the logic every time.

Skill ideas for a team

  • Code review against your checklist.
  • Scaffolding a new module from the project template.
  • A database migration with a rollback check.
  • A pull request description in your format.
  • A change report for a client.

Ready-made skills to download are in the article "Claude Code Skills".

Today's task

Pick a task you have explained to the agent three times already. Create a skill for it with a clear description and test it: ask the agent to do the task without mentioning the skill.

Need skills for your processes?

I will write a set of skills for your team: releases, code review, migrations, reports.

Let’s talk
Vladyslav Koshelyev
Vladyslav Koshelyev

Developer at KRIATIZ. I build chatbots, websites and automation for businesses. Author of the course.

About the author · Telegram