plugins/toolkit/skills/claude-code-slash-commands/SKILL.md
This skill should be used when the user asks to "create a command", "write a slash command", "build a plugin command", or wants to add custom commands to Claude Code.
npx skillsauth add dwmkerr/claude-toolkit claude-code-slash-commandsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create custom slash commands for Claude Code.
You MUST read these references for detailed guidance:
Commands are Markdown files in specific locations:
| Scope | Location | Description suffix |
|-------|----------|-------------------|
| Project | .claude/commands/ | (project) |
| Personal | ~/.claude/commands/ | (user) |
| Plugin | commands/ in plugin root | (plugin) |
---
description: Brief description of what this command does
---
Your prompt instructions here.
---
allowed-tools: Bash(git:*), Read
argument-hint: [filename] [options]
description: What this command does
model: claude-3-5-haiku-20241022
disable-model-invocation: false
context: fork
---
| Field | Purpose |
|-------|---------|
| allowed-tools | Tools the command can use |
| argument-hint | Shows in autocomplete (e.g., [message]) |
| description | Brief description (required for SlashCommand tool) |
| model | Specific model to use |
| disable-model-invocation | Prevent programmatic invocation |
| context: fork | Run in isolated sub-agent context, preventing side effects on main agent state |
All arguments:
Fix issue #$ARGUMENTS following our coding standards
Positional arguments:
Review PR #$1 with priority $2 and assign to $3
Bash execution (prefix with exclamation mark):
Current branch: EXCLAMATION`git branch --show-current`
Recent commits: EXCLAMATION`git log --oneline -5`
Replace EXCLAMATION with the exclamation mark character - workaround for bug #12762.
File references (prefix with at-sign):
Review the implementation in @src/utils/helpers.js
Subdirectories group related commands:
.claude/commands/frontend/test.md → /test shows (project:frontend).claude/commands/backend/test.md → /test shows (project:backend)argument-hint if command takes argumentsallowed-tools if using Bash or specific tools/command-name --help style invocationtools
This skill should be used when the user asks to "create a skill", "write a skill", "build a skill", or wants to add new capabilities to Claude Code. Use when developing SKILL.md files, organizing skill content, or improving existing skills. Do NOT use for plugin development, hook creation, agent creation, or slash command creation — those have dedicated skills.
development
This skill should be used when the user asks to "create a bash script", "write a shell script", or mentions shell scripting conventions.
development
Deep research into technical solutions by searching the web, examining GitHub repos, and gathering evidence. Use when the user explicitly says "use the research skill", "use a research agent", or asks for deep/thorough research into implementation options or technologies.
tools
This skill should be used when the user asks to "set up release please", "configure automated releases", "manage version numbers", "add changelog automation", or mentions release-please, semantic versioning, or monorepo versioning.