Home / Blog / Claude Code skills: how to build one + 10 ready-made skills
Updated: 2026-11-06 · 13 min read · Vladyslav Koshelyev

Claude Code skills: how to build one + 10 ready-made skills

TL;DR: a skill is a folder with a SKILL.md that says when and how to do a task. Claude keeps only the short description in context and loads the full instructions when a task matches — so you can have dozens of skills without hurting quality. You can write one in five minutes and benefit for months. Here’s how to do it right, plus 10 skills I use myself.

Claude Code skills: how to build one + 10 ready-made skills
🧩
10 ready-made Claude Code skills (ZIP, 9 KB)commit-message, write-tests, explain-codebase, changelog, security-check, seo-meta, landing-copy, translate-i18n, bug-hunt, api-docs
Download

What skills are and why they matter

Imagine explaining to every new teammate how to write commits, how tests are structured and what to check before a release. A skill is that explanation, written once. Claude Code applies it automatically when a task matches, or when you type /skill-name.

  • They barely use context. Only the name and description load each session; the body loads on demand.
  • Repeatable results — the same process for you and your whole team.
  • They can bundle files: templates, examples, Python or bash scripts.
  • They double as commands. Custom commands in .claude/commands/ have been merged into skills (old files still work, but new ones should be skills).
How a Claude Code skill works
The description is always available; the full instructions load only when needed

Where skills live

ScopePathWho gets it
Personal~/.claude/skills/<name>/SKILL.mdyou, in every project
Project.claude/skills/<name>/SKILL.mdthe whole team (commit it)
Nested<dir>/.claude/skills/<name>/SKILL.mdpart of a monorepo
Plugin<plugin>/skills/<name>/SKILL.mdinvoked as /plugin:skill

The folder name becomes the command. List skills with /skills. Edits are picked up live; if a new skill doesn’t show up, run /reload-skills.

SKILL.md anatomy

SKILL.md structure annotated
Frontmatter controls behaviour; the body is the instruction itself
FieldWhat it does
nameskill name and command (defaults to the folder name)
descriptionthe most important field — Claude decides whether to use the skill based on it. Say what it does and when to use it
disable-model-invocation: truemanual only — for actions with consequences (commit, deploy)
user-invocable: falsethe opposite: hidden from the menu, only Claude uses it
allowed-toolstools the skill may use without asking, e.g. Bash(git diff *)
argument-hintargument hint shown in the command menu
model, effortmodel and reasoning effort for this skill
context: forkrun in a separate subagent so the main conversation stays clean
pathsactivate only for files matching glob patterns

Build your first skill in 5 minutes

Let’s build a skill that writes a Conventional Commits message from your staged changes.

Step 1. Create the folder:

mkdir -p .claude/skills/commit-message

Step 2. Create .claude/skills/commit-message/SKILL.md:

---
name: commit-message
description: Writes a clear Conventional Commits message for the currently staged changes. Use when the user asks to commit or to write a commit message.
disable-model-invocation: true
allowed-tools: Bash(git diff *) Bash(git status *) Bash(git commit *)
argument-hint: "[ticket number]"
---

## Staged changes
!`git diff --cached --stat`

!`git diff --cached`

## Task
Write ONE commit message for the staged changes above:
<type>(<scope>): <summary, imperative mood, max 72 chars>
Then a short body explaining WHY. Footer: Refs: $ARGUMENTS
Show the message and ask before running git commit.

Step 3. Stage your changes and run it:

> /commit-message JIRA-142
  • !`git diff --cached` is dynamic context: the command runs before Claude sees the skill and its output is inlined — no wasted tool calls.
  • $ARGUMENTS is everything you typed after the command; individual arguments are $0, $1 and so on.
  • disable-model-invocation: true means Claude never commits on its own initiative.

Writing descriptions that trigger reliably

WeakStrong
Helps with testsWrites or extends automated tests for a given file or recent change, following the project's existing test framework. Use when the user asks for tests or test coverage.
SEO stuffWrites SEO titles, meta descriptions, Open Graph tags and JSON-LD for web pages. Use when creating or optimizing pages for Google, Bing or AI search.

Formula: what it does + on what input + “Use when…” with the phrases users actually say.

Advanced techniques

Supporting files

.claude/skills/api-docs/
├── SKILL.md
├── template.md        # documentation template
├── examples.md        # a great example output
└── scripts/
    └── extract_routes.py

Link these from SKILL.md and Claude reads them only when it reaches that step. Keep SKILL.md itself lean (under ~500 lines). Reference the skill folder with ${CLAUDE_SKILL_DIR}.

Run in a forked subagent

Add context: fork for heavy research tasks: the skill runs in an isolated context and returns only the summary. The pack’s explain-codebase skill works this way — it reads the whole repo, but only the onboarding map lands in your conversation.

Scope to part of a repo

A paths field with globs like "src/api/**" activates the skill only when working on matching files — handy in large monorepos.

The 10 skills in the pack

SkillWhat it does
commit-messageConventional Commits message from staged changes
write-teststests in your project’s style: happy paths, edge cases, error paths
explain-codebaseonboarding map of the repo (runs in a forked subagent)
changeloghuman-friendly release notes from git history
security-checkchecks changes for secrets, injection, XSS, SSRF and access-control gaps
seo-metatitles, meta descriptions, Open Graph and JSON-LD
landing-copylanding page copy from a brief — no invented testimonials or stats
translate-i18ntranslates locale files, preserving keys and placeholders
bug-huntroot-cause debugging: reproduce → hypotheses → verify → fix → regression test
api-docsAPI docs from code: params, responses, errors, curl examples

Install: unzip and copy the folders you want into ~/.claude/skills/ (all projects) or your project’s .claude/skills/. Names deliberately avoid clashing with built-in commands such as /code-review and /debug.

Common mistakes

  • Vague descriptions — the skill fires in the wrong places. Add concrete “Use when…” phrases.
  • A giant SKILL.md — move reference material into separate files.
  • Risky actions without disable-model-invocation — deploys and commits should be user-triggered.
  • Broken YAML frontmatter — e.g. an unquoted colon in the description. Unknown fields are silently ignored, so double-check spelling.
  • Duplicating CLAUDE.md — keep project-wide rules in CLAUDE.md and specific workflows in skills.

Wrap-up

Start with 2–3 skills for things you do every week: commits, tests, releases. A month later you’ll have a library of processes that run the same way for everyone. For the basics, see the Claude Code setup guide.

Need skills, hooks and subagents built around your company’s workflows — engineering, marketing or support? I design and roll them out end to end, directly or via Upwork. Learn more.

FAQ

What’s the difference between a skill and CLAUDE.md?

CLAUDE.md loads fully into every session and suits project-wide rules. A skill loads only when needed and describes one specific workflow.

Where should I put skills?

Personal skills go in ~/.claude/skills/, project skills in .claude/skills/ inside the repo. Each skill is a folder containing SKILL.md.

How do I invoke a skill?

Type /skill-name, or just describe the task — Claude picks the right skill based on its description. Use disable-model-invocation: true to require manual invocation.

Do old .claude/commands files still work?

Yes. Commands and skills have been merged; existing command files keep working, but new instructions are best written as skills.

Let’s talk about your project

Describe the task in a couple of sentences — I reply within one business day. Free and no obligation.

Telegram   Discuss a project

AI assistants for your industry

Services