Slash commands for Claude Code - Anthropic's CLI coding assistant.
We hate typing. We hate confirming. We want AI that thinks like us and executes like it's us.
These commands exist to make Claude Code as automated as possible. Instead of explaining what you want step-by-step, just tell it what to do and let it run. The goal: Claude should know how you think and execute with the full power of AI.
Less prompting. More doing.
Install the /claude-commands manager, then use it to discover and install everything else:
# Clone to your preferred location
git clone git@github.com:claude-commands/command-claude-commands.git <clone-path>/command-claude-commands
# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-claude-commands/claude-commands.md ~/.claude/commands/claude-commands.mdThen run /claude-commands in Claude Code.
The /claude-commands manager:
- Discovers all available commands from this org automatically
- Installs commands with proper symlinks in one step
- Updates all your installed commands at once
- Removes commands cleanly when you're done
No need to manually track repos or remember installation steps for each command.
/claude-commands # Interactive menu
/claude-commands install # Install all or select specific commands
/claude-commands add <name> # Add a single command
/claude-commands remove <name># Remove a command
/claude-commands update # Update all installed commands
/claude-commands list # Show what's installed vs available
/claude-commands move <name> # Move between user and project levels
Installation Scopes:
| Scope | Flag | Location | Availability |
|---|---|---|---|
| User | --user |
~/.claude/commands/ |
All projects (default) |
| Project | --project |
./.claude/commands/ |
Current project only |
Commands are cloned once and symlinked to user or project level. Updates apply everywhere.
Want to build a command for your workflow? Use /create-command to scaffold it interactively:
/create-command
The wizard will:
- Ask what you're building - Choose from presets (Git Workflow, Code Analysis, etc.) or go custom
- Gather details - Name, description, arguments, integrations needed
- Research best practices - Searches the web for current patterns in your domain
- Generate files - Creates properly structured
command-{name}/with all the right patterns - Help you publish - Optionally init git, push to GitHub, and create a PR to add it here
Your command becomes available to everyone in the org. See the Command Writing Guidelines for the full reference.
| Command | Description |
|---|---|
| /start-issue | Create git worktrees for GitHub issues |
| /add-feature | Implement features from issues with tests and PR |
| /fix-issue | Fix bugs using TDD workflow |
| /prune-worktree | Clean up merged worktrees |
| /branch-cleanup | Clean stale and merged git branches |
| /merge-ready | Find and merge PRs that are approved and passing CI |
| /rebase-all | Rebase multiple branches onto a target branch |
| /cherry-pick-prs | Cherry-pick commits from PRs to other branches |
| /hotfix | Create and manage hotfix branches with release workflow |
| /sync-fork | Sync forked repository with upstream changes |
| Command | Description |
|---|---|
| /standup | Generate standup notes from git commits |
| /pr-summary | Generate PR description from branch changes |
| /weekly-summary | Generate weekly work summary from git activity |
| /review-prs | Review PRs with AI-generated suggestions |
| /my-prs | Check status of your open PRs across repos |
| /git-stats | Git repository statistics and insights |
| /suggest-reviewers | Suggest reviewers based on code ownership and expertise |
| Command | Description |
|---|---|
| /explain | Deep-dive code explanation with Mermaid diagrams |
| /tech-debt | Analyze codebase for technical debt and complexity |
| /refactor | AI-guided refactoring with safety checks |
| /dead-code | Find unused code, exports, and dependencies |
| /profile | Performance profiling and optimization suggestions |
| /explain-diff | Explain changes between commits, branches, or files |
| /lint-fix | Auto-fix linting issues across the codebase |
| /todo-scan | Find and track TODO/FIXME comments in codebase |
| Command | Description |
|---|---|
| /test-gen | Generate comprehensive tests with edge cases |
| /test-coverage | Analyze test coverage and generate missing tests |
| /failing-tests | Debug and fix failing tests |
| /mock-data | Generate realistic test data from types or schemas |
| Command | Description |
|---|---|
| /scaffold | Generate project scaffolding following existing patterns |
| /convert | Convert between formats, languages, and data structures |
| /migration | Database migration helper with schema analysis |
| Command | Description |
|---|---|
| /api-docs | Generate API documentation from code |
| /doc-sync | Keep documentation in sync with code changes |
| Command | Description |
|---|---|
| /changelog | Generate changelog from commits (Keep a Changelog format) |
| /release | Prepare release with version bump and changelog |
| Command | Description |
|---|---|
| /security-scan | Security vulnerability assessment and secrets detection |
| /deps-check | Security, outdated, and unused dependency analysis |
| /deps-upgrade | Intelligent dependency upgrades with breaking change analysis |
| Command | Description |
|---|---|
| /debug | Intelligent error analysis and resolution |
| /env-check | Verify development environment setup |
| /logs | Analyze log files for issues and patterns |
| Command | Description |
|---|---|
| /onboard | Quick project onboarding and architecture overview |
| /context-dump | Save and restore working context for later sessions |
| Command | Description |
|---|---|
| /init-project | Initialize new project with best practices |
| /add-ci | Add CI/CD configuration to existing project |
| Command | Description |
|---|---|
| /codex | Delegate tasks to OpenAI Codex CLI |
| Command | Description |
|---|---|
| /create-command | Interactively create new slash commands with best practices |
- Claude Code CLI
- GitHub CLI (
gh) - authenticated - Git
Prefer to install commands individually? Each repo includes installation instructions:
# Clone to your preferred location
git clone git@github.com:claude-commands/command-standup.git <clone-path>/command-standup
# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-standup/standup.md ~/.claude/commands/standup.mdRecommended: Use /create-command to scaffold new commands interactively. It will:
- Guide you through naming, description, and tool selection
- Research best practices for your command type
- Generate properly structured files following org patterns
- Optionally set up git and push to GitHub
/create-command # Start the interactive wizard
Or create manually following the pattern:
- Repo:
command-{name} - Main file:
{name}.mdwith frontmatter - Include:
README.mdwith usage docs - Model: Always use
claude-opus-4-5-20251101
See the Command Writing Guidelines for best practices.
Made with Claude Code
Disclaimer: This project is not affiliated with, endorsed by, or sponsored by Anthropic. We're just developers who love Claude Code and want to make it even more powerful. All trademarks belong to their respective owners.