Skip to content
Academy ofAI Learning

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.

  1. 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.
  2. 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.
  3. 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.
  4. Start Claude Code in the project. It loads skills from .claude/skills and notices edits to them while the session runs. Type: claude.
  5. 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.
  6. 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.

  1. 1

    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.

    Start
  2. 2

    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.

    Open
  3. 3

    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.

    Open

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?