geminize 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.cursor/mcp.json +3 -0
- data/.cursor/rules/isolation_rules/Core/command-execution.mdc +235 -0
- data/.cursor/rules/isolation_rules/Core/complexity-decision-tree.mdc +187 -0
- data/.cursor/rules/isolation_rules/Core/creative-phase-enforcement.mdc +145 -0
- data/.cursor/rules/isolation_rules/Core/creative-phase-metrics.mdc +195 -0
- data/.cursor/rules/isolation_rules/Core/file-verification.mdc +198 -0
- data/.cursor/rules/isolation_rules/Core/platform-awareness.mdc +71 -0
- data/.cursor/rules/isolation_rules/Level3/planning-comprehensive.mdc +159 -0
- data/.cursor/rules/isolation_rules/Level3/task-tracking-intermediate.mdc +135 -0
- data/.cursor/rules/isolation_rules/Phases/CreativePhase/creative-phase-architecture.mdc +187 -0
- data/.cursor/rules/isolation_rules/main.mdc +123 -0
- data/.cursor/rules/isolation_rules/visual-maps/archive-mode-map.mdc +277 -0
- data/.cursor/rules/isolation_rules/visual-maps/creative-mode-map.mdc +224 -0
- data/.cursor/rules/isolation_rules/visual-maps/implement-mode-map.mdc +321 -0
- data/.cursor/rules/isolation_rules/visual-maps/plan-mode-map.mdc +269 -0
- data/.cursor/rules/isolation_rules/visual-maps/qa-mode-map.mdc +495 -0
- data/.cursor/rules/isolation_rules/visual-maps/reflect-mode-map.mdc +234 -0
- data/.cursor/rules/isolation_rules/visual-maps/van-mode-map.mdc +902 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-complexity-determination.mdc +60 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-file-verification.mdc +49 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-mode-map.mdc +49 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-platform-detection.mdc +50 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-checks/build-test.mdc +117 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-checks/config-check.mdc +103 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-checks/dependency-check.mdc +147 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-checks/environment-check.mdc +104 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-checks/file-verification.mdc +1 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-main.mdc +142 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/common-fixes.mdc +92 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/mode-transitions.mdc +101 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/reports.mdc +149 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/rule-calling-guide.mdc +66 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-utils/rule-calling-help.mdc +19 -0
- data/.cursor/rules/isolation_rules/visual-maps/van_mode_split/van-qa-validation.md.old +363 -0
- data/.env.example +7 -0
- data/.memory_bank/activeContext.md +102 -0
- data/.memory_bank/progress.md +93 -0
- data/.memory_bank/projectbrief.md +45 -0
- data/.memory_bank/systemPatterns.md +90 -0
- data/.memory_bank/tasks.md +142 -0
- data/.memory_bank/techContext.md +73 -0
- data/.tool-versions +1 -0
- data/CHANGELOG.md +42 -0
- data/README.md +223 -5
- data/examples/function_calling.rb +218 -0
- data/examples/models_api.rb +125 -0
- data/examples/safety_settings.rb +82 -0
- data/lib/geminize/configuration.rb +4 -4
- data/lib/geminize/model_info.rb +87 -8
- data/lib/geminize/models/content_request_extensions.rb +219 -0
- data/lib/geminize/models/content_request_safety.rb +123 -0
- data/lib/geminize/models/content_response_extensions.rb +120 -0
- data/lib/geminize/models/function_declaration.rb +112 -0
- data/lib/geminize/models/function_response.rb +70 -0
- data/lib/geminize/models/model.rb +101 -109
- data/lib/geminize/models/model_list.rb +70 -28
- data/lib/geminize/models/safety_setting.rb +102 -0
- data/lib/geminize/models/tool.rb +47 -0
- data/lib/geminize/models/tool_config.rb +52 -0
- data/lib/geminize/module_extensions.rb +228 -0
- data/lib/geminize/module_safety.rb +135 -0
- data/lib/geminize/request_builder.rb +29 -0
- data/lib/geminize/version.rb +1 -1
- data/lib/geminize.rb +83 -14
- metadata +57 -2
@@ -0,0 +1,277 @@
|
|
1
|
+
---
|
2
|
+
description:
|
3
|
+
globs:
|
4
|
+
alwaysApply: false
|
5
|
+
---
|
6
|
+
---
|
7
|
+
description: Visual process map for ARCHIVE mode (Task Documentation)
|
8
|
+
globs: "**/archive*/**", "**/document*/**", "**/complete*/**"
|
9
|
+
alwaysApply: false
|
10
|
+
---
|
11
|
+
|
12
|
+
# ARCHIVE MODE: TASK DOCUMENTATION PROCESS MAP
|
13
|
+
|
14
|
+
> **TL;DR:** This visual map guides the ARCHIVE mode process, focusing on creating comprehensive documentation of the completed task, archiving relevant files, and updating the Memory Bank for future reference.
|
15
|
+
|
16
|
+
## 🧭 ARCHIVE MODE PROCESS FLOW
|
17
|
+
|
18
|
+
```mermaid
|
19
|
+
graph TD
|
20
|
+
Start["START ARCHIVE MODE"] --> ReadTasks["Read tasks.md<br>reflection.md and<br>progress.md"]
|
21
|
+
|
22
|
+
%% Initial Assessment
|
23
|
+
ReadTasks --> VerifyReflect{"Reflection<br>Complete?"}
|
24
|
+
VerifyReflect -->|"No"| ReturnReflect["Return to<br>REFLECT Mode"]
|
25
|
+
VerifyReflect -->|"Yes"| AssessLevel{"Determine<br>Complexity Level"}
|
26
|
+
|
27
|
+
%% Level-Based Archiving
|
28
|
+
AssessLevel -->|"Level 1"| L1Archive["LEVEL 1 ARCHIVING<br>Level1/archive-minimal.md"]
|
29
|
+
AssessLevel -->|"Level 2"| L2Archive["LEVEL 2 ARCHIVING<br>Level2/archive-basic.md"]
|
30
|
+
AssessLevel -->|"Level 3"| L3Archive["LEVEL 3 ARCHIVING<br>Level3/archive-standard.md"]
|
31
|
+
AssessLevel -->|"Level 4"| L4Archive["LEVEL 4 ARCHIVING<br>Level4/archive-comprehensive.md"]
|
32
|
+
|
33
|
+
%% Level 1 Archiving (Minimal)
|
34
|
+
L1Archive --> L1Summary["Create Quick<br>Summary"]
|
35
|
+
L1Summary --> L1Task["Update<br>tasks.md"]
|
36
|
+
L1Task --> L1Complete["Mark Task<br>Complete"]
|
37
|
+
|
38
|
+
%% Level 2 Archiving (Basic)
|
39
|
+
L2Archive --> L2Summary["Create Basic<br>Archive Document"]
|
40
|
+
L2Summary --> L2Doc["Document<br>Changes"]
|
41
|
+
L2Doc --> L2Task["Update<br>tasks.md"]
|
42
|
+
L2Task --> L2Progress["Update<br>progress.md"]
|
43
|
+
L2Progress --> L2Complete["Mark Task<br>Complete"]
|
44
|
+
|
45
|
+
%% Level 3-4 Archiving (Comprehensive)
|
46
|
+
L3Archive & L4Archive --> L34Summary["Create Comprehensive<br>Archive Document"]
|
47
|
+
L34Summary --> L34Doc["Document<br>Implementation"]
|
48
|
+
L34Doc --> L34Creative["Archive Creative<br>Phase Documents"]
|
49
|
+
L34Creative --> L34Code["Document Code<br>Changes"]
|
50
|
+
L34Code --> L34Test["Document<br>Testing"]
|
51
|
+
L34Test --> L34Lessons["Summarize<br>Lessons Learned"]
|
52
|
+
L34Lessons --> L34Task["Update<br>tasks.md"]
|
53
|
+
L34Task --> L34Progress["Update<br>progress.md"]
|
54
|
+
L34Progress --> L34System["Update System<br>Documentation"]
|
55
|
+
L34System --> L34Complete["Mark Task<br>Complete"]
|
56
|
+
|
57
|
+
%% Completion
|
58
|
+
L1Complete & L2Complete & L34Complete --> CreateArchive["Create Archive<br>Document in<br>docs/archive/"]
|
59
|
+
CreateArchive --> UpdateActive["Update<br>activeContext.md"]
|
60
|
+
UpdateActive --> Reset["Reset for<br>Next Task"]
|
61
|
+
```
|
62
|
+
|
63
|
+
## 📋 ARCHIVE DOCUMENT STRUCTURE
|
64
|
+
|
65
|
+
The archive document should follow this structured format:
|
66
|
+
|
67
|
+
```mermaid
|
68
|
+
graph TD
|
69
|
+
subgraph "Archive Document Structure"
|
70
|
+
Header["# TASK ARCHIVE: [Task Name]"]
|
71
|
+
Meta["## METADATA<br>Task info, dates, complexity"]
|
72
|
+
Summary["## SUMMARY<br>Brief overview of the task"]
|
73
|
+
Requirements["## REQUIREMENTS<br>What the task needed to accomplish"]
|
74
|
+
Implementation["## IMPLEMENTATION<br>How the task was implemented"]
|
75
|
+
Testing["## TESTING<br>How the solution was verified"]
|
76
|
+
Lessons["## LESSONS LEARNED<br>Key takeaways from the task"]
|
77
|
+
Refs["## REFERENCES<br>Links to related documents"]
|
78
|
+
end
|
79
|
+
|
80
|
+
Header --> Meta --> Summary --> Requirements --> Implementation --> Testing --> Lessons --> Refs
|
81
|
+
```
|
82
|
+
|
83
|
+
## 📊 REQUIRED FILE STATE VERIFICATION
|
84
|
+
|
85
|
+
Before archiving can begin, verify file state:
|
86
|
+
|
87
|
+
```mermaid
|
88
|
+
graph TD
|
89
|
+
Start["File State<br>Verification"] --> CheckTasks{"tasks.md has<br>reflection<br>complete?"}
|
90
|
+
|
91
|
+
CheckTasks -->|"No"| ErrorReflect["ERROR:<br>Return to REFLECT Mode"]
|
92
|
+
CheckTasks -->|"Yes"| CheckReflection{"reflection.md<br>exists?"}
|
93
|
+
|
94
|
+
CheckReflection -->|"No"| ErrorCreate["ERROR:<br>Create reflection.md first"]
|
95
|
+
CheckReflection -->|"Yes"| CheckProgress{"progress.md<br>updated?"}
|
96
|
+
|
97
|
+
CheckProgress -->|"No"| ErrorProgress["ERROR:<br>Update progress.md first"]
|
98
|
+
CheckProgress -->|"Yes"| ReadyArchive["Ready for<br>Archiving"]
|
99
|
+
```
|
100
|
+
|
101
|
+
## 🔍 ARCHIVE TYPES BY COMPLEXITY
|
102
|
+
|
103
|
+
```mermaid
|
104
|
+
graph TD
|
105
|
+
subgraph "Level 1: Minimal Archive"
|
106
|
+
L1A["Basic Bug<br>Description"]
|
107
|
+
L1B["Solution<br>Summary"]
|
108
|
+
L1C["Affected<br>Files"]
|
109
|
+
end
|
110
|
+
|
111
|
+
subgraph "Level 2: Basic Archive"
|
112
|
+
L2A["Enhancement<br>Description"]
|
113
|
+
L2B["Implementation<br>Summary"]
|
114
|
+
L2C["Testing<br>Results"]
|
115
|
+
L2D["Lessons<br>Learned"]
|
116
|
+
end
|
117
|
+
|
118
|
+
subgraph "Level 3-4: Comprehensive Archive"
|
119
|
+
L3A["Detailed<br>Requirements"]
|
120
|
+
L3B["Architecture/<br>Design Decisions"]
|
121
|
+
L3C["Implementation<br>Details"]
|
122
|
+
L3D["Testing<br>Strategy"]
|
123
|
+
L3E["Performance<br>Considerations"]
|
124
|
+
L3F["Future<br>Enhancements"]
|
125
|
+
L3G["Cross-References<br>to Other Systems"]
|
126
|
+
end
|
127
|
+
|
128
|
+
L1A --> L1B --> L1C
|
129
|
+
|
130
|
+
L2A --> L2B --> L2C --> L2D
|
131
|
+
|
132
|
+
L3A --> L3B --> L3C --> L3D --> L3E --> L3F --> L3G
|
133
|
+
```
|
134
|
+
|
135
|
+
## 📝 ARCHIVE DOCUMENT TEMPLATES
|
136
|
+
|
137
|
+
### Level 1 (Minimal) Archive
|
138
|
+
```
|
139
|
+
# Bug Fix Archive: [Bug Name]
|
140
|
+
|
141
|
+
## Date
|
142
|
+
[Date of fix]
|
143
|
+
|
144
|
+
## Summary
|
145
|
+
[Brief description of the bug and solution]
|
146
|
+
|
147
|
+
## Implementation
|
148
|
+
[Description of the fix implemented]
|
149
|
+
|
150
|
+
## Files Changed
|
151
|
+
- [File 1]
|
152
|
+
- [File 2]
|
153
|
+
```
|
154
|
+
|
155
|
+
### Levels 2-4 (Comprehensive) Archive
|
156
|
+
```
|
157
|
+
# Task Archive: [Task Name]
|
158
|
+
|
159
|
+
## Metadata
|
160
|
+
- **Complexity**: Level [2/3/4]
|
161
|
+
- **Type**: [Enhancement/Feature/System]
|
162
|
+
- **Date Completed**: [Date]
|
163
|
+
- **Related Tasks**: [Related task references]
|
164
|
+
|
165
|
+
## Summary
|
166
|
+
[Comprehensive summary of the task]
|
167
|
+
|
168
|
+
## Requirements
|
169
|
+
- [Requirement 1]
|
170
|
+
- [Requirement 2]
|
171
|
+
- [Requirement 3]
|
172
|
+
|
173
|
+
## Implementation
|
174
|
+
### Approach
|
175
|
+
[Description of implementation approach]
|
176
|
+
|
177
|
+
### Key Components
|
178
|
+
- [Component 1]: [Description]
|
179
|
+
- [Component 2]: [Description]
|
180
|
+
|
181
|
+
### Files Changed
|
182
|
+
- [File 1]: [Description of changes]
|
183
|
+
- [File 2]: [Description of changes]
|
184
|
+
|
185
|
+
## Testing
|
186
|
+
- [Test 1]: [Result]
|
187
|
+
- [Test 2]: [Result]
|
188
|
+
|
189
|
+
## Lessons Learned
|
190
|
+
- [Lesson 1]
|
191
|
+
- [Lesson 2]
|
192
|
+
- [Lesson 3]
|
193
|
+
|
194
|
+
## Future Considerations
|
195
|
+
- [Future enhancement 1]
|
196
|
+
- [Future enhancement 2]
|
197
|
+
|
198
|
+
## References
|
199
|
+
- [Link to reflection document]
|
200
|
+
- [Link to creative phase documents]
|
201
|
+
- [Other relevant references]
|
202
|
+
```
|
203
|
+
|
204
|
+
## 📋 ARCHIVE LOCATION AND NAMING
|
205
|
+
|
206
|
+
Archive documents should be organized following this pattern:
|
207
|
+
|
208
|
+
```mermaid
|
209
|
+
graph TD
|
210
|
+
subgraph "Archive Structure"
|
211
|
+
Root["docs/archive/"]
|
212
|
+
Tasks["tasks/"]
|
213
|
+
Features["features/"]
|
214
|
+
Systems["systems/"]
|
215
|
+
|
216
|
+
Root --> Tasks
|
217
|
+
Root --> Features
|
218
|
+
Root --> Systems
|
219
|
+
|
220
|
+
Tasks --> Bug["bug-fix-name-YYYYMMDD.md"]
|
221
|
+
Tasks --> Enhancement["enhancement-name-YYYYMMDD.md"]
|
222
|
+
Features --> Feature["feature-name-YYYYMMDD.md"]
|
223
|
+
Systems --> System["system-name-YYYYMMDD.md"]
|
224
|
+
end
|
225
|
+
```
|
226
|
+
|
227
|
+
## 📊 TASKS.MD FINAL UPDATE
|
228
|
+
|
229
|
+
When archiving is complete, update tasks.md with:
|
230
|
+
|
231
|
+
```
|
232
|
+
## Status
|
233
|
+
- [x] Initialization complete
|
234
|
+
- [x] Planning complete
|
235
|
+
[For Level 3-4:]
|
236
|
+
- [x] Creative phases complete
|
237
|
+
- [x] Implementation complete
|
238
|
+
- [x] Reflection complete
|
239
|
+
- [x] Archiving complete
|
240
|
+
|
241
|
+
## Archive
|
242
|
+
- **Date**: [Completion date]
|
243
|
+
- **Archive Document**: [Link to archive document]
|
244
|
+
- **Status**: COMPLETED
|
245
|
+
```
|
246
|
+
|
247
|
+
## 📋 ARCHIVE VERIFICATION CHECKLIST
|
248
|
+
|
249
|
+
```
|
250
|
+
✓ ARCHIVE VERIFICATION
|
251
|
+
- Reflection document reviewed? [YES/NO]
|
252
|
+
- Archive document created with all sections? [YES/NO]
|
253
|
+
- Archive document placed in correct location? [YES/NO]
|
254
|
+
- tasks.md marked as completed? [YES/NO]
|
255
|
+
- progress.md updated with archive reference? [YES/NO]
|
256
|
+
- activeContext.md updated for next task? [YES/NO]
|
257
|
+
- Creative phase documents archived (Level 3-4)? [YES/NO/NA]
|
258
|
+
|
259
|
+
→ If all YES: Archiving complete - Memory Bank reset for next task
|
260
|
+
→ If any NO: Complete missing archive elements
|
261
|
+
```
|
262
|
+
|
263
|
+
## 🔄 TASK COMPLETION NOTIFICATION
|
264
|
+
|
265
|
+
When archiving is complete, notify user with:
|
266
|
+
|
267
|
+
```
|
268
|
+
## TASK ARCHIVED
|
269
|
+
|
270
|
+
✅ Archive document created in docs/archive/
|
271
|
+
✅ All task documentation preserved
|
272
|
+
✅ Memory Bank updated with references
|
273
|
+
✅ Task marked as COMPLETED
|
274
|
+
|
275
|
+
→ Memory Bank is ready for the next task
|
276
|
+
→ To start a new task, use VAN MODE
|
277
|
+
```
|
@@ -0,0 +1,224 @@
|
|
1
|
+
---
|
2
|
+
description: Visual process map for CREATIVE mode (Design Decisions)
|
3
|
+
globs: "**/creative*/**", "**/design*/**", "**/decision*/**"
|
4
|
+
alwaysApply: false
|
5
|
+
---
|
6
|
+
|
7
|
+
# CREATIVE MODE: DESIGN PROCESS MAP
|
8
|
+
|
9
|
+
> **TL;DR:** This visual map guides the CREATIVE mode process, focusing on structured design decision-making for components that require deeper exploration before implementation.
|
10
|
+
|
11
|
+
## 🧭 CREATIVE MODE PROCESS FLOW
|
12
|
+
|
13
|
+
```mermaid
|
14
|
+
graph TD
|
15
|
+
Start["START CREATIVE MODE"] --> ReadTasks["Read tasks.md<br>For Creative Requirements"]
|
16
|
+
|
17
|
+
%% Initial Assessment
|
18
|
+
ReadTasks --> VerifyPlan{"Plan Complete<br>& Creative Phases<br>Identified?"}
|
19
|
+
VerifyPlan -->|"No"| ReturnPlan["Return to<br>PLAN Mode"]
|
20
|
+
VerifyPlan -->|"Yes"| IdentifyPhases["Identify Creative<br>Phases Required"]
|
21
|
+
|
22
|
+
%% Creative Phase Selection
|
23
|
+
IdentifyPhases --> SelectPhase["Select Next<br>Creative Phase"]
|
24
|
+
SelectPhase --> PhaseType{"Creative<br>Phase Type?"}
|
25
|
+
|
26
|
+
%% Creative Phase Types
|
27
|
+
PhaseType -->|"UI/UX<br>Design"| UIPhase["UI/UX CREATIVE PHASE<br>Core/creative-phase-uiux.md"]
|
28
|
+
PhaseType -->|"Architecture<br>Design"| ArchPhase["ARCHITECTURE CREATIVE PHASE<br>Core/creative-phase-architecture.md"]
|
29
|
+
PhaseType -->|"Data Model<br>Design"| DataPhase["DATA MODEL CREATIVE PHASE<br>Core/creative-phase-data.md"]
|
30
|
+
PhaseType -->|"Algorithm<br>Design"| AlgoPhase["ALGORITHM CREATIVE PHASE<br>Core/creative-phase-algorithm.md"]
|
31
|
+
|
32
|
+
%% UI/UX Creative Phase
|
33
|
+
UIPhase --> UI_Problem["Define UI/UX<br>Problem"]
|
34
|
+
UI_Problem --> UI_Research["Research UI<br>Patterns"]
|
35
|
+
UI_Research --> UI_Options["Explore UI<br>Options"]
|
36
|
+
UI_Options --> UI_Evaluate["Evaluate User<br>Experience"]
|
37
|
+
UI_Evaluate --> UI_Decision["Make Design<br>Decision"]
|
38
|
+
UI_Decision --> UI_Document["Document UI<br>Design"]
|
39
|
+
|
40
|
+
%% Architecture Creative Phase
|
41
|
+
ArchPhase --> Arch_Problem["Define Architecture<br>Challenge"]
|
42
|
+
Arch_Problem --> Arch_Options["Explore Architecture<br>Options"]
|
43
|
+
Arch_Options --> Arch_Analyze["Analyze Tradeoffs"]
|
44
|
+
Arch_Analyze --> Arch_Decision["Make Architecture<br>Decision"]
|
45
|
+
Arch_Decision --> Arch_Document["Document<br>Architecture"]
|
46
|
+
Arch_Document --> Arch_Diagram["Create Architecture<br>Diagram"]
|
47
|
+
|
48
|
+
%% Data Model Creative Phase
|
49
|
+
DataPhase --> Data_Requirements["Define Data<br>Requirements"]
|
50
|
+
Data_Requirements --> Data_Structure["Design Data<br>Structure"]
|
51
|
+
Data_Structure --> Data_Relations["Define<br>Relationships"]
|
52
|
+
Data_Relations --> Data_Validation["Design<br>Validation"]
|
53
|
+
Data_Validation --> Data_Document["Document<br>Data Model"]
|
54
|
+
|
55
|
+
%% Algorithm Creative Phase
|
56
|
+
AlgoPhase --> Algo_Problem["Define Algorithm<br>Problem"]
|
57
|
+
Algo_Problem --> Algo_Options["Explore Algorithm<br>Approaches"]
|
58
|
+
Algo_Options --> Algo_Evaluate["Evaluate Time/Space<br>Complexity"]
|
59
|
+
Algo_Evaluate --> Algo_Decision["Make Algorithm<br>Decision"]
|
60
|
+
Algo_Decision --> Algo_Document["Document<br>Algorithm"]
|
61
|
+
|
62
|
+
%% Documentation & Completion
|
63
|
+
UI_Document & Arch_Diagram & Data_Document & Algo_Document --> CreateDoc["Create Creative<br>Phase Document"]
|
64
|
+
CreateDoc --> UpdateTasks["Update tasks.md<br>with Decision"]
|
65
|
+
UpdateTasks --> MorePhases{"More Creative<br>Phases?"}
|
66
|
+
MorePhases -->|"Yes"| SelectPhase
|
67
|
+
MorePhases -->|"No"| VerifyComplete["Verify All<br>Phases Complete"]
|
68
|
+
VerifyComplete --> NotifyComplete["Signal Creative<br>Phases Complete"]
|
69
|
+
```
|
70
|
+
|
71
|
+
## 📋 CREATIVE PHASE DOCUMENT FORMAT
|
72
|
+
|
73
|
+
Each creative phase should produce a document with this structure:
|
74
|
+
|
75
|
+
```mermaid
|
76
|
+
graph TD
|
77
|
+
subgraph "Creative Phase Document"
|
78
|
+
Header["🎨 CREATIVE PHASE: [TYPE]"]
|
79
|
+
Problem["PROBLEM STATEMENT<br>Clear definition of the problem"]
|
80
|
+
Options["OPTIONS ANALYSIS<br>Multiple approaches considered"]
|
81
|
+
Pros["PROS & CONS<br>Tradeoffs for each option"]
|
82
|
+
Decision["DECISION<br>Selected approach + rationale"]
|
83
|
+
Impl["IMPLEMENTATION PLAN<br>Steps to implement the decision"]
|
84
|
+
Diagram["VISUALIZATION<br>Diagrams of the solution"]
|
85
|
+
end
|
86
|
+
|
87
|
+
Header --> Problem --> Options --> Pros --> Decision --> Impl --> Diagram
|
88
|
+
```
|
89
|
+
|
90
|
+
## 🔍 CREATIVE TYPES AND APPROACHES
|
91
|
+
|
92
|
+
```mermaid
|
93
|
+
graph TD
|
94
|
+
subgraph "UI/UX Design"
|
95
|
+
UI1["User Flow<br>Analysis"]
|
96
|
+
UI2["Component<br>Hierarchy"]
|
97
|
+
UI3["Interaction<br>Patterns"]
|
98
|
+
UI4["Visual Design<br>Principles"]
|
99
|
+
end
|
100
|
+
|
101
|
+
subgraph "Architecture Design"
|
102
|
+
A1["Component<br>Structure"]
|
103
|
+
A2["Data Flow<br>Patterns"]
|
104
|
+
A3["Interface<br>Design"]
|
105
|
+
A4["System<br>Integration"]
|
106
|
+
end
|
107
|
+
|
108
|
+
subgraph "Data Model Design"
|
109
|
+
D1["Entity<br>Relationships"]
|
110
|
+
D2["Schema<br>Design"]
|
111
|
+
D3["Validation<br>Rules"]
|
112
|
+
D4["Query<br>Optimization"]
|
113
|
+
end
|
114
|
+
|
115
|
+
subgraph "Algorithm Design"
|
116
|
+
AL1["Complexity<br>Analysis"]
|
117
|
+
AL2["Efficiency<br>Optimization"]
|
118
|
+
AL3["Edge Case<br>Handling"]
|
119
|
+
AL4["Scaling<br>Considerations"]
|
120
|
+
end
|
121
|
+
```
|
122
|
+
|
123
|
+
## 📊 REQUIRED FILE STATE VERIFICATION
|
124
|
+
|
125
|
+
Before creative phase work can begin, verify file state:
|
126
|
+
|
127
|
+
```mermaid
|
128
|
+
graph TD
|
129
|
+
Start["File State<br>Verification"] --> CheckTasks{"tasks.md has<br>planning complete?"}
|
130
|
+
|
131
|
+
CheckTasks -->|"No"| ErrorPlan["ERROR:<br>Return to PLAN Mode"]
|
132
|
+
CheckTasks -->|"Yes"| CheckCreative{"Creative phases<br>identified?"}
|
133
|
+
|
134
|
+
CheckCreative -->|"No"| ErrorCreative["ERROR:<br>Return to PLAN Mode"]
|
135
|
+
CheckCreative -->|"Yes"| ReadyCreative["Ready for<br>Creative Phase"]
|
136
|
+
```
|
137
|
+
|
138
|
+
## 📋 OPTIONS ANALYSIS TEMPLATE
|
139
|
+
|
140
|
+
For each creative phase, analyze multiple options:
|
141
|
+
|
142
|
+
```
|
143
|
+
## OPTIONS ANALYSIS
|
144
|
+
|
145
|
+
### Option 1: [Name]
|
146
|
+
**Description**: [Brief description]
|
147
|
+
**Pros**:
|
148
|
+
- [Pro 1]
|
149
|
+
- [Pro 2]
|
150
|
+
**Cons**:
|
151
|
+
- [Con 1]
|
152
|
+
- [Con 2]
|
153
|
+
**Complexity**: [Low/Medium/High]
|
154
|
+
**Implementation Time**: [Estimate]
|
155
|
+
|
156
|
+
### Option 2: [Name]
|
157
|
+
**Description**: [Brief description]
|
158
|
+
**Pros**:
|
159
|
+
- [Pro 1]
|
160
|
+
- [Pro 2]
|
161
|
+
**Cons**:
|
162
|
+
- [Con 1]
|
163
|
+
- [Con 2]
|
164
|
+
**Complexity**: [Low/Medium/High]
|
165
|
+
**Implementation Time**: [Estimate]
|
166
|
+
|
167
|
+
### Option 3: [Name]
|
168
|
+
**Description**: [Brief description]
|
169
|
+
**Pros**:
|
170
|
+
- [Pro 1]
|
171
|
+
- [Pro 2]
|
172
|
+
**Cons**:
|
173
|
+
- [Con 1]
|
174
|
+
- [Con 2]
|
175
|
+
**Complexity**: [Low/Medium/High]
|
176
|
+
**Implementation Time**: [Estimate]
|
177
|
+
```
|
178
|
+
|
179
|
+
## 🎨 CREATIVE PHASE MARKERS
|
180
|
+
|
181
|
+
Use these visual markers for creative phases:
|
182
|
+
|
183
|
+
```
|
184
|
+
🎨🎨🎨 ENTERING CREATIVE PHASE: [TYPE] 🎨🎨🎨
|
185
|
+
|
186
|
+
[Creative phase content]
|
187
|
+
|
188
|
+
🎨 CREATIVE CHECKPOINT: [Milestone]
|
189
|
+
|
190
|
+
[Additional content]
|
191
|
+
|
192
|
+
🎨🎨🎨 EXITING CREATIVE PHASE - DECISION MADE 🎨🎨🎨
|
193
|
+
```
|
194
|
+
|
195
|
+
## 📊 CREATIVE PHASE VERIFICATION CHECKLIST
|
196
|
+
|
197
|
+
```
|
198
|
+
✓ CREATIVE PHASE VERIFICATION
|
199
|
+
- Problem clearly defined? [YES/NO]
|
200
|
+
- Multiple options considered (3+)? [YES/NO]
|
201
|
+
- Pros/cons documented for each option? [YES/NO]
|
202
|
+
- Decision made with clear rationale? [YES/NO]
|
203
|
+
- Implementation plan included? [YES/NO]
|
204
|
+
- Visualization/diagrams created? [YES/NO]
|
205
|
+
- tasks.md updated with decision? [YES/NO]
|
206
|
+
|
207
|
+
→ If all YES: Creative phase complete
|
208
|
+
→ If any NO: Complete missing elements
|
209
|
+
```
|
210
|
+
|
211
|
+
## 🔄 MODE TRANSITION NOTIFICATION
|
212
|
+
|
213
|
+
When all creative phases are complete, notify user with:
|
214
|
+
|
215
|
+
```
|
216
|
+
## CREATIVE PHASES COMPLETE
|
217
|
+
|
218
|
+
✅ All required design decisions made
|
219
|
+
✅ Creative phase documents created
|
220
|
+
✅ tasks.md updated with decisions
|
221
|
+
✅ Implementation plan updated
|
222
|
+
|
223
|
+
→ NEXT RECOMMENDED MODE: IMPLEMENT MODE
|
224
|
+
```
|