2025-06-25 16:51:53 +02:00
# SuperClaude – Development Framework for Claude Code
2025-06-22 14:23:51 +02:00
[](https://opensource.org/licenses/MIT)
2025-06-26 13:08:33 +02:00
[](https://github.com/NomenAK/SuperClaude)
2025-06-22 14:23:51 +02:00
[](https://github.com/NomenAK/SuperClaude/issues)
[](https://github.com/NomenAK/SuperClaude/blob/master/CONTRIBUTING.md)
2025-06-25 16:51:53 +02:00
**A configuration framework that enhances Claude Code with specialized commands, cognitive personas, and development methodologies.**
2025-06-22 14:23:51 +02:00
2025-06-26 13:08:33 +02:00
## 🚀 Version 2.0.1 Update
2025-06-24 21:24:14 +02:00
2025-06-25 18:36:50 +02:00
IMPORTANT: Start Fresh by removing old files and dir in .claude (RULES.md MCP.md PERSONAS.md CLAUDE.md and /commands dir)
2025-06-25 16:51:53 +02:00
SuperClaude v2 introduces architectural improvements focused on maintainability and extensibility:
2025-06-22 14:23:51 +02:00
2025-06-25 16:51:53 +02:00
- **⚡ Streamlined Architecture**: @include reference system for configuration management
- **🎭 Personas as Flags**: 9 cognitive personas integrated into the flag system (`--persona-architect` , `--persona-security` , etc.)
- **📦 Enhanced Installer**: install.sh with update mode, dry-run, backup handling, and platform detection
- **🔧 Modular Design**: Template system for adding new commands and features
- **🎯 Unified Experience**: Consistent flag behavior across all commands
2025-06-22 14:23:51 +02:00
2025-06-25 16:51:53 +02:00
See [ROADMAP.md ](ROADMAP.md ) for future development ideas and contribution opportunities.
2025-06-22 14:23:51 +02:00
2025-06-25 16:51:53 +02:00
## 🎯 Background
Claude Code provides powerful capabilities but can benefit from:
- **Specialized expertise** for different technical domains
- **Token efficiency** for complex projects
- **Evidence-based approaches** to development
- **Context preservation** during debugging sessions
- **Domain-specific thinking** for various tasks
## ✨ SuperClaude Features
SuperClaude enhances Claude Code with:
- **18 Specialized Commands** covering development lifecycle tasks
- **9 Cognitive Personas** for domain-specific approaches
- **Token Optimization** with compression options
- **Evidence-Based Methodology** encouraging documentation
- **MCP Integration** with Context7, Sequential, Magic, Puppeteer
- **Git Checkpoint Support** for safe experimentation
2025-06-26 13:08:33 +02:00
- **Introspection Mode** for framework improvement and troubleshooting
2025-06-25 16:51:53 +02:00
## 🚀 Installation
2025-06-26 13:08:33 +02:00
### Enhanced Installer v2.0.1
2025-06-25 16:51:53 +02:00
The installer provides various options:
2025-06-22 14:02:49 +02:00
```bash
2025-06-22 20:39:51 +02:00
git clone https://github.com/NomenAK/SuperClaude.git
2025-06-22 14:02:49 +02:00
cd SuperClaude
2025-06-25 16:51:53 +02:00
# Basic installation
2025-06-24 04:54:15 -04:00
./install.sh # Default: ~/.claude/
2025-06-25 16:51:53 +02:00
# Advanced options
./install.sh --dir /opt/claude # Custom location
./install.sh --update # Update existing installation
./install.sh --dry-run --verbose # Preview changes with details
./install.sh --force # Skip confirmations (automation)
./install.sh --log install.log # Log all operations
2025-06-22 14:02:49 +02:00
```
2025-06-26 13:08:33 +02:00
**v2.0.1 Installer Features:**
2025-06-25 16:51:53 +02:00
- 🔄 **Update Mode ** : Preserves customizations while updating
- 👁️ **Dry Run ** : Preview changes before applying
- 💾 **Smart Backups ** : Automatic backup with timestamping
- 🧹 **Clean Updates ** : Removes obsolete files
- 🖥️ **Platform Detection ** : Works with Linux, macOS, WSL
- 📊 **Progress Tracking ** : Installation feedback
Zero dependencies. Installs to `~/.claude/` by default.
2025-06-25 00:21:27 +02:00
2025-06-26 19:02:32 +02:00
**Note:** After installation, all configuration files are located in `~/.claude/` (your home directory), not in the project directory.
2025-06-25 00:21:27 +02:00
## 💡 Core Capabilities
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
### 🧠 **Cognitive Personas (Now as Flags!)**
Switch between different approaches with persona flags:
2025-06-22 14:02:49 +02:00
2025-06-25 00:21:27 +02:00
```bash
2025-06-25 16:51:53 +02:00
/analyze --code --persona-architect # Systems thinking approach
/build --react --persona-frontend # UX-focused development
/scan --security --persona-security # Security-first analysis
/troubleshoot --prod --persona-analyzer # Root cause analysis approach
2025-06-25 00:21:27 +02:00
```
2025-06-22 14:02:49 +02:00
2025-06-26 13:08:33 +02:00
**v2.0.1 Update**: All 9 personas are now universal flags, available on every command for consistent access to specialized approaches.
2025-06-22 14:02:49 +02:00
2025-06-26 15:31:35 +02:00
### ⚡ **19 Commands**
2025-06-25 16:51:53 +02:00
Development lifecycle coverage:
2025-06-22 14:02:49 +02:00
2025-06-25 00:21:27 +02:00
**Development Commands**
2025-06-22 14:02:49 +02:00
```bash
2025-06-25 16:51:53 +02:00
/build --react --magic --tdd # Development with AI components
/dev-setup --ci --monitor # Environment setup
/test --coverage --e2e --pup # Testing strategies
2025-06-22 14:02:49 +02:00
```
2025-06-25 00:21:27 +02:00
**Analysis & Quality**
```bash
2025-06-26 15:31:35 +02:00
/review --quality --evidence --persona-qa # AI-powered code review
2025-06-25 16:51:53 +02:00
/analyze --architecture --seq # System analysis
/troubleshoot --prod --five-whys # Issue resolution
/improve --performance --iterate # Optimization
/explain --depth expert --visual # Documentation
2025-06-25 00:21:27 +02:00
```
2025-06-22 14:02:49 +02:00
2025-06-25 00:21:27 +02:00
**Operations & Security**
2025-06-22 20:39:51 +02:00
```bash
2025-06-25 16:51:53 +02:00
/deploy --env prod --plan # Deployment planning
/scan --security --owasp --deps # Security audits
/migrate --dry-run --rollback # Database migrations
/cleanup --all --validate # Maintenance tasks
2025-06-22 14:02:49 +02:00
```
2025-06-25 16:51:53 +02:00
### 🎛️ **MCP Integration**
- **Context7**: Access to library documentation
- **Sequential**: Multi-step reasoning capabilities
- **Magic**: AI-generated UI components
- **Puppeteer**: Browser testing and automation
2025-06-22 14:02:49 +02:00
2025-06-26 19:02:32 +02:00
**⚠️ Important:** SuperClaude does not include MCP servers. You need to install them separately in Claude Code's MCP settings to use MCP-related flags (--c7, --seq, --magic, --pup).
2025-06-25 16:51:53 +02:00
### 📊 **Token Efficiency**
SuperClaude's @include template system helps manage token usage:
- **UltraCompressed mode** option for token reduction
- **Template references** for configuration management
- **Caching mechanisms** to avoid redundancy
- **Context-aware compression** options
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
## 🎮 Example Workflows
2025-06-22 14:02:49 +02:00
2025-06-25 00:21:27 +02:00
### Enterprise Architecture Flow
2025-06-22 20:39:51 +02:00
```bash
2025-06-25 16:51:53 +02:00
/design --api --ddd --bounded-context --persona-architect # Domain-driven design
/estimate --detailed --worst-case --seq # Resource planning
/scan --security --validate --persona-security # Security review
/build --api --tdd --coverage --persona-backend # Implementation
2025-06-22 14:02:49 +02:00
```
2025-06-25 00:21:27 +02:00
### Production Issue Resolution
2025-06-22 14:02:49 +02:00
```bash
2025-06-25 16:51:53 +02:00
/troubleshoot --investigate --prod --persona-analyzer # Analysis
/analyze --profile --perf --seq # Performance review
/improve --performance --threshold 95% --persona-performance # Optimization
/test --integration --e2e --pup # Validation
2025-06-22 14:02:49 +02:00
```
2025-06-26 13:08:33 +02:00
### Framework Troubleshooting & Improvement
```bash
/troubleshoot --introspect # Debug SuperClaude behavior
/analyze --introspect --seq # Analyze framework patterns
/improve --introspect --uc # Optimize token usage
```
2025-06-25 00:21:27 +02:00
### Full-Stack Feature Development
2025-06-22 14:02:49 +02:00
```bash
2025-06-25 16:51:53 +02:00
/build --react --magic --watch --persona-frontend # UI development
/test --coverage --e2e --strict --persona-qa # Quality assurance
/scan --validate --deps --persona-security # Security check
2025-06-22 14:02:49 +02:00
```
2025-06-25 16:51:53 +02:00
## 🎭 Available Personas
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
| Persona | Focus Area | Tools | Use Cases |
|---------|-----------|-------|-----------|
| **architect ** | System design | Sequential, Context7 | Architecture planning |
| **frontend ** | User experience | Magic, Puppeteer, Context7 | UI development |
| **backend ** | Server systems | Context7, Sequential | API development |
| **security ** | Security analysis | Sequential, Context7 | Security reviews |
| **analyzer ** | Problem solving | All MCP tools | Debugging |
| **qa ** | Quality assurance | Puppeteer, Context7 | Testing |
| **performance ** | Optimization | Puppeteer, Sequential | Performance tuning |
| **refactorer ** | Code quality | Sequential, Context7 | Code improvement |
| **mentor ** | Knowledge sharing | Context7, Sequential | Documentation |
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
## 🛠️ Configuration Options
2025-06-22 14:02:49 +02:00
2025-06-25 00:21:27 +02:00
### Thinking Depth Control
```bash
# Standard analysis
2025-06-25 16:51:53 +02:00
/analyze --think
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
# Deeper analysis
/design --think-hard
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
# Maximum depth
/troubleshoot --ultrathink
2025-06-25 00:21:27 +02:00
```
2025-06-22 14:02:49 +02:00
2025-06-26 13:08:33 +02:00
### Introspection Mode
```bash
# Enable self-aware analysis for SuperClaude improvement
/analyze --introspect
# Debug SuperClaude behavior
/troubleshoot --introspect --seq
# Optimize framework performance
/improve --introspect --persona-performance
```
2025-06-25 16:51:53 +02:00
### Token Management
2025-06-25 00:21:27 +02:00
```bash
2025-06-25 16:51:53 +02:00
# Standard mode
2025-06-25 00:21:27 +02:00
/build --react --magic
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
# With compression
2025-06-25 00:21:27 +02:00
/analyze --architecture --uc
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
# Native tools only
2025-06-25 00:21:27 +02:00
/scan --security --no-mcp
```
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
### Evidence-Based Development
SuperClaude encourages:
- Documentation for design decisions
- Testing for quality improvements
- Metrics for performance work
- Security validation for deployments
- Analysis for architectural choices
2025-06-25 00:21:27 +02:00
2025-06-25 16:51:53 +02:00
## 📋 Command Categories
2025-06-25 00:21:27 +02:00
### Development (3 Commands)
2025-06-25 16:51:53 +02:00
- `/build` - Project builder with stack templates
- `/dev-setup` - Development environment setup
- `/test` - Testing framework
2025-06-25 00:21:27 +02:00
2025-06-26 15:31:35 +02:00
### Analysis & Improvement (5 Commands)
- `/review` - AI-powered code review with evidence-based recommendations
2025-06-25 16:51:53 +02:00
- `/analyze` - Code and system analysis
- `/troubleshoot` - Debugging and issue resolution
- `/improve` - Enhancement and optimization
- `/explain` - Documentation and explanations
2025-06-25 00:21:27 +02:00
### Operations (6 Commands)
2025-06-25 16:51:53 +02:00
- `/deploy` - Application deployment
- `/migrate` - Database and code migrations
- `/scan` - Security and validation
- `/estimate` - Project estimation
- `/cleanup` - Project maintenance
- `/git` - Git workflow management
2025-06-25 00:21:27 +02:00
### Design & Workflow (5 Commands)
2025-06-25 16:51:53 +02:00
- `/design` - System architecture
- `/spawn` - Parallel task execution
- `/document` - Documentation creation
- `/load` - Project context loading
- `/task` - Task management
## 🔧 Technical Architecture v2
SuperClaude v2's architecture enables extensibility:
**🏗️ Modular Configuration**
- **CLAUDE.md** – Core configuration with @include references
- **.claude/shared/** – Centralized YAML templates
- **commands/shared/** – Reusable command patterns
- **@include System** – Template engine for configuration
**🎯 Unified Command System**
2025-06-26 15:31:35 +02:00
- **19 Commands** – Development lifecycle coverage
2025-06-25 16:51:53 +02:00
- **Flag Inheritance** – Universal flags on all commands
- **Persona Integration** – 9 cognitive modes as flags
- **Template Validation** – Reference integrity checking
**📦 Architecture Benefits**
- **Single Source of Truth** – Centralized updates
- **Easy Extension** – Add new commands/flags
- **Consistent Behavior** – Unified flag handling
- **Reduced Duplication** – Template-based configuration
**✅ Quality Features**
- **Evidence-Based Approach** – Documentation encouraged
- **Research Integration** – Library documentation access
- **Error Recovery** – Graceful failure handling
- **Structured Output** – Organized file locations
## 📊 Comparison
| Aspect | Standard Claude Code | SuperClaude Framework |
|--------|---------------------|----------------------|
| **Expertise ** | General responses | 9 specialized personas |
2025-07-02 08:35:08 -07:00
| **Commands ** | Manual instructions | 19 workflow commands |
2025-06-25 16:51:53 +02:00
| **Context ** | Session-based | Git checkpoint support |
| **Tokens ** | Standard usage | Compression options |
| **Approach ** | General purpose | Evidence-based |
| **Documentation ** | As needed | Systematic approach |
| **Quality ** | Variable | Validation patterns |
| **Integration ** | Basic tools | MCP orchestration |
## 🔮 Use Cases
**Development Teams**
- Consistent approaches across domains
- Standardized workflows
- Evidence-based decisions
- Documentation practices
2025-06-25 00:21:27 +02:00
**Technical Leaders**
2025-06-25 16:51:53 +02:00
- Architecture reviews
- Performance optimization
- Code quality improvement
- Team knowledge sharing
**Operations**
- Deployment procedures
- Debugging workflows
- Security management
- Maintenance tasks
## 🎯 Suitability
**Good fit for:**
- ✅ Teams wanting consistent AI assistance
- ✅ Projects needing specialized approaches
- ✅ Evidence-based development practices
- ✅ Token-conscious workflows
- ✅ Domain-specific expertise needs
**May not suit:**
- ❌ Purely manual workflows
- ❌ Minimal configuration preferences
- ❌ Ad-hoc development styles
- ❌ Single-domain focus
## 🚦 Getting Started
2025-06-25 00:21:27 +02:00
1. **Install SuperClaude **
2025-06-22 20:39:51 +02:00
```bash
git clone https://github.com/NomenAK/SuperClaude.git && cd SuperClaude && ./install.sh
```
2025-06-22 14:02:49 +02:00
2025-06-25 00:21:27 +02:00
2. **Validate Installation **
2025-06-22 20:39:51 +02:00
```bash
2025-06-25 16:51:53 +02:00
/load # Load project context
/analyze --code --think # Test analysis
/analyze --architecture --persona-architect # Try personas
2025-06-22 20:39:51 +02:00
```
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
3. **Example Workflow **
2025-06-25 00:21:27 +02:00
```bash
/design --api --ddd # Architecture design
/build --feature --tdd # Implementation
/test --coverage --e2e # Quality assurance
2025-06-25 16:51:53 +02:00
/deploy --env staging --plan # Deployment
2025-06-25 00:21:27 +02:00
```
2025-06-25 16:51:53 +02:00
## 🛟 Support
2025-06-25 00:21:27 +02:00
2025-06-25 16:51:53 +02:00
- **Installation Help**: Run `./install.sh --help`
- **Command Details**: Check `~/.claude/commands/`
- **Contributing**: See [CONTRIBUTING.md ](CONTRIBUTING.md )
- **Issues**: [GitHub Issues ](https://github.com/NomenAK/SuperClaude/issues )
2025-06-25 00:21:27 +02:00
2025-06-25 16:51:53 +02:00
## 🤝 Community
2025-06-25 00:21:27 +02:00
2025-06-25 16:51:53 +02:00
SuperClaude welcomes contributions:
- **New Personas** for specialized workflows
- **Commands** for domain-specific operations
- **Patterns** for development practices
- **Integrations** for productivity tools
2025-06-25 00:21:27 +02:00
2025-06-25 16:51:53 +02:00
Join the community: [Discussions ](https://github.com/NomenAK/SuperClaude/discussions )
2025-06-22 14:02:49 +02:00
2025-06-26 13:08:33 +02:00
## 📈 Version 2.0.1 Changes
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
**🎯 Architecture Improvements:**
- **Configuration Management**: @include reference system
- **Token Efficiency**: Compression options maintained
- **Command System**: Unified flag inheritance
- **Persona System**: Now available as flags
- **Installer**: Enhanced with new modes
- **Maintenance**: Centralized configuration
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
**📊 Framework Details:**
2025-06-26 15:31:35 +02:00
- **Commands**: 19 specialized commands
2025-06-25 16:51:53 +02:00
- **Personas**: 9 cognitive approaches
- **MCP Servers**: 4 integrations
- **Methodology**: Evidence-based approach
- **Usage**: By development teams
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
## 🎉 Enhance Your Development
2025-06-22 14:02:49 +02:00
2025-06-25 16:51:53 +02:00
SuperClaude provides a structured approach to using Claude Code with specialized commands, personas, and development patterns.
2025-06-22 14:02:49 +02:00
2025-06-22 20:39:51 +02:00
---
2025-06-22 14:02:49 +02:00
2025-06-26 13:08:33 +02:00
*SuperClaude v2.0.1 – Development framework for Claude Code*
2025-06-22 14:02:49 +02:00
2025-06-25 18:36:50 +02:00
[⭐ Star on GitHub ](https://github.com/NomenAK/SuperClaude ) | [💬 Discussions ](https://github.com/NomenAK/SuperClaude/discussions ) | [🐛 Report Issues ](https://github.com/NomenAK/SuperClaude/issues )