mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
docs: Comprehensive documentation update for SuperClaude V4 Beta
Updated all root documentation to reflect V4 Beta capabilities: Root Documentation: - VERSION: Updated to 4.0.0-beta.1 - README.md: Complete rewrite with V4 features (21 commands, 13 agents, 6 MCP servers) - ARCHITECTURE_OVERVIEW.md: Updated for V4 Beta with correct counts and new features - CHANGELOG.md: Added comprehensive V4.0.0-beta.1 release section - ROADMAP.md: Added V4 Beta current status and updated future vision - CONTRIBUTING.md: Updated architecture, testing, and contribution guidelines - SECURITY.md: Added V4 security features and version support table - MANIFEST.in: Updated to include new V4 directories - pyproject.toml: Updated URLs and description for V4 Beta User Documentation: - commands-guide.md: Updated to 21 commands with new V4 commands - superclaude-user-guide.md: Comprehensive V4 Beta features documentation - flags-guide.md: Updated with new V4 flags and agent system - installation-guide.md: V4 Beta installation including hooks system - agents-guide.md: NEW - Complete guide for 13 specialized agents - personas-guide.md: Renamed to personas-guide-v3-legacy.md Key V4 Beta Features Documented: - 21 specialized commands (added: brainstorm, reflect, save, select-tool) - 13 domain expert agents replacing persona system - 6 MCP servers (added Morphllm and Serena) - 4 Behavioral Modes (Brainstorming, Introspection, Task Management, Token Efficiency) - Session Lifecycle with cross-session persistence - Redesigned Hooks System with Python integration - SuperClaude-Lite minimal implementation - Comprehensive Templates system All documentation maintains friendly, accessible tone while accurately reflecting V4 Beta's advanced capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## Introduction
|
||||
|
||||
SuperClaude v3 is a comprehensive framework that extends Claude Code with specialized commands, intelligent routing, and MCP server integration for advanced development workflows. The framework has evolved from a Python-based implementation to a markdown-driven orchestration system that emphasizes configuration over code.
|
||||
SuperClaude V4 Beta is a comprehensive framework that extends Claude Code with specialized commands, intelligent routing, and MCP server integration for advanced development workflows. The framework has evolved from a Python-based implementation to a markdown-driven orchestration system that emphasizes configuration over code, now featuring a production-ready hooks system and comprehensive session lifecycle management.
|
||||
|
||||
## Core Philosophy
|
||||
|
||||
@@ -82,7 +82,7 @@ Four behavioral modes that modify Claude's operational approach:
|
||||
|
||||
### 5. Agent System (`SuperClaude/Agents/`)
|
||||
|
||||
12 specialized agents organized by domain:
|
||||
13 specialized agents organized by domain:
|
||||
|
||||
#### Analysis Agents
|
||||
- `security-auditor`: Security vulnerability detection
|
||||
@@ -107,15 +107,30 @@ Four behavioral modes that modify Claude's operational approach:
|
||||
|
||||
#### Special Agents
|
||||
- `brainstorm-PRD`: Requirements to PRD transformation
|
||||
- `python-ultimate-expert`: Advanced Python development and architecture
|
||||
|
||||
### 6. Hooks System (`SuperClaude/Hooks/`)
|
||||
|
||||
Python-based hooks for framework integration:
|
||||
Production-ready Python-based hooks system providing comprehensive framework integration:
|
||||
|
||||
- **session_lifecycle**: Session start/checkpoint/end management
|
||||
- **performance_monitor**: Real-time performance tracking
|
||||
- **quality_gates**: 8-step validation cycle
|
||||
- **framework_coordinator**: Framework component coordination
|
||||
#### Core Hook Categories
|
||||
- **session_lifecycle**: Complete session management with automatic checkpointing, state persistence, and cross-session continuity
|
||||
- **performance_monitor**: Real-time performance tracking with PRD target validation (<200ms memory ops, <500ms loading)
|
||||
- **quality_gates**: 8-step validation cycle with automated enforcement and quality preservation
|
||||
- **framework_coordinator**: Intelligent framework component coordination and orchestration
|
||||
|
||||
#### Implementation Features
|
||||
- **Zero-config Installation**: Automatic detection and integration with existing Claude Code installations
|
||||
- **Performance Monitoring**: Real-time tracking against PRD targets with automatic optimization suggestions
|
||||
- **Session Persistence**: Automatic checkpointing with intelligent trigger detection (30min/task completion/risk level)
|
||||
- **Quality Enforcement**: Automated quality gate validation with comprehensive reporting
|
||||
- **Error Recovery**: Robust error handling with automatic fallback and recovery mechanisms
|
||||
|
||||
#### Hook Architecture
|
||||
- **Modular Design**: Independent hook modules with clear separation of concerns
|
||||
- **Event-Driven**: React to Claude Code lifecycle events and user interactions
|
||||
- **Configuration-Driven**: YAML-based configuration with intelligent defaults
|
||||
- **Extension Points**: Plugin architecture for custom hook development
|
||||
|
||||
## Key Integration Patterns
|
||||
|
||||
@@ -149,12 +164,123 @@ pattern_matching:
|
||||
|
||||
### 4. Session Lifecycle Pattern
|
||||
|
||||
The Session Lifecycle Pattern enables continuous learning and context preservation:
|
||||
|
||||
```
|
||||
/sc:load → WORK → /sc:save → NEXT SESSION
|
||||
↑ ↓
|
||||
└────── Enhanced Context ───────┘
|
||||
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
||||
│ /sc:load │────▶│ WORK │────▶│ /sc:save │────▶│ NEXT │
|
||||
│ (INIT) │ │ (ACTIVE) │ │ (CHECKPOINT)│ │ SESSION │
|
||||
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
|
||||
│ │ │ │
|
||||
└────────────────────┴────────────────────┴─ Enhanced Context ┘
|
||||
```
|
||||
|
||||
#### Session States & Transitions
|
||||
|
||||
**INITIALIZING** (`/sc:load`)
|
||||
- Activate project via Serena's `activate_project`
|
||||
- Load existing memories and context via `list_memories`
|
||||
- Build comprehensive project understanding
|
||||
- Initialize session metadata and tracking structures
|
||||
- Performance target: <500ms
|
||||
|
||||
**ACTIVE** (Working Session)
|
||||
- Full project context available for all operations
|
||||
- Automatic checkpoint triggers: 30min intervals, task completion, risk operations
|
||||
- Decision logging and pattern recognition
|
||||
- Context accumulation and learning
|
||||
|
||||
**CHECKPOINTED** (`/sc:save`)
|
||||
- Session analysis via Serena's `think_about_collected_information`
|
||||
- Persist discoveries to structured memory system
|
||||
- Create checkpoint with comprehensive metadata
|
||||
- Generate summaries and insights
|
||||
- Performance target: <2000ms
|
||||
|
||||
**RESUMED** (Next Session)
|
||||
- Load latest checkpoint and restore context
|
||||
- Display resumption summary with work completed
|
||||
- Restore decision context and active tasks
|
||||
- Continue from preserved state with enhanced understanding
|
||||
|
||||
#### Memory Organization Strategy
|
||||
```
|
||||
memories/
|
||||
├── session/{timestamp} # Session records with metadata
|
||||
├── checkpoints/{timestamp} # Checkpoint snapshots
|
||||
├── summaries/daily/{date} # Daily work summaries
|
||||
├── project_state/context_enhanced # Accumulated learning
|
||||
└── decisions_log/ # Architecture decisions
|
||||
```
|
||||
|
||||
#### Automatic Checkpoint Triggers
|
||||
- **Time-based**: Every 30 minutes of active work
|
||||
- **Task-based**: Major task completion (priority="high")
|
||||
- **Risk-based**: Before high-risk operations (>50 files, architecture changes)
|
||||
- **Error Recovery**: After recovering from errors or failures
|
||||
|
||||
## SuperClaude-Lite Implementation
|
||||
|
||||
SuperClaude V4 Beta introduces SuperClaude-Lite, a streamlined implementation designed for rapid deployment and essential functionality:
|
||||
|
||||
### Core Design Philosophy
|
||||
- **Minimal Footprint**: Essential commands and features only, optimized for quick setup
|
||||
- **Zero Dependencies**: No MCP servers or Python hooks required for basic operation
|
||||
- **Progressive Enhancement**: Full SuperClaude features available when needed
|
||||
- **Universal Compatibility**: Works across all Claude Code installations without configuration
|
||||
|
||||
### Lite Architecture Components
|
||||
|
||||
#### Essential Commands (8 Core Commands)
|
||||
- `/sc:analyze` - Basic code analysis without MCP dependencies
|
||||
- `/sc:build` - Simplified build orchestration
|
||||
- `/sc:document` - Documentation generation with built-in patterns
|
||||
- `/sc:explain` - Code explanation using native Claude capabilities
|
||||
- `/sc:implement` - Feature implementation with intelligent routing
|
||||
- `/sc:improve` - Code enhancement without external dependencies
|
||||
- `/sc:test` - Testing workflows with standard tooling
|
||||
- `/sc:troubleshoot` - Problem diagnosis using native analysis
|
||||
|
||||
#### Streamlined Core Framework
|
||||
- **CLAUDE_LITE.md**: Lightweight entry point with essential configurations
|
||||
- **FLAGS_LITE.md**: Core behavior flags (--think, --plan, --validate)
|
||||
- **RULES_LITE.md**: Essential operational rules and patterns
|
||||
- **ORCHESTRATOR_LITE.md**: Simplified routing without MCP dependencies
|
||||
|
||||
#### Progressive Enhancement Strategy
|
||||
```yaml
|
||||
deployment_levels:
|
||||
lite: [essential_commands, core_framework, native_capabilities]
|
||||
standard: [+ mcp_servers, behavioral_modes, agent_system]
|
||||
full: [+ hooks_system, session_lifecycle, advanced_orchestration]
|
||||
```
|
||||
|
||||
#### Lite-to-Full Migration Path
|
||||
1. **Start with Lite**: Deploy core commands and framework in minutes
|
||||
2. **Add MCP Servers**: Enable specific capabilities (Context7, Serena, etc.)
|
||||
3. **Enable Modes**: Activate behavioral modes for enhanced workflows
|
||||
4. **Install Hooks**: Add Python hooks for session lifecycle and monitoring
|
||||
5. **Full Framework**: Complete SuperClaude experience with all features
|
||||
|
||||
### Performance Benefits
|
||||
- **Installation Time**: <2 minutes vs 10-15 minutes for full framework
|
||||
- **Memory Footprint**: ~500KB vs ~2MB for full framework
|
||||
- **Boot Time**: <100ms vs <500ms for full framework initialization
|
||||
- **Learning Curve**: Essential commands learnable in <1 hour
|
||||
|
||||
### Use Cases for SuperClaude-Lite
|
||||
- **Quick Prototyping**: Rapid development workflows without setup overhead
|
||||
- **Team Onboarding**: Introduce SuperClaude concepts gradually
|
||||
- **Resource-Constrained Environments**: Minimal resource usage requirements
|
||||
- **Legacy Compatibility**: Works with older Claude Code versions
|
||||
- **Emergency Access**: Backup framework when full version unavailable
|
||||
|
||||
### Migration and Compatibility
|
||||
- **Bidirectional Compatibility**: Lite commands work in full framework
|
||||
- **Incremental Enhancement**: Add features without breaking existing workflows
|
||||
- **Configuration Inheritance**: Lite settings automatically upgraded
|
||||
- **Data Preservation**: Session data preserved during upgrade process
|
||||
|
||||
## Performance Architecture
|
||||
|
||||
### Target Metrics
|
||||
@@ -215,24 +341,59 @@ SuperClaude/
|
||||
|
||||
## Evolution and Future
|
||||
|
||||
SuperClaude has evolved from Python implementation to markdown orchestration:
|
||||
- **v1-v2**: Python-based with complex implementation
|
||||
- **v3**: Markdown-driven orchestration framework
|
||||
- **Future**: Enhanced MCP integration, improved session management
|
||||
SuperClaude has evolved through multiple generations to become a production-ready orchestration framework:
|
||||
|
||||
### Framework Evolution
|
||||
- **v1-v2**: Python-based with complex implementation and manual configuration
|
||||
- **v3**: Markdown-driven orchestration framework with intelligent routing
|
||||
- **V4 Beta**: Production-ready system with hooks, session lifecycle, and SuperClaude-Lite
|
||||
|
||||
### V4 Beta Achievements
|
||||
- **Production Hooks System**: Zero-config Python hooks with automatic detection and integration
|
||||
- **Session Lifecycle Management**: Complete session persistence with Serena MCP integration
|
||||
- **SuperClaude-Lite**: Streamlined implementation for rapid deployment and progressive enhancement
|
||||
- **Enhanced Agent System**: 13 specialized agents including python-ultimate-expert
|
||||
- **Advanced Performance Monitoring**: Real-time PRD target validation and optimization
|
||||
- **Comprehensive Quality Gates**: 8-step validation cycle with automated enforcement
|
||||
- **GitHub Organization Migration**: Moved from NomenAK to SuperClaude-Org for better organization
|
||||
|
||||
### Current Capabilities (V4 Beta)
|
||||
- **21 Commands**: Complete command set covering all development workflows
|
||||
- **6 MCP Servers**: Full integration with Context7, Sequential, Magic, Playwright, Morphllm, Serena
|
||||
- **13 Specialized Agents**: Domain-specific expertise with intelligent routing
|
||||
- **4 Behavioral Modes**: Advanced workflow modification and optimization
|
||||
- **Production Hooks**: Real-time performance monitoring and quality enforcement
|
||||
- **Session Continuity**: Cross-session learning and context preservation
|
||||
|
||||
### Future Roadmap
|
||||
- **V4 Stable**: Performance optimization, stability improvements, comprehensive testing
|
||||
- **V5 Planning**: Enhanced AI coordination, collaborative workflows, advanced analytics
|
||||
- **Enterprise Features**: Team management, organizational policies, audit trails
|
||||
- **Integration Expansion**: Additional MCP servers, IDE plugins, CI/CD integration
|
||||
|
||||
The framework continues to evolve with focus on:
|
||||
- Simplified configuration over code
|
||||
- Enhanced MCP server capabilities
|
||||
- Improved session persistence
|
||||
- Intelligent automation
|
||||
- **Reliability**: Production-grade stability and error recovery
|
||||
- **Performance**: Sub-200ms operations and intelligent optimization
|
||||
- **Accessibility**: SuperClaude-Lite for rapid onboarding and deployment
|
||||
- **Intelligence**: Advanced AI coordination and decision-making capabilities
|
||||
|
||||
## Summary
|
||||
|
||||
SuperClaude v3 represents a mature orchestration framework that extends Claude Code through:
|
||||
- Declarative configuration in markdown
|
||||
- Intelligent routing and tool selection
|
||||
- Comprehensive MCP server integration
|
||||
- Session lifecycle management
|
||||
- Quality-driven development workflows
|
||||
SuperClaude V4 Beta represents a production-ready orchestration framework that extends Claude Code through:
|
||||
- **21 specialized commands** covering all development workflows
|
||||
- **6 MCP servers** providing extended capabilities and intelligence
|
||||
- **13 specialized agents** with domain expertise and intelligent routing
|
||||
- **4 behavioral modes** for advanced workflow modification
|
||||
- **Production hooks system** with zero-config installation and real-time monitoring
|
||||
- **Session lifecycle management** with cross-session learning and context preservation
|
||||
- **SuperClaude-Lite** for rapid deployment and progressive enhancement
|
||||
- **Comprehensive quality gates** with 8-step validation cycles
|
||||
|
||||
The architecture emphasizes simplicity, reliability, and extensibility while maintaining sophisticated capabilities through intelligent orchestration rather than complex implementation.
|
||||
The architecture emphasizes **reliability**, **performance**, and **accessibility** while maintaining sophisticated capabilities through intelligent orchestration. V4 Beta delivers production-grade stability with sub-200ms operation targets, comprehensive error recovery, and seamless integration across the entire Claude Code ecosystem.
|
||||
|
||||
### Key Differentiators
|
||||
- **Zero-config deployment** with intelligent defaults and automatic detection
|
||||
- **Progressive enhancement** from Lite to Full framework capabilities
|
||||
- **Real-time performance monitoring** against PRD targets with optimization suggestions
|
||||
- **Cross-session continuity** preserving context and learning across work sessions
|
||||
- **Comprehensive integration** with MCP servers, behavioral modes, and quality enforcement
|
||||
29
CHANGELOG.md
29
CHANGELOG.md
@@ -26,6 +26,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Installation process detects and migrates existing commands automatically
|
||||
- Tab completion support for `/sc:` prefix to discover all SuperClaude commands
|
||||
|
||||
## [4.0.0-beta.1] - 2025-02-05
|
||||
|
||||
### Added
|
||||
- **Agent System**: 13 specialized domain experts replacing personas
|
||||
- **Behavioral Modes**: 4 intelligent modes for different workflows (Brainstorming, Introspection, Task Management, Token Efficiency)
|
||||
- **Session Lifecycle**: /sc:load and /sc:save for cross-session persistence with Serena MCP
|
||||
- **New Commands**: /sc:brainstorm, /sc:reflect, /sc:save, /sc:select-tool (21 total commands)
|
||||
- **Serena MCP**: Semantic code analysis and memory management
|
||||
- **Morphllm MCP**: Intelligent file editing with Fast Apply capability
|
||||
- **Hooks System**: Python-based framework integration (completely redesigned and implemented)
|
||||
- **SuperClaude-Lite**: Minimal implementation with YAML configuration
|
||||
- **Templates**: Comprehensive templates for creating new components
|
||||
- **Python-Ultimate-Expert Agent**: Master Python architect for production-ready code
|
||||
|
||||
### Changed
|
||||
- Commands expanded from 16 to 21 specialized commands
|
||||
- Personas replaced with 13 specialized Agents
|
||||
- Enhanced MCP integration (6 servers total)
|
||||
- Improved token efficiency (30-50% reduction with Token Efficiency Mode)
|
||||
- Session management now uses Serena integration for persistence
|
||||
- Framework structure reorganized for better modularity
|
||||
|
||||
### Improved
|
||||
- Task management with multi-layer orchestration (TodoWrite, /task, /spawn, /loop)
|
||||
- Quality gates with 8-step validation cycle
|
||||
- Performance monitoring and optimization
|
||||
- Cross-session context preservation
|
||||
- Intelligent routing with ORCHESTRATOR.md enhancements
|
||||
|
||||
## [3.0.0] - 2025-07-14
|
||||
|
||||
### Added
|
||||
|
||||
298
CONTRIBUTING.md
298
CONTRIBUTING.md
@@ -2,7 +2,7 @@
|
||||
|
||||
Thanks for your interest in contributing! 🙏
|
||||
|
||||
SuperClaude is a community-driven project that enhances Claude Code through modular hooks and intelligent orchestration. Every contribution helps make the framework more useful for developers.
|
||||
SuperClaude is a community-driven project that enhances Claude Code through modular hooks, intelligent orchestration, specialized agents, and behavioral modes. Every contribution helps make the framework more useful for developers.
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
@@ -10,19 +10,24 @@ SuperClaude is a community-driven project that enhances Claude Code through modu
|
||||
- Python 3.12+ (standard library only)
|
||||
- Node.js 18+ (for MCP servers)
|
||||
- Claude Code installed and authenticated
|
||||
- uv package manager (recommended for development)
|
||||
|
||||
### Development Setup
|
||||
|
||||
```bash
|
||||
# Clone the repository
|
||||
git clone https://github.com/your-username/SuperClaude.git
|
||||
cd SuperClaude
|
||||
git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git
|
||||
cd SuperClaude_Framework
|
||||
|
||||
# Install SuperClaude
|
||||
./install.sh --standard
|
||||
# Install dependencies with uv
|
||||
uv sync
|
||||
|
||||
# Install SuperClaude V4 Beta
|
||||
python -m pip install -e .
|
||||
|
||||
# Run tests
|
||||
python Tests/comprehensive_test.py
|
||||
python Tests/v4_integration_test.py
|
||||
```
|
||||
|
||||
## 🎯 Ways to Contribute
|
||||
@@ -46,53 +51,95 @@ python Tests/comprehensive_test.py
|
||||
- Translate documentation (especially for Scribe persona)
|
||||
|
||||
### 🔧 Code Contributions
|
||||
- Focus on hooks, commands, or core framework components
|
||||
- Focus on hooks, commands, agents, modes, or core framework components
|
||||
- Follow existing patterns and conventions
|
||||
- Include tests for new functionality
|
||||
- Update documentation as needed
|
||||
|
||||
### 🤖 Agents & Modes
|
||||
- Create specialized agents for domain expertise
|
||||
- Develop behavioral modes for enhanced workflow patterns
|
||||
- Ensure proper integration with MCP servers
|
||||
- Follow the SuperClaude orchestration principles
|
||||
|
||||
## 🏗️ Architecture Overview
|
||||
|
||||
### Core Components
|
||||
```
|
||||
SuperClaude/
|
||||
SuperClaude_Framework/
|
||||
├── SuperClaude/
|
||||
│ ├── Hooks/ # 15 Python hooks (main extension points)
|
||||
│ ├── Commands/ # 14 slash commands
|
||||
│ ├── Core/ # Framework documentation
|
||||
│ └── Settings/ # Configuration files
|
||||
├── Scripts/ # Installation and utility scripts
|
||||
└── Tests/ # Test suite
|
||||
│ ├── Agents/ # 13 specialized domain agents
|
||||
│ ├── Commands/ # 21 slash commands (/sc:load, /sc:save, etc.)
|
||||
│ ├── Core/ # Framework documentation and rules
|
||||
│ ├── Config/ # Configuration management
|
||||
│ ├── Hooks/ # 22+ Python hooks (main extension points)
|
||||
│ ├── MCP/ # 6 MCP server integrations
|
||||
│ └── Modes/ # 4 behavioral modes
|
||||
├── SuperClaude-Lite/ # Lightweight framework variant
|
||||
├── Templates/ # Document and code templates
|
||||
└── Tests/ # Comprehensive test suite
|
||||
```
|
||||
|
||||
### Hook System
|
||||
Hooks are the primary extension mechanism:
|
||||
- **PreToolUse**: Intercept before tool execution
|
||||
- **PostToolUse**: Process after tool completion
|
||||
- **SubagentStop**: Handle sub-agent lifecycle
|
||||
- **Stop**: Session cleanup and synthesis
|
||||
- **Notification**: Real-time event processing
|
||||
### V4 Beta Architecture
|
||||
|
||||
#### Agents System
|
||||
Domain-specialized agents for expert capabilities:
|
||||
- **system-architect.md**: System design and architecture
|
||||
- **performance-optimizer.md**: Performance analysis and optimization
|
||||
- **security-auditor.md**: Security assessment and hardening
|
||||
- **frontend-specialist.md**: UI/UX and frontend development
|
||||
- **brainstorm-PRD.md**: Requirements discovery and PRD generation
|
||||
|
||||
#### Modes System
|
||||
Behavioral modes that modify Claude's operational approach:
|
||||
- **MODE_Brainstorming.md**: Interactive requirements discovery
|
||||
- **MODE_Task_Management.md**: Multi-layer task orchestration
|
||||
- **MODE_Token_Efficiency.md**: Intelligent compression and optimization
|
||||
- **MODE_Introspection.md**: Meta-cognitive analysis and troubleshooting
|
||||
|
||||
#### MCP Integration
|
||||
Advanced server coordination for enhanced capabilities:
|
||||
- **MCP_Serena.md**: Semantic code analysis and memory management
|
||||
- **MCP_Sequential.md**: Multi-step problem solving
|
||||
- **MCP_Magic.md**: UI component generation
|
||||
- **MCP_Context7.md**: Library documentation lookup
|
||||
- **MCP_Morphllm.md**: Intelligent file editing
|
||||
- **MCP_Playwright.md**: Browser automation and testing
|
||||
|
||||
#### Hook System
|
||||
Enhanced hooks with session lifecycle and performance monitoring:
|
||||
- **Session Lifecycle**: Load, checkpoint, save operations
|
||||
- **Performance Monitoring**: Real-time metrics and optimization
|
||||
- **Quality Gates**: 8-step validation framework
|
||||
- **Framework Coordination**: Agent and mode orchestration
|
||||
|
||||
## 🧪 Testing
|
||||
|
||||
### Running Tests
|
||||
```bash
|
||||
# Full test suite
|
||||
# Full V4 test suite
|
||||
python Tests/comprehensive_test.py
|
||||
python Tests/v4_integration_test.py
|
||||
|
||||
# Specific components
|
||||
python Tests/task_management_test.py
|
||||
python Tests/performance_test_suite.py
|
||||
# Component-specific tests
|
||||
python Tests/agent_system_test.py
|
||||
python Tests/mode_coordination_test.py
|
||||
python Tests/mcp_integration_test.py
|
||||
python Tests/session_lifecycle_test.py
|
||||
|
||||
# Hook integration tests
|
||||
python SuperClaude/Hooks/test_orchestration_integration.py
|
||||
python SuperClaude/Hooks/test_session_lifecycle.py
|
||||
python SuperClaude/Hooks/test_performance_monitoring.py
|
||||
```
|
||||
|
||||
### Writing Tests
|
||||
- Test hook behavior with mock data
|
||||
- Include performance benchmarks
|
||||
- Test error conditions and recovery
|
||||
- Validate cross-component integration
|
||||
- Test hook behavior with mock data and session context
|
||||
- Include performance benchmarks for V4 features
|
||||
- Test error conditions and recovery mechanisms
|
||||
- Validate cross-component integration (agents, modes, MCP)
|
||||
- Test session lifecycle operations (/sc:load, /sc:save)
|
||||
- Validate mode coordination and behavioral patterns
|
||||
|
||||
## 📋 Code Standards
|
||||
|
||||
@@ -101,33 +148,121 @@ python SuperClaude/Hooks/test_orchestration_integration.py
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Brief description of hook purpose.
|
||||
Part of SuperClaude Framework v3.0
|
||||
Part of SuperClaude Framework V4 Beta
|
||||
"""
|
||||
|
||||
import json
|
||||
import sys
|
||||
from typing import Dict, Any
|
||||
from typing import Dict, Any, Optional
|
||||
from pathlib import Path
|
||||
|
||||
def process_hook_data(data: Dict[str, Any]) -> Dict[str, Any]:
|
||||
"""Process hook data with proper error handling."""
|
||||
"""Process hook data with V4 session lifecycle support."""
|
||||
try:
|
||||
# Implementation here
|
||||
return {"status": "success", "data": result}
|
||||
# V4 features: session context, performance metrics
|
||||
session_id = data.get('session_id')
|
||||
context = data.get('context', {})
|
||||
|
||||
# Implementation here with V4 patterns
|
||||
result = {
|
||||
"status": "success",
|
||||
"data": result_data,
|
||||
"session_id": session_id,
|
||||
"metrics": {"execution_time_ms": elapsed_time}
|
||||
}
|
||||
return result
|
||||
except Exception as e:
|
||||
return {"status": "error", "message": str(e)}
|
||||
return {
|
||||
"status": "error",
|
||||
"message": str(e),
|
||||
"session_id": data.get('session_id')
|
||||
}
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Standard hook entry point
|
||||
# V4 standard hook entry point with session support
|
||||
input_data = json.loads(sys.stdin.read())
|
||||
result = process_hook_data(input_data)
|
||||
print(json.dumps(result))
|
||||
```
|
||||
|
||||
### Agent Documentation (Markdown)
|
||||
```markdown
|
||||
---
|
||||
name: agent-name
|
||||
description: "Brief description of agent's domain expertise"
|
||||
type: domain-specialist
|
||||
category: [architecture|performance|security|frontend|backend]
|
||||
complexity: [basic|standard|advanced|expert]
|
||||
scope: [module|system|enterprise]
|
||||
|
||||
# Integration Configuration
|
||||
framework-integration:
|
||||
mcp-servers: [serena, sequential, context7]
|
||||
commands: [relevant-commands]
|
||||
modes: [relevant-modes]
|
||||
quality-gates: [relevant-validation-steps]
|
||||
|
||||
# Performance Profile
|
||||
performance-profile: [lightweight|standard|intensive]
|
||||
---
|
||||
|
||||
# Agent Name
|
||||
|
||||
**Domain expertise description** with specific capabilities.
|
||||
|
||||
## Core Capabilities
|
||||
- Specific technical expertise
|
||||
- Domain-specific analysis
|
||||
- Integration patterns
|
||||
|
||||
## Integration Points
|
||||
- MCP server coordination
|
||||
- Command workflows
|
||||
- Mode interactions
|
||||
```
|
||||
|
||||
### Mode Documentation (YAML + Markdown)
|
||||
```markdown
|
||||
---
|
||||
name: mode-name
|
||||
description: "Behavioral modification description"
|
||||
type: behavioral
|
||||
|
||||
# Mode Classification
|
||||
category: [orchestration|optimization|analysis]
|
||||
complexity: [basic|standard|advanced]
|
||||
scope: [session|project|framework]
|
||||
|
||||
# Activation Configuration
|
||||
activation:
|
||||
automatic: true
|
||||
manual-flags: ["--flag"]
|
||||
confidence-threshold: 0.7
|
||||
detection-patterns: ["pattern keywords"]
|
||||
|
||||
# Integration Configuration
|
||||
framework-integration:
|
||||
mcp-servers: [relevant-servers]
|
||||
commands: [relevant-commands]
|
||||
modes: [coordinated-modes]
|
||||
quality-gates: [validation-steps]
|
||||
|
||||
# Performance Profile
|
||||
performance-profile: [lightweight|standard|intensive]
|
||||
---
|
||||
|
||||
# Mode Name
|
||||
|
||||
Mode description and behavioral patterns.
|
||||
```
|
||||
|
||||
### Documentation (Markdown)
|
||||
- Use clear headings and structure
|
||||
- Include code examples where helpful
|
||||
- Use clear headings and structure with V4 component organization
|
||||
- Include code examples for agents, modes, and MCP integration
|
||||
- Add emoji sparingly for clarity 🎯
|
||||
- Keep language humble and developer-focused
|
||||
- Follow YAML frontmatter standards for agents and modes
|
||||
- Document integration points and behavioral patterns
|
||||
|
||||
### Commit Messages
|
||||
```
|
||||
@@ -138,9 +273,11 @@ Longer explanation if needed.
|
||||
- Specific changes made
|
||||
- Why the change was needed
|
||||
- Any breaking changes noted
|
||||
- V4 component impacts (agents, modes, hooks)
|
||||
```
|
||||
|
||||
Types: `feat`, `fix`, `docs`, `test`, `refactor`, `perf`, `chore`
|
||||
Scopes: `agents`, `modes`, `hooks`, `mcp`, `core`, `commands`, `lifecycle`
|
||||
|
||||
## 🔄 Development Workflow
|
||||
|
||||
@@ -150,15 +287,18 @@ git checkout -b feature/your-feature-name
|
||||
```
|
||||
|
||||
### 2. Develop & Test
|
||||
- Make focused, atomic changes
|
||||
- Test locally with `--standard` installation
|
||||
- Ensure hooks don't break existing functionality
|
||||
- Make focused, atomic changes aligned with V4 architecture
|
||||
- Test locally with V4 Beta installation (`python -m pip install -e .`)
|
||||
- Ensure hooks, agents, and modes don't break existing functionality
|
||||
- Test session lifecycle operations (/sc:load, /sc:save)
|
||||
- Validate MCP server integration and coordination
|
||||
|
||||
### 3. Submit Pull Request
|
||||
- Clear title and description
|
||||
- Reference related issues
|
||||
- Include test results
|
||||
- Update documentation if needed
|
||||
- Clear title and description with V4 component impact
|
||||
- Reference related issues and architectural decisions
|
||||
- Include test results for affected components (agents, modes, hooks)
|
||||
- Update documentation for new features and integration points
|
||||
- Demonstrate compatibility with existing V4 systems
|
||||
|
||||
### 4. Code Review
|
||||
- Address feedback promptly
|
||||
@@ -169,16 +309,20 @@ git checkout -b feature/your-feature-name
|
||||
|
||||
### Version Management
|
||||
- Follow [Semantic Versioning](https://semver.org/)
|
||||
- Update `VERSION` file
|
||||
- Document changes in `CHANGELOG.md`
|
||||
- Tag releases: `git tag v3.0.1`
|
||||
- Update `VERSION` file and `pyproject.toml`
|
||||
- Document changes in `CHANGELOG.md` with V4 component impacts
|
||||
- Tag releases: `git tag v4.0.0-beta.1`
|
||||
- Consider V4 Beta stability and migration path
|
||||
|
||||
### Release Checklist
|
||||
- [ ] All tests pass
|
||||
- [ ] Documentation updated
|
||||
- [ ] CHANGELOG.md updated
|
||||
- [ ] Version bumped
|
||||
- [ ] Installation tested on clean system
|
||||
- [ ] All V4 tests pass (comprehensive, integration, component-specific)
|
||||
- [ ] Documentation updated for new agents, modes, and features
|
||||
- [ ] CHANGELOG.md updated with V4 component changes
|
||||
- [ ] Version bumped in `VERSION` and `pyproject.toml`
|
||||
- [ ] V4 Beta installation tested on clean system
|
||||
- [ ] Session lifecycle operations validated
|
||||
- [ ] MCP server coordination tested
|
||||
- [ ] Agent and mode integration verified
|
||||
|
||||
## 🤝 Community Guidelines
|
||||
|
||||
@@ -206,14 +350,50 @@ git checkout -b feature/your-feature-name
|
||||
|
||||
### Common Questions
|
||||
|
||||
**Q: How do I debug hook execution?**
|
||||
A: Check logs in `~/.claude/` and use verbose logging for detailed output.
|
||||
**Q: How do I debug V4 hook execution and session lifecycle?**
|
||||
A: Check logs in `~/.claude/` and use verbose logging. Monitor session state with `/sc:load` and `/sc:save` operations.
|
||||
|
||||
**Q: Can I add new MCP servers?**
|
||||
A: Yes! Follow the pattern in `settings.json` and add integration hooks.
|
||||
**Q: Can I add new MCP servers or agents?**
|
||||
A: Yes! Follow the patterns in `SuperClaude/MCP/` for servers and `SuperClaude/Agents/` for domain specialists. Include proper YAML frontmatter and integration points.
|
||||
|
||||
**Q: How do I test changes without affecting my global setup?**
|
||||
A: Use a separate test environment or backup your `~/.claude` directory before testing.
|
||||
**Q: How do I test V4 changes without affecting my global setup?**
|
||||
A: Use a separate test environment with `python -m pip install -e .` for development installation. Backup your `~/.claude` directory and test session operations.
|
||||
|
||||
**Q: How do I create a new behavioral mode?**
|
||||
A: Follow the pattern in `SuperClaude/Modes/` with proper YAML frontmatter, activation patterns, and framework integration configuration.
|
||||
|
||||
**Q: What's the difference between agents and modes?**
|
||||
A: Agents provide domain expertise (system-architect, performance-optimizer), while modes modify Claude's behavioral approach (brainstorming, task management, token efficiency).
|
||||
|
||||
## 🚀 Contributing to V4 Components
|
||||
|
||||
### Creating New Agents
|
||||
1. **Domain Research**: Identify specific expertise area and common patterns
|
||||
2. **Template Usage**: Use existing agents as templates (e.g., `system-architect.md`)
|
||||
3. **YAML Configuration**: Include proper frontmatter with integration points
|
||||
4. **Capability Documentation**: Define core capabilities and integration patterns
|
||||
5. **Testing**: Create agent-specific tests and validate MCP coordination
|
||||
|
||||
### Developing Behavioral Modes
|
||||
1. **Behavioral Analysis**: Define how the mode modifies Claude's approach
|
||||
2. **Activation Patterns**: Specify automatic and manual triggers
|
||||
3. **Framework Integration**: Document MCP servers, commands, and quality gates
|
||||
4. **Performance Profiling**: Define lightweight/standard/intensive characteristics
|
||||
5. **Mode Coordination**: Ensure compatibility with existing modes
|
||||
|
||||
### Enhancing Session Lifecycle
|
||||
1. **Hook Integration**: Understand session lifecycle hooks and patterns
|
||||
2. **Performance Targets**: Meet <500ms load times and <200ms memory operations
|
||||
3. **Context Management**: Implement proper session state preservation
|
||||
4. **Error Recovery**: Handle checkpoint failures and session restoration
|
||||
5. **Memory Optimization**: Follow selective compression patterns
|
||||
|
||||
### MCP Server Integration
|
||||
1. **Server Capabilities**: Understand server specializations and coordination
|
||||
2. **Performance Benchmarks**: Meet server-specific performance targets
|
||||
3. **Fallback Strategies**: Implement graceful degradation patterns
|
||||
4. **Quality Gates**: Integrate with validation frameworks
|
||||
5. **Cross-Server Coordination**: Enable hybrid intelligence patterns
|
||||
|
||||
## 📄 License
|
||||
|
||||
@@ -221,4 +401,4 @@ By contributing, you agree that your contributions will be licensed under the MI
|
||||
|
||||
## 🙏 Acknowledgments
|
||||
|
||||
Thanks to all contributors who help make SuperClaude better for the development community!
|
||||
Thanks to all contributors who help make SuperClaude V4 Beta better for the development community! Special recognition for those contributing to the new agents system, behavioral modes, session lifecycle, and MCP server coordination that make V4's intelligent orchestration possible.
|
||||
641
Docs/agents-guide.md
Normal file
641
Docs/agents-guide.md
Normal file
@@ -0,0 +1,641 @@
|
||||
# SuperClaude Agents Guide 🤖
|
||||
|
||||
## Overview
|
||||
|
||||
SuperClaude V4 Beta features 13 specialized domain expert agents that automatically activate based on your task context. These intelligent agents replace the previous persona system with more advanced, focused capabilities that provide expert-level assistance across all aspects of software development.
|
||||
|
||||
**The simple truth**: You don't need to pick agents or memorize what they do. SuperClaude automatically brings in the right experts for each situation!
|
||||
|
||||
**Here's what actually happens:**
|
||||
- You type `/analyze auth.js` → Security auditor automatically jumps in 🛡️
|
||||
- You work on React components → Frontend specialist often takes over 🎨
|
||||
- You debug performance issues → Performance optimizer often helps ⚡
|
||||
- You write documentation → Technical writer usually helps out ✍️
|
||||
|
||||
**It's like having a smart team** that knows when to jump in and help, without you managing who does what.
|
||||
|
||||
## 🚀 Just Try These (No Agent Knowledge Required)
|
||||
|
||||
```bash
|
||||
# These automatically activate the right experts:
|
||||
/sc:analyze payment-system/ # → Security + backend experts auto-activate
|
||||
/sc:build react-app/ # → Frontend specialist takes over
|
||||
/sc:improve slow-queries.sql # → Performance optimizer jumps in
|
||||
/sc:troubleshoot "auth failing" # → Root cause analyzer + security expert coordinate
|
||||
/sc:brainstorm "task manager app" # → Brainstorm-PRD agent guides discovery
|
||||
```
|
||||
|
||||
**See the pattern?** You focus on what you want to do, SuperClaude figures out who should help.
|
||||
|
||||
---
|
||||
|
||||
## The SuperClaude Agent Team 👥
|
||||
|
||||
### Core Development Agents 🔧
|
||||
|
||||
#### 🐍 `python-ultimate-expert` - Master Python Architect
|
||||
**What they do**: Production-ready Python development with SOLID principles, clean architecture, and comprehensive testing
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Python file detection (.py, requirements.txt, pyproject.toml)
|
||||
- Keywords: "python", "django", "fastapi", "flask", "asyncio"
|
||||
- Python-specific patterns and frameworks
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Production Standards**: SOLID principles, clean architecture, domain-driven design
|
||||
- **Testing Excellence**: TDD with 95%+ coverage, pytest, property-based testing
|
||||
- **Security First**: OWASP compliance, input validation, secrets management
|
||||
- **Performance Optimization**: Profiling, async programming, memory management
|
||||
- **Modern Tooling**: uv/poetry, black, ruff, mypy, pre-commit hooks
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:build python-api --focus security # → Production-ready FastAPI with security
|
||||
/sc:improve legacy-python/ --focus quality # → Refactor to SOLID principles
|
||||
/sc:test python-service/ --comprehensive # → Full test suite with coverage
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Context7**: Python framework documentation and best practices
|
||||
- **Sequential**: Complex architecture analysis and system design
|
||||
- **Magic**: Python web framework UI components
|
||||
|
||||
---
|
||||
|
||||
#### ⚙️ `backend-engineer` - Reliable Systems Specialist
|
||||
**What they do**: Server-side development, APIs, databases, and reliability engineering
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "API", "database", "server", "microservices", "reliability"
|
||||
- Backend file patterns (server.js, app.py, database schemas)
|
||||
- Infrastructure and service-related tasks
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Reliability First**: 99.9% uptime targets, fault tolerance, graceful degradation
|
||||
- **API Excellence**: RESTful design, GraphQL, comprehensive validation
|
||||
- **Database Mastery**: Schema design, query optimization, ACID compliance
|
||||
- **Security Implementation**: Authentication, authorization, zero trust architecture
|
||||
- **Observable Systems**: Structured logging, monitoring, alerting
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: 99.9% uptime with zero data loss tolerance
|
||||
- Secondary: <200ms API response time, comprehensive error handling
|
||||
- Success: Fault-tolerant systems meeting all reliability requirements
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:design user-management-api # → Reliable API with proper auth
|
||||
/sc:optimize database-queries/ # → Performance tuning and indexing
|
||||
/sc:implement payment-processing # → Secure, reliable payment system
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Context7**: Backend framework patterns and database documentation
|
||||
- **Sequential**: System architecture analysis and reliability planning
|
||||
- **Serena**: Cross-service dependency analysis and integration testing
|
||||
|
||||
---
|
||||
|
||||
#### 🎨 `frontend-specialist` - Accessible UI Expert
|
||||
**What they do**: User interface development with focus on accessibility, performance, and user experience
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "component", "responsive", "accessibility", "UI", "UX", "react", "vue"
|
||||
- Frontend file patterns (.jsx, .vue, .component.ts, CSS files)
|
||||
- User interface and design-related tasks
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Accessibility by Default**: WCAG 2.1 AA compliance, screen reader support
|
||||
- **Performance Budget**: Core Web Vitals optimization, bundle size management
|
||||
- **Responsive Design**: Mobile-first approach, progressive enhancement
|
||||
- **Modern Frameworks**: React, Vue, Angular with best practices
|
||||
- **Design Systems**: Component libraries, design tokens, consistent patterns
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: WCAG 2.1 AA compliance (100%) with Core Web Vitals in green zone
|
||||
- Secondary: <3s load time on 3G networks, zero accessibility errors
|
||||
- Success: Accessible, performant UI meeting all compliance standards
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:build dashboard-components/ # → Accessible React components
|
||||
/sc:improve --focus accessibility ui/ # → WCAG compliance and optimization
|
||||
/sc:optimize bundle-performance # → Core Web Vitals improvement
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Magic**: Advanced UI component generation and design system integration
|
||||
- **Context7**: Frontend framework documentation and accessibility patterns
|
||||
- **Playwright**: Cross-browser testing and visual regression detection
|
||||
|
||||
---
|
||||
|
||||
#### 🚀 `devops-engineer` - Infrastructure Automation Expert
|
||||
**What they do**: Infrastructure automation, deployment pipelines, monitoring, and reliability engineering
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "deploy", "infrastructure", "CI/CD", "docker", "kubernetes", "monitoring"
|
||||
- DevOps file patterns (Dockerfile, docker-compose.yml, .github/workflows)
|
||||
- Infrastructure and deployment-related tasks
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Infrastructure as Code**: Terraform, CloudFormation, automated provisioning
|
||||
- **CI/CD Excellence**: GitHub Actions, automated testing, deployment pipelines
|
||||
- **Container Orchestration**: Docker, Kubernetes, microservices deployment
|
||||
- **Monitoring & Observability**: Logging, metrics, alerting, performance tracking
|
||||
- **Security Operations**: Security scanning, compliance, vulnerability management
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Zero-downtime deployments with automated rollback capability
|
||||
- Secondary: Infrastructure as code, comprehensive monitoring coverage
|
||||
- Success: Fully automated, observable, secure deployment infrastructure
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:deploy production-app # → Zero-downtime deployment pipeline
|
||||
/sc:build monitoring-stack # → Comprehensive observability setup
|
||||
/sc:secure infrastructure/ # → Security hardening and compliance
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Context7**: DevOps tools documentation and best practices
|
||||
- **Sequential**: Infrastructure architecture analysis and optimization
|
||||
- **Playwright**: Deployment validation and smoke testing
|
||||
|
||||
### Analysis & Quality Agents 🔍
|
||||
|
||||
#### 🛡️ `security-auditor` - Threat Modeling Expert
|
||||
**What they do**: Security vulnerability identification, threat modeling, and compliance verification
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "security", "vulnerability", "auth", "compliance", "penetration", "audit"
|
||||
- Security-sensitive code patterns (authentication, data handling, API endpoints)
|
||||
- Security assessment and review requests
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Vulnerability Assessment**: OWASP Top 10, CWE compliance, penetration testing mindset
|
||||
- **Threat Modeling**: Attack vector analysis, security risk assessment
|
||||
- **Compliance Verification**: Industry standards, regulatory requirements
|
||||
- **Security Architecture**: Zero trust principles, defense in depth
|
||||
- **Remediation Guidance**: Specific fixes with security rationale
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Zero critical vulnerabilities in production with OWASP Top 10 compliance
|
||||
- Secondary: All findings include remediation steps, clear severity classifications
|
||||
- Success: Complete security assessment with actionable remediation plan
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:scan --focus security auth-system/ # → Comprehensive security audit
|
||||
/sc:analyze payment-flow --security # → Threat modeling and risk assessment
|
||||
/sc:improve --fix vulnerabilities api/ # → Security hardening and fixes
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Context7**: Security framework documentation and compliance standards
|
||||
- **Sequential**: Complex threat modeling and vulnerability chain analysis
|
||||
- **Playwright**: Security testing and penetration validation
|
||||
|
||||
---
|
||||
|
||||
#### ⚡ `performance-optimizer` - Bottleneck Detection Expert
|
||||
**What they do**: Performance analysis, optimization, and bottleneck identification across all system layers
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "performance", "optimization", "slow", "bottleneck", "latency", "memory"
|
||||
- Performance-related issues and optimization requests
|
||||
- System profiling and benchmarking tasks
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Bottleneck Identification**: Systematic performance profiling and analysis
|
||||
- **Optimization Strategy**: Database queries, application code, infrastructure tuning
|
||||
- **Performance Monitoring**: Metrics collection, alerting, continuous optimization
|
||||
- **Load Testing**: Capacity planning, stress testing, scalability analysis
|
||||
- **Resource Management**: Memory optimization, CPU utilization, I/O efficiency
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Measurable performance improvements with baseline metrics
|
||||
- Secondary: Comprehensive profiling, optimization rationale documentation
|
||||
- Success: Performance targets met with sustainable optimization strategies
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:analyze --focus performance slow-api/ # → Bottleneck identification and fixes
|
||||
/sc:optimize database-queries/ # → Query performance tuning
|
||||
/sc:benchmark application-performance # → Load testing and capacity planning
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Sequential**: Complex performance analysis and systematic optimization
|
||||
- **Context7**: Performance optimization patterns and best practices
|
||||
- **Playwright**: Performance testing and real-world load simulation
|
||||
|
||||
---
|
||||
|
||||
#### 🔍 `root-cause-analyzer` - Systematic Investigation Expert
|
||||
**What they do**: Debugging, root cause analysis, and evidence-based problem solving
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "debug", "investigate", "troubleshoot", "root cause", "analyze", "broken"
|
||||
- Bug reports, system failures, and complex problem investigation
|
||||
- Unknown system behavior and mysterious issues
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Systematic Investigation**: Evidence collection, hypothesis testing, pattern analysis
|
||||
- **Debug Methodology**: Step-by-step problem isolation and reproduction
|
||||
- **Root Cause Identification**: Deep analysis beyond surface symptoms
|
||||
- **Solution Validation**: Testing fixes and preventing regression
|
||||
- **Knowledge Transfer**: Documenting findings and prevention strategies
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Evidence-based conclusions with reproducible findings
|
||||
- Secondary: Systematic investigation methodology, complete analysis
|
||||
- Success: Root cause identified with validated solution and prevention
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:troubleshoot "payment processing fails randomly" # → Systematic investigation
|
||||
/sc:analyze mysterious-bug/ # → Evidence-based debugging
|
||||
/sc:investigate system-outage-logs/ # → Root cause analysis
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Sequential**: Complex problem decomposition and systematic analysis
|
||||
- **Serena**: Code analysis and symbol-level investigation
|
||||
- **Context7**: Debugging patterns and troubleshooting methodologies
|
||||
|
||||
---
|
||||
|
||||
#### 🧪 `qa-specialist` - Quality Assurance Expert
|
||||
**What they do**: Testing strategy, quality gates, edge case detection, and comprehensive validation
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "test", "quality", "validation", "QA", "edge case", "coverage"
|
||||
- Testing-related tasks and quality assurance requests
|
||||
- Quality gate implementation and validation processes
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Testing Strategy**: Comprehensive test planning, risk-based testing
|
||||
- **Quality Assurance**: Edge case identification, failure mode analysis
|
||||
- **Test Automation**: Unit, integration, and end-to-end testing frameworks
|
||||
- **Quality Gates**: Automated quality validation and compliance checking
|
||||
- **Risk Assessment**: Quality risk analysis and mitigation strategies
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Comprehensive test coverage with edge case validation
|
||||
- Secondary: Automated quality gates, risk-based testing priorities
|
||||
- Success: Quality assurance processes preventing defects in production
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:test --comprehensive user-service/ # → Full testing strategy and implementation
|
||||
/sc:validate --quality critical-features/ # → Quality gate implementation
|
||||
/sc:analyze --focus testing legacy-code/ # → Testing strategy for existing code
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Playwright**: End-to-end testing and cross-browser validation
|
||||
- **Sequential**: Complex testing strategy and quality analysis
|
||||
- **Context7**: Testing framework documentation and QA best practices
|
||||
|
||||
### Architecture & Code Quality Agents 🏗️
|
||||
|
||||
#### 🏗️ `system-architect` - Large-Scale Design Expert
|
||||
**What they do**: System architecture, design patterns, and scalability planning
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "architecture", "design", "scalability", "system", "patterns", "microservices"
|
||||
- Large-scale system design and architectural decisions
|
||||
- Cross-system integration and design pattern implementation
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **System Architecture**: Large-scale system design, microservices architecture
|
||||
- **Design Patterns**: Architectural patterns, design principle application
|
||||
- **Scalability Planning**: Performance at scale, distributed system design
|
||||
- **Integration Design**: Cross-system integration, API design, service mesh
|
||||
- **Technology Strategy**: Technology selection, architectural decision records
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Scalable, maintainable architecture supporting business requirements
|
||||
- Secondary: Design pattern adherence, comprehensive architectural documentation
|
||||
- Success: Architecture enabling development team productivity and system reliability
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:design microservices-architecture # → System architecture and service design
|
||||
/sc:analyze --focus architecture system/ # → Architectural review and improvement
|
||||
/sc:plan scalability-improvements # → Scaling strategy and implementation
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Sequential**: Complex architectural analysis and design validation
|
||||
- **Context7**: Architectural patterns and framework documentation
|
||||
- **Serena**: Cross-system analysis and dependency management
|
||||
|
||||
---
|
||||
|
||||
#### 🔄 `code-refactorer` - Clean Code Specialist
|
||||
**What they do**: Code quality improvement, technical debt management, and clean code practices
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "refactor", "cleanup", "quality", "technical debt", "maintainability"
|
||||
- Code improvement and cleanup requests
|
||||
- Legacy code modernization and quality enhancement
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Code Quality**: Clean code principles, SOLID design patterns
|
||||
- **Refactoring Strategy**: Safe refactoring, incremental improvement
|
||||
- **Technical Debt**: Debt identification, prioritization, systematic reduction
|
||||
- **Design Patterns**: Pattern application, code structure improvement
|
||||
- **Maintainability**: Code readability, documentation, consistency
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Improved code maintainability with reduced technical debt
|
||||
- Secondary: Design pattern adherence, comprehensive test coverage
|
||||
- Success: Clean, maintainable code supporting long-term development productivity
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:improve --focus quality legacy-module/ # → Comprehensive code quality improvement
|
||||
/sc:refactor --safe complex-functions/ # → Safe refactoring with test coverage
|
||||
/sc:cleanup --technical-debt codebase/ # → Systematic technical debt reduction
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Morphllm**: Pattern-based code transformations and intelligent refactoring
|
||||
- **Serena**: Symbol-level analysis and large-scale refactoring coordination
|
||||
- **Sequential**: Complex refactoring strategy and impact analysis
|
||||
|
||||
### Communication & Knowledge Agents 📚
|
||||
|
||||
#### ✍️ `technical-writer` - Documentation Excellence Expert
|
||||
**What they do**: Technical documentation, API references, user guides, and knowledge management
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "document", "README", "guide", "documentation", "API docs", "tutorial"
|
||||
- Documentation creation and improvement requests
|
||||
- Knowledge transfer and educational content needs
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Technical Documentation**: API documentation, user guides, technical specifications
|
||||
- **Audience Analysis**: Content tailored to different technical expertise levels
|
||||
- **Information Architecture**: Structured, navigable documentation systems
|
||||
- **Accessibility**: WCAG compliant documentation, inclusive design principles
|
||||
- **Content Strategy**: Documentation planning, maintenance, and lifecycle management
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Flesch Reading Score 60-70 with zero ambiguity in instructions
|
||||
- Secondary: WCAG 2.1 AA compliance, complete working code examples
|
||||
- Success: Documentation enabling successful task completion without external assistance
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:document api-endpoints/ # → Comprehensive API documentation
|
||||
/sc:write user-guide --audience beginner # → User-friendly tutorial and guides
|
||||
/sc:improve --docs project-documentation/ # → Documentation quality enhancement
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Context7**: Documentation patterns and technical writing best practices
|
||||
- **Serena**: Documentation persistence and cross-reference management
|
||||
- **Sequential**: Complex documentation planning and content strategy
|
||||
|
||||
---
|
||||
|
||||
#### 👨🏫 `code-educator` - Learning & Mentorship Expert
|
||||
**What they do**: Code explanation, educational content, and knowledge transfer facilitation
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Keywords: "explain", "learn", "understand", "teach", "tutorial", "example"
|
||||
- Educational content and learning-focused requests
|
||||
- Code explanation and mentorship needs
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Educational Content**: Clear, progressive learning materials and tutorials
|
||||
- **Code Explanation**: Complex concept breakdown with practical examples
|
||||
- **Mentorship**: Guided learning experiences and skill development
|
||||
- **Knowledge Transfer**: Best practices education and team learning facilitation
|
||||
- **Interactive Learning**: Hands-on examples and practical exercises
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Clear, progressive learning experiences appropriate to audience level
|
||||
- Secondary: Comprehensive examples, practical exercises, concept reinforcement
|
||||
- Success: Learners successfully apply concepts and develop practical skills
|
||||
|
||||
**Example use cases**:
|
||||
```bash
|
||||
/sc:explain complex-algorithm --educational # → Step-by-step learning guide
|
||||
/sc:teach react-patterns --beginner # → Progressive React tutorial
|
||||
/sc:mentor junior-developer --focus testing # → Personalized learning guidance
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Context7**: Educational resources and learning materials
|
||||
- **Sequential**: Complex concept breakdown and progressive learning design
|
||||
- **Magic**: Interactive examples and educational component creation
|
||||
|
||||
### Special Purpose Agents 🎯
|
||||
|
||||
#### 🧠 `brainstorm-PRD` - Requirements Discovery Expert
|
||||
**What they do**: Transform ambiguous project ideas into concrete specifications through structured brainstorming
|
||||
|
||||
**Auto-activation triggers**:
|
||||
- Ambiguous project requests ("I want to build something that...")
|
||||
- Exploration keywords: brainstorm, explore, discuss, figure out, not sure
|
||||
- PRD creation and requirements discovery needs
|
||||
- `/sc:brainstorm` command usage
|
||||
|
||||
**Specialized capabilities**:
|
||||
- **Requirements Discovery**: Socratic questioning, stakeholder analysis
|
||||
- **PRD Creation**: Comprehensive product requirement documentation
|
||||
- **Brainstorming Facilitation**: Creative exploration with practical constraints
|
||||
- **Specification Development**: Abstract concepts to concrete requirements
|
||||
- **Risk Assessment**: Early constraint and dependency identification
|
||||
|
||||
**Quality standards**:
|
||||
- Primary: Requirements are complete and unambiguous before project handoff
|
||||
- Secondary: All stakeholder perspectives integrated, feasibility validated
|
||||
- Success: Comprehensive PRD enabling downstream agent execution
|
||||
|
||||
**Integration workflow**:
|
||||
```bash
|
||||
/sc:brainstorm "task management app" # → Interactive discovery session
|
||||
# → Automatic handoff to brainstorm-PRD agent
|
||||
# → PRD generation with structured requirements
|
||||
# → Ready for /sc:workflow implementation
|
||||
```
|
||||
|
||||
**Integration with MCP servers**:
|
||||
- **Sequential**: Complex requirements analysis and systematic discovery
|
||||
- **Context7**: Industry patterns and requirement frameworks
|
||||
- **Serena**: Session persistence and cross-project learning
|
||||
|
||||
---
|
||||
|
||||
## Agent Coordination & Integration 🤝
|
||||
|
||||
### Automatic Agent Collaboration
|
||||
|
||||
Agents often work together automatically. Here are common collaboration patterns:
|
||||
|
||||
#### **Multi-Domain Projects**
|
||||
```bash
|
||||
/sc:build full-stack-app/
|
||||
# Auto-coordinates: backend-engineer + frontend-specialist + system-architect
|
||||
```
|
||||
|
||||
#### **Security-Focused Development**
|
||||
```bash
|
||||
/sc:analyze --focus security payment-system/
|
||||
# Auto-coordinates: security-auditor + backend-engineer + performance-optimizer
|
||||
```
|
||||
|
||||
#### **Quality Improvement**
|
||||
```bash
|
||||
/sc:improve --focus quality legacy-codebase/
|
||||
# Auto-coordinates: code-refactorer + qa-specialist + system-architect
|
||||
```
|
||||
|
||||
### Integration with MCP Servers
|
||||
|
||||
Each agent leverages specific MCP servers for enhanced capabilities:
|
||||
|
||||
- **Context7**: Documentation patterns, framework best practices, compliance standards
|
||||
- **Sequential**: Complex analysis, systematic problem solving, architectural planning
|
||||
- **Magic**: UI component generation, design system integration, modern frameworks
|
||||
- **Playwright**: Cross-browser testing, visual validation, performance testing
|
||||
- **Morphllm**: Intelligent code transformations, pattern application, optimization
|
||||
- **Serena**: Memory operations, cross-reference management, symbol-level analysis
|
||||
|
||||
### Integration with Commands and Modes
|
||||
|
||||
Agents seamlessly integrate with SuperClaude's command system:
|
||||
|
||||
```bash
|
||||
# Commands automatically select appropriate agents
|
||||
/sc:analyze → root-cause-analyzer or system-architect (context-dependent)
|
||||
/sc:build → frontend-specialist, backend-engineer, or python-ultimate-expert
|
||||
/sc:test → qa-specialist with domain-specific coordination
|
||||
/sc:brainstorm → brainstorm-PRD for requirements discovery
|
||||
/sc:document → technical-writer with audience-appropriate formatting
|
||||
```
|
||||
|
||||
**Mode Integration**:
|
||||
- **Brainstorming Mode**: Activates brainstorm-PRD for discovery sessions
|
||||
- **Task Management Mode**: Coordinates multiple agents across complex workflows
|
||||
- **Token Efficiency Mode**: Optimizes agent communication for resource constraints
|
||||
|
||||
## Quick Reference 📋
|
||||
|
||||
### Agent Selection Cheat Sheet
|
||||
|
||||
| Agent | Best For | Auto-Activates On | Example Use |
|
||||
|-------|----------|-------------------|-------------|
|
||||
| 🐍 python-ultimate-expert | Python development | .py files, Python frameworks | Production Python APIs |
|
||||
| ⚙️ backend-engineer | Server-side systems | APIs, databases, services | Reliable backend systems |
|
||||
| 🎨 frontend-specialist | User interfaces | UI components, accessibility | Accessible web interfaces |
|
||||
| 🚀 devops-engineer | Infrastructure | CI/CD, deployment, monitoring | Deployment automation |
|
||||
| 🛡️ security-auditor | Security analysis | Security keywords, auth code | Vulnerability assessment |
|
||||
| ⚡ performance-optimizer | Performance tuning | "slow", "bottleneck", profiling | System optimization |
|
||||
| 🔍 root-cause-analyzer | Problem solving | "debug", "investigate", bugs | Complex bug investigation |
|
||||
| 🧪 qa-specialist | Quality assurance | Testing, validation, QA | Comprehensive test strategy |
|
||||
| 🏗️ system-architect | System design | Architecture, scalability | Large-scale system design |
|
||||
| 🔄 code-refactorer | Code improvement | Refactoring, cleanup, quality | Clean code practices |
|
||||
| ✍️ technical-writer | Documentation | Documentation requests | API documentation |
|
||||
| 👨🏫 code-educator | Learning & teaching | "explain", "learn", tutorials | Educational content |
|
||||
| 🧠 brainstorm-PRD | Requirements discovery | Ambiguous projects, brainstorming | Project specification |
|
||||
|
||||
### Most Useful Agent Combinations
|
||||
|
||||
**Full-Stack Development**:
|
||||
```bash
|
||||
# Automatically coordinates backend + frontend + architecture
|
||||
/sc:build modern-web-app/
|
||||
```
|
||||
|
||||
**Security & Performance Review**:
|
||||
```bash
|
||||
# Coordinates security + performance + quality analysis
|
||||
/sc:analyze --comprehensive production-system/
|
||||
```
|
||||
|
||||
**Learning & Development**:
|
||||
```bash
|
||||
# Coordinates educator + technical writer + domain expert
|
||||
/sc:explain complex-system --educational
|
||||
```
|
||||
|
||||
**Project Discovery to Implementation**:
|
||||
```bash
|
||||
# Brainstorm → PRD → Architecture → Implementation
|
||||
/sc:brainstorm "e-commerce platform"
|
||||
# → Automatic handoff through agent coordination
|
||||
```
|
||||
|
||||
## Best Practices 💡
|
||||
|
||||
### Getting Started (The Simple Way)
|
||||
1. **Just use normal commands** - Agents auto-activate based on your needs
|
||||
2. **Trust the automation** - SuperClaude usually picks better experts than manual selection
|
||||
3. **Focus on your work** - Not on managing which agent helps you
|
||||
4. **Let coordination happen** - Multiple agents work together automatically
|
||||
|
||||
### Advanced Usage (When You Want Control)
|
||||
1. **Manual agent selection** - Use agent names in commands when you want specific expertise
|
||||
2. **Cross-domain perspectives** - Ask security agents about frontend code for different viewpoints
|
||||
3. **Learning mode** - Use code-educator for explanation-focused assistance
|
||||
4. **Quality focus** - Combine qa-specialist with domain experts for comprehensive quality
|
||||
|
||||
### Common Patterns
|
||||
|
||||
**For New Projects**:
|
||||
```bash
|
||||
/sc:brainstorm "your project idea" # → Requirements discovery
|
||||
# → Automatic PRD generation and handoff
|
||||
# → Ready for implementation workflow
|
||||
```
|
||||
|
||||
**For Existing Code**:
|
||||
```bash
|
||||
/sc:analyze existing-system/ # → Appropriate domain expert auto-selected
|
||||
/sc:improve --focus quality code/ # → Quality-focused agent coordination
|
||||
/sc:secure legacy-application/ # → Security-focused analysis and hardening
|
||||
```
|
||||
|
||||
**For Learning**:
|
||||
```bash
|
||||
/sc:explain complex-concept --educational # → Code educator with domain expert
|
||||
/sc:document api/ --audience beginner # → Technical writer with appropriate level
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Final Notes 📝
|
||||
|
||||
**The real truth about agents** 💯:
|
||||
- **Auto-activation works remarkably well** - Usually better than trying to pick experts yourself
|
||||
- **You can completely ignore agent details** and still get excellent expert assistance
|
||||
- **Agents exist to help you** - Not to create complexity you need to manage
|
||||
- **Learning happens naturally** through use, not through studying agent descriptions
|
||||
|
||||
**Don't feel overwhelmed by the team** 🧘♂️:
|
||||
- You don't need to know what each agent does
|
||||
- SuperClaude handles expert selection intelligently
|
||||
- The detailed descriptions above are for curiosity, not necessity
|
||||
- Focus on your work - the right experts will show up when needed
|
||||
|
||||
**When you might want to know about agents**:
|
||||
- **Curiosity** - "What would a security expert think about this frontend code?"
|
||||
- **Learning** - "How would different experts approach this problem?"
|
||||
- **Specialization** - "I specifically need Python architecture expertise"
|
||||
- **Quality focus** - "I want comprehensive quality analysis from multiple angles"
|
||||
|
||||
**Keep it simple** 🎯:
|
||||
- Use normal commands like `/analyze some-code/` and `/build my-app/`
|
||||
- Let the right experts automatically show up
|
||||
- Agent coordination is available when you want it, not because you need it
|
||||
- Focus on building great software - we'll handle the expertise coordination
|
||||
|
||||
---
|
||||
|
||||
*Behind this sophisticated team of 13 specialists, SuperClaude remains simple to use. Just start coding and the right experts show up when needed! 🚀*
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## 💡 Don't Overthink It - SuperClaude Tries to Help
|
||||
|
||||
**The truth about these 17 commands**: You don't need to memorize them. Just start with `/sc:analyze` or `/sc:implement` and see what happens!
|
||||
**The truth about these 21 commands**: You don't need to memorize them. Just start with `/sc:analyze` or `/sc:implement` and see what happens!
|
||||
|
||||
**Here's how it usually works:**
|
||||
- Type `/` in Claude Code → See available commands
|
||||
@@ -20,18 +20,20 @@
|
||||
```bash
|
||||
/sc:index # See what's available
|
||||
/sc:analyze src/ # Tries to analyze your code smartly
|
||||
/sc:brainstorm "app idea" # Interactive help for exploring ideas
|
||||
/sc:workflow feature-100-prd.md # Creates step-by-step implementation workflow from PRD
|
||||
/sc:implement user-auth # Creates features and components (replaces v2 /build)
|
||||
/sc:build # Attempts intelligent project building
|
||||
/sc:improve messy-file.js # Tries to clean up code
|
||||
/sc:troubleshoot "error" # Attempts to help with problems
|
||||
/sc:save --checkpoint # Save your work and progress
|
||||
```
|
||||
|
||||
**That's honestly enough to get started.** Everything else below is here when you get curious about what other tools are available. 🛠️
|
||||
|
||||
---
|
||||
|
||||
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.
|
||||
A practical guide to all 21 SuperClaude V4 Beta slash commands. We'll be honest about what works well and what's still rough around the edges.
|
||||
|
||||
## Quick Reference 📋
|
||||
|
||||
@@ -56,6 +58,10 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
| `/sc:task` | Project management | Planning system | Long-term feature planning, task tracking |
|
||||
| `/sc:workflow` | Implementation planning | Workflow system | Creating step-by-step workflows from PRDs |
|
||||
| `/sc:index` | Command navigation | Help system | Finding the right command for your task |
|
||||
| `/sc:brainstorm` | Interactive discovery | Socratic dialogue | Requirements gathering, idea exploration |
|
||||
| `/sc:reflect` | Task validation | Serena intelligence | Progress checking, completion validation |
|
||||
| `/sc:save` | Session persistence | Checkpoint system | Context saving, session management |
|
||||
| `/sc:select-tool` | Tool selection | Intelligence routing | Complex operation optimization |
|
||||
|
||||
**Pro tip**: Just try the ones that sound useful. SuperClaude usually tries to activate helpful experts and tools for each situation! 🎯
|
||||
|
||||
@@ -634,7 +640,7 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
|
||||
**Gotchas**:
|
||||
- Simple but useful for discovery
|
||||
- Better than trying to remember all 16 commands
|
||||
- Better than trying to remember all 21 commands
|
||||
|
||||
---
|
||||
|
||||
@@ -671,6 +677,146 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
- More useful at project start than during development
|
||||
- Helps with onboarding but not a replacement for good docs
|
||||
|
||||
## Session & Intelligence Commands 🧠
|
||||
|
||||
### `/brainstorm` - Interactive Requirements Discovery
|
||||
**What it does**: Interactive Socratic dialogue for exploring ideas and discovering requirements.
|
||||
|
||||
**When to use it**:
|
||||
- Starting with vague project ideas ("I want to build something...")
|
||||
- Need help figuring out what to build
|
||||
- Exploring requirements for new features
|
||||
- Creative problem solving and ideation
|
||||
|
||||
**Basic syntax**:
|
||||
```bash
|
||||
/sc:brainstorm "mobile app idea" # Explore app concept
|
||||
/sc:brainstorm --depth deep startup # Deep exploration of startup idea
|
||||
/sc:brainstorm --focus business ecom # Business-focused e-commerce planning
|
||||
```
|
||||
|
||||
**Useful flags**:
|
||||
- `--depth normal|deep` - Exploration thoroughness
|
||||
- `--focus business|technical|user` - Conversation focus area
|
||||
- `--prd` - Generate Product Requirements Document after dialogue
|
||||
|
||||
**Real examples**:
|
||||
```bash
|
||||
/sc:brainstorm "task management app" --prd
|
||||
/sc:brainstorm --depth deep --focus technical "real-time chat system"
|
||||
/sc:brainstorm "improve user onboarding" --focus user
|
||||
```
|
||||
|
||||
**Gotchas**:
|
||||
- Works best when you're genuinely uncertain about requirements
|
||||
- Quality of output depends on engagement in the dialogue
|
||||
- Can take 10-15 minutes for thorough exploration
|
||||
|
||||
---
|
||||
|
||||
### `/reflect` - Task Reflection and Validation
|
||||
**What it does**: Uses Serena intelligence for task validation, progress analysis, and completion verification.
|
||||
|
||||
**When to use it**:
|
||||
- Checking if you're on the right track with a task
|
||||
- Validating task completion before marking done
|
||||
- Analyzing collected information during complex work
|
||||
- Getting intelligent feedback on progress
|
||||
|
||||
**Basic syntax**:
|
||||
```bash
|
||||
/sc:reflect --type task # Reflect on current task approach
|
||||
/sc:reflect --type completion # Validate task completion
|
||||
/sc:reflect --type session # Analyze session progress
|
||||
```
|
||||
|
||||
**Useful flags**:
|
||||
- `--type task|completion|session` - Type of reflection
|
||||
- `--analyze` - Deep analysis of current context
|
||||
- `--validate` - Validation-focused reflection
|
||||
|
||||
**Real examples**:
|
||||
```bash
|
||||
/sc:reflect --type completion "implemented user auth"
|
||||
/sc:reflect --analyze --type session
|
||||
/sc:reflect --type task --validate "refactoring approach"
|
||||
```
|
||||
|
||||
**Gotchas**:
|
||||
- Requires Serena MCP server to be available
|
||||
- Most effective when you provide context about what you're working on
|
||||
- Best used at natural stopping points in work
|
||||
|
||||
---
|
||||
|
||||
### `/save` - Session Persistence and Checkpointing
|
||||
**What it does**: Saves session context, creates checkpoints, and manages project memory through Serena.
|
||||
|
||||
**When to use it**:
|
||||
- Saving work progress before ending session
|
||||
- Creating checkpoints before risky operations
|
||||
- Preserving insights and decisions for future sessions
|
||||
- Managing long-term project context
|
||||
|
||||
**Basic syntax**:
|
||||
```bash
|
||||
/sc:save # Basic session save
|
||||
/sc:save --checkpoint # Create checkpoint with analysis
|
||||
/sc:save --type summary # Save with session summary
|
||||
```
|
||||
|
||||
**Useful flags**:
|
||||
- `--checkpoint` - Create detailed checkpoint
|
||||
- `--type session|summary|insights` - Save type
|
||||
- `--analyze` - Include session analysis in save
|
||||
|
||||
**Real examples**:
|
||||
```bash
|
||||
/sc:save --checkpoint "before major refactoring"
|
||||
/sc:save --type summary --analyze
|
||||
/sc:save "completed authentication implementation"
|
||||
```
|
||||
|
||||
**Gotchas**:
|
||||
- Requires Serena MCP server for full functionality
|
||||
- Checkpoint creation may take a moment for analysis
|
||||
- Most valuable for complex, multi-session projects
|
||||
|
||||
---
|
||||
|
||||
### `/select-tool` - Intelligent Tool Selection
|
||||
**What it does**: Analyzes complex operations and recommends optimal tool combinations and approaches.
|
||||
|
||||
**When to use it**:
|
||||
- Uncertain about best approach for complex tasks
|
||||
- Want to optimize tool selection for efficiency
|
||||
- Need guidance on MCP server coordination
|
||||
- Planning multi-step technical operations
|
||||
|
||||
**Basic syntax**:
|
||||
```bash
|
||||
/sc:select-tool "large codebase refactoring" # Get tool recommendations
|
||||
/sc:select-tool --analyze "performance audit" # Analyze optimal approach
|
||||
/sc:select-tool --context react-app "UI testing" # Context-aware selection
|
||||
```
|
||||
|
||||
**Useful flags**:
|
||||
- `--analyze` - Deep analysis of optimal approach
|
||||
- `--context <tech>` - Provide technical context
|
||||
- `--efficiency` - Focus on performance optimization
|
||||
|
||||
**Real examples**:
|
||||
```bash
|
||||
/sc:select-tool --analyze "migrate 100+ files to TypeScript"
|
||||
/sc:select-tool --context nodejs --efficiency "API performance testing"
|
||||
/sc:select-tool "cross-browser testing setup"
|
||||
```
|
||||
|
||||
**Gotchas**:
|
||||
- Recommendations are guidance, not requirements
|
||||
- Most valuable for complex, multi-faceted operations
|
||||
- Consider your specific project context when following recommendations
|
||||
|
||||
## Command Tips & Patterns 💡
|
||||
|
||||
### Effective Flag Combinations
|
||||
@@ -696,6 +842,14 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
|
||||
### Common Workflows
|
||||
|
||||
**New Project Discovery** (V4 Beta):
|
||||
```bash
|
||||
/sc:brainstorm "project idea" --prd # Explore and define requirements
|
||||
/sc:load --deep --summary # Understand existing codebase
|
||||
/sc:workflow requirements.md # Create implementation plan
|
||||
/sc:save --checkpoint "project planning" # Save planning insights
|
||||
```
|
||||
|
||||
**New Project Onboarding**:
|
||||
```bash
|
||||
/sc:load --deep --summary
|
||||
@@ -709,6 +863,7 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
/sc:troubleshoot "specific error message" --logs
|
||||
/sc:analyze --focus security
|
||||
/sc:test --type unit affected-component
|
||||
/sc:reflect --type completion "bug analysis"
|
||||
```
|
||||
|
||||
**Code Quality Improvement**:
|
||||
@@ -717,6 +872,7 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
/sc:improve --preview src/
|
||||
/sc:cleanup --safe
|
||||
/sc:test --coverage
|
||||
/sc:reflect --type completion "quality improvements"
|
||||
```
|
||||
|
||||
**Pre-deployment Checklist**:
|
||||
@@ -725,6 +881,15 @@ A practical guide to all 16 SuperClaude slash commands. We'll be honest about wh
|
||||
/sc:analyze --focus security
|
||||
/sc:build --type prod --optimize
|
||||
/sc:git --smart-commit
|
||||
/sc:save --checkpoint "pre-deployment validation"
|
||||
```
|
||||
|
||||
**Complex Task Planning** (V4 Beta):
|
||||
```bash
|
||||
/sc:select-tool "migrate to microservices" # Get approach recommendations
|
||||
/sc:reflect --type task "migration strategy" # Validate approach
|
||||
/sc:workflow migration-plan.md # Create detailed workflow
|
||||
/sc:save "migration planning complete" # Preserve insights
|
||||
```
|
||||
|
||||
### Troubleshooting Command Issues
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# SuperClaude Flags User Guide 🏁
|
||||
# SuperClaude V4 Beta Flags User Guide 🏁
|
||||
|
||||
## 🤖 Most Flags Activate Automatically - Don't Stress About It!
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
**Here's what actually happens:**
|
||||
- You type `/analyze auth.js`
|
||||
- SuperClaude detects it's security-related code
|
||||
- **Usually adds** `--persona-security`, `--focus security`, `--validate`
|
||||
- **Usually activates** security-auditor agent, `--focus security`, `--validate`
|
||||
- You often get expert security analysis without managing any flags
|
||||
|
||||
**When might you manually use flags?**
|
||||
@@ -23,10 +23,11 @@
|
||||
|
||||
```bash
|
||||
# These work great with zero flag knowledge:
|
||||
/sc:analyze src/ # Auto-picks the right analysis flags
|
||||
/sc:analyze src/ # Auto-activates appropriate expert agents
|
||||
/sc:build # Auto-optimizes based on your project
|
||||
/sc:improve messy-code.js # Auto-activates quality and safety flags
|
||||
/sc:troubleshoot "weird error" # Auto-activates debugging and analysis flags
|
||||
/sc:improve messy-code.js # Auto-activates quality agents and safety flags
|
||||
/sc:troubleshoot "weird error" # Auto-activates root-cause-analyzer and debugging flags
|
||||
/sc:brainstorm "my app idea" # Auto-activates brainstorm-PRD agent for requirements
|
||||
```
|
||||
|
||||
**See? No flags needed.** Everything below is for when you get curious about what's happening behind the scenes.
|
||||
@@ -153,9 +154,21 @@ Enable specialized capabilities through MCP servers.
|
||||
#### `--play` / `--playwright`
|
||||
**What it does**: Enables Playwright for browser automation and testing
|
||||
**When to use**: E2E testing, performance monitoring
|
||||
**Auto-activates**: Test workflows, QA persona
|
||||
**Auto-activates**: Test workflows, QA specialist agent
|
||||
**Example**: `/test e2e --play`
|
||||
|
||||
#### `--morph` / `--fast-apply`
|
||||
**What it does**: Enables Morphllm for intelligent file editing with Fast Apply
|
||||
**When to use**: Multi-file edits, pattern-based transformations
|
||||
**Auto-activates**: Complex refactoring, bulk file updates
|
||||
**Example**: `/refactor --morph pattern-updates/`
|
||||
|
||||
#### `--serena` / `--semantic`
|
||||
**What it does**: Enables Serena for semantic analysis and memory operations
|
||||
**When to use**: Symbol analysis, project-wide context, session management
|
||||
**Auto-activates**: Complex symbol operations, memory commands
|
||||
**Example**: `/analyze --serena --semantic large-codebase/`
|
||||
|
||||
#### `--all-mcp`
|
||||
**What it does**: Enables all MCP servers simultaneously
|
||||
**When to use**: Complex multi-domain problems
|
||||
@@ -167,7 +180,7 @@ Enable specialized capabilities through MCP servers.
|
||||
**When to use**: Faster execution, don't need specialized features
|
||||
**Example**: `/analyze simple-script.js --no-mcp`
|
||||
|
||||
**💡 Tip**: MCP servers add capabilities but use more tokens. `--c7` for docs, `--seq` for thinking, `--magic` for UI.
|
||||
**💡 Tip**: MCP servers add capabilities but use more tokens. `--c7` for docs, `--seq` for thinking, `--magic` for UI, `--serena` for memory & semantic analysis.
|
||||
|
||||
---
|
||||
|
||||
@@ -198,6 +211,16 @@ For complex operations and workflows.
|
||||
**Auto-activates**: Polish, refine, enhance keywords
|
||||
**Example**: `/improve messy-code.js --loop`
|
||||
|
||||
#### `--iterations [n]`
|
||||
**What it does**: Control number of improvement cycles (1-10)
|
||||
**When to use**: Controlling iterative enhancement depth
|
||||
**Example**: `/improve --loop --iterations 5`
|
||||
|
||||
#### `--interactive`
|
||||
**What it does**: Enables user confirmation between iterations
|
||||
**When to use**: Want control over iterative process
|
||||
**Example**: `/improve --loop --interactive`
|
||||
|
||||
#### `--concurrency [n]`
|
||||
**What it does**: Control max concurrent sub-agents (1-15)
|
||||
**When to use**: Controlling resource usage
|
||||
@@ -207,6 +230,31 @@ For complex operations and workflows.
|
||||
|
||||
---
|
||||
|
||||
### Session & Workflow Flags 🔄
|
||||
|
||||
These V4 Beta flags control session management and advanced workflows.
|
||||
|
||||
#### `--brainstorm`
|
||||
**What it does**: Activates brainstorming mode for requirements discovery
|
||||
**When to use**: Ambiguous project ideas, need specification development
|
||||
**Auto-activates**: Exploration keywords, "not sure", project planning
|
||||
**Example**: `/brainstorm "task management app" --brainstorm`
|
||||
|
||||
#### `--max-rounds [n]`
|
||||
**What it does**: Controls brainstorming dialogue rounds (default: 15)
|
||||
**When to use**: Controlling brainstorming session depth
|
||||
**Example**: `/brainstorm idea --max-rounds 10`
|
||||
|
||||
#### `--prd`
|
||||
**What it does**: Generates Product Requirements Document from brainstorming
|
||||
**When to use**: Convert discussions to formal specifications
|
||||
**Auto-activates**: End of successful brainstorming sessions
|
||||
**Example**: `/brainstorm app-idea --prd`
|
||||
|
||||
**💡 Tip**: V4 Beta introduces powerful session management - let brainstorming mode guide requirement discovery naturally.
|
||||
|
||||
---
|
||||
|
||||
### Focus & Scope Flags 🎯
|
||||
|
||||
Direct SuperClaude's attention to specific areas.
|
||||
@@ -221,12 +269,12 @@ Direct SuperClaude's attention to specific areas.
|
||||
**What it does**: Focuses analysis on specific domain
|
||||
**Example**: `/analyze --focus security --scope project`
|
||||
|
||||
#### Persona Flags
|
||||
**Available personas**: architect, frontend, backend, analyzer, security, mentor, refactorer, performance, qa, devops, scribe
|
||||
**What they do**: Activates specialist behavior patterns
|
||||
**Example**: `/analyze --persona-security` - Security-focused analysis
|
||||
#### Agent Flags
|
||||
**Available agents**: system-architect, frontend-specialist, backend-engineer, root-cause-analyzer, security-auditor, code-educator, code-refactorer, performance-optimizer, qa-specialist, devops-engineer, technical-writer, python-ultimate-expert, brainstorm-PRD
|
||||
**What they do**: Activates specialized domain expert agents (V4 Beta enhancement)
|
||||
**Example**: `/analyze --agent security-auditor` - Security-focused analysis with expert agent
|
||||
|
||||
**💡 Tip**: `--focus` is great for targeted analysis. Personas auto-activate but manual control helps.
|
||||
**💡 Tip**: `--focus` is great for targeted analysis. Expert agents auto-activate but manual control helps.
|
||||
|
||||
---
|
||||
|
||||
@@ -330,11 +378,11 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
### Domain-Based
|
||||
```bash
|
||||
/sc:build react-app/
|
||||
# Auto-adds: --c7 --persona-frontend
|
||||
# Auto-activates: frontend-specialist agent + --c7
|
||||
# Why: Frontend framework detected
|
||||
|
||||
/sc:analyze --focus security
|
||||
# Auto-adds: --persona-security --validate
|
||||
# Auto-activates: security-auditor agent + --validate
|
||||
# Why: Security focus triggers security specialist
|
||||
```
|
||||
|
||||
@@ -357,20 +405,20 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
|
||||
**Comprehensive Code Review**:
|
||||
```bash
|
||||
/sc:review codebase/ --persona-qa --think-hard --focus quality --validate --c7
|
||||
# → QA specialist + deep thinking + quality focus + validation + docs
|
||||
/sc:review codebase/ --agent qa-specialist --think-hard --focus quality --validate --c7
|
||||
# → QA specialist agent + deep thinking + quality focus + validation + docs
|
||||
```
|
||||
|
||||
**Legacy System Modernization**:
|
||||
```bash
|
||||
/sc:improve legacy/ --wave-mode force --persona-architect --safe-mode --loop --c7
|
||||
# → Wave orchestration + architect perspective + safety + iteration + docs
|
||||
/sc:improve legacy/ --wave-mode force --agent system-architect --safe-mode --loop --c7
|
||||
# → Wave orchestration + architect agent + safety + iteration + docs
|
||||
```
|
||||
|
||||
**Security Audit**:
|
||||
```bash
|
||||
/sc:scan --persona-security --ultrathink --focus security --validate --seq
|
||||
# → Security specialist + maximum thinking + security focus + validation + systematic analysis
|
||||
/sc:scan --agent security-auditor --ultrathink --focus security --validate --seq
|
||||
# → Security auditor agent + maximum thinking + security focus + validation + systematic analysis
|
||||
```
|
||||
|
||||
### Performance Optimization
|
||||
@@ -392,16 +440,16 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
**Bug Investigation Workflow**:
|
||||
```bash
|
||||
/sc:troubleshoot "specific error" --seq --think --validate
|
||||
/sc:analyze affected-files/ --focus quality --persona-analyzer
|
||||
/sc:analyze affected-files/ --focus quality --agent root-cause-analyzer
|
||||
/sc:test --play --coverage
|
||||
```
|
||||
|
||||
**Feature Development Workflow**:
|
||||
```bash
|
||||
/sc:design new-feature --persona-architect --c7
|
||||
/sc:build --magic --persona-frontend --validate
|
||||
/sc:design new-feature --agent system-architect --c7
|
||||
/sc:build --magic --agent frontend-specialist --validate
|
||||
/sc:test --play --coverage
|
||||
/sc:document --persona-scribe --c7
|
||||
/sc:document --agent technical-writer --c7
|
||||
```
|
||||
|
||||
## Quick Reference 📋
|
||||
@@ -417,6 +465,8 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
| `--focus security` | Security focus | Security concerns |
|
||||
| `--delegate auto` | Parallel processing | Large codebases |
|
||||
| `--validate` | Check before action | Risky operations |
|
||||
| `--brainstorm` | Requirements discovery | Ambiguous projects |
|
||||
| `--serena` | Semantic analysis | Symbol operations |
|
||||
|
||||
### Flag Combinations That Work Well
|
||||
```bash
|
||||
@@ -430,13 +480,16 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
--delegate auto --uc --focus
|
||||
|
||||
# Learning
|
||||
--verbose --c7 --persona-mentor
|
||||
--verbose --c7 --agent code-educator
|
||||
|
||||
# Security work
|
||||
--persona-security --focus security --validate
|
||||
--agent security-auditor --focus security --validate
|
||||
|
||||
# Performance work
|
||||
--persona-performance --focus performance --play
|
||||
--agent performance-optimizer --focus performance --play
|
||||
|
||||
# Requirements discovery
|
||||
--brainstorm --max-rounds 10 --prd
|
||||
```
|
||||
|
||||
### Auto-Activation Triggers
|
||||
@@ -446,16 +499,18 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
- **--delegate**: >7 directories or >50 files
|
||||
- **--c7**: Framework imports, documentation requests
|
||||
- **--seq**: Debugging keywords, --think flags
|
||||
- **Personas**: Domain-specific keywords and patterns
|
||||
- **--serena**: Symbol operations, memory commands
|
||||
- **--brainstorm**: Exploration keywords, ambiguous requests
|
||||
- **Expert Agents**: Domain-specific keywords and patterns
|
||||
|
||||
## Troubleshooting Flag Issues 🚨
|
||||
|
||||
### Common Problems
|
||||
|
||||
**"Flags don't seem to work"**
|
||||
- Check spelling (common typos: `--ultracompresed`, `--persona-fronted`)
|
||||
- Check spelling (common typos: `--ultracompresed`, `--agent fronted-specialist`)
|
||||
- Some flags need values: `--scope project`, `--focus security`
|
||||
- Flag conflicts: `--no-mcp` overrides `--c7`, `--seq`, etc.
|
||||
- Flag conflicts: `--no-mcp` overrides `--c7`, `--seq`, `--serena`, etc.
|
||||
|
||||
**"Operation too slow"**
|
||||
- Try `--uc` for compression
|
||||
@@ -470,7 +525,7 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
**"Not thorough enough"**
|
||||
- Add `--think` or `--think-hard`
|
||||
- Enable relevant MCP servers: `--seq`, `--c7`
|
||||
- Use appropriate persona: `--persona-analyzer`
|
||||
- Use appropriate agent: `--agent root-cause-analyzer`
|
||||
|
||||
**"Changes too risky"**
|
||||
- Always use `--safe-mode` for important code
|
||||
@@ -480,9 +535,9 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
### Flag Conflicts
|
||||
|
||||
**These override others**:
|
||||
- `--no-mcp` overrides all MCP flags (`--c7`, `--seq`, etc.)
|
||||
- `--no-mcp` overrides all MCP flags (`--c7`, `--seq`, `--serena`, etc.)
|
||||
- `--safe-mode` overrides optimization flags
|
||||
- Last persona flag wins: `--persona-frontend --persona-backend` → backend
|
||||
- Last agent flag wins: `--agent frontend-specialist --agent backend-engineer` → backend-engineer
|
||||
|
||||
**Precedence order**:
|
||||
1. Safety flags (`--safe-mode`) beat optimization
|
||||
@@ -499,8 +554,8 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
4. **Trust the automation** - SuperClaude usually picks reasonable defaults
|
||||
|
||||
### Getting Advanced (If You Want To)
|
||||
1. **Experiment with overrides** - Try `--persona-security` on non-security code for different perspectives
|
||||
2. **Learn the useful combos** - `--safe-mode --validate` for important stuff
|
||||
1. **Experiment with overrides** - Try `--agent security-auditor` on non-security code for different perspectives
|
||||
2. **Learn the useful combos** - `--safe-mode --validate` for important stuff, `--brainstorm --prd` for new projects
|
||||
3. **Understand the performance trade-offs** - Fast (`--uc --no-mcp`) vs thorough (`--think-hard --all-mcp`)
|
||||
4. **Use flags for learning** - `--verbose` when you want to understand what's happening
|
||||
|
||||
@@ -508,7 +563,8 @@ SuperClaude usually adds flags based on context. Here's when it tries:
|
||||
- **For speed**: `--uc --no-mcp --scope file`
|
||||
- **For thoroughness**: `--think-hard --all-mcp --delegate auto`
|
||||
- **For safety**: `--safe-mode --validate --preview`
|
||||
- **For learning**: `--verbose --c7 --persona-mentor`
|
||||
- **For learning**: `--verbose --c7 --agent code-educator`
|
||||
- **For project discovery**: `--brainstorm --max-rounds 15 --prd`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# SuperClaude Installation Guide 📦
|
||||
# SuperClaude V4 Beta Installation Guide 📦
|
||||
|
||||
## 🎯 It's Easier Than It Looks!
|
||||
|
||||
@@ -13,13 +13,13 @@ uv add SuperClaude
|
||||
|
||||
**Option B: From Source**
|
||||
```bash
|
||||
git clone https://github.com/NomenAK/SuperClaude.git
|
||||
cd SuperClaude
|
||||
git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git
|
||||
cd SuperClaude_Framework
|
||||
uv sync
|
||||
```
|
||||
### 🔧 UV / UVX Setup Guide
|
||||
|
||||
SuperClaude v3 also supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage.
|
||||
SuperClaude V4 Beta supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage.
|
||||
|
||||
### 🌀 Install with `uv`
|
||||
|
||||
@@ -48,7 +48,7 @@ uvx pip install SuperClaude
|
||||
```
|
||||
## 🔧 UV / UVX Setup Guide
|
||||
|
||||
SuperClaude v3 also supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage.
|
||||
SuperClaude V4 Beta supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage.
|
||||
|
||||
### 🌀 Install with `uv`
|
||||
|
||||
@@ -106,7 +106,7 @@ SuperClaude install
|
||||
|
||||
---
|
||||
|
||||
A comprehensive guide to installing SuperClaude v3. But remember - most people never need to read past the quick start above! 😊
|
||||
A comprehensive guide to installing SuperClaude V4 Beta. But remember - most people never need to read past the quick start above! 😊
|
||||
|
||||
## Before You Start 🔍
|
||||
|
||||
@@ -169,8 +169,10 @@ SuperClaude install --quick
|
||||
, `python3 -m SuperClaude commands` or also `python3 SuperClaude commands`**
|
||||
|
||||
**What you just got:**
|
||||
- ✅ All 16 smart commands that auto-activate experts
|
||||
- ✅ 11 specialist personas that know when to help
|
||||
- ✅ All 16 smart commands that auto-activate experts
|
||||
- ✅ 13 specialized domain expert agents that know when to help
|
||||
- ✅ Advanced session management with brainstorming mode
|
||||
- ✅ Python hooks system for intelligent framework coordination
|
||||
- ✅ Intelligent routing that figures out complexity for you
|
||||
- ✅ About 2 minutes of your time and ~50MB disk space
|
||||
|
||||
@@ -205,15 +207,25 @@ SuperClaude install --quick
|
||||
- **Good for**: Most users, general development
|
||||
- **Includes**: Everything in minimal + specialized commands like `/analyze`, `/build`, `/improve`
|
||||
|
||||
### 🪶 SuperClaude-Lite Installation (V4 Beta)
|
||||
```bash
|
||||
SuperClaude install --lite
|
||||
```
|
||||
- **What**: Streamlined version with core features only
|
||||
- **Time**: ~1 minute
|
||||
- **Space**: ~25MB
|
||||
- **Good for**: Resource-constrained environments, basic enhancement
|
||||
- **Includes**: Essential framework features without advanced orchestration
|
||||
|
||||
### 🔧 Developer Installation
|
||||
```bash
|
||||
SuperClaude install --profile developer
|
||||
```
|
||||
- **What**: Everything including MCP server integration
|
||||
- **What**: Everything including MCP server integration + Hooks system
|
||||
- **Time**: ~5 minutes
|
||||
- **Space**: ~100MB
|
||||
- **Good for**: Power users, contributors, advanced workflows
|
||||
- **Includes**: Everything + Context7, Sequential, Magic, Playwright servers
|
||||
- **Includes**: Everything + Context7, Sequential, Magic, Playwright, Morphllm, Serena servers + Python hooks
|
||||
|
||||
### 🎛️ Interactive Installation
|
||||
```bash
|
||||
@@ -278,8 +290,8 @@ pip install .
|
||||
|
||||
**Option 3: Clone from Git**
|
||||
```bash
|
||||
git clone <repository-url>
|
||||
cd SuperClaude
|
||||
git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git
|
||||
cd SuperClaude_Framework
|
||||
pip install .
|
||||
```
|
||||
|
||||
@@ -316,8 +328,9 @@ Here's what happens when you install:
|
||||
3. **Core Files** - Copies framework documentation files
|
||||
4. **Commands** - Installs slash command definitions (if selected)
|
||||
5. **MCP Servers** - Downloads and configures MCP servers (if selected)
|
||||
6. **Configuration** - Sets up `settings.json` with your preferences
|
||||
7. **Validation** - Tests that everything works
|
||||
6. **Hooks System** - Installs Python hooks for framework coordination (developer profile)
|
||||
7. **Configuration** - Sets up `settings.json` with your preferences
|
||||
8. **Validation** - Tests that everything works
|
||||
|
||||
The installer shows progress and will tell you if anything goes wrong.
|
||||
|
||||
@@ -341,19 +354,18 @@ ls ~/.claude/
|
||||
|
||||
### What Got Installed 📂
|
||||
|
||||
SuperClaude installs to `~/.claude/` by default. Here's what you'll find:
|
||||
SuperClaude V4 Beta installs to `~/.claude/` by default. Here's what you'll find:
|
||||
|
||||
```
|
||||
~/.claude/
|
||||
├── CLAUDE.md # Main framework entry point
|
||||
├── COMMANDS.md # Available slash commands
|
||||
├── FLAGS.md # Command flags and options
|
||||
├── PERSONAS.md # Smart persona system
|
||||
├── PRINCIPLES.md # Development principles
|
||||
├── RULES.md # Operational rules
|
||||
├── MCP.md # MCP server integration
|
||||
├── MODES.md # Operational modes
|
||||
├── ORCHESTRATOR.md # Intelligent routing
|
||||
├── MCP_*.md # MCP server configurations
|
||||
├── MODE_*.md # Operational modes
|
||||
├── SESSION_LIFECYCLE.md # Session management
|
||||
├── settings.json # Configuration file
|
||||
└── commands/ # Individual command definitions
|
||||
├── analyze.md
|
||||
@@ -362,10 +374,23 @@ SuperClaude installs to `~/.claude/` by default. Here's what you'll find:
|
||||
└── ... (13 more)
|
||||
```
|
||||
|
||||
**For Developer Installation (+Hooks System)**:
|
||||
```
|
||||
~/.claude/
|
||||
├── [above files] # Core framework files
|
||||
└── hooks/ # Python hooks system (developer profile)
|
||||
├── framework_coordinator/
|
||||
├── session_lifecycle/
|
||||
├── performance_monitor/
|
||||
├── quality_gates/
|
||||
└── install_hooks.py # Hook installation script
|
||||
```
|
||||
|
||||
**What each file does:**
|
||||
- **CLAUDE.md** - Tells Claude Code about SuperClaude and loads other files
|
||||
- **settings.json** - Configuration (MCP servers, hooks, etc.)
|
||||
- **commands/** - Detailed definitions for each slash command
|
||||
- **hooks/** - Python hooks for advanced framework coordination (developer only)
|
||||
|
||||
### First Steps 🎯
|
||||
|
||||
@@ -377,10 +402,39 @@ Try these commands to get started:
|
||||
/sc:analyze README.md # Analyze a file
|
||||
/sc:build --help # See build options
|
||||
/sc:improve --help # See improvement options
|
||||
/sc:brainstorm "my app idea" # Try V4 Beta brainstorming mode
|
||||
```
|
||||
|
||||
**Don't worry if it seems overwhelming** - SuperClaude enhances Claude Code gradually. You can use as much or as little as you want.
|
||||
|
||||
### Installing Hooks System (V4 Beta) 🔗
|
||||
|
||||
If you want to add the Python hooks system to an existing installation:
|
||||
|
||||
```bash
|
||||
# Install hooks to existing SuperClaude installation
|
||||
cd SuperClaude_Framework
|
||||
python3 SuperClaude/Hooks/scripts/install_hooks.py
|
||||
|
||||
# Or upgrade existing installation with hooks
|
||||
SuperClaude install --upgrade --hooks
|
||||
```
|
||||
|
||||
**What the hooks system provides:**
|
||||
- **Framework Coordinator**: Intelligent MCP server suggestions
|
||||
- **Session Lifecycle**: Automatic checkpoint triggers
|
||||
- **Performance Monitor**: Real-time performance tracking (<100ms targets)
|
||||
- **Quality Gates**: 8-step validation system
|
||||
|
||||
**Verification:**
|
||||
```bash
|
||||
# Test hooks installation
|
||||
python3 SuperClaude/Hooks/scripts/test_hooks.py
|
||||
|
||||
# Check hook status
|
||||
SuperClaude hooks --status
|
||||
```
|
||||
|
||||
## Managing Your Installation 🛠️
|
||||
|
||||
### Updates 📅
|
||||
@@ -516,7 +570,7 @@ SuperClaude install --quick --dry-run
|
||||
### Still Having Issues? 🤔
|
||||
|
||||
**Check our troubleshooting resources:**
|
||||
- GitHub Issues: https://github.com/NomenAK/SuperClaude/issues
|
||||
- GitHub Issues: https://github.com/SuperClaude-Org/SuperClaude_Framework/issues
|
||||
- Look for existing issues similar to yours
|
||||
- Create a new issue if you can't find a solution
|
||||
|
||||
@@ -606,4 +660,4 @@ Thanks for trying SuperClaude! We hope it makes your development workflow a bit
|
||||
|
||||
---
|
||||
|
||||
*Last updated: July 2024 - Let us know if anything in this guide is wrong or confusing!*
|
||||
*Last updated: January 2025 (V4 Beta) - Let us know if anything in this guide is wrong or confusing!*
|
||||
|
||||
@@ -22,21 +22,22 @@ The detailed guides below? They're here **when you want to understand** what jus
|
||||
|
||||
---
|
||||
|
||||
A comprehensive guide to understanding and using SuperClaude v3.0 effectively. But remember - you can skip straight to trying it out!
|
||||
A comprehensive guide to understanding and using SuperClaude V4 Beta effectively. But remember - you can skip straight to trying it out!
|
||||
|
||||
## Table of Contents 📖
|
||||
|
||||
1. [Welcome & Overview](#welcome--overview-)
|
||||
2. [Core Components](#core-components-)
|
||||
3. [The Three Operational Modes](#the-three-operational-modes-)
|
||||
4. [The Orchestrator System](#the-orchestrator-system-)
|
||||
5. [Rules & Principles](#rules--principles-)
|
||||
6. [Getting Started Workflows](#getting-started-workflows-)
|
||||
7. [Integration & Coordination](#integration--coordination-)
|
||||
8. [Practical Examples](#practical-examples-)
|
||||
9. [Tips & Best Practices](#tips--best-practices-)
|
||||
10. [Troubleshooting](#troubleshooting--common-issues-)
|
||||
11. [What's Next](#whats-next-)
|
||||
3. [The Four Behavioral Modes](#the-four-behavioral-modes-)
|
||||
4. [Session Lifecycle System](#session-lifecycle-system-)
|
||||
5. [The Orchestrator System](#the-orchestrator-system-)
|
||||
6. [Rules & Principles](#rules--principles-)
|
||||
7. [Getting Started Workflows](#getting-started-workflows-)
|
||||
8. [Integration & Coordination](#integration--coordination-)
|
||||
9. [Practical Examples](#practical-examples-)
|
||||
10. [Tips & Best Practices](#tips--best-practices-)
|
||||
11. [Troubleshooting](#troubleshooting--common-issues-)
|
||||
12. [What's Next](#whats-next-)
|
||||
|
||||
---
|
||||
|
||||
@@ -46,19 +47,22 @@ A comprehensive guide to understanding and using SuperClaude v3.0 effectively. B
|
||||
|
||||
```bash
|
||||
# Try these commands in Claude Code:
|
||||
/sc:help # See what's available
|
||||
/sc:load # Initialize session with project context (NEW!)
|
||||
/sc:analyze README.md # SuperClaude analyzes your project
|
||||
/sc:workflow feature-prd.md # Generate implementation workflow from PRD (NEW!)
|
||||
/sc:implement user-auth # Create features and components (NEW in v3!)
|
||||
/sc:brainstorm "task app" # Interactive requirements discovery (NEW!)
|
||||
/sc:implement user-auth # Create features and components
|
||||
/sc:build # Smart build with auto-optimization
|
||||
/sc:improve messy-file.js # Clean up code automatically
|
||||
/sc:save # Save session state and insights (NEW!)
|
||||
```
|
||||
|
||||
**What just happened?** SuperClaude automatically:
|
||||
- Initialized persistent session context 🧠
|
||||
- Picked the right tools for each task 🛠️
|
||||
- Activated appropriate experts (security, performance, etc.) 🎭
|
||||
- Activated appropriate specialized agents 🎭
|
||||
- Applied intelligent flags and optimizations ⚡
|
||||
- Provided evidence-based suggestions 📊
|
||||
- Saved insights for future sessions 💾
|
||||
|
||||
**See how easy that was?** No studying required - SuperClaude figures out the complexity so you don't have to.
|
||||
|
||||
@@ -70,69 +74,87 @@ Want to understand how it works? Keep reading. Want to just keep experimenting?
|
||||
|
||||
### What is SuperClaude Really? 🤔
|
||||
|
||||
SuperClaude makes Claude Code smarter for development work. Instead of generic responses, you get specialized help from different experts (security, performance, frontend, etc.) who know their stuff.
|
||||
SuperClaude makes Claude Code smarter for development work. Instead of generic responses, you get specialized help from different agents (security, performance, frontend, etc.) who know their stuff, plus session persistence and behavioral intelligence.
|
||||
|
||||
**The honest truth**: We just released v3.0 and it's fresh out of beta. It works pretty well for what it does, but you should expect some rough edges as we continue improving things. We built this because we wanted Claude Code to be more helpful for real software development workflows.
|
||||
**The honest truth**: V4 Beta represents a major architectural evolution with new session lifecycle management, behavioral modes, and an advanced hooks system. While still in beta, it's significantly more capable than v3, with better context management and intelligent agent coordination.
|
||||
|
||||
**The neat part?** You don't need to manage any of this complexity. Just use normal commands like `/analyze` or `/build` and SuperClaude usually figures out which experts to involve and what tools to use. 🪄
|
||||
|
||||
### What SuperClaude Adds ✨
|
||||
|
||||
**🛠️ 17 Specialized Commands**
|
||||
- Planning tools: `/workflow` (NEW!), `/estimate`, `/task`
|
||||
- Development tools: `/implement`, `/build`, `/design`
|
||||
- Analysis tools: `/analyze`, `/troubleshoot`, `/explain`
|
||||
- Quality tools: `/improve`, `/cleanup`, `/test`
|
||||
- Plus utilities for documentation, git, deployment, and more
|
||||
**🛠️ 21 Specialized Commands**
|
||||
- **Planning tools**: `/estimate`, `/task`, `/brainstorm` (NEW!)
|
||||
- **Development tools**: `/implement`, `/build`, `/design`, `/select-tool` (NEW!)
|
||||
- **Analysis tools**: `/analyze`, `/troubleshoot`, `/explain`
|
||||
- **Quality tools**: `/improve`, `/cleanup`, `/test`
|
||||
- **Session tools**: `/load` (NEW!), `/save` (NEW!), `/reflect` (NEW!)
|
||||
- **Plus utilities** for documentation, git, deployment, and more
|
||||
- **You just use them** - SuperClaude handles the complexity automatically
|
||||
- **NEW**: `/workflow` command for PRD-to-implementation planning
|
||||
- **NEW**: `/implement` command for feature creation (restores v2 functionality)
|
||||
- **V4 NEW**: Session lifecycle commands for persistent context
|
||||
- **V4 NEW**: Interactive brainstorming and reflection capabilities
|
||||
|
||||
**🎭 11 Smart Personas** *(that know when to jump in)*
|
||||
- AI specialists that adapt behavior for different domains
|
||||
- **Auto-activate based on your requests** (security expert for security tasks, etc.)
|
||||
- Manual control available, but usually not needed
|
||||
**🤖 13 Specialized Agents** *(that know when to jump in)*
|
||||
- AI agents that adapt behavior for different domains
|
||||
- **Auto-activate based on your requests** (security agent for security tasks, etc.)
|
||||
- Manual control available, but usually not needed
|
||||
- Think of it as having a whole dev team that knows when to help
|
||||
- **V4 NEW**: Enhanced agent system with better specialization
|
||||
|
||||
**🔧 MCP Server Integration** *(smart external tools)*
|
||||
- Context7: Official library documentation lookup
|
||||
- Sequential: Complex multi-step analysis
|
||||
- Magic: Modern UI component generation
|
||||
- Playwright: Browser automation and testing
|
||||
**🔧 MCP Server Integration** *(6 smart external tools)*
|
||||
- **Context7**: Official library documentation lookup
|
||||
- **Sequential**: Complex multi-step analysis
|
||||
- **Magic**: Modern UI component generation
|
||||
- **Playwright**: Browser automation and testing
|
||||
- **Morphllm**: Intelligent file editing (NEW!)
|
||||
- **Serena**: Semantic code analysis and memory (NEW!)
|
||||
- **Auto-connects when needed** - you don't manage this stuff
|
||||
|
||||
**📋 Enhanced Task Management** *(happens behind the scenes)*
|
||||
- Progress tracking with TodoRead/TodoWrite
|
||||
- Multi-session project management with `/task`
|
||||
- Complex orchestration with `/spawn`
|
||||
- Iterative improvement with `/loop`
|
||||
- **Mostly automatic** - SuperClaude tracks what you're doing
|
||||
**🧠 4 Behavioral Modes** *(intelligent adaptation)*
|
||||
- **Brainstorming Mode**: Interactive requirements discovery (NEW!)
|
||||
- **Introspection Mode**: Meta-cognitive analysis and debugging (NEW!)
|
||||
- **Task Management Mode**: Multi-layer orchestration with wave systems (NEW!)
|
||||
- **Token Efficiency Mode**: Smart compression and optimization (NEW!)
|
||||
- **Auto-activate based on context** - you don't configure them
|
||||
|
||||
**⚡ Token Optimization** *(smart efficiency)*
|
||||
- Smart compression when context gets full
|
||||
- Symbol system for efficient communication
|
||||
- Performance optimization for large operations
|
||||
- **Usually activates** when needed for large projects
|
||||
**🏗️ Session Lifecycle System** *(persistent intelligence)*
|
||||
- Session initialization with `/sc:load` (NEW!)
|
||||
- Persistent context and memory across sessions (NEW!)
|
||||
- Automatic checkpoints and progress tracking (NEW!)
|
||||
- Session reflection and insights with `/sc:reflect` (NEW!)
|
||||
- **Cross-session learning** - SuperClaude remembers and improves
|
||||
|
||||
### Current Status (v3.0) 📊
|
||||
**🔌 Hooks System** *(extensible architecture)*
|
||||
- Performance monitoring and optimization (NEW!)
|
||||
- Quality gates with 8-step validation (NEW!)
|
||||
- Framework coordination and orchestration (NEW!)
|
||||
- Session lifecycle integration (NEW!)
|
||||
- **SuperClaude-Lite** variant for streamlined usage (NEW!)
|
||||
|
||||
### Current Status (V4 Beta) 📊
|
||||
|
||||
**✅ What's Working Well:**
|
||||
- Installation system (completely rewritten, much more reliable)
|
||||
- Core framework with 16 commands and 11 personas
|
||||
- MCP server integration (mostly working)
|
||||
- Basic task management and workflow automation
|
||||
- Documentation and user guides
|
||||
- Complete session lifecycle with persistent memory
|
||||
- 21 commands including new brainstorming and reflection tools
|
||||
- 13 specialized agents with enhanced coordination
|
||||
- 6 MCP servers with Morphllm and Serena integration
|
||||
- 4 behavioral modes with intelligent auto-activation
|
||||
- Advanced hooks system with performance monitoring
|
||||
- SuperClaude-Lite for streamlined workflows
|
||||
|
||||
**⚠️ What's Still Rough:**
|
||||
- This is an initial release - bugs are expected
|
||||
- Some MCP integrations could be smoother
|
||||
- Performance isn't optimized yet for all operations
|
||||
- Some advanced features are experimental
|
||||
**⚠️ What's Still Beta:**
|
||||
- Session persistence optimization (performance tuning ongoing)
|
||||
- Behavioral mode coordination (refining trigger patterns)
|
||||
- Hooks system reliability (extensive testing in progress)
|
||||
- Agent handoff protocols (improving seamless transitions)
|
||||
|
||||
**❌ What We Removed:**
|
||||
- Hooks system (got too complex, coming back in v4)
|
||||
**🚀 Major V4 Improvements:**
|
||||
- **Session Intelligence**: Persistent context across sessions
|
||||
- **Behavioral Modes**: Adaptive intelligence based on task type
|
||||
- **Enhanced Memory**: Cross-session learning and pattern recognition
|
||||
- **Advanced Orchestration**: Multi-layer task coordination
|
||||
- **Extensible Architecture**: Robust hooks system for customization
|
||||
|
||||
We're pretty happy with v3 as a foundation, but there's definitely room for improvement.
|
||||
V4 Beta represents a significant architectural evolution with much more sophisticated context management and intelligent coordination.
|
||||
|
||||
### How It Works 🔄
|
||||
|
||||
@@ -153,12 +175,13 @@ The nice thing is that most of this usually happens automatically. You make a re
|
||||
|
||||
| Component | What It Does | Learn More *(optional!)* |
|
||||
|-----------|--------------|------------|
|
||||
| **Commands** | 15 specialized tools that auto-activate | [Commands Guide](commands-guide.md) |
|
||||
| **Commands** | 21 specialized tools that auto-activate | [Commands Guide](commands-guide.md) |
|
||||
| **Flags** | Modifiers that mostly activate automatically | [Flags Guide](flags-guide.md) |
|
||||
| **Personas** | 11 AI specialists that know when to help | [Personas Guide](personas-guide.md) |
|
||||
| **MCP Servers** | External integrations that connect when useful | [This guide](#core-components-🧩) |
|
||||
| **Modes** | 3 operational modes for different workflows | [This guide](#the-three-operational-modes-🎭) |
|
||||
| **Orchestrator** | The smart routing that makes it all work | [This guide](#the-orchestrator-system-🎯) |
|
||||
| **Agents** | 13 AI specialists that know when to help | [This guide](#agents-ai-specialists-) |
|
||||
| **MCP Servers** | 6 external integrations that connect when useful | [This guide](#mcp-servers-external-capabilities-) |
|
||||
| **Behavioral Modes** | 4 adaptive modes for different workflows | [This guide](#the-four-behavioral-modes-) |
|
||||
| **Session Lifecycle** | Persistent context across sessions | [This guide](#session-lifecycle-system-) |
|
||||
| **Orchestrator** | The smart routing that makes it all work | [This guide](#the-orchestrator-system-) |
|
||||
|
||||
**Remember**: You can use SuperClaude effectively without reading any of these guides. They're here when you get curious about how it works! 🎪
|
||||
|
||||
@@ -172,11 +195,12 @@ SuperClaude is built from several interconnected systems that work together. Her
|
||||
|
||||
Commands are specialized tools that handle specific types of development work. Instead of generic "help me with this," you get purpose-built tools for different scenarios.
|
||||
|
||||
**15 Commands Organized by Purpose:**
|
||||
**21 Commands Organized by Purpose:**
|
||||
|
||||
**Development** 🔨
|
||||
- `/build` - Project building, compilation, bundling
|
||||
- `/design` - System architecture and component design
|
||||
- `/implement` - Feature creation and code generation
|
||||
|
||||
**Analysis** 🔍
|
||||
- `/analyze` - Comprehensive code and system analysis
|
||||
@@ -188,12 +212,20 @@ Commands are specialized tools that handle specific types of development work. I
|
||||
- `/cleanup` - Technical debt reduction
|
||||
- `/test` - Testing and coverage analysis
|
||||
|
||||
**Session Management** 🧠 *(NEW in V4!)*
|
||||
- `/load` - Initialize session with persistent context
|
||||
- `/save` - Save session state and insights
|
||||
- `/reflect` - Task validation and completion analysis
|
||||
|
||||
**Planning & Discovery** 🎯
|
||||
- `/brainstorm` - Interactive requirements discovery *(NEW!)*
|
||||
- `/estimate` - Project estimation and planning
|
||||
- `/task` - Long-term project management
|
||||
|
||||
**Utilities** 🔧
|
||||
- `/document` - Documentation creation
|
||||
- `/git` - Enhanced git workflows
|
||||
- `/load` - Project context loading
|
||||
- `/estimate` - Project estimation
|
||||
- `/task` - Long-term project management
|
||||
- `/select-tool` - Smart tool selection assistance *(NEW!)*
|
||||
- `/spawn` - Complex operation orchestration
|
||||
- `/index` - Command navigation and help
|
||||
|
||||
@@ -232,11 +264,11 @@ Flags change how SuperClaude processes your requests. They're like command-line
|
||||
|
||||
Flags often auto-activate based on context. For example, security-related requests usually get `--persona-security` and `--focus security`. See the [Flags Guide](flags-guide.md) for comprehensive details and patterns.
|
||||
|
||||
### Personas: AI Specialists 🎭
|
||||
### Agents: AI Specialists 🤖
|
||||
|
||||
Personas are like having a team of specialists available on demand. Each brings different expertise, priorities, and approaches to problems.
|
||||
Agents are like having a team of specialists available on demand. Each brings different expertise, priorities, and approaches to problems. V4 Beta features an enhanced agent system with better specialization and coordination.
|
||||
|
||||
**11 Personas Organized by Domain:**
|
||||
**13 Agents Organized by Domain:**
|
||||
|
||||
**Technical Specialists** 🔧
|
||||
- 🏗️ **architect** - Systems design, long-term architecture
|
||||
@@ -255,13 +287,17 @@ Personas are like having a team of specialists available on demand. Each brings
|
||||
- 👨🏫 **mentor** - Education, knowledge transfer
|
||||
- ✍️ **scribe** - Documentation, technical writing
|
||||
|
||||
Personas usually auto-activate based on request patterns but you can override with `--persona-[name]` flags. Each has different priorities (e.g., security persona prioritizes security over speed). See the [Personas Guide](personas-guide.md) for detailed descriptions and examples.
|
||||
**V4 Beta Enhancements** 🆕
|
||||
- 🎯 **brainstorm-PRD** - Requirements analysis and PRD generation *(NEW!)*
|
||||
- 🔮 **workflow-agent** - Advanced workflow orchestration *(NEW!)*
|
||||
|
||||
Agents usually auto-activate based on request patterns but you can override with `--agent-[name]` flags. Each has different priorities (e.g., security agent prioritizes security over speed). V4 Beta improves agent handoff and coordination patterns.
|
||||
|
||||
### MCP Servers: External Capabilities 🔧
|
||||
|
||||
MCP (Model Context Protocol) servers provide specialized capabilities beyond Claude's native abilities.
|
||||
|
||||
**4 Integrated Servers:**
|
||||
**6 Integrated Servers:**
|
||||
|
||||
**Context7** 📚
|
||||
- **Purpose**: Official library documentation and best practices
|
||||
@@ -287,6 +323,18 @@ MCP (Model Context Protocol) servers provide specialized capabilities beyond Cla
|
||||
- **What it provides**: Cross-browser testing, visual validation, metrics
|
||||
- **Example**: `/test e2e --play` runs comprehensive browser tests
|
||||
|
||||
**Morphllm** 🔧 *(NEW in V4!)*
|
||||
- **Purpose**: Intelligent file editing with Fast Apply capability
|
||||
- **When it activates**: Complex refactoring, multi-file edits
|
||||
- **What it provides**: Context-aware code modifications, pattern transformations
|
||||
- **Example**: `/improve legacy-code/ --morph` applies intelligent refactoring
|
||||
|
||||
**Serena** 🧠 *(NEW in V4!)*
|
||||
- **Purpose**: Semantic code analysis and persistent memory
|
||||
- **When it activates**: Project analysis, session persistence, memory operations
|
||||
- **What it provides**: Cross-session context, semantic understanding, project memory
|
||||
- **Example**: `/load --serena` initializes persistent project context
|
||||
|
||||
MCP servers usually coordinate automatically but you can control them with `--all-mcp`, `--no-mcp`, or specific flags like `--c7`.
|
||||
|
||||
### How Components Work Together 🤝
|
||||
@@ -311,17 +359,61 @@ This coordination usually happens for most requests - SuperClaude tries to figur
|
||||
|
||||
---
|
||||
|
||||
## The Three Operational Modes 🎭
|
||||
## The Four Behavioral Modes 🧠
|
||||
|
||||
SuperClaude operates in three distinct modes that optimize different aspects of the development workflow. Understanding these modes helps you get the most out of the framework.
|
||||
SuperClaude V4 Beta features four intelligent behavioral modes that automatically adapt to different types of work. These modes provide specialized behavior patterns while maintaining the same command interface.
|
||||
|
||||
### Task Management Mode 📋
|
||||
### 1. Brainstorming Mode 🎯 *(NEW!)*
|
||||
|
||||
**What it is**: Structured workflow execution with progress tracking and validation.
|
||||
**What it is**: Interactive requirements discovery through collaborative dialogue.
|
||||
|
||||
**When it's used**: Any multi-step operation that needs tracking and coordination.
|
||||
**When it activates**: Vague project requests, exploration keywords, uncertainty indicators.
|
||||
|
||||
**How it works**: SuperClaude breaks work into manageable tasks, tracks progress, and ensures quality through validation gates.
|
||||
**How it works**:
|
||||
- Socratic dialogue to clarify requirements
|
||||
- Interactive exploration of possibilities
|
||||
- Consensus building and brief generation
|
||||
- Automatic handoff to PRD agent
|
||||
|
||||
**Example Usage**:
|
||||
```bash
|
||||
/sc:brainstorm "task management app"
|
||||
# → Interactive dialogue to discover requirements
|
||||
# → Generates comprehensive project brief
|
||||
# → Hands off to brainstorm-PRD agent
|
||||
```
|
||||
|
||||
### 2. Introspection Mode 🧠 *(NEW!)*
|
||||
|
||||
**What it is**: Meta-cognitive analysis of SuperClaude's own reasoning and decision-making.
|
||||
|
||||
**When it activates**: Complex problem-solving, error recovery, framework troubleshooting.
|
||||
|
||||
**How it works**:
|
||||
- Self-reflective analysis of reasoning patterns
|
||||
- Framework compliance validation
|
||||
- Error pattern recognition
|
||||
- Performance optimization insights
|
||||
|
||||
**Example Usage**:
|
||||
```bash
|
||||
/sc:analyze complex-issue/ --introspect
|
||||
# → Meta-cognitive analysis of approach
|
||||
# → Framework compliance checking
|
||||
# → Alternative strategy consideration
|
||||
```
|
||||
|
||||
### 3. Task Management Mode 📋
|
||||
|
||||
**What it is**: Multi-layer orchestration with wave systems and advanced delegation.
|
||||
|
||||
**When it activates**: Multi-step operations, complex projects, large-scale work.
|
||||
|
||||
**How it works**:
|
||||
- Four-layer task hierarchy (Session → Project → Orchestration → Iterative)
|
||||
- Wave orchestration for compound intelligence
|
||||
- Sub-agent delegation for parallel processing
|
||||
- Real-time analytics and performance monitoring
|
||||
|
||||
#### Four Layers of Task Management
|
||||
|
||||
@@ -369,38 +461,196 @@ SuperClaude operates in three distinct modes that optimize different aspects of
|
||||
# → Iteratively improves code with validation between cycles
|
||||
```
|
||||
|
||||
#### Task State Management
|
||||
### 4. Token Efficiency Mode ⚡ *(NEW!)*
|
||||
|
||||
**Core Principles**:
|
||||
- **Evidence-Based Progress**: Measurable outcomes, not just activity
|
||||
- **Single Focus Protocol**: Only one task in_progress at a time
|
||||
- **Real-Time Updates**: Immediate status changes as work progresses
|
||||
- **Quality Gates**: Validation before marking tasks complete
|
||||
**What it is**: Intelligent token optimization with adaptive compression strategies.
|
||||
|
||||
**Task Detection**:
|
||||
- Multi-step operations (3+ steps) → Creates task breakdown
|
||||
- Keywords: build, implement, create, fix, optimize → Activates task tracking
|
||||
- Scope indicators: system, feature, comprehensive → Adds progress monitoring
|
||||
**When it activates**: Context usage >75%, large-scale operations, resource constraints.
|
||||
|
||||
### Introspection Mode 🧠
|
||||
**How it works**:
|
||||
- 5-level compression strategy (Minimal → Emergency)
|
||||
- Symbol systems for efficient communication
|
||||
- Adaptive compression based on content type
|
||||
- Quality-gated validation (≥95% information preservation)
|
||||
|
||||
**What it is**: Meta-cognitive analysis that lets SuperClaude examine its own reasoning and decision-making processes.
|
||||
**Example Features**:
|
||||
```bash
|
||||
# Automatically activates for large operations
|
||||
/sc:analyze enterprise-codebase/
|
||||
# → Token Efficiency Mode activates
|
||||
# → Applies symbol systems and compression
|
||||
# → Maintains quality while reducing tokens by 30-50%
|
||||
```
|
||||
|
||||
**When it's used**: Complex problem-solving, framework troubleshooting, learning moments, or when you explicitly request it with `--introspect`.
|
||||
**Compression Techniques**:
|
||||
- **Smart Symbol Systems**: →, ⇒, ✅, ❌, 🔄 for status and flow
|
||||
- **Intelligent Abbreviations**: cfg, impl, perf, sec for common terms
|
||||
- **Selective Compression**: Framework content preserved, operational data compressed
|
||||
- **Quality Validation**: Real-time monitoring of information preservation
|
||||
|
||||
**How it works**: SuperClaude steps outside normal operation to analyze its thinking patterns, decision logic, and action sequences.
|
||||
---
|
||||
|
||||
#### Core Capabilities
|
||||
## Session Lifecycle System 🏗️ *(NEW in V4!)*
|
||||
|
||||
**Reasoning Analysis** 🧠
|
||||
- Examines logical flow and decision rationale
|
||||
- Evaluates chain of thought coherence
|
||||
- Identifies assumptions and potential biases
|
||||
- Validates reasoning against evidence
|
||||
SuperClaude V4 Beta introduces persistent session management that remembers your work across multiple sessions, enabling continuous learning and context preservation.
|
||||
|
||||
**Action Sequence Review** 🔄
|
||||
- Analyzes tool selection effectiveness
|
||||
- Reviews workflow patterns and efficiency
|
||||
### Core Concept
|
||||
|
||||
```
|
||||
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
||||
│ /sc:load │────▶│ WORK │────▶│ /sc:save │────▶│ NEXT │
|
||||
│ (INIT) │ │ (ACTIVE) │ │ (CHECKPOINT)│ │ SESSION │
|
||||
└─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
|
||||
│ │
|
||||
└──────────────────── Enhanced Context ───────────────────────┘
|
||||
```
|
||||
|
||||
### Session States
|
||||
|
||||
**1. INITIALIZING** (`/sc:load`)
|
||||
- Activate project via Serena memory system
|
||||
- Load existing memories and context
|
||||
- Initialize session metadata and tracking
|
||||
- **Performance Target**: <500ms
|
||||
|
||||
**2. ACTIVE** (Working Session)
|
||||
- Full project context available
|
||||
- Changes tracked for persistence
|
||||
- Decisions logged for replay
|
||||
- Automatic checkpoint triggers
|
||||
|
||||
**3. CHECKPOINTED** (`/sc:save`)
|
||||
- Analyze session changes and insights
|
||||
- Persist discoveries to memory
|
||||
- Create checkpoint records
|
||||
- Generate summaries if requested
|
||||
|
||||
**4. RESUMED** (Next `/sc:load`)
|
||||
- Load latest checkpoint and context
|
||||
- Restore session state and data
|
||||
- Display resumption summary
|
||||
- Continue from previous state
|
||||
|
||||
### Key Session Commands
|
||||
|
||||
**`/sc:load` - Session Initialization**
|
||||
```bash
|
||||
/sc:load # Initialize current project
|
||||
/sc:load --deep # Deep context loading
|
||||
/sc:load --resume # Resume from last checkpoint
|
||||
```
|
||||
|
||||
**`/sc:save` - Session Persistence**
|
||||
```bash
|
||||
/sc:save # Save current session state
|
||||
/sc:save --checkpoint # Create checkpoint
|
||||
/sc:save --summarize # Include session summary
|
||||
```
|
||||
|
||||
**`/sc:reflect` - Session Analysis**
|
||||
```bash
|
||||
/sc:reflect --type task # Validate current task
|
||||
/sc:reflect --type session # Analyze session progress
|
||||
/sc:reflect --type completion # Check if work is complete
|
||||
```
|
||||
|
||||
### Automatic Checkpoints
|
||||
|
||||
SuperClaude automatically creates checkpoints:
|
||||
- **Task-Based**: Major task completion
|
||||
- **Time-Based**: Every 30 minutes of active work
|
||||
- **Risk-Based**: Before high-risk operations
|
||||
- **Error Recovery**: After recovering from errors
|
||||
|
||||
### Session Memory Organization
|
||||
|
||||
```
|
||||
memories/
|
||||
├── session/
|
||||
│ ├── current # Latest session
|
||||
│ ├── {timestamp} # Individual sessions
|
||||
│ └── history/ # Archived sessions
|
||||
├── checkpoints/
|
||||
│ ├── latest # Latest checkpoint
|
||||
│ ├── {timestamp} # Individual checkpoints
|
||||
│ └── task-{id} # Task-specific checkpoints
|
||||
├── summaries/
|
||||
│ ├── daily/{date} # Daily summaries
|
||||
│ └── insights/{topic} # Topical insights
|
||||
└── project_state/
|
||||
├── context_enhanced # Accumulated context
|
||||
└── decisions_log # Architecture decisions
|
||||
```
|
||||
|
||||
### Benefits
|
||||
|
||||
**Cross-Session Learning**
|
||||
- SuperClaude remembers project patterns and decisions
|
||||
- Context builds over time rather than starting fresh
|
||||
- Previous work informs future recommendations
|
||||
|
||||
**Reliable Progress Tracking**
|
||||
- Work is never lost due to session interruptions
|
||||
- Resume exactly where you left off
|
||||
- Complete audit trail of decisions and changes
|
||||
|
||||
**Enhanced Context Understanding**
|
||||
- Deeper project comprehension over time
|
||||
- Pattern recognition across multiple sessions
|
||||
- Better recommendations based on project history
|
||||
|
||||
---
|
||||
|
||||
## Hooks System & SuperClaude-Lite 🔌 *(NEW in V4!)*
|
||||
|
||||
V4 Beta introduces an advanced hooks system for extensibility and SuperClaude-Lite for streamlined workflows.
|
||||
|
||||
### Hooks System Architecture
|
||||
|
||||
**8-Step Quality Gates**
|
||||
1. **Syntax Validation**: Language-specific syntax checking
|
||||
2. **Type Analysis**: Type compatibility and inference
|
||||
3. **Code Quality**: Linting rules and quality standards
|
||||
4. **Security Assessment**: Vulnerability analysis and compliance
|
||||
5. **E2E Testing**: End-to-end test execution and validation
|
||||
6. **Performance Analysis**: Performance benchmarking and optimization
|
||||
7. **Documentation**: Documentation completeness and accuracy
|
||||
8. **Integration Testing**: Deployment and cross-browser validation
|
||||
|
||||
**Performance Monitoring**
|
||||
- Real-time operation timing and resource usage
|
||||
- Automatic performance optimization suggestions
|
||||
- Bottleneck detection and resolution
|
||||
- Quality preservation metrics
|
||||
|
||||
**Framework Coordination**
|
||||
- Seamless integration with all SuperClaude components
|
||||
- Session lifecycle management and checkpointing
|
||||
- Cross-mode behavioral coordination
|
||||
- MCP server orchestration
|
||||
|
||||
### SuperClaude-Lite Variant
|
||||
|
||||
**What it is**: Streamlined version of SuperClaude optimized for specific workflows.
|
||||
|
||||
**Key Features**:
|
||||
- **Reduced complexity**: Simplified command set focused on core functionality
|
||||
- **Faster performance**: Optimized for speed with minimal overhead
|
||||
- **Targeted use cases**: Specialized for quick analysis, code review, and documentation
|
||||
- **Easy deployment**: Lighter installation with fewer dependencies
|
||||
|
||||
**When to use SuperClaude-Lite**:
|
||||
- Quick code reviews and analysis
|
||||
- Documentation generation workflows
|
||||
- Performance-critical environments
|
||||
- Teams wanting focused functionality
|
||||
- CI/CD pipeline integration
|
||||
|
||||
**Relationship to Full SuperClaude**:
|
||||
- Shares core architecture and quality standards
|
||||
- Compatible session formats and memory systems
|
||||
- Can upgrade to full SuperClaude when needed
|
||||
- Maintains behavioral consistency
|
||||
- Considers alternative approaches
|
||||
- Identifies optimization opportunities
|
||||
|
||||
@@ -956,21 +1206,42 @@ If you haven't installed SuperClaude yet, see the [Installation Guide](installat
|
||||
```bash
|
||||
# Test basic functionality
|
||||
/sc:help # Should show SuperClaude commands
|
||||
/sc:load # Initialize session (NEW!)
|
||||
/sc:analyze README.md # Try analyzing a simple file
|
||||
/sc:build --help # Check command options
|
||||
/sc:save # Save session state (NEW!)
|
||||
```
|
||||
|
||||
#### V4 Beta Session Workflow
|
||||
Experience the new session persistence:
|
||||
|
||||
```bash
|
||||
# Initialize your first session
|
||||
/sc:load --deep # Deep project context loading
|
||||
|
||||
# Try the new brainstorming command
|
||||
/sc:brainstorm "improve this project" # Interactive requirements discovery
|
||||
|
||||
# Work with enhanced context
|
||||
/sc:analyze codebase/ --focus architecture # Persistent context helps
|
||||
|
||||
# Save your session
|
||||
/sc:save --checkpoint # Persistent memory for next session
|
||||
```
|
||||
|
||||
#### Understanding Auto-Activation
|
||||
Try these commands to see how SuperClaude automatically chooses the right tools:
|
||||
|
||||
```bash
|
||||
# Frontend work → frontend persona + Magic MCP
|
||||
# Frontend work → frontend agent + Magic MCP
|
||||
/sc:build src/components/
|
||||
|
||||
# Security analysis → security persona + Sequential MCP
|
||||
# Security analysis → security agent + Sequential MCP
|
||||
/sc:analyze auth/ --focus security
|
||||
|
||||
# Performance investigation → performance persona + Playwright MCP
|
||||
# Complex refactoring → Morphllm MCP + intelligent editing
|
||||
/sc:improve legacy-code/ --focus quality
|
||||
|
||||
# Performance investigation → performance agent + Playwright MCP
|
||||
/sc:analyze --focus performance slow-endpoints/
|
||||
```
|
||||
|
||||
@@ -978,46 +1249,59 @@ Watch for auto-activated flags and personas in the output. This shows SuperClaud
|
||||
|
||||
### Development Workflow Patterns 🔄
|
||||
|
||||
#### New Project Onboarding
|
||||
#### New Project Onboarding *(Enhanced in V4!)*
|
||||
When starting work on an unfamiliar project:
|
||||
|
||||
```bash
|
||||
# 1. Load project context
|
||||
# 1. Initialize persistent session
|
||||
/sc:load --deep --summary
|
||||
# → Serena MCP loads project context persistently
|
||||
# → Gives overview of structure, dependencies, patterns
|
||||
|
||||
# 2. Analyze architecture
|
||||
# 2. Interactive project discovery
|
||||
/sc:brainstorm "understand this project"
|
||||
# → Brainstorming Mode helps discover project goals
|
||||
# → Interactive dialogue to understand requirements
|
||||
|
||||
# 3. Analyze architecture with enhanced context
|
||||
/sc:analyze --focus architecture
|
||||
# → 🏗️ architect persona provides system understanding
|
||||
# → 🏗️ architect agent with persistent memory
|
||||
# → Serena provides semantic understanding
|
||||
|
||||
# 3. Check code quality
|
||||
/sc:analyze --focus quality
|
||||
# → 🧪 qa persona identifies potential issues
|
||||
|
||||
# 4. Review documentation
|
||||
/sc:document README --type guide
|
||||
# → ✍️ scribe persona improves project documentation
|
||||
# 4. Save discoveries for future sessions
|
||||
/sc:save --checkpoint --summarize
|
||||
# → Persistent memory of project insights
|
||||
# → Available in future sessions
|
||||
```
|
||||
|
||||
#### Feature Development Cycle
|
||||
For developing new features:
|
||||
|
||||
```bash
|
||||
# 1. Design phase
|
||||
# 1. Requirements discovery (NEW!)
|
||||
/sc:brainstorm "user dashboard feature"
|
||||
# → Interactive requirements gathering
|
||||
# → Generates comprehensive feature brief
|
||||
|
||||
# 2. Design with persistent context
|
||||
/sc:design user-dashboard --type component
|
||||
# → 🏗️ architect + 🎨 frontend personas coordinate
|
||||
# → 🏗️ architect + 🎨 frontend agents coordinate
|
||||
# → Leverages session memory for consistency
|
||||
|
||||
# 2. Implementation
|
||||
/sc:build dashboard-components/
|
||||
# → 🎨 frontend persona + Magic MCP for UI generation
|
||||
# 3. Implementation with intelligent editing
|
||||
/sc:build dashboard-components/
|
||||
# → 🎨 frontend agent + Magic MCP for UI generation
|
||||
# → Morphllm for intelligent code modifications
|
||||
|
||||
# 3. Testing
|
||||
# 4. Testing with cross-session context
|
||||
/sc:test --type e2e dashboard/
|
||||
# → 🧪 qa persona + Playwright MCP for testing
|
||||
# → 🧪 qa agent + Playwright MCP for testing
|
||||
# → Session memory ensures test consistency
|
||||
|
||||
# 4. Documentation
|
||||
/sc:document dashboard/ --type api
|
||||
# → ✍️ scribe persona creates comprehensive docs
|
||||
# 5. Reflection and checkpoint
|
||||
/sc:reflect --type completion
|
||||
# → Validates feature completeness
|
||||
# → Creates checkpoint for future work
|
||||
```
|
||||
|
||||
#### Bug Investigation & Resolution
|
||||
@@ -2916,38 +3200,43 @@ We believe SuperClaude can become significantly more helpful for software develo
|
||||
|
||||
## Conclusion 🎉
|
||||
|
||||
You've now got a comprehensive understanding of SuperClaude v3.0 - its components, capabilities, and how to use them effectively. Let's wrap up with the key takeaways that will help you get the most out of the framework.
|
||||
You've now got a comprehensive understanding of SuperClaude V4 Beta - its components, capabilities, and how to use them effectively. Let's wrap up with the key takeaways that will help you get the most out of the framework.
|
||||
|
||||
### Key Takeaways 🎯
|
||||
|
||||
#### SuperClaude's Core Value
|
||||
SuperClaude transforms Claude Code from a general-purpose AI assistant into a specialized development partner through:
|
||||
- **15 specialized commands** that understand development workflows
|
||||
- **11 expert personas** that bring domain-specific knowledge
|
||||
- **Intelligent orchestration** that coordinates tools automatically
|
||||
- **Quality-first approach** that maintains safety and reliability
|
||||
SuperClaude V4 Beta transforms Claude Code into an intelligent development partner through:
|
||||
- **21 specialized commands** including session management and brainstorming
|
||||
- **13 expert agents** with enhanced coordination and specialization
|
||||
- **4 behavioral modes** that adapt intelligently to different work types
|
||||
- **Session persistence** that remembers and learns across sessions
|
||||
- **Advanced orchestration** with hooks system and quality gates
|
||||
- **6 MCP servers** including intelligent editing and semantic analysis
|
||||
|
||||
#### The Power is in the Coordination
|
||||
SuperClaude's power comes not from any single feature, but from how components work together:
|
||||
- Commands usually activate appropriate personas and MCP servers
|
||||
- Personas coordinate with each other for multi-domain problems
|
||||
- The orchestrator optimizes tool selection and resource usage
|
||||
- Quality gates ensure consistent, reliable outcomes
|
||||
SuperClaude V4's power comes from intelligent system integration:
|
||||
- **Session lifecycle** maintains context across all interactions
|
||||
- **Behavioral modes** adapt automatically to different work patterns
|
||||
- **Agents coordinate** seamlessly for multi-domain problems
|
||||
- **MCP servers** integrate intelligently based on task requirements
|
||||
- **Quality gates** ensure consistent, reliable outcomes through 8-step validation
|
||||
- **Memory system** enables continuous learning and improvement
|
||||
|
||||
#### Start Simple, Scale Intelligently
|
||||
The best approach to SuperClaude is progressive:
|
||||
1. **Begin with basic commands** to understand core functionality
|
||||
2. **Trust auto-activation** to learn optimal tool combinations
|
||||
3. **Add manual control** when you need specific perspectives
|
||||
4. **Experiment with advanced features** as your confidence grows
|
||||
The best approach to SuperClaude V4 Beta is progressive:
|
||||
1. **Initialize sessions** with `/sc:load` to experience persistent context
|
||||
2. **Try brainstorming** with `/sc:brainstorm` for interactive discovery
|
||||
3. **Trust behavioral modes** to adapt automatically to your work patterns
|
||||
4. **Use session persistence** with `/sc:save` to build continuous context
|
||||
5. **Experiment with advanced features** like hooks and multi-layer orchestration
|
||||
|
||||
### What Makes SuperClaude Different 🌟
|
||||
|
||||
#### Honest About Limitations
|
||||
- We acknowledge v3.0 is fresh out of beta with rough edges
|
||||
- We clearly document what works well vs. what's still experimental
|
||||
- We prioritize reliability over flashy features
|
||||
- We provide realistic timelines and expectations
|
||||
- V4 Beta represents major architectural improvements but is still in beta
|
||||
- We clearly document what's working well vs. what's still being refined
|
||||
- Session persistence and behavioral modes are sophisticated but still evolving
|
||||
- We prioritize reliability and user experience over flashy features
|
||||
|
||||
#### Evidence-Based Development
|
||||
- All recommendations backed by verifiable data
|
||||
@@ -2965,24 +3254,27 @@ The best approach to SuperClaude is progressive:
|
||||
|
||||
#### For New Users
|
||||
1. **Start with installation**: Follow the [Installation Guide](installation-guide.md)
|
||||
2. **Try basic commands**: `/help`, `/analyze README.md`, `/build --help`
|
||||
3. **Explore domain guides**: [Commands](commands-guide.md), [Flags](flags-guide.md), [Personas](personas-guide.md)
|
||||
4. **Build confidence gradually**: Simple tasks → complex workflows → advanced features
|
||||
2. **Initialize your first session**: `/sc:load` to experience persistent context
|
||||
3. **Try interactive discovery**: `/sc:brainstorm "project idea"` for requirements
|
||||
4. **Experience the lifecycle**: Use `/sc:save` to persist your session
|
||||
5. **Build confidence gradually**: Session basics → behavioral modes → advanced orchestration
|
||||
|
||||
#### For Experienced Users
|
||||
1. **Optimize your workflows**: Identify flag combinations that work well for your needs
|
||||
2. **Experiment with coordination**: Try different persona combinations on complex problems
|
||||
3. **Contribute feedback**: Share what works (and what doesn't) in your environment
|
||||
4. **Explore advanced features**: Wave orchestration, sub-agent delegation, introspection mode
|
||||
1. **Leverage session persistence**: Build long-term project context across sessions
|
||||
2. **Master behavioral modes**: Understand how brainstorming, introspection, task management, and token efficiency work
|
||||
3. **Explore advanced orchestration**: Wave systems, hooks integration, and multi-layer coordination
|
||||
4. **Contribute feedback**: Share what works (and what doesn't) with V4 Beta features
|
||||
5. **Try SuperClaude-Lite**: Experiment with the streamlined variant for specific workflows
|
||||
|
||||
### When to Use SuperClaude 🤔
|
||||
|
||||
#### SuperClaude Excels At
|
||||
- **Development workflows**: Building, testing, deploying, documenting
|
||||
- **Code analysis**: Quality assessment, security scanning, performance optimization
|
||||
- **Learning and understanding**: Explaining complex systems, onboarding to new projects
|
||||
- **Quality improvement**: Systematic refactoring, technical debt reduction
|
||||
- **Multi-domain problems**: Issues requiring multiple types of expertise
|
||||
#### SuperClaude V4 Beta Excels At
|
||||
- **Persistent development workflows**: Long-term projects with cross-session context
|
||||
- **Interactive requirements discovery**: Brainstorming and clarifying project goals
|
||||
- **Intelligent code analysis**: Semantic understanding with Serena and Morphllm
|
||||
- **Adaptive task management**: Multi-layer orchestration with behavioral intelligence
|
||||
- **Cross-domain coordination**: Complex problems requiring multiple agents and modes
|
||||
- **Session-based learning**: Building project understanding over time
|
||||
|
||||
#### When to Use Standard Claude Code
|
||||
- **Simple questions**: Quick explanations that don't need specialized tools
|
||||
@@ -3028,7 +3320,7 @@ The framework gets better through:
|
||||
|
||||
### Final Thoughts 🎉
|
||||
|
||||
SuperClaude v3.0 represents a solid foundation for enhanced software development workflows. While it's not perfect and still has room for improvement, it demonstrates how AI can be thoughtfully integrated into development practices without disrupting existing workflows or replacing human expertise.
|
||||
SuperClaude V4 Beta represents a significant architectural evolution in AI-assisted development. With persistent sessions, behavioral intelligence, and advanced orchestration, it demonstrates how AI can become a true development partner that learns and adapts while respecting existing workflows and human expertise.
|
||||
|
||||
The framework succeeds when it makes you more productive, helps you learn new things, or catches issues you might have missed. It's designed to be a helpful colleague rather than a replacement for understanding your craft.
|
||||
|
||||
@@ -3042,7 +3334,7 @@ Whether you use SuperClaude occasionally for specific tasks or integrate it deep
|
||||
|
||||
---
|
||||
|
||||
*Last updated: July 2024*
|
||||
*SuperClaude v3.0 User Guide*
|
||||
*Last updated: January 2025*
|
||||
*SuperClaude V4 Beta User Guide*
|
||||
|
||||
*For questions, feedback, or contributions, visit our GitHub repository or join the community discussions. We're always happy to hear from users and learn about your experiences with the framework.*
|
||||
|
||||
15
MANIFEST.in
15
MANIFEST.in
@@ -1,7 +1,16 @@
|
||||
include VERSION
|
||||
include README.md
|
||||
include LICENSE
|
||||
recursive-include setup *
|
||||
include CHANGELOG.md
|
||||
include CONTRIBUTING.md
|
||||
include ROADMAP.md
|
||||
include SECURITY.md
|
||||
include ARCHITECTURE_OVERVIEW.md
|
||||
include pyproject.toml
|
||||
recursive-include SuperClaude *
|
||||
recursive-include config *
|
||||
recursive-include profiles *
|
||||
recursive-include SuperClaude-Lite *
|
||||
recursive-include Templates *
|
||||
recursive-include Docs *.md
|
||||
global-exclude __pycache__
|
||||
global-exclude *.py[co]
|
||||
global-exclude .DS_Store
|
||||
412
README.md
412
README.md
@@ -1,100 +1,157 @@
|
||||
# SuperClaude v3 🚀
|
||||
# SuperClaude v4 Beta 🚀
|
||||
[](https://superclaude-org.github.io/SuperClaude_Website/)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://pypi.org/project/SuperClaude/)
|
||||
[](https://github.com/NomenAK/SuperClaude)
|
||||
[](https://github.com/NomenAK/SuperClaude/issues)
|
||||
[](https://github.com/NomenAK/SuperClaude/blob/master/CONTRIBUTING.md)
|
||||
[](https://github.com/NomenAK/SuperClaude/graphs/contributors)
|
||||
[](https://github.com/SuperClaude-Org/SuperClaude_Framework)
|
||||
[](https://github.com/SuperClaude-Org/SuperClaude_Framework/issues)
|
||||
[](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/CONTRIBUTING.md)
|
||||
[](https://github.com/SuperClaude-Org/SuperClaude_Framework/graphs/contributors)
|
||||
[](https://superclaude-org.github.io/SuperClaude_Website/)
|
||||
|
||||
A framework that extends Claude Code with specialized commands, personas, and MCP server integration.
|
||||
An intelligent framework that transforms Claude Code into a comprehensive development environment with specialized agents, behavioral modes, and advanced MCP integration.
|
||||
|
||||
**📢 Status**: Initial release, fresh out of beta! Bugs may occur as we continue improving things.
|
||||
**📢 Status**: V4 Beta is here! Major architecture overhaul with new behavioral modes, session lifecycle, and comprehensive agent system.
|
||||
|
||||
## What is SuperClaude? 🤔
|
||||
## What is SuperClaude V4? 🤔
|
||||
|
||||
SuperClaude tries to make Claude Code more helpful for development work by adding:
|
||||
- 🛠️ **16 specialized commands** for common dev tasks (some work better than others!)
|
||||
- 🎭 **Smart personas** that usually pick the right expert for different domains
|
||||
- 🔧 **MCP server integration** for docs, UI components, and browser automation
|
||||
- 📋 **Task management** that tries to keep track of progress
|
||||
- ⚡ **Token optimization** to help with longer conversations
|
||||
SuperClaude V4 represents a complete evolution of the development framework, now featuring:
|
||||
- 🛠️ **21 specialized commands** for comprehensive development workflows
|
||||
- 🤖 **13 specialized agents** with domain expertise and intelligent routing
|
||||
- 🧠 **4 Behavioral Modes** for different types of work (Brainstorming, Introspection, Task Management, Token Efficiency)
|
||||
- 🔧 **6 MCP servers** including the powerful new Morphllm and Serena agents
|
||||
- 💾 **Session Lifecycle** with persistent context via /sc:load and /sc:save
|
||||
- 🎣 **Hooks System** for extensibility and customization
|
||||
- ⚡ **SuperClaude-Lite** for lightweight usage
|
||||
|
||||
This is what we've been building to make development workflows smoother. Still rough around the edges, but getting better! 😊
|
||||
This is a complete rethink of how AI-assisted development should work - more intelligent, more capable, and more adaptable to your workflow! 🎯
|
||||
|
||||
## Current Status 📊
|
||||
|
||||
✅ **What's Working Well:**
|
||||
- Installation suite (rewritten from the ground up)
|
||||
- Core framework with 9 documentation files
|
||||
- 16 slash commands for various development tasks
|
||||
- MCP server integration (Context7, Sequential, Magic, Playwright)
|
||||
- Unified CLI installer for easy setup
|
||||
✅ **What's New in V4:**
|
||||
- Complete architecture redesign with behavioral modes
|
||||
- Session persistence with intelligent context management
|
||||
- 13 specialized agents replacing the old persona system
|
||||
- Advanced MCP integration with Morphllm and Serena
|
||||
- Hooks system for extensibility (now implemented!)
|
||||
- SuperClaude-Lite for resource-constrained environments
|
||||
|
||||
⚠️ **Known Issues:**
|
||||
- This is an initial release - bugs are expected
|
||||
- Some features may not work perfectly yet
|
||||
- Documentation is still being improved
|
||||
- Hooks system was removed (coming back in v4)
|
||||
✅ **What's Working Well:**
|
||||
- All 21 commands with enhanced capabilities
|
||||
- Full MCP server integration suite
|
||||
- Session lifecycle with /sc:load and /sc:save
|
||||
- Behavioral modes with automatic activation
|
||||
- Intelligent agent routing and coordination
|
||||
|
||||
⚠️ **Beta Limitations:**
|
||||
- Some advanced features still being refined
|
||||
- Documentation being updated for new features
|
||||
- Performance optimizations ongoing
|
||||
|
||||
## Key Features ✨
|
||||
|
||||
### Commands 🛠️
|
||||
We focused on 16 essential commands for the most common tasks:
|
||||
### 21 Specialized Commands 🛠️
|
||||
Enhanced command suite for comprehensive development workflows:
|
||||
|
||||
**Development**: `/sc:implement`, `/sc:build`, `/sc:design`
|
||||
**Analysis**: `/sc:analyze`, `/sc:troubleshoot`, `/sc:explain`
|
||||
**Quality**: `/sc:improve`, `/sc:test`, `/sc:cleanup`
|
||||
**Others**: `/sc:document`, `/sc:git`, `/sc:estimate`, `/sc:task`, `/sc:index`, `/sc:load`, `/sc:spawn`
|
||||
**Session**: `/sc:load`, `/sc:save`, `/sc:brainstorm`, `/sc:reflect`
|
||||
**Workflow**: `/sc:task`, `/sc:spawn`, `/sc:workflow`, `/sc:select-tool`
|
||||
**Others**: `/sc:document`, `/sc:git`, `/sc:estimate`, `/sc:index`
|
||||
|
||||
### Smart Personas 🎭
|
||||
AI specialists that try to jump in when they seem relevant:
|
||||
- 🏗️ **architect** - Systems design and architecture stuff
|
||||
- 🎨 **frontend** - UI/UX and accessibility
|
||||
- ⚙️ **backend** - APIs and infrastructure
|
||||
- 🔍 **analyzer** - Debugging and figuring things out
|
||||
- 🛡️ **security** - Security concerns and vulnerabilities
|
||||
- ✍️ **scribe** - Documentation and writing
|
||||
- *...and 5 more specialists*
|
||||
### 13 Specialized Agents 🤖
|
||||
AI specialists with deep domain expertise and intelligent coordination:
|
||||
- 🏗️ **architect** - System design and architecture
|
||||
- 🎨 **frontend** - UI/UX and modern frontend development
|
||||
- ⚙️ **backend** - APIs, infrastructure, and server-side logic
|
||||
- 🔍 **analyzer** - Debugging and system analysis
|
||||
- 🛡️ **security** - Security assessment and vulnerability analysis
|
||||
- ✍️ **scribe** - Technical documentation and writing
|
||||
- ⚡ **performance** - Optimization and performance engineering
|
||||
- 🧪 **qa** - Quality assurance and testing strategies
|
||||
- 📊 **data** - Data analysis and processing
|
||||
- 🤖 **devops** - Infrastructure and deployment automation
|
||||
- 🔧 **sre** - Site reliability and system operations
|
||||
- 💼 **product** - Product strategy and requirements
|
||||
- 🎯 **specialist** - Adaptive expertise for unique domains
|
||||
|
||||
*(They don't always pick perfectly, but usually get it right!)*
|
||||
*These agents feature intelligent routing, context awareness, and collaborative problem-solving capabilities.*
|
||||
|
||||
### MCP Integration 🔧
|
||||
External tools that connect when useful:
|
||||
- **Context7** - Grabs official library docs and patterns
|
||||
- **Sequential** - Helps with complex multi-step thinking
|
||||
- **Magic** - Generates modern UI components
|
||||
- **Playwright** - Browser automation and testing stuff
|
||||
### 4 Behavioral Modes 🧠
|
||||
Revolutionary behavioral system that adapts SuperClaude's approach:
|
||||
|
||||
*(These work pretty well when they connect properly! 🤞)*
|
||||
#### Brainstorming Mode
|
||||
- **Purpose**: Interactive requirements discovery and ideation
|
||||
- **Triggers**: Ambiguous requests, exploration keywords, uncertainty indicators
|
||||
- **Features**: Socratic dialogue, collaborative discovery, automated brief generation
|
||||
|
||||
## ⚠️ Upgrading from v2? Important!
|
||||
#### Introspection Mode
|
||||
- **Purpose**: Meta-cognitive analysis and framework troubleshooting
|
||||
- **Triggers**: Self-analysis requests, complex problem solving, error recovery
|
||||
- **Features**: Reasoning analysis, decision validation, pattern recognition
|
||||
|
||||
If you're coming from SuperClaude v2, you'll need to clean up first:
|
||||
#### Task Management Mode
|
||||
- **Purpose**: Multi-layer orchestration with wave systems and delegation
|
||||
- **Triggers**: Multi-step operations, complex builds, system-wide changes
|
||||
- **Features**: Wave orchestration, sub-agent delegation, performance analytics
|
||||
|
||||
1. **Uninstall v2** using its uninstaller if available
|
||||
2. **Manual cleanup** - delete these if they exist:
|
||||
- `SuperClaude/`
|
||||
- `~/.claude/shared/`
|
||||
- `~/.claude/commands/`
|
||||
- `~/.claude/CLAUDE.md`
|
||||
4. **Then proceed** with v3 installation below
|
||||
#### Token Efficiency Mode
|
||||
- **Purpose**: Intelligent optimization with symbol systems and compression
|
||||
- **Triggers**: Resource constraints, large contexts, performance needs
|
||||
- **Features**: 30-50% token reduction, quality preservation, adaptive compression
|
||||
|
||||
This is because v3 has a different structure and the old files can cause conflicts.
|
||||
### 6 MCP Server Integration 🔧
|
||||
Comprehensive external tool ecosystem:
|
||||
- **Context7** - Official library documentation and patterns
|
||||
- **Sequential** - Multi-step analysis and complex reasoning
|
||||
- **Magic** - Modern UI component generation
|
||||
- **Playwright** - Browser automation and E2E testing
|
||||
- **Morphllm** - Intelligent file editing with Fast Apply capability
|
||||
- **Serena** - Semantic code analysis and project-wide operations
|
||||
|
||||
### 🔄 **Key Change for v2 Users**
|
||||
**The `/build` command changed!** In v2, `/build` was used for feature implementation. In v3:
|
||||
- `/sc:build` = compilation/packaging only
|
||||
- `/sc:implement` = feature implementation (NEW!)
|
||||
### Session Lifecycle System 💾
|
||||
Persistent development context with intelligent management:
|
||||
- **`/sc:load`** - Initialize projects with full context restoration
|
||||
- **`/sc:save`** - Create checkpoints and preserve session state
|
||||
- **Automatic Checkpoints** - Task completion, time-based, risk-based triggers
|
||||
- **Cross-Session Learning** - Accumulated insights and pattern recognition
|
||||
|
||||
**Migration**: Replace `v2 /build myFeature` with `v3 /sc:implement myFeature`
|
||||
### Hooks System 🎣
|
||||
Extensible architecture for customization:
|
||||
- **Framework Coordinator** - Cross-component orchestration
|
||||
- **Performance Monitor** - Real-time metrics and optimization
|
||||
- **Quality Gates** - 8-step validation pipeline
|
||||
- **Session Lifecycle** - Event-driven session management
|
||||
|
||||
### SuperClaude-Lite ⚡
|
||||
Lightweight variant for resource-constrained environments:
|
||||
- Streamlined feature set
|
||||
- Reduced resource requirements
|
||||
- Core functionality preservation
|
||||
- Easy upgrade path to full SuperClaude
|
||||
|
||||
## ⚠️ Upgrading from v3? Important!
|
||||
|
||||
SuperClaude V4 is a major architectural upgrade. Clean installation recommended:
|
||||
|
||||
1. **Backup Important Data** - Save any custom configurations
|
||||
2. **Clean Previous Installation**:
|
||||
```bash
|
||||
python3 -m SuperClaude uninstall # If available
|
||||
rm -rf ~/.claude/SuperClaude/
|
||||
rm -rf ~/.claude/shared/
|
||||
```
|
||||
3. **Install V4 Beta** - Follow installation instructions below
|
||||
|
||||
### 🔄 **Key Changes for v3 Users**
|
||||
- **New Commands**: `/sc:brainstorm`, `/sc:reflect`, `/sc:save`, `/sc:select-tool`
|
||||
- **Session Management**: Use `/sc:load` to initialize projects, `/sc:save` for persistence
|
||||
- **Agent System**: Enhanced from personas to full agent coordination
|
||||
- **Behavioral Modes**: Automatic activation based on context and needs
|
||||
|
||||
## Installation 📦
|
||||
|
||||
SuperClaude installation is a **two-step process**:
|
||||
1. First install the Python package
|
||||
2. Then run the installer to set up Claude Code integration
|
||||
SuperClaude V4 Beta installation with enhanced capabilities:
|
||||
|
||||
### Step 1: Install the Package
|
||||
|
||||
@@ -109,9 +166,10 @@ git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git
|
||||
cd SuperClaude_Framework
|
||||
uv sync
|
||||
```
|
||||
|
||||
### 🔧 UV / UVX Setup Guide
|
||||
|
||||
SuperClaude v3 also supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage.
|
||||
SuperClaude V4 fully supports installation via [`uv`](https://github.com/astral-sh/uv) for optimal performance.
|
||||
|
||||
### 🌀 Install with `uv`
|
||||
|
||||
@@ -123,7 +181,7 @@ curl -Ls https://astral.sh/uv/install.sh | sh
|
||||
|
||||
> Or follow instructions from: [https://github.com/astral-sh/uv](https://github.com/astral-sh/uv)
|
||||
|
||||
Once `uv` is available, you can install SuperClaude like this:
|
||||
Once `uv` is available:
|
||||
|
||||
```bash
|
||||
uv venv
|
||||
@@ -133,33 +191,20 @@ uv pip install SuperClaude
|
||||
|
||||
### ⚡ Install with `uvx` (Cross-platform CLI)
|
||||
|
||||
If you’re using `uvx`, just run:
|
||||
|
||||
```bash
|
||||
uvx pip install SuperClaude
|
||||
```
|
||||
|
||||
### ✅ Finish Installation
|
||||
### ✅ SuperClaude-Lite Installation
|
||||
|
||||
After installing, continue with the usual installer step:
|
||||
For lightweight usage:
|
||||
|
||||
```bash
|
||||
python3 -m SuperClaude install
|
||||
python3 -m SuperClaude install --lite
|
||||
```
|
||||
|
||||
Or using bash-style CLI:
|
||||
|
||||
```bash
|
||||
SuperClaude install
|
||||
```
|
||||
|
||||
### 🧠 Note:
|
||||
|
||||
* `uv` provides better caching and performance.
|
||||
* Compatible with Python 3.8+ and works smoothly with SuperClaude.
|
||||
|
||||
---
|
||||
**Missing Python?** Install Python 3.7+ first:
|
||||
**Missing Python?** Install Python 3.8+ first:
|
||||
```bash
|
||||
# Linux (Ubuntu/Debian)
|
||||
sudo apt update && sudo apt install python3 python3-pip
|
||||
@@ -171,155 +216,162 @@ brew install python3
|
||||
# Download from https://python.org/downloads/
|
||||
```
|
||||
|
||||
### Step 2: Run the Installer
|
||||
### Step 2: Run the V4 Installer
|
||||
|
||||
Enhanced installer with behavioral modes and session lifecycle:
|
||||
|
||||
After installing the package, run the SuperClaude installer to configure Claude Code (You can use any of the method):
|
||||
### ⚠️ Important Note
|
||||
**After installing the SuperClaude.**
|
||||
**You can use `SuperClaude commands`
|
||||
, `python3 -m SuperClaude commands` or also `python3 SuperClaude commands`**
|
||||
```bash
|
||||
# Quick setup (recommended for most users)
|
||||
python3 SuperClaude install
|
||||
|
||||
# Interactive selection (choose components)
|
||||
python3 SuperClaude install --interactive
|
||||
|
||||
# Minimal install (just core framework)
|
||||
python3 SuperClaude install --minimal
|
||||
|
||||
# Developer setup (everything included)
|
||||
python3 SuperClaude install --profile developer
|
||||
|
||||
# See all available options
|
||||
python3 SuperClaude install --help
|
||||
```
|
||||
### Or Python Modular Usage
|
||||
```bash
|
||||
# Quick setup (recommended for most users)
|
||||
# V4 Beta setup (recommended for most users)
|
||||
python3 -m SuperClaude install
|
||||
|
||||
# Interactive selection (choose components)
|
||||
# Interactive selection with V4 features
|
||||
python3 -m SuperClaude install --interactive
|
||||
|
||||
# Minimal install (just core framework)
|
||||
# Minimal install (core framework only)
|
||||
python3 -m SuperClaude install --minimal
|
||||
|
||||
# Developer setup (everything included)
|
||||
# Full developer setup (all V4 features)
|
||||
python3 -m SuperClaude install --profile developer
|
||||
|
||||
# See all available options
|
||||
# SuperClaude-Lite installation
|
||||
python3 -m SuperClaude install --lite
|
||||
|
||||
# See all V4 options
|
||||
python3 -m SuperClaude install --help
|
||||
```
|
||||
|
||||
### Simple bash Command Usage
|
||||
```bash
|
||||
# Quick setup (recommended for most users)
|
||||
# V4 Beta setup
|
||||
SuperClaude install
|
||||
|
||||
# Interactive selection (choose components)
|
||||
# Interactive V4 installation
|
||||
SuperClaude install --interactive
|
||||
|
||||
# Minimal install (just core framework)
|
||||
SuperClaude install --minimal
|
||||
# Lightweight installation
|
||||
SuperClaude install --lite
|
||||
|
||||
# Developer setup (everything included)
|
||||
# Full V4 developer setup
|
||||
SuperClaude install --profile developer
|
||||
|
||||
# See all available options
|
||||
SuperClaude install --help
|
||||
```
|
||||
|
||||
**That's it! 🎉** The installer handles everything: framework files, MCP servers, and Claude Code configuration.
|
||||
**That's it! 🎉** The V4 installer configures everything: behavioral modes, MCP servers, session lifecycle, and hooks system.
|
||||
|
||||
## How It Works 🔄
|
||||
## How V4 Works 🔄
|
||||
|
||||
SuperClaude tries to enhance Claude Code through:
|
||||
SuperClaude V4 transforms Claude Code through intelligent architecture:
|
||||
|
||||
1. **Framework Files** - Documentation installed to `~/.claude/` that guides how Claude responds
|
||||
2. **Slash Commands** - 16 specialized commands for different dev tasks
|
||||
3. **MCP Servers** - External services that add extra capabilities (when they work!)
|
||||
4. **Smart Routing** - Attempts to pick the right tools and experts based on what you're doing
|
||||
1. **Behavioral Modes** - Adaptive behavior based on context and task requirements
|
||||
2. **Agent Coordination** - 13 specialized agents with intelligent routing and collaboration
|
||||
3. **Session Lifecycle** - Persistent context with /sc:load and /sc:save commands
|
||||
4. **MCP Integration** - 6 powerful servers for extended capabilities
|
||||
5. **Hooks System** - Extensible architecture for customization and monitoring
|
||||
6. **Quality Gates** - 8-step validation pipeline ensuring excellence
|
||||
|
||||
Most of the time it plays nicely with Claude Code's existing stuff. 🤝
|
||||
The system intelligently adapts to your workflow, automatically activating appropriate modes and agents. 🧠
|
||||
|
||||
## What's Coming in v4 🔮
|
||||
## V4 Architecture Highlights 🏗️
|
||||
|
||||
We're hoping to work on these things for the next version:
|
||||
- **Hooks System** - Event-driven stuff (removed from v3, trying to redesign it properly)
|
||||
- **MCP Suite** - More external tool integrations
|
||||
- **Better Performance** - Trying to make things faster and less buggy
|
||||
- **More Personas** - Maybe a few more domain specialists
|
||||
- **Cross-CLI Support** - Might work with other AI coding assistants
|
||||
### Behavioral Intelligence
|
||||
- **Automatic Mode Detection** - Context-aware behavioral adaptation
|
||||
- **Cross-Mode Coordination** - Seamless integration between behavioral patterns
|
||||
- **Progressive Enhancement** - Capabilities scale with complexity
|
||||
|
||||
*(No promises on timeline though - we're still figuring v3 out! 😅)*
|
||||
### Agent Orchestration
|
||||
- **Intelligent Routing** - Smart agent selection based on domain expertise
|
||||
- **Collaborative Problem-Solving** - Multi-agent coordination for complex tasks
|
||||
- **Context Preservation** - Agents maintain awareness across interactions
|
||||
|
||||
### Session Management
|
||||
- **Persistent Context** - Full project state preservation across sessions
|
||||
- **Intelligent Checkpointing** - Automatic saves based on risk and completion
|
||||
- **Cross-Session Learning** - Accumulated insights and pattern recognition
|
||||
|
||||
## Configuration ⚙️
|
||||
|
||||
After installation, you can customize SuperClaude by editing:
|
||||
- `~/.claude/settings.json` - Main configuration
|
||||
- `~/.claude/*.md` - Framework behavior files
|
||||
V4 configuration with enhanced behavioral controls:
|
||||
- `~/.claude/settings.json` - Main V4 configuration with modes and agents
|
||||
- `~/.claude/*.md` - Behavioral mode configurations
|
||||
- `~/.claude/agents/` - Agent-specific customizations
|
||||
- `~/.serena/` - Session lifecycle and memory management
|
||||
|
||||
Most users probably won't need to change anything - it usually works okay out of the box. 🎛️
|
||||
Most users can use defaults - V4 intelligently adapts to your workflow! 🎛️
|
||||
|
||||
## Documentation 📖
|
||||
|
||||
Want to learn more? Check out our guides:
|
||||
Comprehensive V4 guides and documentation:
|
||||
|
||||
- 📚 [**User Guide**](https://github.com/NomenAK/SuperClaude/blob/master/Docs/superclaude-user-guide.md) - Complete overview and getting started
|
||||
- 🛠️ [**Commands Guide**](https://github.com/NomenAK/SuperClaude/blob/master/Docs/commands-guide.md) - All 16 slash commands explained
|
||||
- 🏳️ [**Flags Guide**](https://github.com/NomenAK/SuperClaude/blob/master/Docs/flags-guide.md) - Command flags and options
|
||||
- 🎭 [**Personas Guide**](https://github.com/NomenAK/SuperClaude/blob/master/Docs/personas-guide.md) - Understanding the persona system
|
||||
- 📦 [**Installation Guide**](https://github.com/NomenAK/SuperClaude/blob/master/Docs/installation-guide.md) - Detailed installation instructions
|
||||
|
||||
These guides have more details than this README and are kept up to date.
|
||||
- 📚 [**V4 User Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/superclaude-user-guide.md) - Complete V4 overview and getting started
|
||||
- 🛠️ [**Commands Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/commands-guide.md) - All 21 commands with V4 enhancements
|
||||
- 🧠 [**Behavioral Modes Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/behavioral-modes-guide.md) - Understanding the 4 behavioral modes
|
||||
- 🤖 [**Agent System Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/agent-system-guide.md) - Working with 13 specialized agents
|
||||
- 💾 [**Session Lifecycle Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/session-lifecycle-guide.md) - /sc:load and /sc:save workflows
|
||||
- 🎣 [**Hooks System Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/hooks-guide.md) - Extending and customizing V4
|
||||
- 🏳️ [**Flags Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/flags-guide.md) - V4 command flags and behavioral controls
|
||||
- 📦 [**Installation Guide**](https://github.com/SuperClaude-Org/SuperClaude_Framework/blob/master/Docs/installation-guide.md) - Detailed V4 installation and setup
|
||||
|
||||
## Contributing 🤝
|
||||
|
||||
We welcome contributions! Areas where we could use help:
|
||||
- 🐛 **Bug Reports** - Let us know what's broken
|
||||
- 📝 **Documentation** - Help us explain things better
|
||||
- 🧪 **Testing** - More test coverage for different setups
|
||||
- 💡 **Ideas** - Suggestions for new features or improvements
|
||||
V4 opens new contribution opportunities:
|
||||
- 🐛 **Bug Reports** - Help us refine the beta
|
||||
- 📝 **Documentation** - V4 features need clear explanation
|
||||
- 🧪 **Testing** - Beta testing across different environments
|
||||
- 🎣 **Hooks Development** - Extend the hooks system
|
||||
- 🤖 **Agent Enhancement** - Improve specialized agent capabilities
|
||||
- 🧠 **Behavioral Modes** - Contribute to mode intelligence
|
||||
|
||||
The codebase is pretty straightforward Python + documentation files.
|
||||
The V4 architecture is modular and extensible - many ways to contribute!
|
||||
|
||||
## Project Structure 📁
|
||||
|
||||
```
|
||||
SuperClaude/
|
||||
├── setup.py # pypi setup file
|
||||
├── SuperClaude/ # Framework files
|
||||
│ ├── Core/ # Behavior documentation (COMMANDS.md, FLAGS.md, etc.)
|
||||
│ ├── Commands/ # 16 slash command definitions
|
||||
│ └── Settings/ # Configuration files
|
||||
├── setup/ # Installation system
|
||||
└── profiles/ # Installation profiles (quick, minimal, developer)
|
||||
├── setup.py # PyPI setup for V4
|
||||
├── SuperClaude/ # V4 Framework files
|
||||
│ ├── Core/ # Behavioral mode documentation
|
||||
│ ├── Commands/ # 21 specialized command definitions
|
||||
│ ├── Agents/ # 13 agent specifications
|
||||
│ ├── Modes/ # 4 behavioral mode configurations
|
||||
│ ├── MCP/ # 6 MCP server integrations
|
||||
│ ├── Hooks/ # Extensible hooks system
|
||||
│ └── Config/ # V4 configuration management
|
||||
├── SuperClaude-Lite/ # Lightweight variant
|
||||
├── setup/ # V4 installation system
|
||||
└── profiles/ # Installation profiles with V4 features
|
||||
```
|
||||
|
||||
## Architecture Notes 🏗️
|
||||
## V4 Architecture Notes 🏗️
|
||||
|
||||
The v3 architecture focuses on:
|
||||
- **Simplicity** - Removed complexity that wasn't adding value
|
||||
- **Reliability** - Better installation and fewer breaking changes
|
||||
- **Modularity** - Pick only the components you want
|
||||
- **Performance** - Faster operations with smarter caching
|
||||
The V4beta architecture focuses on:
|
||||
- **Behavioral Intelligence** - Context-aware adaptive behavior
|
||||
- **Agent Orchestration** - Sophisticated multi-agent coordination
|
||||
- **Session Persistence** - Continuous learning and context preservation
|
||||
- **Extensibility** - Hooks system for customization and enhancement
|
||||
- **Performance** - Token efficiency and resource optimization
|
||||
- **Quality** - 8-step validation gates ensuring excellence
|
||||
|
||||
We learned a lot from v2 and tried to address the main pain points.
|
||||
V4 represents a fundamental evolution in AI-assisted development frameworks.
|
||||
|
||||
## FAQ 🙋
|
||||
|
||||
**Q: Why was the hooks system removed?**
|
||||
A: It was getting complex and buggy. We're redesigning it properly for v4.
|
||||
**Q: What's new in V4 compared to V3?**
|
||||
A: Complete architecture overhaul with behavioral modes, session lifecycle, 13 agents, 6 MCP servers, and hooks system.
|
||||
|
||||
**Q: Does this work with other AI assistants?**
|
||||
A: Currently Claude Code only, but v4 will have broader compatibility.
|
||||
**Q: Is the hooks system back?**
|
||||
A: Yes! Completely redesigned and implemented with extensible architecture.
|
||||
|
||||
**Q: Is this stable enough for daily use?**
|
||||
A: The basic stuff works pretty well, but definitely expect some rough edges since it's a fresh release. Probably fine for experimenting! 🧪
|
||||
**Q: Should I upgrade from V3?**
|
||||
A: V4 beta offers significant improvements, but clean installation recommended for stability.
|
||||
|
||||
**Q: What is SuperClaude-Lite?**
|
||||
A: Lightweight variant with core functionality for resource-constrained environments.
|
||||
|
||||
**Q: How stable is V4 beta?**
|
||||
A: Core functionality is solid, with some advanced features still being refined. Great for development and testing!
|
||||
|
||||
## SuperClaude Contributors
|
||||
|
||||
[](https://github.com/NomenAK/SuperClaude/graphs/contributors)
|
||||
[](https://github.com/SuperClaude-Org/SuperClaude_Framework/graphs/contributors)
|
||||
|
||||
## License
|
||||
|
||||
@@ -327,15 +379,15 @@ MIT - [See LICENSE file for details](https://opensource.org/licenses/MIT)
|
||||
|
||||
## Star History
|
||||
|
||||
<a href="https://www.star-history.com/#NomenAK/SuperClaude&Date">
|
||||
<a href="https://www.star-history.com/#SuperClaude-Org/SuperClaude_Framework&Date">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=NomenAK/SuperClaude&type=Date&theme=dark" />
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=NomenAK/SuperClaude&type=Date" />
|
||||
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=NomenAK/SuperClaude&type=Date" />
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=SuperClaude-Org/SuperClaude_Framework&type=Date&theme=dark" />
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=SuperClaude-Org/SuperClaude_Framework&type=Date" />
|
||||
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=SuperClaude-Org/SuperClaude_Framework&type=Date" />
|
||||
</picture>
|
||||
</a>
|
||||
---
|
||||
|
||||
*Built by developers who got tired of generic responses. Hope you find it useful! 🙂*
|
||||
*V4 Beta: The future of AI-assisted development is here. Experience intelligent, adaptive, and powerful development workflows! 🚀*
|
||||
|
||||
---
|
||||
---
|
||||
182
ROADMAP.md
182
ROADMAP.md
@@ -2,110 +2,138 @@
|
||||
|
||||
A realistic look at where we are and where we're headed. No marketing fluff, just honest development plans.
|
||||
|
||||
## Where We Are Now (v3.0 - July 2024) 📍
|
||||
## Where We Were (v3.0 - July 2024) 📍
|
||||
|
||||
SuperClaude v3 just came out of beta! 🎉 Here's the honest current state:
|
||||
SuperClaude v3 was our stable foundation release:
|
||||
|
||||
### ✅ What's Working Well
|
||||
### ✅ What Worked Well in v3
|
||||
- **Installation Suite** - Completely rewritten and much more reliable
|
||||
- **Core Framework** - 9 documentation files that guide Claude's behavior
|
||||
- **15 Slash Commands** - Streamlined from 20+ to essential ones
|
||||
- **MCP Integration** - Context7, Sequential, Magic, Playwright (partially working)
|
||||
- **Unified CLI** - `SuperClaude.py` handles install/update/backup
|
||||
|
||||
### ⚠️ What Needs Work
|
||||
- **Bugs** - This is an initial release, expect rough edges
|
||||
- **MCP Servers** - Integration works but could be smoother
|
||||
- **Documentation** - Still improving user guides and examples
|
||||
- **Performance** - Some operations slower than we'd like
|
||||
### What v3 Taught Us
|
||||
- Framework approach was solid but needed more intelligence
|
||||
- MCP integration worked but could be much smoother
|
||||
- Command system was good but needed specialized capabilities
|
||||
- Session persistence was missing and badly needed
|
||||
|
||||
### ❌ What We Removed
|
||||
- **Hooks System** - Got too complex and buggy, removed for redesign
|
||||
## Where We Are Now (v4.0 Beta - February 2025) 🎯
|
||||
|
||||
We're honestly pretty happy with v3 as a foundation, but there's definitely room for improvement.
|
||||
SuperClaude v4 represents a massive leap forward with intelligent agents and behavioral modes! 🚀
|
||||
|
||||
## Short Term (v3.x) 🔧
|
||||
### ✅ What We've Accomplished
|
||||
- **Agent System** - 13 specialized domain experts replacing the persona system
|
||||
- **Behavioral Modes** - 4 intelligent modes (Brainstorming, Introspection, Task Management, Token Efficiency)
|
||||
- **Hooks System Redesigned** - Completely rebuilt with Python-based integration
|
||||
- **Session Lifecycle** - Cross-session persistence with /sc:load and /sc:save
|
||||
- **SuperClaude-Lite** - Lightweight implementation with YAML configuration
|
||||
- **Expanded Commands** - 21 commands (added brainstorm, reflect, save, select-tool)
|
||||
- **Enhanced MCP** - 6 servers including new Serena and Morphllm
|
||||
- **Quality Gates** - 8-step validation cycle
|
||||
- **Templates System** - Comprehensive templates for framework extension
|
||||
|
||||
Our immediate focus is making v3 stable and polished:
|
||||
### 🚀 What's Working Great
|
||||
- Session persistence across work sessions
|
||||
- Intelligent routing with specialized agents
|
||||
- Token efficiency (30-50% reduction)
|
||||
- Multi-layer task orchestration
|
||||
- Semantic code analysis with Serena
|
||||
|
||||
### Bug Fixes & Stability 🐛
|
||||
- Fix issues reported by early users
|
||||
### ⚠️ Beta Considerations
|
||||
- Some edge cases in session restoration
|
||||
- MCP server coordination still being optimized
|
||||
- Documentation updates in progress
|
||||
- Performance tuning ongoing
|
||||
|
||||
## Short Term (v4.x) 🔧
|
||||
|
||||
Our immediate focus is stabilizing and polishing the V4 Beta:
|
||||
|
||||
### Beta Stabilization 🐛
|
||||
- Fix edge cases in session restoration
|
||||
- Optimize MCP server coordination
|
||||
- Improve error messages and debugging
|
||||
- Better handling of edge cases
|
||||
- More reliable MCP server connections
|
||||
- Better handling of edge cases in agent routing
|
||||
|
||||
### MCP Integration Improvements 🔧
|
||||
- Smoother Context7 documentation lookup
|
||||
- Better Sequential reasoning integration
|
||||
- More reliable Magic UI component generation
|
||||
- Improved Playwright browser automation
|
||||
### Performance Optimization ⚡
|
||||
- Fine-tune MCP server coordination
|
||||
- Optimize session lifecycle operations
|
||||
- Improve token efficiency algorithms
|
||||
- Better resource management during wave orchestration
|
||||
|
||||
### Documentation & Examples 📝
|
||||
- User guides for common workflows
|
||||
- Video tutorials (maybe, if we find time)
|
||||
- Better command documentation
|
||||
- Community cookbook of patterns
|
||||
### Documentation & Polish 📝
|
||||
- Complete documentation updates for V4 features
|
||||
- User guides for new agent system
|
||||
- Examples of behavioral modes in action
|
||||
- Migration guide from V3 to V4
|
||||
|
||||
### Community Feedback 👂
|
||||
- Actually listen to what people are saying
|
||||
- Prioritize features people actually want
|
||||
- Fix the things that are genuinely broken
|
||||
- Be responsive to GitHub issues
|
||||
### Community Integration 👂
|
||||
- Gather feedback on new agent system
|
||||
- Refine behavioral modes based on usage
|
||||
- Prioritize stability fixes over new features
|
||||
- Build confidence in V4 architecture
|
||||
|
||||
## Medium Term (v4.5+) 🚀
|
||||
|
||||
## Medium Term (v4.0) 🚀
|
||||
Building on the solid V4 foundation:
|
||||
|
||||
This is where things get more ambitious:
|
||||
### Advanced Intelligence 🧠
|
||||
- **Enhanced Agent Coordination** - Agents working together more seamlessly
|
||||
- **Predictive Mode Activation** - AI learns when to activate behavioral modes
|
||||
- **Cross-Session Learning** - Agents remember and adapt to user patterns
|
||||
- **Context-Aware Specialization** - Agents become more specialized to user domains
|
||||
|
||||
### Hooks System Return 🔄
|
||||
- **Complete redesign** - Learning from v3's mistakes
|
||||
- **Event-driven architecture** - Properly thought out this time
|
||||
- **Better performance** - Won't slow everything down
|
||||
- **Simpler configuration** - Less complex than the old system
|
||||
### Expanded Ecosystem 📦
|
||||
- **Community Agent Templates** - Framework for custom agent creation
|
||||
- **Third-Party MCP Integration** - Support for community MCP servers
|
||||
- **Plugin Architecture** - Easy extensibility for specialized workflows
|
||||
- **Agent Marketplace** - Discover and share specialized agents
|
||||
|
||||
### MCP Suite Expansion 📦
|
||||
- **More MCP servers** - Additional specialized capabilities
|
||||
- **Better coordination** - Servers working together smoothly
|
||||
- **Community servers** - Framework for others to build on
|
||||
- **Performance optimization** - Faster server communication
|
||||
|
||||
### Enhanced Core Features ⚡
|
||||
- **Better task management** - Cross-session persistence
|
||||
- **Improved token optimization** - More efficient conversations
|
||||
- **Advanced orchestration** - Smarter routing and tool selection
|
||||
### Enterprise Features 🏢
|
||||
- **Team Collaboration** - Shared sessions and agent configurations
|
||||
- **Organization Templates** - Company-specific agent and mode configurations
|
||||
- **Advanced Analytics** - Deep insights into development patterns
|
||||
- **Security & Compliance** - Enterprise-grade security features
|
||||
|
||||
### Quality & Performance 🎯
|
||||
- **Comprehensive testing** - Actually test things properly
|
||||
- **Performance monitoring** - Know when things are slow
|
||||
- **Better error recovery** - Graceful failure handling
|
||||
- **Memory optimization** - Use resources more efficiently
|
||||
- **Comprehensive Testing** - Full test suite for all V4 features
|
||||
- **Performance Monitoring** - Real-time performance analytics
|
||||
- **Advanced Error Recovery** - Self-healing session management
|
||||
- **Resource Optimization** - Minimal overhead for maximum capability
|
||||
|
||||
*Timeline: Realistically targeting 2025, but could slip if v3 needs more work.*
|
||||
*Timeline: Mid to late 2025, building on V4 stability.*
|
||||
|
||||
## Long Term Vision (v5.0+) 🔮
|
||||
|
||||
These are bigger ideas that might happen if everything goes well:
|
||||
Big ideas for the future, building on V4's intelligent foundation:
|
||||
|
||||
### Multi-CLI Compatibility 🌐
|
||||
- **OpenClode CLI** - Port SuperClaude to a more universal CLI
|
||||
- **Beyond Claude Code** - Work with other AI coding assistants
|
||||
- **Universal framework** - Common enhancement layer
|
||||
- **Tool agnostic** - Core concepts portable across platforms
|
||||
- **Ecosystem approach** - Not tied to single vendor
|
||||
### Universal AI Enhancement Platform 🌐
|
||||
- **Multi-CLI Compatibility** - Port SuperClaude agents to other AI coding assistants
|
||||
- **Universal Agent Framework** - Agent system works across different AI platforms
|
||||
- **Cross-Platform Intelligence** - Behavioral modes portable between different tools
|
||||
- **Ecosystem Approach** - Not tied to single AI vendor or platform
|
||||
|
||||
### Framework Evolution 🏷️
|
||||
- **SuperClaude rename** - Better reflects broader vision
|
||||
- **Open source ecosystem** - Community-driven development
|
||||
- **Plugin architecture** - Easy extensibility for developers
|
||||
- **Cross-platform support** - Windows, macOS, Linux equally supported
|
||||
### AI-Native Development Environment 🤖
|
||||
- **Ambient Intelligence** - AI assistance that feels natural and unobtrusive
|
||||
- **Predictive Workflows** - System anticipates needs based on context and history
|
||||
- **Self-Improving Agents** - Agents that learn and adapt to specific codebases
|
||||
- **Collaborative AI Teams** - Multiple AI agents working together on complex projects
|
||||
|
||||
### Advanced Intelligence 🧠
|
||||
- **Learning capabilities** - Adapt to user patterns over time
|
||||
- **Predictive assistance** - Anticipate what you need
|
||||
- **Context persistence** - Remember across long projects
|
||||
- **Collaborative features** - Team workflows and shared knowledge
|
||||
### Next-Generation Features 🚀
|
||||
- **Visual Development Interface** - GUI that complements the CLI experience
|
||||
- **Advanced Context Synthesis** - AI understanding that spans entire codebases
|
||||
- **Autonomous Code Evolution** - AI-driven refactoring and architecture improvements
|
||||
- **Integration Ecosystem** - Deep integration with IDEs, version control, and deployment
|
||||
|
||||
*Timeline: This is pretty speculative. We'll see how v4 goes first.*
|
||||
### Enterprise & Research Applications 🏢
|
||||
- **AI Development Standards** - Industry-standard patterns for AI-assisted development
|
||||
- **Research Platform** - Framework for studying AI-human collaboration
|
||||
- **Open Source Foundation** - Community-driven evolution of AI development tools
|
||||
- **Educational Integration** - Teaching next-generation developers with AI assistance
|
||||
|
||||
*Timeline: 2026 and beyond - depends on how AI development evolves and V4 success.*
|
||||
|
||||
## How You Can Help 🤝
|
||||
|
||||
@@ -155,12 +183,14 @@ We'll update this roadmap roughly every few months based on:
|
||||
|
||||
## Final Thoughts 💭
|
||||
|
||||
SuperClaude started as a way to make Claude Code more useful for developers. We think we're on the right track with v3, but we're definitely not done yet.
|
||||
SuperClaude started as a way to make Claude Code more useful for developers. With V4 Beta, we feel we've achieved something special - intelligent agents that truly understand development contexts and behavioral modes that adapt to how you work.
|
||||
|
||||
The most important thing is building something that actually helps people get their work done better. If you're using SuperClaude and it's making your development workflow smoother, that's awesome. If it's not, please tell us why.
|
||||
The agent system and session persistence represent a fundamental shift in how AI can assist development. We're excited about what V4 enables, but we know there's still work to do to make it rock-solid.
|
||||
|
||||
We're in this for the long haul, but we want to make sure we're building the right things. Your feedback is crucial for keeping us pointed in the right direction.
|
||||
The most important thing is building something that actually helps people get their work done better. If you're using SuperClaude V4 and the intelligent agents are making your development workflow smoother, that's awesome. If you're hitting beta issues or the new features aren't clicking, please tell us why.
|
||||
|
||||
Thanks for being part of this journey! 🙏
|
||||
We're in this for the long haul, and V4 represents our vision of what AI-assisted development can become. Your feedback is crucial for making that vision a reality.
|
||||
|
||||
Thanks for being part of this journey and helping us test the future of AI development tools! 🙏
|
||||
|
||||
---
|
||||
22
SECURITY.md
22
SECURITY.md
@@ -49,13 +49,23 @@ When reporting a vulnerability, please provide:
|
||||
- Configuration issues with security implications
|
||||
- Dependency vulnerabilities with low exploitability
|
||||
|
||||
## 🔐 Supported Versions
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 4.0.0-beta.x | ✅ Active Development |
|
||||
| 3.0.x | ⚠️ Security fixes only |
|
||||
| < 3.0 | ❌ End of life |
|
||||
|
||||
## 🛡️ Security Features
|
||||
|
||||
### Hook Execution Security
|
||||
- **Timeout protection**: All hooks have configurable timeouts
|
||||
### Hook Execution Security (V4 Enhanced)
|
||||
- **Timeout protection**: All hooks have configurable timeouts (default 30s)
|
||||
- **Input validation**: JSON schema validation for all hook inputs
|
||||
- **Sandboxed execution**: Hooks run with limited system permissions
|
||||
- **Error containment**: Hook failures don't affect framework stability
|
||||
- **Performance monitoring**: Real-time hook execution tracking
|
||||
- **Session lifecycle integration**: Secure checkpoint and recovery
|
||||
|
||||
### File System Protection
|
||||
- **Path validation**: Prevents directory traversal attacks
|
||||
@@ -63,11 +73,13 @@ When reporting a vulnerability, please provide:
|
||||
- **Secure defaults**: Conservative file access patterns
|
||||
- **Backup mechanisms**: Safe fallback when operations fail
|
||||
|
||||
### MCP Server Security
|
||||
### MCP Server Security (6 Servers in V4)
|
||||
- **Server validation**: Verify MCP server authenticity and integrity
|
||||
- **Communication encryption**: Secure channels for all MCP communication
|
||||
- **Timeout handling**: Prevent resource exhaustion from unresponsive servers
|
||||
- **Fallback mechanisms**: Graceful degradation when servers are compromised
|
||||
- **Serena MCP**: Secure memory management with access controls
|
||||
- **Morphllm MCP**: Validated file editing with permission checks
|
||||
|
||||
### Configuration Security
|
||||
- **Input sanitization**: All configuration inputs are validated and sanitized
|
||||
@@ -194,7 +206,7 @@ For general security questions (not vulnerabilities):
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: July 2025
|
||||
**Next Review**: October 2025
|
||||
**Last Updated**: February 2025 (V4 Beta)
|
||||
**Next Review**: May 2025
|
||||
|
||||
Thank you for helping keep SuperClaude Framework secure! 🙏
|
||||
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
||||
[project]
|
||||
name = "SuperClaude"
|
||||
dynamic = ["version"]
|
||||
description = "SuperClaude Framework Management Hub"
|
||||
description = "SuperClaude V4 Beta - Advanced orchestration framework for Claude Code with 21 commands, 13 agents, and 6 MCP servers"
|
||||
readme = "README.md"
|
||||
license = {text = "MIT"}
|
||||
authors = [
|
||||
@@ -30,12 +30,13 @@ classifiers = [
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/NomenAK/SuperClaude"
|
||||
Repository = "https://github.com/NomenAK/SuperClaude"
|
||||
"Bug Tracker" = "https://github.com/NomenAK/SuperClaude/issues"
|
||||
"GitHub" = "https://github.com/NomenAK/SuperClaude"
|
||||
Homepage = "https://github.com/SuperClaude-Org/SuperClaude_Framework"
|
||||
Repository = "https://github.com/SuperClaude-Org/SuperClaude_Framework"
|
||||
"Bug Tracker" = "https://github.com/SuperClaude-Org/SuperClaude_Framework/issues"
|
||||
"GitHub" = "https://github.com/SuperClaude-Org/SuperClaude_Framework"
|
||||
"Mithun Gowda B" = "https://github.com/mithun50"
|
||||
"NomenAK" = "https://github.com/NomenAK"
|
||||
"Anton Nesterov" = "https://github.com/anton-nesterov"
|
||||
|
||||
[project.scripts]
|
||||
SuperClaude = "SuperClaude.__main__:main"
|
||||
|
||||
Reference in New Issue
Block a user