2025-07-14 14:28:11 +02:00
# SuperClaude Commands Guide 🛠️
2025-07-14 19:45:00 +02:00
## 💡 Don't Overthink It - SuperClaude Tries to Help
2025-07-14 16:51:40 +02:00
2025-07-14 20:16:57 +02:00
**The truth about these 16 commands**: You don't need to memorize them. Just start with `/sc:analyze` or `/sc:implement` and see what happens!
2025-07-14 16:51:40 +02:00
2025-07-14 19:45:00 +02:00
**Here's how it usually works:**
2025-07-14 16:51:40 +02:00
- Type `/` in Claude Code → See available commands
2025-07-14 19:45:00 +02:00
- Use basic ones like `/sc:analyze` , `/sc:build` , `/sc:improve`
- **SuperClaude tries to pick helpful tools and experts** for each situation
2025-07-14 16:51:40 +02:00
- More commands become useful as you get comfortable
2025-07-14 19:45:00 +02:00
**Auto-activation is pretty neat** 🪄 - SuperClaude attempts to detect what you're trying to do and activate relevant specialists (security expert, performance optimizer, etc.) without you managing it. Usually works well! 😊
2025-07-14 16:51:40 +02:00
---
## Quick "Just Try These" List 🚀
**Start here** (no reading required):
```bash
2025-07-14 18:34:01 +02:00
/sc:help # See what's available
2025-07-14 19:45:00 +02:00
/sc:analyze src/ # Tries to analyze your code smartly
2025-07-14 20:16:57 +02:00
/sc:implement user-auth # Creates features and components (replaces v2 /build)
2025-07-14 19:45:00 +02:00
/sc:build # Attempts intelligent project building
/sc:improve messy-file.js # Tries to clean up code
/sc:troubleshoot "error" # Attempts to help with problems
2025-07-14 16:51:40 +02:00
```
2025-07-14 19:45:00 +02:00
**That's honestly enough to get started.** Everything else below is here when you get curious about what other tools are available. 🛠️
2025-07-14 16:51:40 +02:00
---
2025-07-14 20:16:57 +02:00
A practical guide to all 16 SuperClaude slash commands. We'll be honest about what works well and what's still rough around the edges.
2025-07-14 14:28:11 +02:00
## Quick Reference 📋
2025-07-14 16:51:40 +02:00
*(You really don't need to memorize this - just pick what sounds useful)*
| Command | Purpose | Auto-Activates | Best For |
|---------|---------|-----------------|----------|
2025-07-14 19:45:00 +02:00
| `/sc:analyze` | Smart code analysis | Security/performance experts | Finding issues, understanding codebases |
| `/sc:build` | Intelligent building | Frontend/backend specialists | Compilation, bundling, deployment prep |
2025-07-14 20:16:57 +02:00
| `/sc:implement` | Feature implementation | Domain-specific experts | Creating features, components, APIs, services |
2025-07-14 19:45:00 +02:00
| `/sc:improve` | Automatic code cleanup | Quality experts | Refactoring, optimization, quality fixes |
| `/sc:troubleshoot` | Problem investigation | Debug specialists | Debugging, issue investigation |
| `/sc:test` | Smart testing | QA experts | Running tests, coverage analysis |
| `/sc:document` | Auto documentation | Writing specialists | README files, code comments, guides |
| `/sc:git` | Enhanced git workflows | DevOps specialists | Smart commits, branch management |
| `/sc:design` | System design help | Architecture experts | Architecture planning, API design |
| `/sc:explain` | Learning assistant | Teaching specialists | Learning concepts, understanding code |
| `/sc:cleanup` | Debt reduction | Refactoring experts | Removing dead code, organizing files |
| `/sc:load` | Context understanding | Analysis experts | Project analysis, codebase understanding |
| `/sc:estimate` | Smart estimation | Planning experts | Time/effort planning, complexity analysis |
| `/sc:spawn` | Complex workflows | Orchestration system | Multi-step operations, workflow automation |
| `/sc:task` | Project management | Planning system | Long-term feature planning, task tracking |
| `/sc:index` | Command navigation | Help system | Finding the right command for your task |
**Pro tip**: Just try the ones that sound useful. SuperClaude usually tries to activate helpful experts and tools for each situation! 🎯
2025-07-14 14:28:11 +02:00
## Development Commands 🔨
2025-07-14 20:16:57 +02:00
### `/implement` - Feature Implementation
**What it does**: Implements features, components, and functionality with intelligent expert activation.
**The helpful part**: SuperClaude auto-activates the right experts (frontend, backend, security) and tools based on what you're implementing! 🎯
**When to use it**:
- Creating new features or components (replaces v2's `/build` functionality)
- Implementing APIs, services, or modules
- Building UI components with modern frameworks
- Developing business logic and integrations
**Basic syntax**:
```bash
/sc:implement user authentication system # Implement complete feature
/sc:implement --type component LoginForm # Create specific component
/sc:implement --type api user-management # Build API endpoints
/sc:implement --framework react dashboard # Framework-specific implementation
```
**Useful flags**:
- `--type component|api|service|feature|module` - Implementation type
- `--framework react|vue|express|django|etc` - Target framework
- `--safe` - Conservative implementation approach
- `--iterative` - Step-by-step development with validation
- `--with-tests` - Include test implementation
- `--documentation` - Generate docs alongside code
**Real examples**:
```bash
/sc:implement user authentication --type feature --with-tests
/sc:implement dashboard component --type component --framework react
/sc:implement REST API for orders --type api --safe
/sc:implement payment processing --type service --iterative
/sc:implement search functionality --framework vue --documentation
```
**Auto-activation patterns**:
- **Frontend**: UI components, React/Vue/Angular → frontend persona + Magic MCP
- **Backend**: APIs, services, databases → backend persona + Context7
- **Security**: Auth, payments, sensitive data → security persona + validation
- **Complex features**: Multi-step implementations → Sequential MCP + architect persona
**Gotchas**:
- Specify `--type` for better results (component vs service vs feature)
- Use `--framework` when working with specific tech stacks
- Try `--safe` for production code or `--iterative` for complex features
- Remember: this replaces v2's `/build` for actual code implementation
---
2025-07-14 14:28:11 +02:00
### `/build` - Project Building
**What it does**: Builds, compiles, and packages projects with smart error handling.
2025-07-14 19:45:00 +02:00
**The easy way**: Just type `/sc:build` and SuperClaude tries to figure out your build system! 🎯
2025-07-14 16:51:40 +02:00
2025-07-14 14:28:11 +02:00
**When to use it**:
2025-07-14 19:45:00 +02:00
- You need to compile/bundle your project (just try `/sc:build` )
2025-07-14 16:51:40 +02:00
- Build process is failing and you want help debugging
2025-07-14 19:45:00 +02:00
- Setting up build optimization (it tries to detect what you need)
2025-07-14 14:28:11 +02:00
- Preparing for deployment
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:build # Build current project
/sc:build --type prod # Production build
/sc:build --clean # Clean build (remove old artifacts)
/sc:build --optimize # Enable optimizations
/sc:build src/ # Build specific directory
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--type dev|prod|test` - Build type
- `--clean` - Clean before building
- `--optimize` - Enable build optimizations
- `--verbose` - Show detailed build output
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:build --type prod --optimize # Production build with optimizations
/sc:build --clean --verbose # Clean build with detailed output
/sc:build src/components # Build just the components folder
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Works best with common build tools (npm, webpack, etc.)
- May struggle with very custom build setups
- Check your build tool is in PATH
---
### `/design` - System & Component Design
**What it does**: Creates system architecture, API designs, and component specifications.
**When to use it**:
- Planning new features or systems
- Need API or database design
- Creating component architecture
- Documenting system relationships
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:design user-auth-system # Design a user authentication system
/sc:design --type api auth # Design just the API part
/sc:design --format spec payment # Create formal specification
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--type architecture|api|component|database` - Design focus
- `--format diagram|spec|code` - Output format
- `--iterative` - Refine design through iterations
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:design --type api user-management # Design user management API
/sc:design --format spec chat-system # Create chat system specification
/sc:design --type database ecommerce # Design database schema
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- More conceptual than code-generating
- Output quality depends on how clearly you describe requirements
- Great for planning phase, less for implementation details
## Analysis Commands 🔍
2025-07-14 16:51:40 +02:00
### `/analyze` - Code Analysis
2025-07-14 14:28:11 +02:00
**What it does**: Comprehensive analysis of code quality, security, performance, and architecture.
2025-07-14 19:45:00 +02:00
**The helpful part**: SuperClaude tries to detect what kind of analysis you need and usually picks relevant experts! 🔍
2025-07-14 16:51:40 +02:00
2025-07-14 14:28:11 +02:00
**When to use it**:
2025-07-14 16:51:40 +02:00
- Understanding unfamiliar codebases (just point it at any folder)
2025-07-14 19:45:00 +02:00
- Finding security vulnerabilities (security expert usually jumps in)
- Performance bottleneck hunting (performance expert usually helps)
- Code quality assessment (quality specialist often takes over)
2025-07-14 14:28:11 +02:00
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:analyze src/ # Analyze entire src directory
/sc:analyze --focus security # Focus on security issues
/sc:analyze --depth deep app.js # Deep analysis of specific file
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--focus quality|security|performance|architecture` - Analysis focus
- `--depth quick|deep` - Analysis thoroughness
- `--format text|json|report` - Output format
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:analyze --focus security --depth deep # Deep security analysis
/sc:analyze --focus performance src/api/ # Performance analysis of API
/sc:analyze --format report . # Generate analysis report
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Can take a while on large codebases
- Security analysis is pretty good, performance analysis varies
- Works best with common languages (JS, Python, etc.)
---
### `/troubleshoot` - Problem Investigation
**What it does**: Systematic debugging and problem investigation.
**When to use it**:
- Something's broken and you're not sure why
- Need systematic debugging approach
- Error messages are confusing
- Performance issues investigation
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:troubleshoot "login not working" # Investigate login issue
/sc:troubleshoot --logs error.log # Analyze error logs
/sc:troubleshoot performance # Performance troubleshooting
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--logs <file>` - Include log file analysis
- `--systematic` - Use structured debugging approach
- `--focus network|database|frontend` - Focus area
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:troubleshoot "API returning 500" --logs server.log
/sc:troubleshoot --focus database "slow queries"
/sc:troubleshoot "build failing" --systematic
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Works better with specific error descriptions
- Include relevant error messages and logs when possible
- May suggest obvious things first (that's usually good!)
---
### `/explain` - Educational Explanations
**What it does**: Explains code, concepts, and technologies in an educational way.
**When to use it**:
- Learning new technologies or patterns
- Understanding complex code
- Need clear explanations for team members
- Documenting tricky concepts
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:explain async/await # Explain async/await concept
/sc:explain --code src/utils.js # Explain specific code file
/sc:explain --beginner React hooks # Beginner-friendly explanation
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--beginner` - Simpler explanations
- `--advanced` - Technical depth
- `--code <file>` - Explain specific code
- `--examples` - Include practical examples
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:explain --beginner "what is REST API"
/sc:explain --code src/auth.js --advanced
/sc:explain --examples "React context patterns"
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Great for well-known concepts, may struggle with very niche topics
- Better with specific questions than vague "explain this codebase"
- Include context about your experience level
## Quality Commands ✨
### `/improve` - Code Enhancement
**What it does**: Systematic improvements to code quality, performance, and maintainability.
**When to use it**:
- Refactoring messy code
- Performance optimization
- Applying best practices
- Modernizing old code
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:improve src/legacy/ # Improve legacy code
/sc:improve --type performance # Focus on performance
/sc:improve --safe src/utils.js # Safe, low-risk improvements only
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--type quality|performance|maintainability|style` - Improvement focus
- `--safe` - Only apply low-risk changes
- `--preview` - Show what would be changed without doing it
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:improve --type performance --safe src/api/
/sc:improve --preview src/components/LegacyComponent.js
/sc:improve --type style . --safe
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Always use `--preview` first to see what it wants to change
- `--safe` is your friend - prevents risky refactoring
- Works best on smaller files/modules rather than entire codebases
---
### `/cleanup` - Technical Debt Reduction
**What it does**: Removes dead code, unused imports, and organizes file structure.
**When to use it**:
- Codebase feels cluttered
- Lots of unused imports/variables
- File organization is messy
- Before major refactoring
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:cleanup src/ # Clean up src directory
/sc:cleanup --dead-code # Focus on dead code removal
/sc:cleanup --imports package.js # Clean up imports in specific file
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--dead-code` - Remove unused code
- `--imports` - Clean up import statements
- `--files` - Reorganize file structure
- `--safe` - Conservative cleanup only
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:cleanup --dead-code --safe src/utils/
/sc:cleanup --imports src/components/
/sc:cleanup --files . --safe
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Can be aggressive - always review changes carefully
- May not catch all dead code (especially dynamic imports)
- Better to run on smaller sections than entire projects
---
### `/test` - Testing & Quality Assurance
**What it does**: Runs tests, generates coverage reports, and maintains test quality.
**When to use it**:
- Running test suites
- Checking test coverage
- Generating test reports
- Setting up continuous testing
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:test # Run all tests
/sc:test --type unit # Run only unit tests
/sc:test --coverage # Generate coverage report
/sc:test --watch src/ # Watch mode for development
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--type unit|integration|e2e|all` - Test type
- `--coverage` - Generate coverage reports
- `--watch` - Run tests in watch mode
- `--fix` - Try to fix failing tests automatically
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:test --type unit --coverage
/sc:test --watch src/components/
/sc:test --type e2e --fix
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Needs your test framework to be properly configured
- Coverage reports depend on your existing test setup
- `--fix` is experimental - review what it changes
## Documentation Commands 📝
### `/document` - Focused Documentation
**What it does**: Creates documentation for specific components, functions, or features.
**When to use it**:
- Need README files
- Writing API documentation
- Adding code comments
- Creating user guides
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:document src/api/auth.js # Document authentication module
/sc:document --type api # API documentation
/sc:document --style brief README # Brief README file
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--type inline|external|api|guide` - Documentation type
- `--style brief|detailed` - Level of detail
- `--template` - Use specific documentation template
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:document --type api src/controllers/
/sc:document --style detailed --type guide user-onboarding
/sc:document --type inline src/utils/helpers.js
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Better with specific files/functions than entire projects
- Quality depends on how well-structured your code is
- May need some editing to match your project's documentation style
## Project Management Commands 📊
### `/estimate` - Project Estimation
**What it does**: Estimates time, effort, and complexity for development tasks.
**When to use it**:
- Planning new features
- Sprint planning
- Understanding project complexity
- Resource allocation
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:estimate "add user authentication" # Estimate auth feature
/sc:estimate --detailed shopping-cart # Detailed breakdown
/sc:estimate --complexity user-dashboard # Complexity analysis
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--detailed` - Detailed breakdown of tasks
- `--complexity` - Focus on technical complexity
- `--team-size <n>` - Consider team size in estimates
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:estimate --detailed "implement payment system"
/sc:estimate --complexity --team-size 3 "migrate to microservices"
/sc:estimate "add real-time chat" --detailed
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Estimates are rough - use as starting points, not gospel
- Works better with clear, specific feature descriptions
- Consider your team's experience with the tech stack
---
### `/task` - Long-term Project Management
**What it does**: Manages complex, multi-session development tasks and features.
**When to use it**:
- Planning features that take days/weeks
- Breaking down large projects
- Tracking progress across sessions
- Coordinating team work
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:task create "implement user dashboard" # Create new task
/sc:task status # Check task status
/sc:task breakdown "payment integration" # Break down into subtasks
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `create` - Create new long-term task
- `status` - Check current task status
- `breakdown` - Break large task into smaller ones
- `--priority high|medium|low` - Set task priority
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:task create "migrate from REST to GraphQL" --priority high
/sc:task breakdown "e-commerce checkout flow"
/sc:task status
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
2025-07-14 19:45:00 +02:00
- Still experimental - doesn't always persist across sessions reliably 😅
2025-07-14 14:28:11 +02:00
- Better for planning than actual project management
- Works best when you're specific about requirements
---
### `/spawn` - Complex Operation Orchestration
**What it does**: Coordinates complex, multi-step operations and workflows.
**When to use it**:
- Operations involving multiple tools/systems
- Coordinating parallel workflows
- Complex deployment processes
- Multi-stage data processing
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:spawn deploy-pipeline # Orchestrate deployment
/sc:spawn --parallel migrate-data # Parallel data migration
/sc:spawn setup-dev-environment # Complex environment setup
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--parallel` - Run operations in parallel when possible
- `--sequential` - Force sequential execution
- `--monitor` - Monitor operation progress
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:spawn --parallel "test and deploy to staging"
/sc:spawn setup-ci-cd --monitor
/sc:spawn --sequential database-migration
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Most complex command - expect some rough edges
- Better for well-defined workflows than ad-hoc operations
- May need multiple iterations to get right
## Version Control Commands 🔄
### `/git` - Enhanced Git Operations
**What it does**: Git operations with intelligent commit messages and workflow optimization.
**When to use it**:
- Making commits with better messages
- Branch management
- Complex git workflows
- Git troubleshooting
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:git commit # Smart commit with auto-generated message
/sc:git --smart-commit add . # Add and commit with smart message
/sc:git branch feature/new-auth # Create and switch to new branch
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--smart-commit` - Generate intelligent commit messages
- `--branch-strategy` - Apply branch naming conventions
- `--interactive` - Interactive mode for complex operations
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:git --smart-commit "fixed login bug"
/sc:git branch feature/user-dashboard --branch-strategy
/sc:git merge develop --interactive
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Smart commit messages are pretty good but review them
- Assumes you're following common git workflows
- Won't fix bad git habits - just makes them easier
## Utility Commands 🔧
### `/index` - Command Navigation
**What it does**: Helps you find the right command for your task.
**When to use it**:
- Not sure which command to use
- Exploring available commands
- Learning about command capabilities
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:index # List all commands
/sc:index testing # Find commands related to testing
/sc:index --category analysis # Commands in analysis category
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--category <cat>` - Filter by command category
- `--search <term>` - Search command descriptions
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:index --search "performance"
/sc:index --category quality
/sc:index git
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Simple but useful for discovery
2025-07-14 20:16:57 +02:00
- Better than trying to remember all 16 commands
2025-07-14 14:28:11 +02:00
---
### `/load` - Project Context Loading
**What it does**: Loads and analyzes project context for better understanding.
**When to use it**:
- Starting work on unfamiliar project
- Need to understand project structure
- Before making major changes
- Onboarding team members
**Basic syntax**:
```bash
2025-07-14 18:34:01 +02:00
/sc:load # Load current project context
/sc:load src/ # Load specific directory context
/sc:load --deep # Deep analysis of project structure
2025-07-14 14:28:11 +02:00
```
**Useful flags**:
- `--deep` - Comprehensive project analysis
- `--focus <area>` - Focus on specific project area
- `--summary` - Generate project summary
**Real examples**:
```bash
2025-07-14 18:34:01 +02:00
/sc:load --deep --summary
/sc:load src/components/ --focus architecture
/sc:load . --focus dependencies
2025-07-14 14:28:11 +02:00
```
**Gotchas**:
- Can take time on large projects
- More useful at project start than during development
- Helps with onboarding but not a replacement for good docs
## Command Tips & Patterns 💡
### Effective Flag Combinations
```bash
# Safe improvement workflow
2025-07-14 18:34:01 +02:00
/sc:improve --preview src/component.js # See what would change
/sc:improve --safe src/component.js # Apply safe changes only
2025-07-14 14:28:11 +02:00
# Comprehensive analysis
2025-07-14 18:34:01 +02:00
/sc:analyze --focus security --depth deep
/sc:test --coverage
/sc:document --type api
2025-07-14 14:28:11 +02:00
# Smart git workflow
2025-07-14 18:34:01 +02:00
/sc:git add .
/sc:git --smart-commit --branch-strategy
2025-07-14 14:28:11 +02:00
# Project understanding workflow
2025-07-14 18:34:01 +02:00
/sc:load --deep --summary
/sc:analyze --focus architecture
/sc:document --type guide
2025-07-14 14:28:11 +02:00
```
### Common Workflows
**New Project Onboarding**:
```bash
2025-07-14 18:34:01 +02:00
/sc:load --deep --summary
/sc:analyze --focus architecture
/sc:test --coverage
/sc:document README
2025-07-14 14:28:11 +02:00
```
**Bug Investigation**:
```bash
2025-07-14 18:34:01 +02:00
/sc:troubleshoot "specific error message" --logs
/sc:analyze --focus security
/sc:test --type unit affected-component
2025-07-14 14:28:11 +02:00
```
**Code Quality Improvement**:
```bash
2025-07-14 18:34:01 +02:00
/sc:analyze --focus quality
/sc:improve --preview src/
/sc:cleanup --safe
/sc:test --coverage
2025-07-14 14:28:11 +02:00
```
**Pre-deployment Checklist**:
```bash
2025-07-14 18:34:01 +02:00
/sc:test --type all --coverage
/sc:analyze --focus security
/sc:build --type prod --optimize
/sc:git --smart-commit
2025-07-14 14:28:11 +02:00
```
### Troubleshooting Command Issues
**Command not working as expected?**
- Try adding `--help` to see all options
- Use `--preview` or `--safe` flags when available
- Start with smaller scope (single file vs. entire project)
**Analysis taking too long?**
- Use `--focus` to narrow scope
- Try `--depth quick` instead of deep analysis
- Analyze smaller directories first
**Build/test commands failing?**
- Make sure your tools are in PATH
- Check that config files are in expected locations
- Try running the underlying commands directly first
**Not sure which command to use?**
- Use `/index` to browse available commands
- Look at the Quick Reference table above
- Try the most specific command first, then broader ones
---
## Final Notes 📝
2025-07-14 16:51:40 +02:00
**The real truth about these commands** 💯:
- **Just try them** - You don't need to study this guide first
- **Start with the basics** - `/analyze` , `/build` , `/improve` cover most needs
2025-07-14 19:45:00 +02:00
- **Let auto-activation work** - SuperClaude usually picks helpful experts
2025-07-14 16:51:40 +02:00
- **Experiment freely** - Use `--preview` if you want to see what would happen first
2025-07-14 14:28:11 +02:00
**Still rough around the edges:**
2025-07-14 19:45:00 +02:00
- Complex orchestration (spawn, task) can be a bit flaky
2025-07-14 16:51:40 +02:00
- Some analysis depends heavily on your project setup
2025-07-14 14:28:11 +02:00
- Error handling could be better in some commands
**Getting better all the time:**
- We actively improve commands based on user feedback
- Newer commands (analyze, improve) tend to work better
2025-07-14 16:51:40 +02:00
- Auto-activation keeps getting smarter
**Don't stress about memorizing this** 🧘♂️
- SuperClaude is designed to be discoverable through use
- Type `/` to see available commands
- Commands suggest what they can do when you use `--help`
- The intelligent routing handles most of the complexity
2025-07-14 14:28:11 +02:00
**Need help?** Check the GitHub issues or create a new one if you're stuck! 🚀
---
2025-07-14 16:51:40 +02:00
*Happy coding! Just remember - you can skip most of this guide and learn by doing. 🎯*