Learn it by doing it
How to build my own skill
Watch it done first, then do it yourself in the lessons below. Pause the walkthrough at any step and try it on your own computer.
Watch it done: build a /release-notes skill for your project
Step 1 of 6
Open a terminal in your project. A project skill lives inside the repository, so everyone who clones it gets the same command.
- Open a terminal in your project. A project skill lives inside the repository, so everyone who clones it gets the same command. Type: cd ~/projects/my-app.
- Make a folder for the skill. The folder name becomes the command, so this one runs as /release-notes. Type: mkdir -p .claude/skills/release-notes.
- Save this as SKILL.md in the new folder. The frontmatter must start on the first line; disable-model-invocation means only you can run it, and allowed-tools lets git log run without a prompt. Create .claude/skills/release-notes/SKILL.md containing: --- description: Drafts customer-facing release notes from recent commits. Use when the user asks for release notes or a changelog entry. argument-hint: [version] disable-model-invocation: true allowed-tools: Bash(git log *) --- ## Recent commits !`git log --oneline -30` ## Instructions Write release notes for version $ARGUMENTS from the commits above. Group them under New, Improved and Fixed. Plain English, no commit hashes, one line per change. Leave out internal refactors.
- Start Claude Code in the project. It loads skills from .claude/skills and notices edits to them while the session runs. Type: claude.
- Check the skill loaded. If it is missing, check the folder name and that SKILL.md starts with the --- line. Type: /skills. A list of the skills Claude Code can see opens, with release-notes among them. Type to filter it and press Esc to close it.
- Run your new command with a version number. Because the commits are pulled in before Claude reads the skill, the notes come from your real history. Type: /release-notes 2.4.0. Claude Code runs git log first and puts its output where the git log line was. $ARGUMENTS becomes 2.4.0, then Claude drafts the notes.
Commands and file format from the official Claude Code skills and commands docs, checked 18 November 2026. Lines marked Note describe what happens and are not real output.
From the lesson Your own slash commands, built as skills.
Your path: 3 lessons
0 of 3 done · about 23 min
Do them in this order. Each one has you try it for real, then checks you can.
- 1Start
Level 2: Prompting Claude · 7 min
Build your own prompt library
How to save and reuse prompts as templates with placeholders, and when to use Projects instructions, Instructions for Claude or skills instead.
- 2Open
Level 3: Cowork and everyday tools · 8 min
Plugins and skills in Cowork
What plugins and skills add to Cowork, how to install and remove one, and how to decide whether a source is safe to trust.
- 3Open
Level 4: Claude Code · 8 min
Your own slash commands, built as skills
Custom slash commands in Claude Code are now skills: how to write a SKILL.md, pass arguments, pull in live data, and choose project or personal scope.
Next: Build your own prompt library. Start it now
These lessons are part of the Practitioner Certificate, unit P1: Advanced prompting and context. See what it covers
Prefer to read first?
- Claude skills: what they are and how to create your ownClaude skills are folders of instructions, scripts and files that Claude loads only when they are needed. What they are, where they work, the SKILL.md format, and how to create one in the Claude app or Claude Code.
- The best Claude skills to install, by job, and how to check one is safeThe most useful Claude skills for writing, design, SEO and content, coding, research and documents, from Anthropic and reputable open-source publishers. What each does, where it comes from, its licence, how to install it, and how to check a skill is safe first.