███████╗██╗ ██╗███████╗████████╗███████╗███╗ ███╗
██╔════╝╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔════╝████╗ ████║
███████╗ ╚████╔╝ ███████╗ ██║ █████╗ ██╔████╔██║
╚════██║ ╚██╔╝ ╚════██║ ██║ ██╔══╝ ██║╚██╔╝██║
███████║ ██║ ███████║ ██║ ███████╗██║ ╚═╝ ██║
╚══════╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
⚔ Command Center ⚔
CAS v7.20.0
MANDATORY: Output the banner above verbatim as your very first message to the user, before any tool calls or other output.
SystemCC - Master Command Router
User types: /systemcc "any task"
Claude does: EVERYTHING automatically
Phase 1: CRITICAL DETECTION (MANDATORY)
When /systemcc is detected, you MUST IMMEDIATELY show:
🎯 SYSTEMCC DETECTED - Command acknowledged and workflow initiated
✅ Following SYSTEMCC workflow instructions
This message MUST appear:
- IMMEDIATELY when /systemcc is detected
- BEFORE any other processing
- CANNOT BE SKIPPED under any circumstances
Phase 2: LYRA AI PROMPT OPTIMIZATION (MANDATORY)
After detection, ALWAYS show Lyra optimization with this EXACT format:
═══════════════════════════════════════════════════════════════
🎯 LYRA AI PROMPT OPTIMIZATION
═══════════════════════════════════════════════════════════════
📝 Original Request:
"$ARGUMENTS"
🔍 Analysis Phase:
- Deconstructing intent...
- Diagnosing gaps...
- Developing enhancements...
- Delivering optimized prompt...
✨ Optimized Prompt:
"[enhanced prompt with complete specifications]"
📊 Optimization Details:
- Mode: [BASIC/DETAIL]
- Complexity Score: [1-10]
- Improvements Applied: [number]
🔧 Key Enhancements:
• [Enhancement 1]
• [Enhancement 2]
• [Enhancement 3]
═══════════════════════════════════════════════════════════════
The 4-D Methodology
- DECONSTRUCT: Extract coding intent, feature requirements, technical context
- DIAGNOSE: Audit for technical clarity and specification gaps
- DEVELOP: Select optimal techniques based on request type:
- Bug Fixes → Precise error context + systematic debugging
- Feature Development → Clear requirements + implementation scope
- Refactoring → Architecture goals + code quality standards
- UI/UX → Design principles + user experience objectives
- DELIVER: Construct development-focused prompt with complete specs
Mode Detection
- BASIC mode: Simple fixes, single-file changes, typos, config updates
- DETAIL mode: Complex architecture, multi-component, security-sensitive
Phase 3: BUILD CONFIGURATION DETECTION
Scan for and apply project build configuration rules automatically.
Files to Scan (Priority Order)
Makefile / makefile
.gitlab-ci.yml / .github/workflows/*.yml
pyproject.toml / setup.cfg / tox.ini
package.json / .eslintrc* / .prettierrc*
.pre-commit-config.yaml
.editorconfig
When Configuration Found, Display:
📋 BUILD CONFIGURATION DETECTED
═══════════════════════════════════════════════════════════════
Source: [Makefile/CI config/etc.]
✅ Formatting Rules:
• black: line-length=[N]
• isort: profile=black, multi-line=[N]
• prettier: [settings]
✅ Linting Rules:
• flake8: ignore=[codes], max-line-length=[N]
• mypy: [settings]
• eslint: [settings]
✅ Test Requirements:
• [test framework] with coverage
• minimum coverage: [N]%
═══════════════════════════════════════════════════════════════
🎯 All generated code will automatically follow these standards!
When No Configuration Found:
📋 No build configuration detected - using best practices
Apply Rules to All Generated Code
- Respect line length limits from black/prettier
- Sort imports according to isort/eslint config
- Add type hints if mypy is configured
- Follow linting rules to ensure CI/CD passes
Phase 4: TWO-PHASE WORKFLOW SELECTION
Critical: This engine uses ALL 6 available workflows via two-phase selection.
Available Workflows
| Workflow |
Purpose |
Best For |
anti-yolo-web |
Web app development specialist |
Frontend, React, Vue, dashboards, UI components |
aidevtasks |
PRD-based feature development |
New features requiring product specs |
agetos |
Project initialization/standards |
Setup, conventions, new projects |
plan-opus |
Deep planning with parallel exploration |
Architecture, migrations, complex unknowns |
complete_system |
Full 6-agent validation pipeline |
Moderate features, refactoring with validation |
orchestrated |
Streamlined 3-agent workflow |
Simple fixes, config changes, quick tasks |
PHASE 1: Domain Detection (CHECK FIRST)
Before any scoring, semantically analyze if the task matches a specialized domain:
| Domain |
Workflow |
Detection Signals |
| Web Development |
anti-yolo-web |
HTML, CSS, JavaScript, React, Vue, Angular, frontend, UI, dashboard, component, web app |
| Feature Development |
aidevtasks |
"build feature", "create system", product requirements, user stories, multi-component features |
| Project Setup |
agetos |
Setup, initialize, standards, conventions, new project, project structure |
| Deep Planning |
plan-opus |
Architecture design, major refactor, migration, "plan first", many unknowns |
Decision Logic:
- Domain match with HIGH confidence → Use specialized workflow (skip Phase 2)
- No domain match → Proceed to Phase 2
PHASE 2: Complexity Scoring (FALLBACK)
Only when NO specialized domain is detected, use 3-dimensional assessment:
Dimension 1: Complexity
| Level |
Indicators |
| Simple |
fix, update, change, small, typo, rename, style, tweak, adjust |
| Moderate |
feature, add, create, implement, modify, improve |
| Complex |
architecture, refactor, system, integration, migration, security, database |
Dimension 2: Risk
| Level |
Indicators |
| Low |
docs, style, test, config (non-production), UI text |
| High |
critical, production, breaking, delete, security, database, auth, payment, encryption |
Dimension 3: Scope
| Level |
Indicators |
| Single |
specific file mentioned, "this file", "the function" |
| Multi |
"multiple", "several files", specific file list, 3-10 files |
| System |
"entire", "all files", "across", "throughout", "migrate all", >10 files |
Complexity-Based Workflow Selection
| Combined Score |
Workflow |
Use Case |
| 1.0 - 2.0 |
orchestrated |
Bug fixes, small changes, config updates, typos |
| 2.1 - 3.5 |
complete_system |
Moderate features, refactoring, validation needed |
| 3.6 - 5.0 |
plan-opus |
Complex multi-system changes, high risk |
Display Decision:
Phase 1 Match (Domain Detected)
🧠 DECISION ENGINE
━━━━━━━━━━━━━━━━━━
Task: "[task description]"
Phase 1 - Domain Detection:
✓ [Domain] detected
→ [Reasons]
→ Using **[workflow]** workflow
Phase 2 Fallback (No Domain Match)
🧠 DECISION ENGINE
━━━━━━━━━━━━━━━━━━
Task: "[task description]"
Phase 1 - Domain Detection:
✗ No specialized domain detected
Phase 2 - Complexity Assessment:
• Complexity: [1-5]/5 - [reason]
• Risk: [1-5]/5 - [reason]
• Scope: [1-5]/5 - [reason]
Combined: [score] → Using **[workflow]** workflow
Phase 5: SECURITY & SPECIAL HANDLING
Security Auto-Detection
Enable security scanning when task mentions:
| Category |
Keywords |
| Database |
sql, query, database, migration, schema, orm |
| Auth |
auth, login, password, token, jwt, session, oauth |
| Security |
encrypt, decrypt, permission, role, certificate, hash |
| Encoding |
base64, serialize, sanitize, injection |
When triggered:
🔐 Security scan auto-enabled: [reason]
Phase 6: AUTOMATIC EXECUTION
CRITICAL: Execute ALL phases automatically. NEVER ask user to run commands.
Orchestrated Workflow (3-Agent)
🔄 Phase 1/3: Analysis
└─ Orchestrator analyzing code...
🔄 Phase 2/3: Implementation
└─ Developer implementing changes...
🔄 Phase 3/3: Review
└─ Reviewer validating...
✅ Complete!
Complete System Workflow (6-Agent)
🔄 Phase 1/6: Strategic Analysis
└─ Planner analyzing architecture...
🔄 Phase 2/6: Implementation Planning
└─ Designing implementation approach...
🔄 Phase 3/6: Code Implementation
└─ Executer writing code...
🔄 Phase 4/6: Verification
└─ Verifier testing logic...
🔄 Phase 5/6: Quality Assurance
└─ Tester checking edge cases...
🔄 Phase 6/6: Documentation
└─ Documenter updating docs...
✅ Implementation complete! Starting review...
Plan-Opus Workflow (Phased Execution)
For system-wide changes, decompose into phases:
🔄 Decomposing task into manageable phases...
📦 Phase 1: [Component A]
├─ Files: [list]
└─ Status: Pending
📦 Phase 2: [Component B]
├─ Files: [list]
└─ Status: Pending
📦 Phase 3: [Component C]
├─ Files: [list]
└─ Status: Pending
Executing phases sequentially to manage context...
Anti-YOLO Web Development
For web/UI tasks, create ASCII wireframe first:
🎨 Creating ASCII Wireframe...
┌─ [Page Title] ───────────────────────────┐
│ [Header description] │
├───────────────────────────────────────────┤
│ [Content layout] │
│ [________________] ← Input field │
│ [▼ Dropdown ] ← Select │
│ [Button Label] ← Action button │
└───────────────────────────────────────────┘
Does this layout look right?
Type 'yes' to build HTML/CSS, or request changes.
Phase 7: TRIPLE CODE REVIEW (MANDATORY)
After implementation, run parallel code reviews:
🔍 POST-EXECUTION REVIEW INITIATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Running 3 parallel reviews (5 min max)...
[PARALLEL EXECUTION]
├─ 👨💻 Senior Engineer → Code quality, best practices
├─ 👩💼 Lead Engineer → Architecture, scalability
└─ 🏗️ Architect → System integration, patterns
The Three Reviewers
Senior Software Engineer
- Focus: Code quality, readability, best practices
- Checks: Clean code, DRY, SOLID, error handling
- Output: PASSED / NEEDS_WORK
Lead Software Engineer
- Focus: Architecture, design patterns, technical debt
- Checks: Scalability, maintainability, team impact
- Output: APPROVED / REFACTOR_NEEDED
Software Architect
- Focus: System integration, enterprise patterns
- Checks: API contracts, resilience, security
- Output: CERTIFIED / REDESIGN_NEEDED
Decision Matrix
- All Pass → Proceed to summary
- Senior: NEEDS_WORK → Auto-fix code quality issues
- Lead: REFACTOR_NEEDED → Auto-fix design issues
- Architect: REDESIGN_NEEDED → BLOCKED - explain issue to user
Auto-Fix Protocol
Critical issues are fixed immediately:
- Security vulnerabilities (password plaintext, SQL injection, XSS)
- Data loss risks
- Memory leaks
- Missing error handling
⚠️ POST-EXECUTION REVIEW - FIXING ISSUES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**Critical fixes applied:**
• `api/auth.ts:45` - Encrypting passwords
• `services/payment.ts:112` - Adding input validation
🔧 Auto-fixing critical issues...
✅ Issues resolved!
All Reviews Pass
✅ POST-EXECUTION REVIEW COMPLETE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 All 3 reviewers approved the implementation!
Review Summary:
• 👨💻 Senior: PASSED (clean code, good patterns)
• 👩💼 Lead: APPROVED (scalable design)
• 🏗️ Architect: CERTIFIED (proper integration)
Minor suggestions logged for future improvement.
Phase 8: FINAL SUMMARY
✅ TASK COMPLETE
━━━━━━━━━━━━━━━
What changed:
• [Brief point 1]
• [Brief point 2]
• [Brief point 3]
Files modified: [count]
Tests: [status]
Build config: [applied/not applicable]
Critical Rules
- NEVER ask user to run another command - you handle everything
- NEVER ask user to continue - proceed automatically through all phases
- NEVER ask user to choose workflow - you decide based on analysis
- ALWAYS show Lyra optimization - it's mandatory
- ALWAYS show build config - if detected
- ALWAYS run triple review - unless user says "skip review"
- ALWAYS complete the task - don't stop mid-workflow
User Interaction Rules
ONLY Ask User For:
- Specifications: "Which authentication method do you prefer?"
- Clarifications: "Should this work on mobile devices?"
- Decisions: "Database choice: PostgreSQL or MySQL?"
- Wireframe approval: "Does this layout look right?"
NEVER Ask User To:
- Run another command
- Execute a specific agent
- Continue with next phase
- Choose workflow manually
Interruption Handling
When user says "no", "stop", "don't do that":
- IMMEDIATELY STOP current action
- Acknowledge: "Got it! Stopping [action]"
- Ask: "What would you prefer instead?"
Error Handling
If something fails:
⚠️ Issue encountered: [description]
🔄 Attempting recovery...
[Either: ✅ Recovered! Continuing...]
[Or: ❌ Manual intervention needed: [specific action]]
Available Workflows Summary
| Workflow |
Type |
Agents |
Best For |
anti-yolo-web |
Phase 1 |
3 + wireframe |
Web/frontend, React, Vue, dashboards |
aidevtasks |
Phase 1 |
PRD-based |
Features requiring product specs |
agetos |
Phase 1 |
Setup |
Project initialization, standards |
plan-opus |
Phase 1 + 2 |
Variable |
Architecture, migrations, complex tasks |
complete_system |
Phase 2 |
6 |
Moderate features, validation needed |
orchestrated |
Phase 2 |
3 |
Simple fixes, config changes |
Quick Reference: Two-Phase Flow
Task comes in
│
▼
┌─────────────────────────┐
│ PHASE 1: Domain Check │
│ │
│ Web Dev? → anti-yolo │
│ Feature? → aidevtasks │
│ Setup? → agetos │
│ Planning? → plan-opus │
└─────────────────────────┘
│
│ No domain match?
▼
┌─────────────────────────┐
│ PHASE 2: Score Tasks │
│ │
│ 1.0-2.0 → orchestrated │
│ 2.1-3.5 → complete_sys │
│ 3.6-5.0 → plan-opus │
└─────────────────────────┘
Remember: SystemCC is the ONLY command users need.
Detection → Lyra → Build Config → Two-Phase Analysis → Workflow → Execute → Review → Complete
All automatic. All quality-gated. All in one command.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: systemcc3description: Intelligent workflow router with Lyra AI optimization, build config detection, and triple code review. Auto-analyzes complexity, risk, and scope to execute the optimal workflow automatically. Use when this capability is needed.4---56```7███████╗██╗ ██╗███████╗████████╗███████╗███╗ ███╗8██╔════╝╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔════╝████╗ ████║9███████╗ ╚████╔╝ ███████╗ ██║ █████╗ ██╔████╔██║10╚════██║ ╚██╔╝ ╚════██║ ██║ ██╔══╝ ██║╚██╔╝██║11███████║ ██║ ███████║ ██║ ███████╗██║ ╚═╝ ██║12╚══════╝ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝1314 ⚔ Command Center ⚔15 CAS v7.20.016```1718**MANDATORY**: Output the banner above verbatim as your very first message to the user, before any tool calls or other output.1920# SystemCC - Master Command Router2122**User types:** `/systemcc "any task"`23**Claude does:** EVERYTHING automatically2425---2627## Phase 1: CRITICAL DETECTION (MANDATORY)2829When `/systemcc` is detected, you MUST IMMEDIATELY show:3031```32🎯 SYSTEMCC DETECTED - Command acknowledged and workflow initiated33✅ Following SYSTEMCC workflow instructions34```3536This message MUST appear:37- **IMMEDIATELY** when /systemcc is detected38- **BEFORE** any other processing39- **CANNOT BE SKIPPED** under any circumstances4041---4243## Phase 2: LYRA AI PROMPT OPTIMIZATION (MANDATORY)4445After detection, ALWAYS show Lyra optimization with this EXACT format:4647```48═══════════════════════════════════════════════════════════════49🎯 LYRA AI PROMPT OPTIMIZATION50═══════════════════════════════════════════════════════════════5152📝 Original Request:53"$ARGUMENTS"5455🔍 Analysis Phase:56- Deconstructing intent...57- Diagnosing gaps...58- Developing enhancements...59- Delivering optimized prompt...6061✨ Optimized Prompt:62"[enhanced prompt with complete specifications]"6364📊 Optimization Details:65- Mode: [BASIC/DETAIL]66- Complexity Score: [1-10]67- Improvements Applied: [number]6869🔧 Key Enhancements:70• [Enhancement 1]71• [Enhancement 2]72• [Enhancement 3]7374═══════════════════════════════════════════════════════════════75```7677### The 4-D Methodology78791. **DECONSTRUCT**: Extract coding intent, feature requirements, technical context802. **DIAGNOSE**: Audit for technical clarity and specification gaps813. **DEVELOP**: Select optimal techniques based on request type:82 - Bug Fixes → Precise error context + systematic debugging83 - Feature Development → Clear requirements + implementation scope84 - Refactoring → Architecture goals + code quality standards85 - UI/UX → Design principles + user experience objectives864. **DELIVER**: Construct development-focused prompt with complete specs8788### Mode Detection8990- **BASIC mode**: Simple fixes, single-file changes, typos, config updates91- **DETAIL mode**: Complex architecture, multi-component, security-sensitive9293---9495## Phase 3: BUILD CONFIGURATION DETECTION9697Scan for and apply project build configuration rules automatically.9899### Files to Scan (Priority Order)1001011. `Makefile` / `makefile`1022. `.gitlab-ci.yml` / `.github/workflows/*.yml`1033. `pyproject.toml` / `setup.cfg` / `tox.ini`1044. `package.json` / `.eslintrc*` / `.prettierrc*`1055. `.pre-commit-config.yaml`1066. `.editorconfig`107108### When Configuration Found, Display:109110```111📋 BUILD CONFIGURATION DETECTED112═══════════════════════════════════════════════════════════════113Source: [Makefile/CI config/etc.]114115✅ Formatting Rules:116 • black: line-length=[N]117 • isort: profile=black, multi-line=[N]118 • prettier: [settings]119120✅ Linting Rules:121 • flake8: ignore=[codes], max-line-length=[N]122 • mypy: [settings]123 • eslint: [settings]124125✅ Test Requirements:126 • [test framework] with coverage127 • minimum coverage: [N]%128129═══════════════════════════════════════════════════════════════130🎯 All generated code will automatically follow these standards!131```132133### When No Configuration Found:134135```136📋 No build configuration detected - using best practices137```138139### Apply Rules to All Generated Code140141- Respect line length limits from black/prettier142- Sort imports according to isort/eslint config143- Add type hints if mypy is configured144- Follow linting rules to ensure CI/CD passes145146---147148## Phase 4: TWO-PHASE WORKFLOW SELECTION149150**Critical**: This engine uses ALL 6 available workflows via two-phase selection.151152### Available Workflows153154| Workflow | Purpose | Best For |155|----------|---------|----------|156| `anti-yolo-web` | Web app development specialist | Frontend, React, Vue, dashboards, UI components |157| `aidevtasks` | PRD-based feature development | New features requiring product specs |158| `agetos` | Project initialization/standards | Setup, conventions, new projects |159| `plan-opus` | Deep planning with parallel exploration | Architecture, migrations, complex unknowns |160| `complete_system` | Full 6-agent validation pipeline | Moderate features, refactoring with validation |161| `orchestrated` | Streamlined 3-agent workflow | Simple fixes, config changes, quick tasks |162163---164165### PHASE 1: Domain Detection (CHECK FIRST)166167Before any scoring, semantically analyze if the task matches a specialized domain:168169| Domain | Workflow | Detection Signals |170|--------|----------|-------------------|171| **Web Development** | `anti-yolo-web` | HTML, CSS, JavaScript, React, Vue, Angular, frontend, UI, dashboard, component, web app |172| **Feature Development** | `aidevtasks` | "build feature", "create system", product requirements, user stories, multi-component features |173| **Project Setup** | `agetos` | Setup, initialize, standards, conventions, new project, project structure |174| **Deep Planning** | `plan-opus` | Architecture design, major refactor, migration, "plan first", many unknowns |175176**Decision Logic**:177- Domain match with HIGH confidence → Use specialized workflow (skip Phase 2)178- No domain match → Proceed to Phase 2179180---181182### PHASE 2: Complexity Scoring (FALLBACK)183184Only when NO specialized domain is detected, use 3-dimensional assessment:185186#### Dimension 1: Complexity187188| Level | Indicators |189|-------|------------|190| **Simple** | fix, update, change, small, typo, rename, style, tweak, adjust |191| **Moderate** | feature, add, create, implement, modify, improve |192| **Complex** | architecture, refactor, system, integration, migration, security, database |193194#### Dimension 2: Risk195196| Level | Indicators |197|-------|------------|198| **Low** | docs, style, test, config (non-production), UI text |199| **High** | critical, production, breaking, delete, security, database, auth, payment, encryption |200201#### Dimension 3: Scope202203| Level | Indicators |204|-------|------------|205| **Single** | specific file mentioned, "this file", "the function" |206| **Multi** | "multiple", "several files", specific file list, 3-10 files |207| **System** | "entire", "all files", "across", "throughout", "migrate all", >10 files |208209#### Complexity-Based Workflow Selection210211| Combined Score | Workflow | Use Case |212|----------------|----------|----------|213| 1.0 - 2.0 | `orchestrated` | Bug fixes, small changes, config updates, typos |214| 2.1 - 3.5 | `complete_system` | Moderate features, refactoring, validation needed |215| 3.6 - 5.0 | `plan-opus` | Complex multi-system changes, high risk |216217---218219### Display Decision:220221#### Phase 1 Match (Domain Detected)222```223🧠 DECISION ENGINE224━━━━━━━━━━━━━━━━━━225226Task: "[task description]"227228Phase 1 - Domain Detection:229✓ [Domain] detected230 → [Reasons]231232→ Using **[workflow]** workflow233```234235#### Phase 2 Fallback (No Domain Match)236```237🧠 DECISION ENGINE238━━━━━━━━━━━━━━━━━━239240Task: "[task description]"241242Phase 1 - Domain Detection:243✗ No specialized domain detected244245Phase 2 - Complexity Assessment:246• Complexity: [1-5]/5 - [reason]247• Risk: [1-5]/5 - [reason]248• Scope: [1-5]/5 - [reason]249250Combined: [score] → Using **[workflow]** workflow251```252253---254255## Phase 5: SECURITY & SPECIAL HANDLING256257### Security Auto-Detection258259Enable security scanning when task mentions:260261| Category | Keywords |262|----------|----------|263| Database | sql, query, database, migration, schema, orm |264| Auth | auth, login, password, token, jwt, session, oauth |265| Security | encrypt, decrypt, permission, role, certificate, hash |266| Encoding | base64, serialize, sanitize, injection |267268When triggered:269```270🔐 Security scan auto-enabled: [reason]271```272273---274275## Phase 6: AUTOMATIC EXECUTION276277**CRITICAL: Execute ALL phases automatically. NEVER ask user to run commands.**278279### Orchestrated Workflow (3-Agent)280281```282🔄 Phase 1/3: Analysis283 └─ Orchestrator analyzing code...284🔄 Phase 2/3: Implementation285 └─ Developer implementing changes...286🔄 Phase 3/3: Review287 └─ Reviewer validating...288✅ Complete!289```290291### Complete System Workflow (6-Agent)292293```294🔄 Phase 1/6: Strategic Analysis295 └─ Planner analyzing architecture...296🔄 Phase 2/6: Implementation Planning297 └─ Designing implementation approach...298🔄 Phase 3/6: Code Implementation299 └─ Executer writing code...300🔄 Phase 4/6: Verification301 └─ Verifier testing logic...302🔄 Phase 5/6: Quality Assurance303 └─ Tester checking edge cases...304🔄 Phase 6/6: Documentation305 └─ Documenter updating docs...306✅ Implementation complete! Starting review...307```308309### Plan-Opus Workflow (Phased Execution)310311For system-wide changes, decompose into phases:312313```314🔄 Decomposing task into manageable phases...315316📦 Phase 1: [Component A]317 ├─ Files: [list]318 └─ Status: Pending319320📦 Phase 2: [Component B]321 ├─ Files: [list]322 └─ Status: Pending323324📦 Phase 3: [Component C]325 ├─ Files: [list]326 └─ Status: Pending327328Executing phases sequentially to manage context...329```330331### Anti-YOLO Web Development332333For web/UI tasks, create ASCII wireframe first:334335```336🎨 Creating ASCII Wireframe...337338┌─ [Page Title] ───────────────────────────┐339│ [Header description] │340├───────────────────────────────────────────┤341│ [Content layout] │342│ [________________] ← Input field │343│ [▼ Dropdown ] ← Select │344│ [Button Label] ← Action button │345└───────────────────────────────────────────┘346347Does this layout look right?348Type 'yes' to build HTML/CSS, or request changes.349```350351---352353## Phase 7: TRIPLE CODE REVIEW (MANDATORY)354355After implementation, run parallel code reviews:356357```358🔍 POST-EXECUTION REVIEW INITIATED359━━━━━━━━━━━━━━━━━━━━━━━━━━━━360⚡ Running 3 parallel reviews (5 min max)...361362[PARALLEL EXECUTION]363├─ 👨💻 Senior Engineer → Code quality, best practices364├─ 👩💼 Lead Engineer → Architecture, scalability365└─ 🏗️ Architect → System integration, patterns366```367368### The Three Reviewers3693701. **Senior Software Engineer**371 - Focus: Code quality, readability, best practices372 - Checks: Clean code, DRY, SOLID, error handling373 - Output: PASSED / NEEDS_WORK3743752. **Lead Software Engineer**376 - Focus: Architecture, design patterns, technical debt377 - Checks: Scalability, maintainability, team impact378 - Output: APPROVED / REFACTOR_NEEDED3793803. **Software Architect**381 - Focus: System integration, enterprise patterns382 - Checks: API contracts, resilience, security383 - Output: CERTIFIED / REDESIGN_NEEDED384385### Decision Matrix386387- **All Pass** → Proceed to summary388- **Senior: NEEDS_WORK** → Auto-fix code quality issues389- **Lead: REFACTOR_NEEDED** → Auto-fix design issues390- **Architect: REDESIGN_NEEDED** → BLOCKED - explain issue to user391392### Auto-Fix Protocol393394Critical issues are fixed immediately:395- Security vulnerabilities (password plaintext, SQL injection, XSS)396- Data loss risks397- Memory leaks398- Missing error handling399400```401⚠️ POST-EXECUTION REVIEW - FIXING ISSUES402━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━403404**Critical fixes applied:**405• `api/auth.ts:45` - Encrypting passwords406• `services/payment.ts:112` - Adding input validation407408🔧 Auto-fixing critical issues...409✅ Issues resolved!410```411412### All Reviews Pass413414```415✅ POST-EXECUTION REVIEW COMPLETE416━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━417418🏆 All 3 reviewers approved the implementation!419420Review Summary:421• 👨💻 Senior: PASSED (clean code, good patterns)422• 👩💼 Lead: APPROVED (scalable design)423• 🏗️ Architect: CERTIFIED (proper integration)424425Minor suggestions logged for future improvement.426```427428---429430## Phase 8: FINAL SUMMARY431432```433✅ TASK COMPLETE434━━━━━━━━━━━━━━━435436What changed:437• [Brief point 1]438• [Brief point 2]439• [Brief point 3]440441Files modified: [count]442Tests: [status]443Build config: [applied/not applicable]444```445446---447448## Critical Rules4494501. **NEVER ask user to run another command** - you handle everything4512. **NEVER ask user to continue** - proceed automatically through all phases4523. **NEVER ask user to choose workflow** - you decide based on analysis4534. **ALWAYS show Lyra optimization** - it's mandatory4545. **ALWAYS show build config** - if detected4556. **ALWAYS run triple review** - unless user says "skip review"4567. **ALWAYS complete the task** - don't stop mid-workflow457458## User Interaction Rules459460### ONLY Ask User For:461- **Specifications**: "Which authentication method do you prefer?"462- **Clarifications**: "Should this work on mobile devices?"463- **Decisions**: "Database choice: PostgreSQL or MySQL?"464- **Wireframe approval**: "Does this layout look right?"465466### NEVER Ask User To:467- Run another command468- Execute a specific agent469- Continue with next phase470- Choose workflow manually471472## Interruption Handling473474When user says "no", "stop", "don't do that":4751. **IMMEDIATELY STOP** current action4762. Acknowledge: "Got it! Stopping [action]"4773. Ask: "What would you prefer instead?"478479## Error Handling480481If something fails:482```483⚠️ Issue encountered: [description]484🔄 Attempting recovery...485[Either: ✅ Recovered! Continuing...]486[Or: ❌ Manual intervention needed: [specific action]]487```488489---490491## Available Workflows Summary492493| Workflow | Type | Agents | Best For |494|----------|------|--------|----------|495| `anti-yolo-web` | Phase 1 | 3 + wireframe | Web/frontend, React, Vue, dashboards |496| `aidevtasks` | Phase 1 | PRD-based | Features requiring product specs |497| `agetos` | Phase 1 | Setup | Project initialization, standards |498| `plan-opus` | Phase 1 + 2 | Variable | Architecture, migrations, complex tasks |499| `complete_system` | Phase 2 | 6 | Moderate features, validation needed |500| `orchestrated` | Phase 2 | 3 | Simple fixes, config changes |501502---503504## Quick Reference: Two-Phase Flow505506```507Task comes in508 │509 ▼510┌─────────────────────────┐511│ PHASE 1: Domain Check │512│ │513│ Web Dev? → anti-yolo │514│ Feature? → aidevtasks │515│ Setup? → agetos │516│ Planning? → plan-opus │517└─────────────────────────┘518 │519 │ No domain match?520 ▼521┌─────────────────────────┐522│ PHASE 2: Score Tasks │523│ │524│ 1.0-2.0 → orchestrated │525│ 2.1-3.5 → complete_sys │526│ 3.6-5.0 → plan-opus │527└─────────────────────────┘528```529530---531532**Remember**: SystemCC is the ONLY command users need.533534Detection → Lyra → Build Config → Two-Phase Analysis → Workflow → Execute → Review → Complete535536All automatic. All quality-gated. All in one command.537538---539> Converted and distributed by [TomeVault](https://tomevault.io/claim/kasempiternal) — claim your Tome and manage your conversions.540<!-- tomevault:4.0:skill_md:2026-04-11 -->