Create custom slash commands for Claude Code. Use this skill when the user asks to "create a command", "add a slash command", "make a custom command", "write a command for...", or needs help with command frontmatter, arguments ($ARGUMENTS, $1, $2), file references (@syntax), bash execution in commands, or organizing commands in project/personal/plugin locations.
Create custom slash commands as Markdown files that Claude executes when invoked.
| Type | Location | Scope | Label |
|---|---|---|---|
| Project | .claude/commands/ | Current project, shared with team | (project) |
| Personal | ~/.claude/commands/ | All projects, user-specific | (user) |
| Plugin | plugin-name/commands/ | When plugin installed | (plugin-name) |
.claude/commands/
├── review.md # /review
├── deploy.md # /deploy
└── frontend/
└── component.md # /frontend:component (namespaced)
---