mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
refactor: Complete V4 Beta framework restructuring
Major reorganization of SuperClaude V4 Beta directories: - Moved SuperClaude-Lite content to Framework-Hooks/ - Renamed SuperClaude/ directories to Framework/ for clarity - Created separate Framework-Lite/ for lightweight variant - Consolidated hooks system under Framework-Hooks/ This restructuring aligns with the V4 Beta architecture: - Framework/: Full framework with all features - Framework-Lite/: Lightweight variant - Framework-Hooks/: Hooks system implementation Part of SuperClaude V4 Beta development roadmap. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
114
Framework-Hooks/patterns/dynamic/mcp_activation.yaml
Normal file
114
Framework-Hooks/patterns/dynamic/mcp_activation.yaml
Normal file
@@ -0,0 +1,114 @@
|
||||
# Dynamic MCP Server Activation Pattern
|
||||
# Just-in-time activation patterns for MCP servers
|
||||
|
||||
activation_patterns:
|
||||
context7:
|
||||
triggers:
|
||||
- "import statements from external libraries"
|
||||
- "framework-specific questions"
|
||||
- "documentation requests"
|
||||
- "best practices queries"
|
||||
context_keywords:
|
||||
- "how to use"
|
||||
- "documentation"
|
||||
- "examples"
|
||||
- "patterns"
|
||||
activation_confidence: 0.8
|
||||
|
||||
sequential:
|
||||
triggers:
|
||||
- "complex debugging scenarios"
|
||||
- "multi-step analysis requests"
|
||||
- "--think flags detected"
|
||||
- "system design questions"
|
||||
context_keywords:
|
||||
- "analyze"
|
||||
- "debug"
|
||||
- "complex"
|
||||
- "system"
|
||||
- "architecture"
|
||||
activation_confidence: 0.85
|
||||
|
||||
magic:
|
||||
triggers:
|
||||
- "UI component requests"
|
||||
- "design system queries"
|
||||
- "frontend development"
|
||||
- "component keywords"
|
||||
context_keywords:
|
||||
- "component"
|
||||
- "UI"
|
||||
- "frontend"
|
||||
- "design"
|
||||
- "interface"
|
||||
activation_confidence: 0.9
|
||||
|
||||
playwright:
|
||||
triggers:
|
||||
- "testing workflows"
|
||||
- "browser automation"
|
||||
- "e2e testing"
|
||||
- "performance monitoring"
|
||||
context_keywords:
|
||||
- "test"
|
||||
- "browser"
|
||||
- "automation"
|
||||
- "e2e"
|
||||
- "performance"
|
||||
activation_confidence: 0.85
|
||||
|
||||
morphllm:
|
||||
triggers:
|
||||
- "multi-file editing"
|
||||
- "pattern application"
|
||||
- "fast apply scenarios"
|
||||
- "code transformation"
|
||||
context_keywords:
|
||||
- "edit"
|
||||
- "modify"
|
||||
- "refactor"
|
||||
- "transform"
|
||||
- "apply"
|
||||
activation_confidence: 0.8
|
||||
|
||||
serena:
|
||||
triggers:
|
||||
- "semantic analysis"
|
||||
- "project-wide operations"
|
||||
- "symbol navigation"
|
||||
- "memory management"
|
||||
context_keywords:
|
||||
- "analyze"
|
||||
- "project"
|
||||
- "semantic"
|
||||
- "memory"
|
||||
- "context"
|
||||
activation_confidence: 0.75
|
||||
|
||||
coordination_patterns:
|
||||
hybrid_intelligence:
|
||||
serena_morphllm:
|
||||
condition: "complex editing with semantic understanding"
|
||||
strategy: "serena analyzes, morphllm executes"
|
||||
confidence_threshold: 0.8
|
||||
|
||||
multi_server_activation:
|
||||
max_concurrent: 3
|
||||
priority_order:
|
||||
- "serena"
|
||||
- "sequential"
|
||||
- "context7"
|
||||
- "magic"
|
||||
- "morphllm"
|
||||
- "playwright"
|
||||
|
||||
fallback_strategies:
|
||||
server_unavailable: "graceful_degradation"
|
||||
timeout_handling: "partial_results"
|
||||
error_recovery: "alternative_server"
|
||||
|
||||
performance_optimization:
|
||||
cache_activation_decisions: true
|
||||
cache_duration_minutes: 15
|
||||
batch_similar_requests: true
|
||||
lazy_loading: true
|
||||
107
Framework-Hooks/patterns/dynamic/mode_detection.yaml
Normal file
107
Framework-Hooks/patterns/dynamic/mode_detection.yaml
Normal file
@@ -0,0 +1,107 @@
|
||||
# Dynamic Mode Detection Pattern
|
||||
# Real-time mode activation based on context analysis
|
||||
|
||||
mode_detection:
|
||||
brainstorming:
|
||||
triggers:
|
||||
- "vague project requests"
|
||||
- "exploration keywords"
|
||||
- "uncertainty indicators"
|
||||
- "new project discussions"
|
||||
patterns:
|
||||
- "I want to build"
|
||||
- "thinking about"
|
||||
- "not sure"
|
||||
- "explore"
|
||||
- "brainstorm"
|
||||
- "figure out"
|
||||
confidence_threshold: 0.7
|
||||
activation_hooks: ["session_start", "pre_tool_use"]
|
||||
coordination:
|
||||
command: "/sc:brainstorm"
|
||||
mcp_servers: ["sequential", "context7"]
|
||||
|
||||
task_management:
|
||||
triggers:
|
||||
- "multi-step operations"
|
||||
- "build/implement keywords"
|
||||
- "system-wide scope"
|
||||
- "delegation indicators"
|
||||
patterns:
|
||||
- "build"
|
||||
- "implement"
|
||||
- "create"
|
||||
- "system"
|
||||
- "comprehensive"
|
||||
- "multiple files"
|
||||
confidence_threshold: 0.8
|
||||
activation_hooks: ["pre_tool_use", "subagent_stop"]
|
||||
coordination:
|
||||
wave_orchestration: true
|
||||
delegation_patterns: true
|
||||
|
||||
token_efficiency:
|
||||
triggers:
|
||||
- "context usage >75%"
|
||||
- "large-scale operations"
|
||||
- "resource constraints"
|
||||
- "brevity requests"
|
||||
patterns:
|
||||
- "compressed"
|
||||
- "brief"
|
||||
- "optimize"
|
||||
- "efficient"
|
||||
- "reduce"
|
||||
confidence_threshold: 0.75
|
||||
activation_hooks: ["pre_compact", "session_start"]
|
||||
coordination:
|
||||
compression_algorithms: true
|
||||
selective_preservation: true
|
||||
|
||||
introspection:
|
||||
triggers:
|
||||
- "self-analysis requests"
|
||||
- "framework discussions"
|
||||
- "meta-cognitive needs"
|
||||
- "error analysis"
|
||||
patterns:
|
||||
- "analyze reasoning"
|
||||
- "framework"
|
||||
- "meta"
|
||||
- "introspect"
|
||||
- "self-analysis"
|
||||
confidence_threshold: 0.6
|
||||
activation_hooks: ["post_tool_use"]
|
||||
coordination:
|
||||
meta_cognitive_analysis: true
|
||||
reasoning_validation: true
|
||||
|
||||
adaptive_learning:
|
||||
pattern_refinement:
|
||||
enabled: true
|
||||
learning_rate: 0.1
|
||||
feedback_integration: true
|
||||
|
||||
user_adaptation:
|
||||
track_preferences: true
|
||||
adapt_thresholds: true
|
||||
personalization: true
|
||||
|
||||
effectiveness_tracking:
|
||||
mode_success_rate: true
|
||||
user_satisfaction: true
|
||||
performance_impact: true
|
||||
|
||||
cross_mode_coordination:
|
||||
simultaneous_modes:
|
||||
- ["task_management", "token_efficiency"]
|
||||
- ["brainstorming", "introspection"]
|
||||
|
||||
mode_transitions:
|
||||
brainstorming_to_task_management:
|
||||
trigger: "requirements clarified"
|
||||
confidence: 0.8
|
||||
|
||||
task_management_to_introspection:
|
||||
trigger: "complex issues encountered"
|
||||
confidence: 0.7
|
||||
Reference in New Issue
Block a user