Migrate PERSONAS to flag system for Claude Code compliance

- Add persona flags (--persona-<name>) to flag-inheritance.yml
- Create persona-patterns.yml with behavioral profiles and MCP preferences
- Update command-patterns.yml to reference persona patterns
- Integrate persona flags with MCP decision matrix
- Remove backward compatibility for /persona:<name> syntax
- Update all documentation and examples to use flag syntax

This migration ensures SuperClaude remains compliant with Claude Code's
flag-based architecture while enhancing persona functionality through
standard flag combinations (e.g., --persona-architect --ultrathink).

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
NomenAK
2025-06-24 22:15:30 +02:00
parent ff61676f74
commit d8727a6a07
8 changed files with 315 additions and 21 deletions

View File

@@ -47,13 +47,13 @@ Git-integrated checkpoint system lets you jump back to any point in your convers
Your docs write themselves using our token-optimized templates. Project docs go in `/docs`, while Claude's working notes live in `/.claudedocs`. Everything stays organized, nothing gets lost.
### 🎭 **9 Instant Personas**
Switch Claude's entire mindset with one command:
Switch Claude's entire mindset with persona flags:
```bash
/persona:architect # Big-picture system design mode
/persona:frontend # Pixel-perfect UI obsession mode
/persona:security # Paranoid threat-modeling mode
/persona:analyzer # Sherlock Holmes debugging mode
/analyze --persona-architect # Big-picture system design mode
/build --persona-frontend # Pixel-perfect UI obsession mode
/scan --persona-security # Paranoid threat-modeling mode
/troubleshoot --persona-analyzer # Sherlock Holmes debugging mode
```
Each persona thinks differently, asks different questions, and solves problems their own way.
@@ -82,25 +82,25 @@ Our UltraCompressed mode strips unnecessary tokens without losing clarity. Plus,
### The "New Project" Flow
```bash
/persona:architect
--persona-architect
/design --api --ddd # Domain-driven design from the start
/estimate --detailed # Know what you're getting into
/persona:backend
--persona-backend
/build --api --tdd # Build it right the first time
```
### The "Something's Broken" Flow
```bash
/persona:analyzer
--persona-analyzer
/troubleshoot --investigate --prod
/analyze --profile # Find the real bottleneck
/persona:performance
--persona-performance
/improve --performance --threshold high
```
### The "Make It Pretty" Flow
```bash
/persona:frontend
--persona-frontend
/build --react --magic # AI-generated components
/test --e2e --pup # See it work in a real browser
/improve --quality # Polish until it shines
@@ -227,7 +227,7 @@ Skip if you:
2. **Test Drive**
```bash
/analyze --code # See what it finds
/persona:architect # Try a new mindset
--persona-architect # Try a new mindset
```
3. **Go Deeper**