---
description: Visual process map for CREATIVE mode (Design Decisions)
globs: "**/creative*/**", "**/design*/**", "**/decision*/**"
alwaysApply: false
---
# CREATIVE MODE: DESIGN PROCESS MAP
> **TL;DR:** This visual map guides the CREATIVE mode process, focusing on structured design decision-making for components that require deeper exploration before implementation.
## 🧭 CREATIVE MODE PROCESS FLOW
```mermaid
graph TD
Start["START CREATIVE MODE"] --> ReadTasks["Read tasks.md
For Creative Requirements"]
%% Initial Assessment
ReadTasks --> VerifyPlan{"Plan Complete
& Creative Phases
Identified?"}
VerifyPlan -->|"No"| ReturnPlan["Return to
PLAN Mode"]
VerifyPlan -->|"Yes"| IdentifyPhases["Identify Creative
Phases Required"]
%% Creative Phase Selection
IdentifyPhases --> SelectPhase["Select Next
Creative Phase"]
SelectPhase --> PhaseType{"Creative
Phase Type?"}
%% Creative Phase Types
PhaseType -->|"UI/UX
Design"| UIPhase["UI/UX CREATIVE PHASE
Core/creative-phase-uiux.md"]
PhaseType -->|"Architecture
Design"| ArchPhase["ARCHITECTURE CREATIVE PHASE
Core/creative-phase-architecture.md"]
PhaseType -->|"Data Model
Design"| DataPhase["DATA MODEL CREATIVE PHASE
Core/creative-phase-data.md"]
PhaseType -->|"Algorithm
Design"| AlgoPhase["ALGORITHM CREATIVE PHASE
Core/creative-phase-algorithm.md"]
%% UI/UX Creative Phase
UIPhase --> UI_Problem["Define UI/UX
Problem"]
UI_Problem --> UI_Research["Research UI
Patterns"]
UI_Research --> UI_Options["Explore UI
Options"]
UI_Options --> UI_Evaluate["Evaluate User
Experience"]
UI_Evaluate --> UI_Decision["Make Design
Decision"]
UI_Decision --> UI_Document["Document UI
Design"]
%% Architecture Creative Phase
ArchPhase --> Arch_Problem["Define Architecture
Challenge"]
Arch_Problem --> Arch_Options["Explore Architecture
Options"]
Arch_Options --> Arch_Analyze["Analyze Tradeoffs"]
Arch_Analyze --> Arch_Decision["Make Architecture
Decision"]
Arch_Decision --> Arch_Document["Document
Architecture"]
Arch_Document --> Arch_Diagram["Create Architecture
Diagram"]
%% Data Model Creative Phase
DataPhase --> Data_Requirements["Define Data
Requirements"]
Data_Requirements --> Data_Structure["Design Data
Structure"]
Data_Structure --> Data_Relations["Define
Relationships"]
Data_Relations --> Data_Validation["Design
Validation"]
Data_Validation --> Data_Document["Document
Data Model"]
%% Algorithm Creative Phase
AlgoPhase --> Algo_Problem["Define Algorithm
Problem"]
Algo_Problem --> Algo_Options["Explore Algorithm
Approaches"]
Algo_Options --> Algo_Evaluate["Evaluate Time/Space
Complexity"]
Algo_Evaluate --> Algo_Decision["Make Algorithm
Decision"]
Algo_Decision --> Algo_Document["Document
Algorithm"]
%% Documentation & Completion
UI_Document & Arch_Diagram & Data_Document & Algo_Document --> CreateDoc["Create Creative
Phase Document"]
CreateDoc --> UpdateTasks["Update tasks.md
with Decision"]
UpdateTasks --> MorePhases{"More Creative
Phases?"}
MorePhases -->|"Yes"| SelectPhase
MorePhases -->|"No"| VerifyComplete["Verify All
Phases Complete"]
VerifyComplete --> NotifyComplete["Signal Creative
Phases Complete"]
```
## 📋 CREATIVE PHASE DOCUMENT FORMAT
Each creative phase should produce a document with this structure:
```mermaid
graph TD
subgraph "Creative Phase Document"
Header["🎨 CREATIVE PHASE: [TYPE]"]
Problem["PROBLEM STATEMENT
Clear definition of the problem"]
Options["OPTIONS ANALYSIS
Multiple approaches considered"]
Pros["PROS & CONS
Tradeoffs for each option"]
Decision["DECISION
Selected approach + rationale"]
Impl["IMPLEMENTATION PLAN
Steps to implement the decision"]
Diagram["VISUALIZATION
Diagrams of the solution"]
end
Header --> Problem --> Options --> Pros --> Decision --> Impl --> Diagram
```
## 🔍 CREATIVE TYPES AND APPROACHES
```mermaid
graph TD
subgraph "UI/UX Design"
UI1["User Flow
Analysis"]
UI2["Component
Hierarchy"]
UI3["Interaction
Patterns"]
UI4["Visual Design
Principles"]
end
subgraph "Architecture Design"
A1["Component
Structure"]
A2["Data Flow
Patterns"]
A3["Interface
Design"]
A4["System
Integration"]
end
subgraph "Data Model Design"
D1["Entity
Relationships"]
D2["Schema
Design"]
D3["Validation
Rules"]
D4["Query
Optimization"]
end
subgraph "Algorithm Design"
AL1["Complexity
Analysis"]
AL2["Efficiency
Optimization"]
AL3["Edge Case
Handling"]
AL4["Scaling
Considerations"]
end
```
## 📊 REQUIRED FILE STATE VERIFICATION
Before creative phase work can begin, verify file state:
```mermaid
graph TD
Start["File State
Verification"] --> CheckTasks{"tasks.md has
planning complete?"}
CheckTasks -->|"No"| ErrorPlan["ERROR:
Return to PLAN Mode"]
CheckTasks -->|"Yes"| CheckCreative{"Creative phases
identified?"}
CheckCreative -->|"No"| ErrorCreative["ERROR:
Return to PLAN Mode"]
CheckCreative -->|"Yes"| ReadyCreative["Ready for
Creative Phase"]
```
## 📋 OPTIONS ANALYSIS TEMPLATE
For each creative phase, analyze multiple options:
```
## OPTIONS ANALYSIS
### Option 1: [Name]
**Description**: [Brief description]
**Pros**:
- [Pro 1]
- [Pro 2]
**Cons**:
- [Con 1]
- [Con 2]
**Complexity**: [Low/Medium/High]
**Implementation Time**: [Estimate]
### Option 2: [Name]
**Description**: [Brief description]
**Pros**:
- [Pro 1]
- [Pro 2]
**Cons**:
- [Con 1]
- [Con 2]
**Complexity**: [Low/Medium/High]
**Implementation Time**: [Estimate]
### Option 3: [Name]
**Description**: [Brief description]
**Pros**:
- [Pro 1]
- [Pro 2]
**Cons**:
- [Con 1]
- [Con 2]
**Complexity**: [Low/Medium/High]
**Implementation Time**: [Estimate]
```
## 🎨 CREATIVE PHASE MARKERS
Use these visual markers for creative phases:
```
🎨🎨🎨 ENTERING CREATIVE PHASE: [TYPE] 🎨🎨🎨
[Creative phase content]
🎨 CREATIVE CHECKPOINT: [Milestone]
[Additional content]
🎨🎨🎨 EXITING CREATIVE PHASE - DECISION MADE 🎨🎨🎨
```
## 📊 CREATIVE PHASE VERIFICATION CHECKLIST
```
✓ CREATIVE PHASE VERIFICATION
- Problem clearly defined? [YES/NO]
- Multiple options considered (3+)? [YES/NO]
- Pros/cons documented for each option? [YES/NO]
- Decision made with clear rationale? [YES/NO]
- Implementation plan included? [YES/NO]
- Visualization/diagrams created? [YES/NO]
- tasks.md updated with decision? [YES/NO]
→ If all YES: Creative phase complete
→ If any NO: Complete missing elements
```
## 🔄 MODE TRANSITION NOTIFICATION
When all creative phases are complete, notify user with:
```
## CREATIVE PHASES COMPLETE
✅ All required design decisions made
✅ Creative phase documents created
✅ tasks.md updated with decisions
✅ Implementation plan updated
→ NEXT RECOMMENDED MODE: BUILD MODE
```