Commands Overview
Commands Overview
Section titled “Commands Overview”Claude Kit provides 27+ slash commands that automate common development workflows. Commands are organized into categories based on their purpose.
Command Categories
Section titled “Command Categories”Development Commands
Section titled “Development Commands”Core commands for building features and fixing bugs:
| Command | Description |
|---|---|
/feature | End-to-end feature development workflow |
/fix | Smart debugging and bug fixing |
/review | Comprehensive code review |
/test | Generate tests for code |
/refactor | Code refactoring workflow |
/debug | Interactive debugging session |
/tdd | Test-driven development workflow |
Planning Commands
Section titled “Planning Commands”Commands for planning and research:
| Command | Description |
|---|---|
/plan | Create structured implementation plans |
/brainstorm | Interactive design and ideation |
/execute-plan | Execute a plan with subagents |
/research | Technology research and analysis |
Git & Deployment Commands
Section titled “Git & Deployment Commands”Commands for version control and deployment:
| Command | Description |
|---|---|
/ship | Commit and create PR workflow |
/commit | Create a git commit |
/pr | Create a pull request |
/deploy | Deployment workflow |
/changelog | Generate changelog entries |
Documentation Commands
Section titled “Documentation Commands”Commands for generating documentation:
| Command | Description |
|---|---|
/doc | Generate documentation |
/api-gen | Generate API documentation |
Utility Commands
Section titled “Utility Commands”Helper commands for various tasks:
| Command | Description |
|---|---|
/mode | Switch behavioral modes |
/index | Generate project structure index |
/load | Load project context |
/checkpoint | Save/restore session state |
/spawn | Launch parallel background tasks |
/status | Show project status |
/help | Show help information |
/optimize | Optimize code performance |
/security-scan | Security vulnerability scan |
Command Structure
Section titled “Command Structure”All commands follow a consistent structure:
/command [arguments] [--flags]Arguments
Section titled “Arguments”Most commands accept a description or target as the main argument:
/feature "add user authentication"/fix "TypeError in UserService.ts"/review src/auth/Commands support flags for customization:
| Flag | Description | Example |
|---|---|---|
--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 |
--checkpoint | Create state checkpoint | --checkpoint |
--persona=[type] | Apply persona expertise | --persona=security |
Flag Examples
Section titled “Flag Examples”# 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"Common Workflows
Section titled “Common Workflows”Feature Development
Section titled “Feature Development”# 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"Bug Fixing
Section titled “Bug Fixing”# 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"Code Quality
Section titled “Code Quality”# 1. Review code/review src/services/
# 2. Run security scan/security-scan src/
# 3. Optimize performance/optimize src/services/data-processor.tsGetting Help
Section titled “Getting Help”Get help for any command:
/help # Show all commands/help feature # Show /feature details/help fix # Show /fix details