# Create a Claude Code slash command with a project skill

Canonical: https://cwyn.com/pages/claude-code-guide-first-project-skill.html
Last updated: 2026-11-23T07:25:25-05:00

Claude Code setup guide

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 November 23, 2026 · Not affiliated with Anthropic · Published November 19, 2026

## 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](https://cwyn.com/pages/claude-code-guide-claude-md-template.html). To compare your skill with built-in commands, see the [Claude Code commands cheat sheet](https://cwyn.com/pages/claude-code-guide-commands-cheat-sheet.html).

If drafting the note turns into a review of many files, [compare skills and subagents](https://cwyn.com/pages/claude-code-guide-skills-vs-subagents-hooks.html) 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](https://cwyn.com/pages/claude-code-guide-github-actions.html).

Sources · [Project skill paths, command naming, arguments and reload](https://code.claude.com/docs/en/skills)

## Related guides

- [Create a read-only project subagent in Claude Code](https://cwyn.com/pages/claude-code-guide-first-project-subagent.html)
- [Claude Code ignoring CLAUDE.md or not loading it?](https://cwyn.com/pages/claude-code-guide-claude-md-not-loading.html)
- [Create a custom Claude Code output style](https://cwyn.com/pages/claude-code-guide-custom-output-style.html)
- [How to set up the Claude Code status line](https://cwyn.com/pages/claude-code-guide-status-line-setup.html)

## Next steps

- [All 34 Claude Code guides](https://cwyn.com/guides/claude-code/)
- [Claude Code setup walkthrough](https://cwyn.com/setup/claude-code/)
- [Check your CLAUDE.md](https://cwyn.com/score/setup-file-checker/?profile=claude)
- [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html)

### Set up your Claude Code project

[Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html) · Optional paid kit. The pack includes a reusable skill alongside project instructions and hooks.
Kit details as of Nov 22, 2026

Claude Code Complete Setup Pack $12.95

Set up project instructions, permission rules, hooks, a reviewer skill and subagent, and MCP connections for Claude Code.
