Skip to content

Commands Overview

Claude Kit provides 27+ slash commands that automate common development workflows. Commands are organized into categories based on their purpose.

Core commands for building features and fixing bugs:

CommandDescription
/featureEnd-to-end feature development workflow
/fixSmart debugging and bug fixing
/reviewComprehensive code review
/testGenerate tests for code
/refactorCode refactoring workflow
/debugInteractive debugging session
/tddTest-driven development workflow

Commands for planning and research:

CommandDescription
/planCreate structured implementation plans
/brainstormInteractive design and ideation
/execute-planExecute a plan with subagents
/researchTechnology research and analysis

Commands for version control and deployment:

CommandDescription
/shipCommit and create PR workflow
/commitCreate a git commit
/prCreate a pull request
/deployDeployment workflow
/changelogGenerate changelog entries

Commands for generating documentation:

CommandDescription
/docGenerate documentation
/api-genGenerate API documentation

Helper commands for various tasks:

CommandDescription
/modeSwitch behavioral modes
/indexGenerate project structure index
/loadLoad project context
/checkpointSave/restore session state
/spawnLaunch parallel background tasks
/statusShow project status
/helpShow help information
/optimizeOptimize code performance
/security-scanSecurity vulnerability scan

All commands follow a consistent structure:

Terminal window
/command [arguments] [--flags]

Most commands accept a description or target as the main argument:

Terminal window
/feature "add user authentication"
/fix "TypeError in UserService.ts"
/review src/auth/

Commands support flags for customization:

FlagDescriptionExample
--mode=[mode]Use specific behavioral mode--mode=implementation
--depth=[1-5]Thoroughness level--depth=3
--format=[fmt]Output format--format=concise
--save=[path]Save output to file--save=plan.md
--checkpointCreate state checkpoint--checkpoint
--persona=[type]Apply persona expertise--persona=security
Terminal window
# Use implementation mode for faster coding
/feature --mode=implementation "add logging utility"
# Deep security review
/review --persona=security --depth=5 src/auth/
# Concise output
/fix --format=concise "typo in error message"
# Save plan to file
/plan --save=plans/auth.md "implement authentication"
Terminal window
# 1. Brainstorm the approach
/brainstorm "how should we implement user roles?"
# 2. Create a detailed plan
/plan "implement role-based access control"
# 3. Build the feature
/feature "add RBAC with admin and user roles"
# 4. Ship it
/ship "feat: add role-based access control"
Terminal window
# 1. Debug the issue
/fix "users can't login after password reset"
# 2. Review the fix
/review src/auth/password-reset.ts
# 3. Ship the fix
/ship "fix: resolve password reset login issue"
Terminal window
# 1. Review code
/review src/services/
# 2. Run security scan
/security-scan src/
# 3. Optimize performance
/optimize src/services/data-processor.ts

Get help for any command:

Terminal window
/help # Show all commands
/help feature # Show /feature details
/help fix # Show /fix details
  • /feature — Learn the flagship command
  • /fix — Master debugging workflow
  • Modes — Optimize Claude’s behavior