This manual covers all 25 commands, 15 specialized agents + business expert panel, 7 behavior modes, and 8 MCP servers with detailed usage and rich practical examples. Each feature is carefully designed to make your development work more efficient and intelligent.
🎯 Quick Start
Install SuperClaude
# Recommended method (pipx)
pipx install SuperClaude && pipx upgrade SuperClaude && SuperClaude install
# Or using npm
npm install -g @bifrost_inc/superclaude && superclaude install
# Or using pip
pip install SuperClaude && pip upgrade SuperClaude && SuperClaude installFirst Time Usage
After installation, type in Claude Code:
/sc:helpThis will display a list of all available commands. Let's start exploring!
📋 Core Commands
📋 Command Overview
SuperClaude provides 25 powerful commands covering all aspects of development:
/sc:help- View All Commands/sc:brainstorm- Interactive Requirements Exploration/sc:analyze- Code Quality Analysis/sc:research- Deep Web Research/sc:implement- Feature Implementation/sc:test- Test Execution/sc:improve- Code Improvement/sc:build- Project Build/sc:cleanup- Code Cleanup/sc:design- System Design/sc:document- Documentation Generation/sc:estimate- Development Estimation/sc:explain- Code Explanation/sc:index- Project Documentation Index/sc:reflect- Task Reflection/sc:select-tool- Tool Selection/sc:spawn- Task Orchestration/sc:spec-panel- Specification Review/sc:troubleshoot- Troubleshooting/sc:workflow- Workflow Generation/sc:git- Git Operations/sc:save- Session Save/sc:load- Session Load/sc:business-panel- Business Expert Panel/sc:task- Complex Task Execution
💻 Development Workflow
Common development workflow commands to help you with full-cycle development from requirements to deployment:
Syntax
/sc:brainstorm [--strategy systematic|agile|enterprise] [--depth shallow|normal|deep] [--parallel] [topic/idea]Parameters
- --strategy: : Exploration strategy
systematicagileenterprise
- --depth: : Exploration depth
shallownormaldeep
- --parallel: : Enable parallel exploration paths
/sc:brainstorm --strategy systematic --depth deep "AI-driven project management tool"- Multi-expert analysis (architect, analyst, project manager)
- Uses Sequential MCP for structured exploration framework
- Generates complete requirements documentation
💡 Practical Scenarios
/sc:brainstorm --strategy systematic --depth shallow --parallel "Team collaboration project management tool with AI assistant"- Have a vague idea for a team collaboration project management tool with AI assistant integration
- Uncertain about core value proposition and target user groups
- Unclear about specific AI integration scenarios
- Need systematic exploration to clarify product positioning and feature scope
/sc:brainstorm --strategy agile --depth normal "Team collaboration project management tool with AI assistant"- Want to develop a team collaboration tool
- Uncertain about core features that would provide real value
- Need to identify differentiation advantages in competitive market
/sc:brainstorm --strategy enterprise --depth deep "Feature prioritization: User feedback system vs Advanced analytics vs Third-party integrations"- Product backlog has accumulated 20+ feature requests from various stakeholders
- Limited development resources (small team)
- Need data-driven prioritization to maximize impact
- Must balance quick wins with long-term strategic features
- The vaguer the idea, the better suited for this command
- Let Claude guide the conversation and answer raised questions
- Save generated requirements documents for subsequent development
Syntax
/sc:implement [--type component|api|service|feature] [--framework react|vue|express] [--safe] [--with-tests] "" Parameters
- --type: Implementation type
componentapiservicefeature
- --framework: Tech framework (e.g., react, vue, angular, express, fastify)
- --safe: Enable security review, activate security engineer
- --with-tests: Auto-generate test code
/sc:implement --type component --framework react "user login form"- Generates React component
- Includes Hooks and state management
- Automatic form validation
/sc:implement --type api --framework express --safe "payment processing interface"- Express REST API
- Includes error handling and input validation
- Security mode prevents common vulnerabilities
/sc:implement --type feature --framework react --with-tests --magic --c7 "real-time chat system"- Complete frontend and backend implementation
- Includes unit tests and integration tests
- Magic generates beautiful UI
- Context7 provides best practices
- Automatically sets up WebSocket connection
/sc:implement --type service --framework express --with-tests --seq --think-hard "order processing microservice"- Independent microservice architecture
- Includes message queue integration
- Sequential deep analysis of business logic
- Auto-generates Docker configuration
💡 Practical Scenarios
/sc:implement --type feature --framework react --safe --with-tests "Large file upload with chunking and resume"- Need to implement large file upload support with chunking mechanism
- Must support files up to 2GB in size
- Require progress tracking with real-time updates
- Need resume capability to handle network interruptions
- Must show accurate upload progress to users
/sc:implement --type api --framework express --safe --with-tests "User authentication system (registration, login, JWT)"- Need to implement complete user authentication system
- Must include user registration with email validation
- Require secure login with JWT token management
- Tech stack: Express.js + JWT + bcrypt for password hashing
- Must design user model with encrypted passwords
- Need registration and login API endpoints with proper validation
- Require authentication middleware for protected routes
- Description needs to be clear and explicit, including key requirements
- Production code should always use --safe
- Use --with-tests to ensure test coverage
Syntax
/sc:design --type architecture --format diagram "" Parameters
- --type: Design type
architectureapicomponentdatabase
- --format: Output format
diagramspeccode
/sc:design --type api --format spec "User Authentication API"- OpenAPI specification
- Endpoint definitions
- Security schemes
/sc:design --type database --format code "E-commerce Order System"- Database schema
- ER diagram
- SQL scripts
/sc:design --type architecture --format diagram --ultrathink --c7 "" - Complete architecture diagram
- Service communication design
- Data flow diagram
- Technology stack selection
- Scalability planning
💡 Practical Scenarios
/sc:design --type api --format spec "Real-time Document Collaboration API"- Need to design a real-time collaborative document editing feature
- Require proper API structure for multi-user editing
- Must handle data synchronization and conflict resolution
- Need real-time updates across all connected clients
/sc:design --type architecture --format diagram "Payment System Refactoring"- E-commerce system payment code is messy with high coupling between components
- Difficult to add new payment providers or modify existing flows
- Need to redesign architecture before refactoring
- Must ensure clean separation of concerns and testability
- Design before coding to avoid rework
- Consider system scalability and maintainability
- Use --format diagram to generate visual documentation
- Conduct design reviews before implementation phase
💾 Session Management
Save and load your development sessions for cross-session context persistence:
Syntax
/sc:save [--type session|learnings|context|all] [--checkpoint] [--summarize]Parameters
- --type: : Save type
sessionlearningscontextall
- --checkpoint: : Create recoverable checkpoint
- --summarize: : Generate summary
/sc:save --type session- Save current session
- Fast execution
- Auto timestamp
/sc:save --type all --checkpoint --summarize- Complete state save
- Generate summary
- Recoverable checkpoint
💡 Practical Scenarios
/sc:save "payment-bug-analysis"- Working on complex payment integration bug
- End of work day approaching
- Made significant debugging progress that needs to be preserved
- Want to continue investigation tomorrow without losing context
/sc:save "project-architecture-overview"- Completed in-depth architectural discussion with team
- Made important technology stack decisions
- Need to preserve architectural rationale for future reference
- Want to make knowledge accessible for team onboarding
/sc:save "react-performance-optimization"- Just finished optimizing React component rendering performance
- Discovered key insights about unnecessary re-renders
- Applied React.memo and useCallback optimizations
- Achieved significant performance improvements
- Want to document solution for similar scenarios
- Save immediately after important breakthroughs
- Create checkpoints every 30 minutes for long sessions
- Use --summarize before ending sessions
Syntax
/sc:load [--type project|checkpoint|session] [--analyze] [--refresh] "" Parameters
- --type: : Load type
projectcheckpointsession
- --analyze: : Auto-analyze project structure
- --refresh: : Refresh context
/sc:load --type project --analyze "" - Load project context
- Auto-analyze structure
- Understand code architecture
/sc:load --type checkpoint --refresh "session_20250118_1430"- Restore session state
- Refresh context
- Continue previous work
💡 Practical Scenarios
/sc:load "payment-bug-analysis"- Starting new work day
- Was debugging authentication issue yesterday
- Need to quickly restore context and continue from where left off
- Want seamless workflow continuation without re-analyzing the problem
/sc:load "ecommerce-platform"- Switching to different project after working on another codebase
- Need to recall project-specific context, architecture, and conventions
- Want quick reactivation without manually reviewing documentation
/sc:load "nextjs-learning"- Was learning Next.js App Router architecture last week
- Made notes and practiced with examples
- Need to continue learning from where stopped
- Want to recall key concepts and next learning steps
- Load project context immediately when starting new session
- Save current session before switching projects, then load new project
- Regularly use --refresh to refresh stale context
- Use --analyze to automatically analyze project structure
🎯 Advanced Features
Powerful advanced commands for solving complex development scenarios:
Syntax
/sc:reflect [--analyze outcomes|process|quality] [--improve] [--task TasksID]Parameters
- --task: : Specify task ID to reflect on
- --analyze: : Analysis dimension
outcomesprocessquality
- --improve: : Auto-apply improvement suggestions
/sc:reflect --task --analyze quality --improve "implement user authentication"- Analyze implementation quality (code coverage, security)
- Identify potential issues (insufficient error handling, performance concerns)
- Generate improvement suggestions
- Automatically apply safely improvable parts
- Flag issues requiring manual review
💡 Practical Scenarios
/sc:reflect --analyze outcomes --improve/sc:reflect --analyze process/sc:reflect --analyze quality --improve- Reflect promptly after completing important tasks
- Use reflection results to optimize future work
- Regular reflection improves development quality
- Fix issues discovered through reflection promptly
Syntax
/sc:select-tool "operation description" [--suggest] [--compare] [--explain]Parameters
- --suggest: : Recommend best tool combination
- --compare: : Compare multiple tool solutions
- --explain: : Explain selection reasoning
/sc:select-tool --suggest --explain "Need to rename function names in 100 files"- Analyze operation complexity: Medium (batch editing)
- Recommended tool: Morphllm MCP (batch pattern editing)
- Alternative: Serena MCP (symbol renaming)
- Explanation: Morphllm better suited for pattern-based batch replacements
- Estimated efficiency gain: 80%
💡 Practical Scenarios
/sc:select-tool --suggest --explain "Implement user behavior data analysis and visualization reports"/sc:select-tool --suggest --explain "API performance optimization"/sc:select-tool --suggest --explain "Learn Next.js 14 new features"- Consult this command when unsure which tool to use
- Use --compare to understand pros/cons of different solutions
- Choose appropriate tools based on project scale
- Learn tool selection logic to improve efficiency
Syntax
/sc:spawn "task description" [--strategy sequential|parallel|adaptive] [--breakdown auto] [--delegate agents]Parameters
- --strategy: : Execution strategy
sequentialparalleladaptive
- --breakdown: : Automatic task breakdown
- --delegate: : Delegate to specialized agents
/sc:spawn --strategy adaptive --breakdown auto --delegate agents "Build complete e-commerce admin system"- Task breakdown: User management, Product management, Order system, Payment integration, Data analytics
- Agent assignment: backend-architect (architecture), security-engineer (payment security), frontend-architect (admin interface)
- Execution strategy: Architecture design → Parallel development → Integration testing
- Intelligent scheduling and progress tracking
💡 Practical Scenarios
/sc:spawn --strategy adaptive --breakdown auto "user avatar upload, comment system, search optimization"/sc:spawn --strategy parallel --breakdown auto "Deploy to test, staging, and production environments"/sc:spawn --strategy adaptive --breakdown auto "Analyze slow API, frontend lag, and database query performance"- Suitable for large, multi-module projects
- Let system intelligently assign agents and strategies
- Regularly check subtask progress
- Use sequential strategy for complex dependencies
Syntax
/sc:workflow [--strategy agile|systematic|enterprise] [--depth shallow|normal|deep] [--parallel] [--delegate manual|auto] "" Parameters
- --strategy: Workflow strategy
systematicagileenterprise
- --depth: Workflow depth
shallownormaldeep
- --parallel: Enable parallel task execution
- --delegate: Automatic task delegation
auto
/sc:workflow --strategy agile "User Management System"- Agile methodology
- User story breakdown
- Iteration planning
/sc:workflow --strategy systematic --depth deep "@requirements.prd"- Systematic methodology
- Detailed task breakdown
- Dependency graph
/sc:workflow --strategy enterprise --depth deep --parallel --delegate auto "@product-spec.md"- Enterprise-level process
- Parallel task execution
- Automatic task assignment
- Gantt chart generation
- Team collaboration plan
💡 Practical Scenarios
/sc:workflow --strategy systematic --depth normal "New Feature Development Standard Process"/sc:workflow --strategy agile --depth shallow "Bug Fix Standard Process"/sc:workflow --strategy enterprise --depth deep --parallel --delegate auto "@product-spec.md"- Ensure PRD contains clear requirement definitions
- Use systematic strategy for resource planning
- Regularly update workflow to track progress
- Adjust approach based on team size
Syntax
/sc:task [--parallel] [--validate] [task description] [--delegate auto|files|folders]/sc:task --delegate auto --validate "refactor authentication system"- Auto task decomposition and delegation
- Expert collaboration and execution
- Risk assessment before execution
💡 Practical Scenarios
/sc:task --parallel --validate "Integrate Stripe payment (requirements → design → implementation → testing → deployment)"/sc:task --parallel --validate "Production environment memory leak"/sc:task --parallel --validate "Next.js + TypeScript + Tailwind project"Other Core Commands
More powerful feature commands
Syntax
/sc:helpSyntax
/sc:analyze [--focus quality|security|performance|architecture] [--depth quick|deep] [--format text|json|report] [--all-mcp] [--validate] "" Parameters
- --focus: Analysis focus
qualitysecurityperformancearchitecture
- --depth: Analysis depth
quicknormaldeep
- --format: Output format
textjsonreport
- --all-mcp: Enable all MCP servers for comprehensive analysis
- --validate: Validate analysis results and generate improvement plan
/sc:analyze --focus security --depth quick "src/auth"- Quick security vulnerability identification
- Completes scan in 5-10 seconds
- Focus on authentication logic
/sc:analyze --focus performance --depth normal "api/"- Standard performance analysis
- Identifies performance bottlenecks
- Provides optimization recommendations
/sc:analyze --focus architecture --depth deep --format report --think-hard --seq "."- Comprehensive architecture analysis
- Generates detailed report
- Evaluates design pattern usage
- Identifies architectural debt
- Sequential provides refactoring suggestions
/sc:analyze --focus quality --depth deep --format json --all-mcp --validate "src/"- Comprehensive code quality review
- JSON format for CI/CD integration
- Coverage and complexity analysis
- Auto-generates improvement plan
💡 Practical Scenarios
/sc:analyze --focus performance --depth deep --format report "src/search"- Newly developed search feature has slow response times
- Users experiencing delays of 2-3 seconds per search
- Need to analyze performance bottlenecks
- Must identify optimization opportunities quickly
/sc:analyze --focus quality --depth deep --format json "src/legacy"- Need to conduct comprehensive quality analysis of legacy codebase
- Codebase inherited from previous team with unclear quality status
- Must assess technical debt before planning refactoring efforts
- Need to prioritize improvement work based on impact
- Use --depth quick for initial analysis to quickly locate problem areas
- Use --depth deep for in-depth analysis of critical modules
- Regularly perform --focus security audits on core modules
- Use --format report to generate shareable analysis reports for the team
- Combine --all-mcp to use multiple MCP servers for comprehensive analysis
Syntax
/sc:research [--depth quick|standard|exhaustive] [--strategy planning|unified] "" Parameters
- --depth: Research depth
quickstandardexhaustive
- --strategy: Research strategy
planning_onlyintent_planningunified
- --domains: Domain filtering (e.g., "github.com,stackoverflow.com")
/sc:research --depth quick "latest frontend framework comparison"- Quick overview
- Key point summary
- Completed in 5-10 minutes
/sc:research --depth standard --strategy planning "microservices architecture best practices"- Standard depth research
- Multi-source information aggregation
- Practical recommendations
/sc:research --depth exhaustive --strategy unified --serena "zero trust security architecture implementation guide"- Most exhaustive research
- Comprehensive information collection
- Comparison analysis tables
- Serena saves research findings
- Trend and prediction analysis
💡 Practical Scenarios
/sc:research --strategy unified "React state management comparison 2024"- Need to choose state management solution for new React project
- Evaluating Redux vs Zustand vs Jotai vs React Context
- Team has mixed experience levels
- Want data-driven decision with pros/cons
/sc:research --strategy unified "OAuth 2.0 security best practices and common vulnerabilities"- Preparing for security audit of authentication system
- Need to understand current best practices and standards
- Want to identify gaps in current implementation
- Must provide recommendations for improvements
Syntax
/sc:test [--type unit|integration|e2e|all] [--coverage] [--watch] [--fix] [--parallel] [--concurrency N] [--validate] [--verbose] "" Parameters
- --type: Test type
unitintegratione2eall
- --coverage: Generate test coverage report
- --watch: Watch mode, automatically rerun tests when files change
- --fix: Automatically fix test issues (timeouts, outdated assertions, etc.)
- --parallel: Execute tests in parallel
- --concurrency: Concurrency count (e.g., --concurrency 4)
- --validate: Result validation and reporting
- --verbose: Detailed log output
/sc:test --type unit --coverage "src/utils"- Run unit tests
- Generate coverage report
- Fast execution
/sc:test --type unit --watch "src/"- Auto-rerun tests on file changes
- Instant feedback
- Suitable for TDD development
/sc:test --type e2e --fix --play --verbose "" - End-to-end testing
- Auto-fix failing test cases
- Playwright browser automation
- Detailed log output
/sc:test --type all --coverage --parallel --concurrency 4 --validate "."- All tests execute in parallel
- 4x speed improvement
- Complete coverage analysis
- Result validation and reporting
💡 Practical Scenarios
/sc:test --type all --coverage --validate "src/auth"- Just completed user authentication feature implementation
- Need to verify all functionality works as specified
- Must test edge cases and error scenarios
- Require comprehensive test coverage before merge
/sc:test --type all --coverage --validate "src/payments"- Just completed major refactoring of payment processing module
- Changed internal implementation but API should remain unchanged
- Need to ensure no existing functionality was broken
- Must verify backward compatibility
- Run tests before improvements to ensure test coverage
- For large-scale improvements, proceed in stages using --scope to control range
- Always use --safe mode for production code
- Compare performance metrics after improvements to ensure positive gains
Syntax
/sc:improve [--type quality|performance|security|maintainability] [--safe] [--preview] [--interactive] [--iterations N] "" Parameters
- --type: Improvement type
qualityperformancemaintainability
- --safe: Safe mode, all changes require test validation
- --preview: Preview mode, no actual modifications
- --interactive: Interactively confirm each improvement
- --iterations: Number of improvement iterations
/sc:improve --type performance --safe "src/api/"- Performance optimization
- Safe mode
- Benchmark testing
/sc:improve --type quality --preview "src/"- Quality improvement preview
- No actual modifications
- Improvement checklist
/sc:improve --type maintainability --interactive --iterations 3 --morph " "- Progressive refactoring
- 3 iteration rounds
- Interactive confirmation
- Morphllm batch refactoring
- Maintainability score improvement
💡 Practical Scenarios
/sc:improve --type quality --safe "src/auth/legacy"- Legacy authentication module has accumulated technical debt
- Code is functional but difficult to maintain and test
- Need to improve without breaking existing functionality
- Want to follow modern best practices
/sc:improve --type performance --safe "src/api/products"- API response times averaging 800ms, target is <200ms
- Database queries are inefficient
- No caching layer implemented
- React components re-rendering unnecessarily
- Run tests before improvements to ensure test coverage
- For large-scale improvements, proceed in stages using --iterations for iterative improvement
- Always use --safe mode for production code
- Use --preview to preview improvement effects before applying
- Compare performance metrics after improvements to ensure positive gains
Syntax
/sc:build [--type dev|prod|all] [--clean] [--optimize] [--validate] [--parallel] [--verbose] [--environments ""] [--dockerize] "" Parameters
- --type: Build type
devprodall
- --clean: Clean old builds
- --optimize: Enable build optimization
- --validate: Build result validation
- --parallel: Parallel build tasks
- --verbose: Detailed output logs
- --environments: Multiple environment builds (e.g., --environments "dev,staging,prod")
- --dockerize: Generate Docker images
/sc:build --type dev --verbose "frontend/"- Development environment build
- Detailed log output
- Fast hot reload
/sc:build --type prod --clean "."- Production environment optimization
- Clean old builds
- Compression and minification
/sc:build --type prod --clean --optimize --validate --parallel "."- Full optimization production build
- Parallel build tasks
- Build result validation
- Performance analysis report
- Tree-shaking and code splitting
/sc:build --type all --environments "dev,staging,prod" --dockerize "" - Multiple environments build simultaneously
- Generate Docker images
- Environment-specific configuration
- Ready for deployment
💡 Practical Scenarios
/sc:build --type prod --optimize --validate --clean- Preparing for v2.0 production release
- Need optimized build with minification and tree-shaking
- Must ensure all assets are properly bundled
- Require validation of build artifacts
/sc:build --type prod --optimize --validate --parallel --clean- Setting up automated build pipeline in GitHub Actions
- Need consistent, reproducible builds across environments
- Must optimize and validate build outputs
- Require parallel processing for faster builds
- Run tests before production builds to ensure code quality
- Use --clean to avoid issues from residual old files
- Use --watch in development for better efficiency
- Check build size report to identify large dependencies
Syntax
/sc:cleanup [--type imports|code|all] [--safe] [--preview] [--aggressive] [--interactive] [--backup]Parameters
- --type: : Cleanup type
importscodeall
- --safe: : Safe mode, conservative handling
- --preview: : Preview mode, no actual modifications
- --aggressive: : Aggressive mode (use with caution)
- --interactive: : Confirm each cleanup item
- --backup: : Auto backup
/sc:cleanup --type imports --safe "src/"- Clean unused imports
- Conservative handling
- Fast execution
/sc:cleanup --type code --preview "."- Identify dead code
- Preview mode
- Cleanup report
/sc:cleanup --type all --aggressive --interactive --backup "" - Comprehensive deep cleanup
- Aggressive mode (use with caution)
- Confirm each item
- Auto backup
- Cleanup statistics report
💡 Practical Scenarios
/sc:cleanup --type code --safe --preview "src/"- Project has accumulated unused code and deprecated features
- Dead code affecting codebase maintainability
- Need to safely remove obsolete components
- Must ensure no breaking changes to active features
/sc:cleanup --type all --safe --backup- Project has accumulated technical debt over time
- Unused imports and dead code affecting maintainability
- Need comprehensive cleanup of entire codebase
- Want to ensure safe removal with backup
- Clean regularly to avoid technical debt accumulation
- Run tests before cleanup to ensure no functionality breaks
- Always use --safe mode for backup
- Verify application runs normally after cleanup
Syntax
/sc:document [--type inline|api|guide] [--style brief|detailed] [--format markdown] [--toc] "" Parameters
- --type: : Documentation type
inlineapiguide
- --style: : Documentation style
briefdetailed
- --format: : Output format
markdown
- --toc: : Generate table of contents
/sc:document --type inline --style brief "utils.js"- Add code comments
- Brief style
- Fast generation
/sc:document --type api --style detailed "src/api/"- Complete API documentation
- Parameter descriptions
- Example code
/sc:document --type guide --style detailed --format markdown --toc "" - Complete user guide
- Table of contents structure
- Diagram illustrations
- Best practices
- Search friendly
💡 Practical Scenarios
/sc:document --type api --format markdown "src/api/"- Backend API lacks comprehensive documentation
- Frontend team struggling to understand endpoint contracts
- Need to generate up-to-date API reference
- Want to include request/response examples in markdown format
/sc:document --type code --format markdown "src/components/"- React component library growing without documentation
- Developers unsure how to use existing components
- Need to document props, usage examples, and best practices
- Want comprehensive markdown documentation for component library
- Keep documentation in sync with code updates
- Provide rich usage examples
- API docs should include complete request/response examples
- Keep documentation concise and accessible, avoid over-technicality
Syntax
/sc:estimate [--type time|complexity|effort] [--unit hours|days] [--breakdown] [--team-size N] "" Parameters
- --type: : Estimation type
timecomplexityeffort
- --unit: : Time unit
hoursdays
- --breakdown: : Detailed task breakdown
- --team-size: : Team size (affects parallelism)
/sc:estimate --type time --unit hours "Implement login functionality"- Work hours estimation
- Accurate to hours
- Includes buffer time
/sc:estimate --type complexity "Microservice decomposition"- Technical complexity
- Risk assessment
- Difficulty level
/sc:estimate --type effort --unit days --breakdown --team-size 5 "" - Complete effort breakdown
- Consider team size
- Task dependencies
- Burndown chart prediction
- Cost estimation
💡 Practical Scenarios
/sc:estimate --type time --unit days --breakdown --team-size 3 "Analytics dashboard with charts, filters, CSV export"- Product manager requesting estimate for new analytics dashboard
- Feature includes data visualization, filtering, and export capabilities
- Need to provide realistic timeline for sprint planning
- Team has 3 developers available
/sc:estimate --type time --unit days --breakdown "Refactor authentication system to modern architecture"- Need to refactor legacy authentication system
- Current code is difficult to maintain and test
- Must maintain backward compatibility
- Want realistic estimate before committing resources
- Provide detailed feature descriptions for better accuracy
- Adjust estimates based on team experience
- Reserve 20-30% buffer time
- Use historical data to calibrate estimation model
Syntax
/sc:explain [--level beginner|intermediate|expert] [--focus logic|architecture|performance|security] [target]Parameters
- --level: : Explanation depth
beginnerintermediateexpert
- --focus: : Explanation focus
logicarchitectureperformancesecurity
/sc:explain --level intermediate --focus security @utils/encryption.js- Step-by-step explanation of encryption algorithm
- Explain why this solution was chosen
- Point out security critical points
- Explain parameters and return values
/sc:explain --level beginner --focus architecture "Microservices Architecture"- Explain microservices concept in simple language
- Compare differences with monolithic architecture
- Explain applicable scenarios
- Provide introductory examples
💡 Practical Scenarios
/sc:explain --level beginner "src/cache/lru-cache.ts"- New team member joining project
- Struggling to understand custom caching algorithm
- Code lacks comments and documentation
- Need clear explanation of how it works
/sc:explain --level intermediate --focus architecture "Event sourcing pattern in payment service"- Team discussing microservices event-driven architecture
- Some developers unfamiliar with event sourcing pattern
- Need to explain the pattern and why it's used
- Want to show benefits and trade-offs
- Choose appropriate --level based on audience
- Provide specific context when requesting explanations
- Use --focus to concentrate on aspects of interest
- Ask follow-up questions for deeper understanding
Syntax
/sc:index [--type codebase|docs|all] [--depth shallow|deep] [--output markdown|json|html]Parameters
- --type: : Index type
codebasedocsall
- --depth: : Index depth
shallowdeep
- --output: : Output format
/sc:index --type codebase --depth deep --output markdown- Scan entire codebase
- Generate directory structure tree
- List all modules and dependencies
- Extract major functions and classes
- Generate PROJECT_INDEX.md
💡 Practical Scenarios
/sc:index --type codebase --depth shallow --output markdown/sc:index --type docs --depth deep --output json/sc:index --type all --depth shallow --output html- Run index when joining new projects
- Update index regularly to stay in sync
- Use index for quick navigation in large projects
- Index serves as onboarding docs for new members
Syntax
/sc:spec-panel @spec-document [--mode review|critique|improve] [--focus clarity|completeness|feasibility]Parameters
- --mode: : Review mode
reviewcritiqueimprove
- --focus: : Review focus
claritycompletenessfeasibility
/sc:spec-panel --mode improve --focus completeness @specs/api-design.md- Expert panel review (architects, technical writers)
- Identify missing endpoints and parameters
- Point out incomplete error handling
- Provide improvement suggestions and examples
- Generate improved specification version
💡 Practical Scenarios
/sc:spec-panel --mode improve --focus completeness "docs/api-spec.yaml"- Drafted new REST API specification for microservices
- Need expert review for best practices and potential issues
- Want to ensure scalability and maintainability
- Require feedback on naming conventions and structure
/sc:spec-panel --mode critique --focus feasibility "schemas/ecommerce.sql"- Designed database schema for e-commerce platform
- Includes users, products, orders, payments tables
- Need expert validation for normalization and performance
- Want to identify potential scaling issues
- Review immediately after completing spec draft
- Use critique mode to discover hidden issues
- Revise spec based on review suggestions
- Repeat review until quality standards are met
Syntax
/sc:troubleshoot [--type bug|build|performance|config] [--trace] [--fix] [--safe-mode] "" Parameters
- --type: Problem type
bugperformancebuild
- --trace: Deep stack trace analysis
- --fix: Attempt automatic fix
- --safe-mode: Safe mode, use conservative fix strategy
/sc:troubleshoot --type performance --trace "API response slow"- Performance issue location
- Generates flame graph
- Identifies bottleneck
/sc:troubleshoot --type build --fix- Auto-detect build issues
- Attempt automatic fix
- Provide solutions
/sc:troubleshoot --type bug --trace --fix --safe-mode --seq "" - Safe mode debugging
- Deep stack trace
- Sequential root cause analysis
- Conservative fix strategy
- Performance impact assessment
💡 Practical Scenarios
/sc:troubleshoot --type bug --trace --fix --safe-mode "checkout API 500 errors"- Users reporting 500 errors on checkout API
- Error rate suddenly spiked to 15% from normal 0.1%
- Need to quickly identify root cause
- Must restore service as soon as possible
/sc:troubleshoot --type performance --trace --fix "dashboard performance"- Dashboard loading time increased from 2s to 8s over past week
- No recent code changes to frontend
- Users complaining about slow experience
- Need to find what changed and fix it
- Provide complete error information and context
- Use --trace for deep stack trace analysis
- Use --safe-mode for production issues to ensure safety
- Verify problem is resolved after applying fix
- Document diagnosis process to prevent recurrence
Syntax
/sc:git [commit|merge|rebase|pr|flow] [--smart-commit] [--interactive] [--push] [--create-pr] [--squash] [--create] [--title "title"] [--auto-description] [parameters]Parameters
- commit: Commit changes
- merge: Merge branches
- rebase: Rebase operation
- pr: Pull Request operation
- flow: Complete Git workflow
- --smart-commit: Smart commit message generation
- --interactive: Interactive operation
- --push: Push to remote
- --create-pr: Create Pull Request
- --squash: Squash commits
- --create: Create (PR)
- --title: PR title
- --auto-description: Auto-generate description
/sc:git commit --smart-commit- Auto-generate specification commit messages
- Analyze code change content
- Follow Conventional Commits
/sc:git merge --interactive "" - Smart conflict resolution
- Step-by-step merge guidance
- Provide best practice suggestions
/sc:git flow --smart-commit --push --create-pr "" - Auto-create branch
- Smart commit messages
- Push and create PR
- Generate change summary
💡 Practical Scenarios
/sc:git flow --smart-commit --push --create-pr- Working on new dashboard analytics feature
- Made multiple commits during development
- Need to create clean commit history before PR
- Want to push to remote and create pull request
/sc:git flow --smart-commit --push --create-pr --title "Hotfix: Payment callback race condition"- Production payment processing bug discovered
- Need to create emergency hotfix from production branch
- Must deploy fix quickly while maintaining git best practices
- Require automated testing before merge
- Use --smart-commit to ensure commit message quality
- Use --interactive for complex merge operations
- Always test before git flow to ensure code quality
- Use meaningful branch names and PR titles
Syntax
/sc:business-panel [--mode discussion|debate|socratic] [--experts "expert1,expert2"] [--focus domain] [document]Parameters
- --mode: : Analysis mode
discussiondebatesocratic
- --experts: : Specify expert list (comma-separated)
- --focus: : Focus domain (innovation, strategy, marketing, risk, systems, communication, organization)
/sc:business-panel --mode discussion --focus strategy "SaaS pricing model evaluation"- Expert panel review (business strategists, economists)
- Analyze market positioning and competitive landscape
- Evaluate pricing models and revenue implications
- Provide strategic recommendations
- Generate actionable insights
💡 Practical Scenarios
/sc:business-panel --mode sequential "SaaS project management tool - freemium vs paid subscription strategy"- Launching new SaaS product for project management
- Need to validate market positioning and pricing strategy
- Evaluating freemium vs subscription model
- Want expert guidance on go-to-market approach
/sc:business-panel --mode debate "Pivot from B2C to B2B enterprise model"- Current B2C model not achieving growth targets
- Considering pivot to B2B enterprise sales
- Need to evaluate feasibility and risks
- Want structured debate on pros/cons
🤖 Specialized Agents
What are Specialized Agents?
SuperClaude Framework includes 15 specialized agents, each with deep expertise in specific domains. Agents can be automatically activated or manually specified through flag parameters.
🎨 Frontend Development Agent
Expertise:
- Modern frameworks like React, Vue, Angular
- Responsive design and mobile optimization
- Web accessibility (WCAG 2.1)
- Performance optimization and code splitting
⚙️ Backend Development Agent
Expertise:
- RESTful and GraphQL API design
- Database architecture and optimization
- Authentication and authorization
- Microservices architecture
🏗️ System Architecture Agent
Expertise:
- System design patterns
- Scalability architecture
- Technology selection
- Architecture documentation
🐍 Python Expert Agent
Expertise:
- Python best practices
- FastAPI, Django, Flask
- Data processing and analysis
- Asynchronous programming
🚀 DevOps Agent
Expertise:
- CI/CD pipelines
- Docker and Kubernetes
- Monitoring and logging
- Infrastructure as Code
🔧 Refactoring Expert Agent
Expertise:
- Code smell identification
- Refactoring patterns
- Code quality metrics
- Technical debt management
🎓 Other Specialized Agents
SuperClaude also includes the following specialized agents:
- security-engineer - Security vulnerability identification and compliance
- quality-engineer - Comprehensive testing strategies
- performance-engineer - Performance optimization
- learning-guide - Programming education
- root-cause-analyst - Root cause analysis
- requirements-analyst - Requirements discovery
- technical-writer - Technical documentation
- socratic-mentor - Socratic teaching method
- business-panel-experts - Business strategy panel (9 experts)
🚩 Flag Parameters Reference
Flag parameters allow you to customize command behavior. Here are all available flags:
⚡ Mode Activation Flags
These flags activate specific working modes to enhance AI capabilities and interaction methods
| Flag | Description | Cost | Commands |
|---|---|---|---|
--brainstorm | Activate collaborative discovery thinking mode through Socratic dialogue to explore requirements | +2-3K | All commands |
--introspect | Show thinking process transparency, let AI display reasoning steps | +1-2K | All commands |
--task-manage | Enable multi-step task management, automatically track and organize complex tasks | +1K | All commands |
--orchestrate | Enable multi-tool parallel execution, coordinate multiple MCP servers and tools | +3-5K | All commands |
--token-efficient | Enable token optimization mode, reduce token consumption while maintaining quality | -30-50% | All commands |
--plan | Enable planning mode, generate detailed plan before execution | Standard | implement, design, refactor |
--validate | Enable validation mode, automatically validate outputs and results | Standard | implement, test, build |
--parallel | Enable parallel execution, process multiple tasks simultaneously | Standard | test, analyze, research |
--interactive | Enable interactive mode, step-by-step confirmation and adjustment | Standard | brainstorm, design |
🔍 Analysis Depth Flags
Control AI's analysis depth, balancing speed and detail
| Flag | Cost | Description | Scenario |
|---|---|---|---|
--think | ~4K | Standard analysis depth, suitable for regular development tasks | Daily development |
--think-hard | ~10K | Deep analysis with multi-angle thinking and validation | Complex problems |
--ultrathink | ~32K | Maximum depth analysis, exhausting all possibilities | Critical decisions |
--depth shallow | Low | Quick overview, suitable for time-sensitive situations | Quick checks |
--depth normal | Standard | Balance speed and detail (default) | Regular analysis |
--depth deep | High | Comprehensive in-depth analysis for complex scenarios | Detailed assessment |
🔌 MCP Server Control
Selectively activate MCP servers for specialized capabilities
| Flag | Alias | Server | Purpose |
|---|---|---|---|
--c7 | --context7 | Context7 | Framework documentation query, get official latest docs and best practices |
--seq | --sequential | Sequential | Complex reasoning analysis, multi-step systematic thinking |
--magic | --magic | Magic | UI component generation based on 21st.dev modern component library |
--morph | --morphllm | Morphllm | Batch code editing, pattern-based rapid modifications |
--serena | --serena | Serena | Project memory management, semantic code understanding and session persistence |
--play | --playwright | Playwright | Browser automation testing, E2E testing and UI validation |
⚙️ Execution Control Flags
Control command execution methods and behavior
| Flag | Description | Example |
|---|---|---|
--dry-run | Simulate execution without making actual changes | /sc:implement --dry-run |
--force | Force execution, skip confirmation prompts | /sc:cleanup --force |
--auto-commit | Automatically commit changes to Git | /sc:implement --auto-commit |
--no-test | Skip testing steps | /sc:build --no-test |
💡 Combination Usage Examples
Flags can be combined for more powerful functionality:
/sc:analyze --think-hard --serena --c7 "src/api"
Use deep thinking, project memory, and official docs for API code analysis/sc:implement --brainstorm --plan --validate "user authentication"
Collaboratively explore requirements, plan implementation, and validate results/sc:improve --token-efficient --morph --dry-run "src/"
Preview code improvements using token optimization and batch editing tools
💡 Practical Tips
Here are some real development scenarios and recommended command combinations:
/sc:brainstorm "user authentication feature" --depth deep
/sc:design --think
/sc:implement --plan --validate
/sc:test --parallel
/sc:document
/sc:git "feat: add user authentication"Workflow Explanation:
- Requirements exploration: Clarify feature scope and technical approach
- System design: Design authentication flow and data models
- Feature implementation: Write code and validate
- Test validation: Run test suites in parallel
- Generate documentation: Auto-generate API documentation
- Commit code: Create standard Git commit
/sc:troubleshoot --depth deep
/sc:analyze --focus security
/sc:implement --validate
/sc:test --parallel
/sc:git "fix: resolve authentication bypass"/sc:analyze --depth deep
/sc:improve --plan
/sc:test --validate
/sc:cleanup/sc:design "user profile card component"
/sc:implement --persona frontend-architect
/sc:test --focus accessibility
/sc:document🎓 Learning Resources
Official Documentation
Community Resources
Having issues? Check the FAQ or submit an Issue on GitHub.