SuperClaude - Specialized AI Development Framework
Project Overview
SuperClaude is a comprehensive configuration framework specifically designed to enhance the capabilities of Claude Code. It transforms Claude Code from a general AI assistant into a specialized AI development partner, offering 19 specialized commands, 9 cognitive roles, and advanced development methodologies.
Core Features
๐ฏ Cognitive Role System
SuperClaude provides 9 specialized cognitive roles, each with a specific area of expertise and thought process:
| Role | Specialization | Use Case | Example Command |
|---|---|---|---|
architect |
System design, long-term maintainability | Planning large systems | /persona:architect โ /user:design --api --ddd |
frontend |
User experience, visual interface | UI/UX work | /persona:frontend โ /user:build --react |
backend |
Performance, reliability, API | Server-side development | /persona:backend โ /user:build --api |
analyzer |
Root cause analysis, evidence-based decision-making | Debugging complex issues | /persona:analyzer โ /user:troubleshoot --investigate |
security |
Threat modeling, security-first | Security review | /persona:security โ /user:scan --security |
mentor |
Teaching, guided discovery | Learning/Explanation | /persona:mentor โ /user:explain --depth |
refactorer |
Code quality, simplification | Code improvement | /persona:refactorer โ /user:improve --quality |
performance |
Speed optimization, bottleneck analysis | Performance tuning | /persona:performance โ /user:improve --performance |
qa |
Quality assurance, testing | Testing workflow | /persona:qa โ /user:test --coverage |
๐ ๏ธ Specialized Command System
SuperClaude offers 18 specialized slash commands, covering the entire development lifecycle:
Development Commands (3)
/user:build- General project builder--initNew project,--featureAdd feature,--reactReact app,--apiBackend,--tddTest-driven development
/user:dev-setup- Development environment setup--installTools,--ciCI/CD,--monitorMonitoring
/user:test- Testing framework--coverageCoverage,--watchWatch mode,--e2eEnd-to-end testing
Analysis & Improvement Commands (4)
/user:analyze- Multi-dimensional analysis--codeCode review,--architectureDesign,--profilePerformance,--securityVulnerabilities
/user:troubleshoot- Debugging & fixing--investigateExplore,--fixFix,--five-whysRoot cause,--prodProduction environment
/user:improve- Enhance code/performance--qualityRefactor,--performanceOptimize,--iterateContinuous improvement,--thresholdTarget percentage
/user:explain- In-depth explanation--depthComplexity,--visualDiagrams,--examplesCode examples
Operations Commands (6)
/user:deploy- Application deployment/user:migrate- Database/code migration/user:scan- Security & validation/user:estimate- Time/complexity prediction/user:cleanup- Project maintenance/user:git- Git workflow management
Design & Architecture Commands (1)
/user:design- System design--apiREST,--dddDomain-Driven Design,--prdRequirements,--openapiSpecification,--graphqlGraphQL
Workflow Commands (2)
/user:spawn- Create specialized sub-agents/user:document- Document creation
System Commands (1)
/user:load- Load project context
๐ง MCP (Model Context Protocol) Integration
SuperClaude integrates four powerful MCP servers:
-
Context7 (C7) - Automated documentation lookup
- Instant lookup of library documentation
- Seamless integration with GitHub workflows
-
Sequential - Complex analysis
- Sequential thinking for deep problems
- Suitable for system design and root cause analysis
-
Magic - UI generation
- Automatic creation of React components
- Intelligent UI building
-
Puppeteer - Browser testing
- Validation of UI components
- Performance monitoring
๐ Core Advantages
Token Optimization
- UltraCompressed Mode: 70% Token reduction
- Uses Telegram-style simplification: Removes articles/conjunctions/prepositions
- Symbolization: โ(to), &(and), @(at), w/(with), +(add), -(remove)
- Abbreviations: cfg(config), fn(function), impl(implementation)
Research-First Approach
- Automatically looks up official documentation
- Evidence-based decision making
- Citation-driven implementation
Adaptive Thinking
- Adjusts analysis depth based on task
- Intelligent tool selection
- Context-aware responses
Installation and Configuration
Automatic Installation
git clone https://github.com/NomenAK/SuperClaude.git
cd SuperClaude
./install.sh
Manual Installation
# 1. Create structure
mkdir -p ~/.claude/commands/shared
# 2. Copy configuration files
cp CLAUDE.md RULES.md PERSONAS.md MCP.md ~/.claude/
# 3. Copy commands
cp .claude/commands/*.md ~/.claude/commands/
# 4. Copy shared resources
cp .claude/commands/shared/*.yml ~/.claude/commands/shared/
Verify Installation
# Check installation
ls -la ~/.claude/ # Should show 4 main files
ls -la ~/.claude/commands/ # Should show 17 files (16 commands + index)
# Test usage
# Open any project in Claude Code and try:
/user:analyze --code
/persona:architect
Project Structure
~/.claude/
โโโ CLAUDE.md # Main configuration (loads other files)
โโโ RULES.md # Governance & practices
โโโ PERSONAS.md # 9 cognitive archetypes
โโโ MCP.md # Model Context Protocol patterns
โโโ commands/ # 17 specialized slash commands + index
โโโ analyze.md
โโโ build.md
โโโ cleanup.md
โโโ deploy.md
โโโ design.md
โโโ dev-setup.md
โโโ document.md
โโโ estimate.md
โโโ explain.md
โโโ git.md
โโโ improve.md
โโโ index.md
โโโ load.md
โโโ migrate.md
โโโ scan.md
โโโ spawn.md
โโโ test.md
โโโ troubleshoot.md
โโโ shared/ # 19 configuration resources
โโโ ambiguity-check.yml
โโโ audit.yml
โโโ checkpoint.yml
โโโ cleanup-patterns.yml
โโโ command-memory.yml
โโโ documentation-dirs.yml
โโโ evidence.yml
โโโ git-operations.yml
โโโ git-workflow.yml
โโโ impl.yml
โโโ loading-cfg.yml
โโโ mcp-flags.yml
โโโ patterns.yml
โโโ performance-monitoring.yml
โโโ planning-mode.yml
โโโ research-first.yml
โโโ thinking-modes.yml
โโโ ultracompressed.yml
โโโ validation.yml
Usage Examples
General Flags
General flags supported by all commands:
Planning & Thinking
--plan- Display execution plan before running--think- Standard analysis mode (multi-file context)--think-hard- Deep analysis mode (architecture level)--ultrathink- Critical analysis mode (system level)
Documentation Control
--ultracompressed/--uc- ~70% Token reduction mode
MCP Server Control
--c7/--no-c7- Enable/disable Context7 documentation--seq/--no-seq- Enable/disable Sequential thinking--magic/--no-magic- Enable/disable Magic UI builder--pup/--no-pup- Enable/disable Puppeteer browser--all-mcp- Enable all MCP servers--no-mcp- Disable all MCP servers (native tools only)
Workflow Examples
Full Development Workflow
/persona:architect โ /user:load --depth deep โ /user:analyze --architecture
/user:design --api --ddd โ /user:estimate --detailed
/persona:backend โ /user:build --api
/persona:frontend โ /user:build --react โ /user:test --coverage
/persona:security โ /user:scan --security โ /user:improve --quality
/user:cleanup --all โ /user:deploy --env staging
Debugging Workflow
/persona:analyzer โ /user:troubleshoot --investigate --prod โ /user:analyze --profile
"think hard about performance bottlenecks" โ /user:troubleshoot --five-whys
/persona:performance โ /user:improve --performance --iterate --threshold 90%
Testing & Quality Assurance
/persona:qa โ /user:test --e2e โ /user:scan --validate
/persona:mentor โ /user:explain --depth beginner --visual --examples
/user:document --user โ /user:build --tdd โ /user:analyze --code
Documentation Organization
Operational Docs vs. Project Docs
SuperClaude automatically separates operational reports and project documentation:
.claudedocs/ # Claude operational documentation
โโโ audit/
โโโ reports/
โโโ summaries/
โโโ metrics/
โโโ incidents/
/docs # Project documentation
โโโ api/
โโโ guides/
โโโ architecture/
โโโ development/
Automatic Reporting
analyzeโreports/scanโreports/testโmetrics/troubleshootโincidents/
Manual Documentation
/user:documentโ API โ/docs/api/- Guides โ
/docs/guides/
Advanced Features
Model Adaptation
- Simple tasks โ sonnet (cost-effective)
- Complex tasks โ sonnet-4 (balanced)
- Critical tasks โ opus-4 (maximum capability)
Convenience Commands
/compact- Smart reduction/clear- Start fresh/model- Switch model
Checkpoint System
A Git-integrated checkpoint system allows developers to navigate back to any point in the workflow:
/user:git --checkpoint before-refactor
/user:git --rollback
Troubleshooting
Common Issues
- Commands not working: Check
ls ~/.claude/commands/(should show 17 files) - Planning issues: Add
--planflag โ/user:deploy --plan - Role issues:
/persona:architectโ/persona:securityโ/user:scan --security - MCP issues:
"React docs"โ C7 |"slow app"โ Sequential
Maintenance Commands
- Update:
cd SuperClaude && git pull && ./install.sh - Backup:
cp -r ~/.claude/ ~/.claude.backup.$(date +%Y%m%d) - Uninstall:
rm -rf ~/.claude/
Project Benefits
Developer Benefits
- โ Consistent workflow across all projects
- โ Research-first approach โ always consults official documentation
- โ Quality standards โ built-in best practices
- โ Cognitive specialization โ the right mindset for every task
Applicable Scenarios
- Developers โ Faster, smarter coding workflows
- Teams โ Consistent AI-assisted patterns
- Projects โ Quality-focused development
- Learning โ AI-guided skill development
Technical Specifications
Symbol System
SuperClaude uses a unique symbol system for increased efficiency:
| Symbol | Meaning | Abbreviation | Meaning |
|---|---|---|---|
| โ | Leads to | cfg | Config |
| & | And/With | fn | Function |
| w/ | With | impl | Implementation |
| @ | At/Located at | env | Environment |
| + | Add/Include | dev | Development |
| - | Remove/Exclude | auth | Authentication |
| โ | For all/Each | API | Application Programming Interface |
Version Information
- Current Version: v4.0.0
- Type: Configuration Framework (non-executable code)
- Compatibility: Claude Code
- Installation Location:
~/.claude/(global installation)
Summary
SuperClaude transforms Claude Code from a general AI assistant into a specialized development partner, offering:
- A specialized cognitive role system
- A comprehensive command toolkit
- Intelligent MCP integration
- Efficient token optimization
- A research-driven methodology
This framework is particularly suitable for developers and teams who require a consistent, high-quality AI-assisted development experience. Through its modular design and specialized approach, SuperClaude ensures that every development task receives appropriate expertise and tool support.