2025-08-18 11:58:55 +02:00
# SuperClaude Advanced Workflows Collection
2025-08-21 19:03:25 +02:00
**Status**: ✅ **Status: Current** - Complex command sequences and context combinations for sophisticated projects.
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
**Advanced Usage Guide**: Patterns for complex projects using multiple commands, agents, and careful context management within Claude Code conversations.
2025-08-18 11:58:55 +02:00
## Overview and Usage Guide
2025-08-21 19:03:25 +02:00
**Purpose**: Advanced SuperClaude patterns for complex, multi-step projects that require careful sequencing of commands and context management.
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
**Important**: These are conversation patterns, not executing workflows. All work happens within Claude Code based on context provided.
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
**Key Concepts**:
- Command sequences within a conversation
- Context layering through multiple agents
- Progressive refinement approaches
- Project phase management (manual, not automated)
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
## Multi-Context Project Patterns
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Full-Stack Development Sequence
2025-08-18 11:58:55 +02:00
```bash
2025-08-21 19:03:25 +02:00
# E-commerce platform using multiple contexts
# Step 1: Architecture context
2025-08-21 19:05:51 +02:00
@agent -system-architect "design e-commerce architecture"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 2: Security requirements
2025-08-21 19:05:51 +02:00
@agent -security "define security requirements for payments"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 3: Backend implementation
/sc:implement "API with authentication and payment processing"
# Claude uses accumulated context from previous steps
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 4: Frontend implementation
2025-08-21 19:05:51 +02:00
@agent -frontend-architect "design responsive UI"
2025-08-21 19:03:25 +02:00
/sc:implement "React frontend with TypeScript"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 5: Review
/sc:analyze . --focus quality
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Note: Each step builds context within the conversation
# No actual coordination or parallel execution occurs
```
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Problem-Solving Workflow
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
```bash
# Complex troubleshooting approach
# Step 1: Problem understanding
/sc:troubleshoot "application performance issues"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 2: Expert analysis
2025-08-21 19:05:51 +02:00
@agent -performance-engineer "analyze potential bottlenecks"
@agent -backend-architect "review architecture for issues"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 3: Solution design
/sc:design "performance improvement plan"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Step 4: Implementation
/sc:implement "performance optimizations"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Context accumulates but doesn't execute
```
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
## Complex Project Phases
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Project Initialization Pattern
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
```bash
# Starting a new project
# Discovery phase
/sc:brainstorm "project concept"
# Claude explores requirements
# Planning phase
/sc:design "system architecture"
2025-08-21 19:05:51 +02:00
@agent -system-architect "review and refine"
2025-08-21 19:03:25 +02:00
# Documentation
/sc:document --type architecture
/sc:save "project-plan"
# Creates summary for your records (not persistent storage)
2025-08-18 11:58:55 +02:00
```
2025-08-21 19:03:25 +02:00
### Incremental Development Pattern
2025-08-18 11:58:55 +02:00
```bash
2025-08-21 19:03:25 +02:00
# Building features incrementally
# Feature 1: Authentication
/sc:implement "user authentication"
/sc:test --focus security
/sc:document --type api
# Feature 2: User Profiles (builds on auth context)
/sc:implement "user profile management"
/sc:test --focus functionality
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Feature 3: Admin Dashboard (uses previous context)
/sc:implement "admin dashboard"
2025-08-21 19:05:51 +02:00
@agent -frontend-architect "ensure consistency"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Each feature builds on conversation context
```
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Migration Project Pattern
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
```bash
# Legacy system migration
# Phase 1: Analysis
/sc:load legacy-system/
/sc:analyze . --focus architecture --verbose
# Claude builds understanding
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Phase 2: Planning
2025-08-21 19:05:51 +02:00
@agent -system-architect "design migration strategy"
2025-08-21 19:03:25 +02:00
/sc:workflow "create migration plan"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Phase 3: Implementation
/sc:implement "compatibility layer"
/sc:implement "new system components"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Phase 4: Validation
/sc:test --focus compatibility
/sc:document --type migration
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Manual phases, not automated workflow
```
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
## Enterprise-Scale Patterns
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Large Codebase Analysis
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
```bash
# Systematic analysis of large projects
# Overview
/sc:analyze . --quick
# Get high-level understanding
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Focused analysis by module
/sc:analyze auth-module/ --focus security
/sc:analyze api-module/ --focus quality
/sc:analyze frontend/ --focus performance
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Synthesis
2025-08-21 19:05:51 +02:00
@agent -system-architect "synthesize findings"
2025-08-21 19:03:25 +02:00
/sc:workflow "improvement recommendations"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Note: Sequential analysis, not parallel
2025-08-18 11:58:55 +02:00
```
2025-08-21 19:03:25 +02:00
### Multi-Technology Projects
2025-08-18 11:58:55 +02:00
```bash
2025-08-21 19:03:25 +02:00
# Projects with diverse tech stacks
# Backend (Python)
2025-08-21 19:05:51 +02:00
@agent -python-expert "implement FastAPI backend"
2025-08-21 19:03:25 +02:00
/sc:implement "Python API with async support"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Frontend (React)
2025-08-21 19:05:51 +02:00
@agent -frontend-architect "implement React frontend"
2025-08-21 19:03:25 +02:00
/sc:implement "TypeScript React application"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Mobile (React Native)
/sc:implement "React Native mobile app"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Infrastructure
2025-08-21 19:05:51 +02:00
@agent -devops-architect "design deployment"
2025-08-21 19:03:25 +02:00
/sc:implement "Docker configuration"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Each technology addressed sequentially
2025-08-18 11:58:55 +02:00
```
2025-08-21 19:03:25 +02:00
## Quality Assurance Workflows
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Comprehensive Review Pattern
2025-08-18 11:58:55 +02:00
```bash
2025-08-21 19:03:25 +02:00
# Multi-aspect code review
# Quality review
/sc:analyze . --focus quality
2025-08-21 19:05:51 +02:00
@agent -quality-engineer "identify improvements"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Security review
/sc:analyze . --focus security
2025-08-21 19:05:51 +02:00
@agent -security "check for vulnerabilities"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Architecture review
2025-08-21 19:05:51 +02:00
@agent -system-architect "evaluate design"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Performance review
2025-08-21 19:05:51 +02:00
@agent -performance-engineer "suggest optimizations"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Consolidated improvements
/sc:improve . --fix
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Sequential reviews, not parallel analysis
2025-08-18 11:58:55 +02:00
```
2025-08-21 19:03:25 +02:00
### Testing Strategy Pattern
2025-08-18 11:58:55 +02:00
```bash
2025-08-21 19:03:25 +02:00
# Comprehensive testing approach
# Test planning
/sc:design "testing strategy"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Unit tests
/sc:test --type unit
# Claude generates unit test code
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Integration tests
/sc:test --type integration
# Claude generates integration test code
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# E2E tests
/sc:test --type e2e
# Claude suggests E2E test scenarios
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Documentation
/sc:document --type testing
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Test code generation, not execution
```
## Session Management Patterns
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Long Project Sessions
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
```bash
# Managing context in long conversations
# Start with context
/sc:load project/
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Work progressively
/sc:implement "feature A"
/sc:implement "feature B"
# Context accumulates
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Create checkpoint
/sc:save "session-checkpoint"
# Creates summary for your notes
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Continue work
/sc:implement "feature C"
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
# Final summary
/sc:reflect
# Reviews conversation progress
2025-08-18 11:58:55 +02:00
```
2025-08-21 19:03:25 +02:00
### Context Refresh Pattern
2025-08-18 11:58:55 +02:00
```bash
2025-08-21 19:03:25 +02:00
# When conversation gets too long
# Save current state
/sc:save "work-complete"
# Copy output for next conversation
# In new conversation:
/sc:load project/
"Previous work: [paste summary]"
# Manually restore context
# Continue work
/sc:implement "next feature"
2025-08-18 11:58:55 +02:00
```
2025-08-21 19:03:25 +02:00
## Important Clarifications
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### What These Workflows ARE
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
- ✅ **Conversation Patterns** : Sequences within a single Claude conversation
- ✅ **Context Building** : Progressive accumulation of understanding
- ✅ **Command Sequences** : Ordered use of commands for better results
- ✅ **Manual Phases** : User-controlled project progression
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### What These Workflows ARE NOT
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
- ❌ **Automated Workflows** : No automatic execution or orchestration
- ❌ **Parallel Processing** : Everything is sequential
- ❌ **Persistent Sessions** : Context lost between conversations
- ❌ **Performance Optimization** : No code executes to optimize
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
## Best Practices
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Conversation Management
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
1. **Keep Related Work Together** : Don't split related tasks across conversations
2. **Build Context Progressively** : Start broad, then focus
3. **Document Key Decisions** : Use `/sc:save` for important points
4. **Manage Conversation Length** : Start new conversation if too long
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Command Sequencing
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
1. **Logical Order** : Analysis → Design → Implementation → Testing
2. **Context Accumulation** : Later commands benefit from earlier context
3. **Appropriate Depth** : Match analysis depth to task complexity
4. **Clear Scope** : Focus commands on specific areas
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
### Agent Usage
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
1. **Strategic Activation** : Use agents for specific expertise
2. **Avoid Overload** : Too many agents can dilute focus
2025-08-21 19:05:51 +02:00
3. **Manual Control** : Use `@agent-` for precise control
2025-08-21 19:03:25 +02:00
4. **Context Layering** : Add agents in logical order
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
## Summary
2025-08-18 11:58:55 +02:00
2025-08-21 19:03:25 +02:00
Advanced workflows in SuperClaude are sophisticated conversation patterns that build context progressively within a single Claude Code session. They help generate better outputs through careful command sequencing and context management, but do not involve any actual workflow execution, parallel processing, or automation. Success comes from understanding how to layer context effectively within Claude's conversation scope.