Claude Code setup guide
Create a Claude Code slash command with a project skill
Short answer. If you use the same instructions every time you draft a release note, save them as a project skill. You can run it from the Claude Code prompt and tell it which change to describe. Create .claude/skills/draft-change-note/SKILL.md at the repository root.
By CWYN · Last updated · Not affiliated with Anthropic · Published
1. Create the skill in the repository
Create .claude/skills/draft-change-note/SKILL.md at the repository root. The directory name gives this skill its slash command, /draft-change-note. Use a name that is distinct from your personal skills and existing commands.
2. Write the instructions and keep invocation manual
Use this example to draft text in the chat. disable-model-invocation: true prevents Claude from calling the skill on its own. $ARGUMENTS receives what you type after the command.
---
description: Draft a short release note for a change I describe.
disable-model-invocation: true
---
Draft a one-sentence release note about: $ARGUMENTS
Explain the change from the reader’s point of view.
Use only the details I provided. Return the draft in chat.
3. Try it with a change you can check
Open Claude Code from the repository root and enter /draft-change-note The export dialog now remembers the selected file format as the whole message. Look for a single sentence that describes what the dialog remembers. If you just created the project’s .claude/skills/ directory in a running session, use /reload-skills or start a fresh session.
4. Share the file and repeat the test
Commit the skill file when the draft reads the way your team wants. Ask a teammate to run the same example from a checkout that contains the file. If they get a different workflow, check for a personal skill with the same directory name. A personal skill takes precedence over a project skill with that name.
For commands and conventions that apply between skill runs, use the project CLAUDE.md template. To compare your skill with built-in commands, see the Claude Code commands cheat sheet.
If drafting the note turns into a review of many files, compare skills and subagents to decide where the review should run.
When you change the skill in a pull request, ask @claude to review the instructions in GitHub Actions.
Sources · Project skill paths, command naming, arguments and reload