Based on analysis of Claude configuration files, here's a complete guide on what to use with Claude, when, and where.
SuperClaude is a sophisticated AI assistant framework with 18 commands, 4 MCP servers, 9 personas, and extensive optimization patterns. It's designed for evidence-based development with security, performance, and quality as core principles.
.claude/settings.local.json
- Basic Claude permissions and settings.claude/shared/superclaude-core.yml
- Core philosophy, standards, and workflows.claude/shared/superclaude-mcp.yml
- MCP server integration details.claude/shared/superclaude-rules.yml
- Development practices and rules.claude/shared/superclaude-personas.yml
- 9 specialized personas
- 18 Core Commands with intelligent workflows
- Universal Flag System with inheritance patterns
- Task Management with two-tier architecture
- Performance Optimization including UltraCompressed mode
--persona-frontend: "UI/UX focus, accessibility, React/Vue components"
When: Building user interfaces, design systems, accessibility work
Use with: Magic MCP, Puppeteer testing, --magic flag
--persona-backend: "API design, scalability, reliability engineering"
When: Building APIs, databases, server architecture
Use with: Context7 for patterns, --seq for complex analysis
--persona-architect: "System design, scalability, long-term thinking"
When: Designing architecture, making technology decisions
Use with: Sequential MCP, --ultrathink for complex systems
--persona-analyzer: "Root cause analysis, evidence-based investigation"
When: Debugging complex issues, investigating problems
Use with: All MCPs for comprehensive analysis
--persona-security: "Threat modeling, vulnerability assessment"
When: Security audits, compliance, penetration testing
Use with: --scan --security, Sequential for threat analysis
--persona-qa: "Testing, quality assurance, edge cases"
When: Writing tests, quality validation, coverage analysis
Use with: Puppeteer for E2E testing, --coverage flag
--persona-performance: "Optimization, profiling, bottlenecks"
When: Performance issues, optimization opportunities
Use with: Puppeteer metrics, --profile flag
--persona-refactorer: "Code quality, technical debt, maintainability"
When: Cleaning up code, reducing technical debt
Use with: --improve --quality, Sequential analysis
--persona-mentor: "Teaching, documentation, knowledge transfer"
When: Creating tutorials, explaining concepts, onboarding
Use with: Context7 for official docs, --depth flag
Purpose: "Official library documentation & examples"
When_to_Use:
- External library integration
- API documentation lookup
- Framework pattern research
- Version compatibility checking
Command_Examples:
- "/analyze --c7" (research library patterns)
- "/build --react --c7" (React with official docs)
- "/explain --c7" (official documentation explanations)
Best_For: "Research-first methodology, evidence-based implementation"
Token_Cost: "Low-Medium"
Purpose: "Multi-step problem solving & architectural thinking"
When_to_Use:
- Complex system design
- Root cause analysis
- Performance investigation
- Architecture review
Command_Examples:
- "/analyze --seq" (deep system analysis)
- "/troubleshoot --seq" (systematic investigation)
- "/design --seq --ultrathink" (architectural planning)
Best_For: "Complex technical analysis, systematic reasoning"
Token_Cost: "Medium-High"
Purpose: "UI component generation & design system integration"
When_to_Use:
- React/Vue component building
- Design system implementation
- UI pattern consistency
- Rapid prototyping
Command_Examples:
- "/build --react --magic" (component generation)
- "/design --magic" (UI design systems)
- "/improve --accessibility --magic" (accessible components)
Best_For: "Consistent design implementation, quality components"
Token_Cost: "Medium"
Purpose: "E2E testing, performance validation, browser automation"
When_to_Use:
- End-to-end testing
- Performance monitoring
- Visual validation
- User interaction testing
Command_Examples:
- "/test --e2e --pup" (E2E testing)
- "/analyze --performance --pup" (performance metrics)
- "/scan --validate --pup" (visual validation)
Best_For: "Quality assurance, performance validation, UX testing"
Token_Cost: "Low (action-based)"
/analyze: "Comprehensive codebase analysis"
Flags: --code --arch --security --performance --c7 --seq
When: Understanding codebase, identifying issues, research
/troubleshoot: "Systematic problem investigation"
Flags: --investigate --seq --evidence
When: Debugging complex issues, root cause analysis
/scan: "Security, quality, and compliance scanning"
Flags: --security --owasp --deps --validate
When: Security audits, vulnerability assessment
/build: "Feature implementation & project creation"
Flags: --init --feature --react --api --magic --tdd
When: Building features, creating projects, implementing
/design: "Architectural design & system planning"
Flags: --api --ddd --microservices --seq --ultrathink
When: System architecture, API design, planning
/test: "Comprehensive testing & validation"
Flags: --coverage --e2e --pup --validate
When: Quality assurance, test coverage, validation
/improve: "Code quality & performance optimization"
Flags: --quality --performance --security --iterate
When: Refactoring, optimization, quality improvements
/cleanup: "Technical debt & maintenance"
Flags: --code --all --dry-run
When: Removing unused code, cleaning up technical debt
/deploy: "Production deployment & operations"
Flags: --env --validate --monitor --checkpoint
When: Deploying to production, operational tasks
/migrate: "Data & schema migrations"
Flags: --database --validate --dry-run --rollback
When: Database changes, data migrations
--plan: "Show execution plan before running"
--dry-run: "Preview changes without execution"
--force: "Override safety checks"
--interactive: "Step-by-step guided process"
--think: "Multi-file analysis (4K tokens)"
--think-hard: "Deep architectural analysis (10K tokens)"
--ultrathink: "Critical system redesign (32K tokens)"
--uc: "UltraCompressed mode (~70% token reduction)"
--profile: "Detailed performance profiling"
--watch: "Continuous monitoring"
--c7: "Enable Context7 documentation lookup"
--seq: "Enable Sequential complex analysis"
--magic: "Enable Magic UI component generation"
--pup: "Enable Puppeteer browser automation"
--all-mcp: "Enable all MCP servers"
--no-mcp: "Disable all MCP servers"
Level_1_Tasks: "High-level features (./claudedocs/tasks/)"
Purpose: "Session persistence, git branching, requirement tracking"
Scope: "Features spanning multiple sessions"
Level_2_Todos: "Immediate actionable steps (TodoWrite/TodoRead)"
Purpose: "Real-time execution tracking within session"
Scope: "Current session specific actions"
Complex_Operations: "3+ steps → Auto-trigger TodoList"
High_Risk: "Database changes, deployments → REQUIRE todos"
Long_Tasks: "Over 30 minutes → AUTO-TRIGGER todos"
Multi_File: "6+ files → AUTO-TRIGGER for coordination"
- A01-A10 Coverage with automated detection patterns
- CVE Scanning for known vulnerabilities
- Dependency Security with license compliance
- Configuration Security including hardcoded secrets detection
/scan --security --owasp: "Full OWASP Top 10 scan"
/analyze --security --seq: "Deep security analysis"
/improve --security --harden: "Security hardening"
Activation: "--uc flag | 'compress' keywords | Auto at >75% context"
Benefits: "~70% token reduction | Faster responses | Cost efficiency"
Use_When: "Large codebases | Long sessions | Token budget constraints"
Context7: "1 hour TTL | Library documentation"
Sequential: "Session duration | Analysis results"
Magic: "2 hours TTL | Component templates"
Parallel_Execution: "Independent MCP calls run simultaneously"
/build --init --feature --react --magic --c7
# Creates React project with Magic components and Context7 documentation
/scan --security --owasp --deps --strict
/analyze --security --seq
/improve --security --harden
/analyze --performance --pup --profile
/troubleshoot --seq --evidence
/improve --performance --iterate
/analyze --code --c7
/design --api --seq
/build --feature --tdd --magic
/test --coverage --e2e --pup
- Required Language: "may|could|potentially|typically|measured|documented"
- Prohibited Language: "best|optimal|faster|secure|better|always|never"
- Research Standards: Context7 for external libraries, official sources required
- Git Safety: Status→branch→fetch→pull workflow
- Testing: TDD patterns, comprehensive coverage
- Security: Zero tolerance for vulnerabilities
- Simple→Sonnet | Complex→Sonnet-4 | Critical→Opus-4
- Native tools > MCP for simple tasks
- Parallel execution for independent operations
Scenario | Persona | MCP | Command | Flags |
---|---|---|---|---|
New React Feature | --persona-frontend |
--magic --c7 |
/build --feature |
--react --tdd |
API Design | --persona-architect |
--seq --c7 |
/design --api |
--ddd --ultrathink |
Security Audit | --persona-security |
--seq |
/scan --security |
--owasp --strict |
Performance Issue | --persona-performance |
--pup --seq |
/analyze --performance |
--profile --iterate |
Bug Investigation | --persona-analyzer |
--all-mcp |
/troubleshoot |
--investigate --seq |
Code Cleanup | --persona-refactorer |
--seq |
/improve --quality |
--iterate --threshold |
E2E Testing | --persona-qa |
--pup |
/test --e2e |
--coverage --validate |
Documentation | --persona-mentor |
--c7 |
/document --user |
--examples --visual |
Production Deploy | --persona-security |
--seq |
/deploy --env prod |
--validate --monitor |
Philosophy: "Code>docs | Simple→complex | Security→evidence→quality"
Communication: "Format | Symbols: →|&|:|» | Structured>prose"
Workflow: "TodoRead()→TodoWrite(3+)→Execute | Real-time tracking"
Stack: "React|TS|Vite + Node|Express|PostgreSQL + Git|ESLint|Jest"
Prohibited_Language: "best|optimal|faster|secure|better|improved|enhanced|always|never|guaranteed"
Required_Language: "may|could|potentially|typically|often|sometimes|measured|documented"
Evidence_Requirements: "testing confirms|metrics show|benchmarks prove|data indicates|documentation states"
Citations: "Official documentation required | Version compatibility verified | Sources documented"
Model_Selection: "Simple→sonnet | Complex→sonnet-4 | Critical→opus-4"
Optimization_Targets: "Efficiency | Evidence-based responses | Structured deliverables"
Template_System: "@include shared/*.yml | 70% reduction achieved"
Symbols: "→(leads to) |(separator) &(combine) :(define) »(sequence) @(location)"
File_Type_Detection:
tsx_jsx: "→frontend persona"
py_js: "→appropriate stack"
sql: "→data operations"
Docker: "→devops workflows"
test: "→qa persona"
api: "→backend focus"
Keyword_Triggers:
bug_error_issue: "→analyzer persona"
optimize_performance: "→performance persona"
secure_auth_vulnerability: "→security persona"
refactor_clean: "→refactorer persona"
explain_document_tutorial: "→mentor persona"
design_architecture: "→architect persona"
Claude_Docs: ".claudedocs/"
Reports: ".claudedocs/reports/"
Metrics: ".claudedocs/metrics/"
Summaries: ".claudedocs/summaries/"
Checkpoints: ".claudedocs/checkpoints/"
Tasks: ".claudedocs/tasks/"
Project_Documentation: "docs/"
API_Docs: "docs/api/"
User_Docs: "docs/user/"
Developer_Docs: "docs/dev/"
Main_Config: ".claude/settings.local.json"
Shared_Configs: ".claude/shared/"
Command_Patterns: ".claude/commands/shared/"
Personas: ".claude/shared/superclaude-personas.yml"
MCP_Integration: ".claude/shared/superclaude-mcp.yml"
This configuration system provides unprecedented power and flexibility for AI-assisted development. Use the personas to match expertise to your task, leverage MCP servers for specialized capabilities, and apply the appropriate flags for optimal results.
- Choose your persona based on the type of work you're doing
- Select appropriate MCP servers for your specific needs
- Use the right command with relevant flags
- Apply evidence-based practices throughout development
- Leverage UltraCompressed mode for efficiency when needed
The system is designed to be intelligent, adaptive, and focused on delivering high-quality, evidence-based solutions while maintaining security and performance standards.
Source: https://drive.google.com/file/d/1zkthSSmKX4aMSuGJoBTy_kV0LS4pkDTY/view
Youtube Link: https://www.youtube.com/watch?v=6Rg5M69bMgQ