Interactively create a new Claude Code slash command with best practices.
Clone and symlink:
git clone git@github.com:claude-commands/command-create-command.git ~/projects/command-create-command
ln -s ~/projects/command-create-command/create-command.md ~/.claude/commands/create-command.mdOr use the /claude-commands manager.
/create-command # Start the interactive wizard
- Choose preset - Select from Git Workflow, Code Analysis, Code Modification, Daily Workflow, or Custom
- Gather details - Name, description, arguments, integrations needed
- Research best practices - Searches web for current patterns relevant to your command type
- Generate files - Creates properly structured command and README
- Finalize - Option to init git repo and push to GitHub
| Preset | Best For | Tools Included |
|---|---|---|
| Git Workflow | Branch, PR, merge operations | Bash, Read, Write, Glob, Grep, AskUserQuestion |
| Code Analysis | Read-only inspection, reports | Bash, Read, Glob, Grep |
| Code Modification | Refactoring, fixing, generating | Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion |
| Daily Workflow | Status, summaries, reports | Bash, Read, Glob, Grep |
| Custom | Build from scratch | You choose |
Creates in your current directory:
command-{name}/
├── {name}.md # The command with proper frontmatter
└── README.md # Installation and usage docs
- Claude Code
- Internet access (for best practices research)
- GitHub CLI (optional, for full setup workflow)