Loading...
Loading...
Slash commands are custom workflows you trigger by typing /command-name in Claude Code. They let you encode multi-step processes into a single invocation — no re-explaining, no copy-pasting prompts, no forgetting steps.
Think of them as programmable rituals. Instead of telling Claude "read my memory file, check the task board, summarize what I did yesterday, and plan today" every morning, you type /morning and it all happens automatically.
Every slash command is a Markdown file stored in .claude/commands/. The filename becomes the command name: morning.md creates /morning.
Inside the file, you write plain English instructions that Claude follows when the command is invoked. The key insight: these are not code files. They are natural language procedures that Claude interprets and executes step by step.
.claude/commands/name.md for project commands, ~/.claude/commands/name.md for global commandswrap-up.md becomes /wrap-upThree commands form the backbone of a productive AI workflow — your daily rituals:
These three commands alone eliminate the "cold start" problem where Claude forgets everything between sessions.
Commands become truly powerful when they accept parameters. Use $ARGUMENTS as a placeholder in your command file, and Claude replaces it with whatever text the user provides after the command name.
For example, a review.md command containing "Review the file at $ARGUMENTS for bugs, security issues, and TypeScript best practices" lets you type /review src/lib/auth.ts and get a targeted code review instantly.
/deploy staging — deploys to the staging environment/ticket BUG-123 high — creates a ticket with priority/research how to implement rate limiting — triggers a research workflowBeyond daily rituals, build commands tailored to your project's specific needs:
The best domain commands encode your team's tribal knowledge — the steps that live in someone's head or a rarely-consulted wiki page.
Build these three commands for your own workflow:
.claude/commands/morning.md — Write instructions for Claude to read your memory file, check your task board, and plan your day. Include at least 5 steps..claude/commands/review.md — Write a code review command that uses $ARGUMENTS to accept a file path and checks for bugs, types, security, and best practices.Ready to automate your entire workflow?
The AI Brain Pro package includes 30+ pre-built slash commands covering development, deployment, review, and team coordination.
View Pricing