Documentation
README
Create Slash Command
Guide the user through creating a new slash command for Claude Code.
What You're Building
A slash command is a .md file in .claude/commands/ that acts as a shortcut. When the user types /command-name in Claude Code, the file contents are injected as the prompt.
Commands are simpler than skills — they're one-liners or short instructions, not multi-step workflows.
Step 1: Understand the Command
Ask the user:
- What should this command do? (e.g., "check deploy status", "run linting", "summarize this file")
- What name? Short, memorable. The file will be
{name}.mdand invoked as/{name} - Does it take arguments? If yes, use
$ARGUMENTSplaceholder - Should it invoke an agent? If it's domain-specific, point to the right agent
This is the opening of the README. Read the full README on GitHub.