x-ipe 1.0.23__py3-none-any.whl → 1.0.25__py3-none-any.whl
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.
- x_ipe/app.py +32 -1
- x_ipe/handlers/terminal_handlers.py +6 -0
- x_ipe/handlers/voice_handlers.py +5 -0
- x_ipe/resources/copilot-instructions.md +19 -6
- x_ipe/resources/skills/lesson-learned/SKILL.md +208 -0
- x_ipe/resources/skills/lesson-learned/references/examples.md +238 -0
- x_ipe/resources/skills/project-quality-board-management/SKILL.md +135 -298
- x_ipe/resources/skills/project-quality-board-management/references/evaluation-principles.md +213 -0
- x_ipe/resources/skills/project-quality-board-management/references/evaluation-procedures.md +214 -0
- x_ipe/resources/skills/project-quality-board-management/templates/quality-report.md +70 -18
- x_ipe/resources/skills/task-execution-guideline/SKILL.md +2 -2
- x_ipe/resources/skills/task-execution-guideline/templates/task-record.yaml +1 -1
- x_ipe/resources/skills/task-type-code-implementation/SKILL.md +72 -270
- x_ipe/resources/skills/task-type-code-implementation/references/implementation-guidelines.md +432 -0
- x_ipe/resources/skills/task-type-code-refactor-v2/SKILL.md +127 -353
- x_ipe/resources/skills/task-type-code-refactor-v2/references/refactoring-techniques.md +373 -0
- x_ipe/resources/skills/task-type-feature-breakdown/SKILL.md +31 -243
- x_ipe/resources/skills/task-type-feature-breakdown/references/breakdown-guidelines.md +330 -0
- x_ipe/resources/skills/task-type-feature-refinement/SKILL.md +27 -180
- x_ipe/resources/skills/task-type-feature-refinement/references/specification-writing-guide.md +267 -0
- x_ipe/resources/skills/task-type-idea-mockup/SKILL.md +38 -276
- x_ipe/resources/skills/task-type-idea-mockup/references/mockup-guidelines.md +299 -0
- x_ipe/resources/skills/task-type-idea-to-architecture/SKILL.md +20 -218
- x_ipe/resources/skills/task-type-idea-to-architecture/references/architecture-patterns.md +342 -0
- x_ipe/resources/skills/task-type-ideation/SKILL.md +10 -266
- x_ipe/resources/skills/task-type-ideation/references/folder-naming-guide.md +55 -0
- x_ipe/resources/skills/task-type-ideation/references/tool-usage-guide.md +236 -0
- x_ipe/resources/skills/task-type-ideation-v2/SKILL.md +488 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/examples.md +377 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/folder-naming-guide.md +74 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/tool-usage-guide.md +145 -0
- x_ipe/resources/skills/task-type-ideation-v2/references/visualization-guide.md +160 -0
- x_ipe/resources/skills/task-type-ideation-v2/templates/idea-summary.md +86 -0
- x_ipe/resources/skills/task-type-refactoring-analysis/SKILL.md +83 -145
- x_ipe/resources/skills/task-type-refactoring-analysis/references/output-schema.md +172 -0
- x_ipe/resources/skills/task-type-technical-design/SKILL.md +28 -214
- x_ipe/resources/skills/task-type-technical-design/references/design-templates.md +422 -0
- x_ipe/resources/skills/task-type-test-generation/SKILL.md +47 -332
- x_ipe/resources/skills/task-type-test-generation/references/test-patterns.md +368 -0
- x_ipe/resources/skills/tool-tracing-creator/SKILL.md +312 -0
- x_ipe/resources/skills/tool-tracing-creator/references/examples.md +324 -0
- x_ipe/resources/skills/tool-tracing-instrumentation/SKILL.md +373 -0
- x_ipe/resources/skills/tool-tracing-instrumentation/references/examples.md +264 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/SKILL.md +486 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/10. example-gate-conditions.md +73 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/11. reference-quality-standards.md +127 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/2. reference-section-order.md +127 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/3. example-step-based-code-review.md +84 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/4. example-step-based-feature-implementation.md +113 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/5. example-function-based-validation.md +73 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/6. example-function-based-analysis.md +94 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/7. example-task-io-code-implementation.md +36 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/8. example-structured-summary.md +43 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/9. example-dor-dod.md +77 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/examples.md +429 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/references/skill-general-guidelines-v2.md +611 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-meta.md +153 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-based.md +324 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-category.md +109 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-tool.md +205 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-meta.md +334 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-task-based.md +279 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-tool.md +175 -0
- x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-workflow-orchestration.md +329 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/SKILL.md +487 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/examples.md +377 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/folder-naming-guide.md +74 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/tool-usage-guide.md +145 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/references/visualization-guide.md +160 -0
- x_ipe/resources/skills/x-ipe-task-based-ideation/templates/idea-summary.md +86 -0
- x_ipe/routes/__init__.py +2 -0
- x_ipe/routes/ideas_routes.py +289 -0
- x_ipe/routes/kb_routes.py +80 -0
- x_ipe/routes/main_routes.py +18 -0
- x_ipe/routes/project_routes.py +7 -0
- x_ipe/routes/proxy_routes.py +10 -2
- x_ipe/routes/quality_evaluation_routes.py +193 -0
- x_ipe/routes/settings_routes.py +6 -0
- x_ipe/routes/tools_routes.py +6 -0
- x_ipe/routes/tracing_routes.py +232 -0
- x_ipe/routes/uiux_feedback_routes.py +50 -0
- x_ipe/services/__init__.py +5 -0
- x_ipe/services/config_service.py +6 -0
- x_ipe/services/file_service.py +20 -0
- x_ipe/services/homepage_service.py +160 -0
- x_ipe/services/ideas_service.py +535 -2
- x_ipe/services/kb_service.py +378 -0
- x_ipe/services/proxy_service.py +37 -7
- x_ipe/services/settings_service.py +13 -0
- x_ipe/services/skills_service.py +4 -0
- x_ipe/services/terminal_service.py +24 -0
- x_ipe/services/themes_service.py +4 -0
- x_ipe/services/tools_config_service.py +4 -0
- x_ipe/services/tracing_service.py +333 -0
- x_ipe/services/uiux_feedback_service.py +148 -1
- x_ipe/services/voice_input_service_v2.py +11 -0
- x_ipe/static/css/base.css +7 -0
- x_ipe/static/css/homepage-infinity.css +330 -0
- x_ipe/static/css/kb-core.css +301 -0
- x_ipe/static/css/quality-evaluation.css +345 -0
- x_ipe/static/css/sidebar.css +14 -4
- x_ipe/static/css/terminal.css +23 -0
- x_ipe/static/css/tracing-dashboard.css +796 -0
- x_ipe/static/css/uiux-feedback.css +7 -1
- x_ipe/static/css/workplace.css +636 -0
- x_ipe/static/img/homepage-infinity-loop.png +0 -0
- x_ipe/static/js/features/confirm-dialog.js +169 -0
- x_ipe/static/js/features/folder-view.js +742 -0
- x_ipe/static/js/features/homepage-infinity.js +314 -0
- x_ipe/static/js/features/kb-core.js +371 -0
- x_ipe/static/js/features/quality-evaluation.js +387 -0
- x_ipe/static/js/features/sidebar.js +255 -12
- x_ipe/static/js/features/tracing-dashboard.js +855 -0
- x_ipe/static/js/features/tracing-graph.js +1031 -0
- x_ipe/static/js/features/tree-drag.js +227 -0
- x_ipe/static/js/features/tree-search.js +228 -0
- x_ipe/static/js/features/workplace.js +661 -33
- x_ipe/static/js/init.js +76 -0
- x_ipe/static/js/terminal-v2.js +45 -14
- x_ipe/static/js/terminal.js +50 -49
- x_ipe/static/js/uiux-feedback.js +75 -16
- x_ipe/templates/base.html +24 -0
- x_ipe/templates/index.html +10 -1
- x_ipe/templates/knowledge-base.html +110 -0
- x_ipe/templates/workplace.html +4 -0
- x_ipe/tracing/__init__.py +37 -0
- x_ipe/tracing/buffer.py +135 -0
- x_ipe/tracing/context.py +125 -0
- x_ipe/tracing/decorator.py +288 -0
- x_ipe/tracing/middleware.py +197 -0
- x_ipe/tracing/parser.py +235 -0
- x_ipe/tracing/redactor.py +111 -0
- x_ipe/tracing/writer.py +122 -0
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/RECORD +138 -65
- x_ipe/app.py.bak +0 -1333
- x_ipe/resources/skills/x-ipe-skill-creator/SKILL.md +0 -329
- x_ipe/resources/skills/x-ipe-skill-creator/references/output-patterns.md +0 -169
- x_ipe/resources/skills/x-ipe-skill-creator/references/skill-structure.md +0 -162
- x_ipe/resources/skills/x-ipe-skill-creator/references/workflows.md +0 -110
- x_ipe/resources/skills/x-ipe-skill-creator/templates/references/examples.md +0 -113
- x_ipe/resources/skills/x-ipe-skill-creator/templates/skill-category-skill.md +0 -296
- x_ipe/resources/skills/x-ipe-skill-creator/templates/task-type-skill.md +0 -269
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
- {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
# Architecture Patterns Reference
|
|
2
|
+
|
|
3
|
+
This document contains detailed architecture diagram examples and templates for the Idea to Architecture skill.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Mermaid Diagram Templates
|
|
8
|
+
|
|
9
|
+
### System Architecture (C4 Context)
|
|
10
|
+
|
|
11
|
+
```mermaid
|
|
12
|
+
C4Context
|
|
13
|
+
title System Context Diagram - {System Name}
|
|
14
|
+
|
|
15
|
+
Person(user, "User", "Description of user")
|
|
16
|
+
System(system, "System Name", "What the system does")
|
|
17
|
+
System_Ext(ext1, "External System", "What it provides")
|
|
18
|
+
|
|
19
|
+
Rel(user, system, "Uses")
|
|
20
|
+
Rel(system, ext1, "Integrates with")
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Container Diagram (C4 Container)
|
|
24
|
+
|
|
25
|
+
```mermaid
|
|
26
|
+
C4Container
|
|
27
|
+
title Container Diagram - {System Name}
|
|
28
|
+
|
|
29
|
+
Person(user, "User")
|
|
30
|
+
|
|
31
|
+
Container_Boundary(system, "System Name") {
|
|
32
|
+
Container(frontend, "Frontend", "Technology", "Description")
|
|
33
|
+
Container(backend, "Backend", "Technology", "Description")
|
|
34
|
+
ContainerDb(db, "Database", "Technology", "Description")
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
Rel(user, frontend, "Uses")
|
|
38
|
+
Rel(frontend, backend, "API calls")
|
|
39
|
+
Rel(backend, db, "Reads/Writes")
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Data Flow Diagram
|
|
43
|
+
|
|
44
|
+
```mermaid
|
|
45
|
+
flowchart TD
|
|
46
|
+
subgraph Input
|
|
47
|
+
A[Data Source 1]
|
|
48
|
+
B[Data Source 2]
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
subgraph Processing
|
|
52
|
+
C[Processor]
|
|
53
|
+
D[Transformer]
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
subgraph Output
|
|
57
|
+
E[Result]
|
|
58
|
+
F[(Storage)]
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
A --> C
|
|
62
|
+
B --> C
|
|
63
|
+
C --> D
|
|
64
|
+
D --> E
|
|
65
|
+
D --> F
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Sequence Diagram
|
|
69
|
+
|
|
70
|
+
```mermaid
|
|
71
|
+
sequenceDiagram
|
|
72
|
+
participant U as User
|
|
73
|
+
participant F as Frontend
|
|
74
|
+
participant B as Backend
|
|
75
|
+
participant D as Database
|
|
76
|
+
|
|
77
|
+
U->>F: Action
|
|
78
|
+
F->>B: API Request
|
|
79
|
+
B->>D: Query
|
|
80
|
+
D-->>B: Data
|
|
81
|
+
B-->>F: Response
|
|
82
|
+
F-->>U: Display
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Tool-Specific Generation
|
|
88
|
+
|
|
89
|
+
### Mermaid Diagrams in Markdown
|
|
90
|
+
|
|
91
|
+
Generate Mermaid diagrams embedded in markdown files:
|
|
92
|
+
|
|
93
|
+
```markdown
|
|
94
|
+
# System Architecture
|
|
95
|
+
|
|
96
|
+
## Context Diagram (C4 Level 1)
|
|
97
|
+
|
|
98
|
+
```mermaid
|
|
99
|
+
C4Context
|
|
100
|
+
title System Context Diagram
|
|
101
|
+
Person(user, "User", "End user of the system")
|
|
102
|
+
System(system, "Our System", "Main application")
|
|
103
|
+
System_Ext(external, "External Service", "Third-party integration")
|
|
104
|
+
|
|
105
|
+
Rel(user, system, "Uses")
|
|
106
|
+
Rel(system, external, "Integrates with")
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Container Diagram (C4 Level 2)
|
|
110
|
+
|
|
111
|
+
```mermaid
|
|
112
|
+
C4Container
|
|
113
|
+
title Container Diagram
|
|
114
|
+
Person(user, "User")
|
|
115
|
+
|
|
116
|
+
Container_Boundary(system, "System") {
|
|
117
|
+
Container(web, "Web App", "React", "User interface")
|
|
118
|
+
Container(api, "API", "Node.js", "Business logic")
|
|
119
|
+
ContainerDb(db, "Database", "PostgreSQL", "Data storage")
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
Rel(user, web, "Uses", "HTTPS")
|
|
123
|
+
Rel(web, api, "Calls", "REST/JSON")
|
|
124
|
+
Rel(api, db, "Reads/Writes", "SQL")
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
## Data Flow
|
|
128
|
+
|
|
129
|
+
```mermaid
|
|
130
|
+
flowchart LR
|
|
131
|
+
A[Input] --> B[Processing]
|
|
132
|
+
B --> C[Output]
|
|
133
|
+
B --> D[(Storage)]
|
|
134
|
+
```
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Excalidraw Integration
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
1. Check Excalidraw integration availability
|
|
141
|
+
2. Create architecture diagram using Excalidraw
|
|
142
|
+
3. Export as .excalidraw file and/or PNG
|
|
143
|
+
4. Save to architecture folder
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Manual Mode (No Tools)
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
1. Create detailed architecture description in markdown
|
|
150
|
+
2. Include text-based component listing
|
|
151
|
+
3. Document relationships and data flow
|
|
152
|
+
4. Save as architecture-description.md in {Current Idea Folder}/architecture/
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Architecture Patterns
|
|
158
|
+
|
|
159
|
+
### Pattern: Microservices Architecture
|
|
160
|
+
|
|
161
|
+
**When:** Idea describes multiple independent services
|
|
162
|
+
|
|
163
|
+
**Implementation:**
|
|
164
|
+
```
|
|
165
|
+
1. Create C4 Context showing all services
|
|
166
|
+
2. Create Container diagram for each service
|
|
167
|
+
3. Show inter-service communication
|
|
168
|
+
4. Document API boundaries
|
|
169
|
+
5. Include message queue if async communication mentioned
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**Example Structure:**
|
|
173
|
+
```mermaid
|
|
174
|
+
C4Context
|
|
175
|
+
title Microservices E-Commerce
|
|
176
|
+
|
|
177
|
+
Person(customer, "Customer")
|
|
178
|
+
System_Boundary(ecom, "E-Commerce Platform") {
|
|
179
|
+
System(web, "Web Frontend")
|
|
180
|
+
System(orders, "Order Service")
|
|
181
|
+
System(products, "Product Service")
|
|
182
|
+
System(users, "User Service")
|
|
183
|
+
}
|
|
184
|
+
System_Ext(payment, "Payment Gateway")
|
|
185
|
+
|
|
186
|
+
Rel(customer, web, "Browses")
|
|
187
|
+
Rel(web, orders, "Places orders")
|
|
188
|
+
Rel(web, products, "Views products")
|
|
189
|
+
Rel(orders, payment, "Processes payment")
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Pattern: Simple Web Application
|
|
193
|
+
|
|
194
|
+
**When:** Idea is a straightforward web app
|
|
195
|
+
|
|
196
|
+
**Implementation:**
|
|
197
|
+
```
|
|
198
|
+
1. Create simple 3-tier architecture (Frontend, Backend, Database)
|
|
199
|
+
2. Add external integrations if mentioned
|
|
200
|
+
3. Keep diagram minimal and clear
|
|
201
|
+
4. Focus on main data flows
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
**Example Structure:**
|
|
205
|
+
```mermaid
|
|
206
|
+
C4Container
|
|
207
|
+
title Simple Web App
|
|
208
|
+
|
|
209
|
+
Person(user, "User")
|
|
210
|
+
Container_Boundary(app, "Application") {
|
|
211
|
+
Container(frontend, "SPA", "React", "User interface")
|
|
212
|
+
Container(api, "API Server", "Node.js", "Business logic")
|
|
213
|
+
ContainerDb(db, "Database", "PostgreSQL", "Data persistence")
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
Rel(user, frontend, "Uses", "HTTPS")
|
|
217
|
+
Rel(frontend, api, "Calls", "REST API")
|
|
218
|
+
Rel(api, db, "Queries", "SQL")
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Pattern: Data Pipeline
|
|
222
|
+
|
|
223
|
+
**When:** Idea focuses on data processing
|
|
224
|
+
|
|
225
|
+
**Implementation:**
|
|
226
|
+
```
|
|
227
|
+
1. Create data flow diagram as primary
|
|
228
|
+
2. Show data sources, transformations, and destinations
|
|
229
|
+
3. Include storage components
|
|
230
|
+
4. Document data formats at each stage
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
**Example Structure:**
|
|
234
|
+
```mermaid
|
|
235
|
+
flowchart LR
|
|
236
|
+
subgraph Sources
|
|
237
|
+
S1[API Ingestion]
|
|
238
|
+
S2[File Upload]
|
|
239
|
+
S3[Stream Input]
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
subgraph Processing
|
|
243
|
+
P1[Validator]
|
|
244
|
+
P2[Transformer]
|
|
245
|
+
P3[Enricher]
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
subgraph Storage
|
|
249
|
+
D1[(Raw Store)]
|
|
250
|
+
D2[(Processed Store)]
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
subgraph Output
|
|
254
|
+
O1[Dashboard]
|
|
255
|
+
O2[Reports]
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
S1 & S2 & S3 --> P1
|
|
259
|
+
P1 --> D1
|
|
260
|
+
P1 --> P2
|
|
261
|
+
P2 --> P3
|
|
262
|
+
P3 --> D2
|
|
263
|
+
D2 --> O1 & O2
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Pattern: No Technical Details in Idea
|
|
267
|
+
|
|
268
|
+
**When:** Idea summary lacks technical information
|
|
269
|
+
|
|
270
|
+
**Implementation:**
|
|
271
|
+
```
|
|
272
|
+
1. Ask clarifying questions about system needs
|
|
273
|
+
2. Suggest common architecture patterns
|
|
274
|
+
3. Create minimal viable architecture
|
|
275
|
+
4. Request feedback before expanding
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
**Clarifying Questions Template:**
|
|
279
|
+
- What type of users will interact with this system?
|
|
280
|
+
- Will this be a web application, mobile app, or both?
|
|
281
|
+
- Are there any external services or integrations needed?
|
|
282
|
+
- What kind of data will be stored and processed?
|
|
283
|
+
- Are there any real-time or performance requirements?
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## Diagram Type Selection Guide
|
|
288
|
+
|
|
289
|
+
| Idea Contains | Recommended Diagram | Priority | Template Reference |
|
|
290
|
+
|---------------|---------------------|----------|-------------------|
|
|
291
|
+
| Multiple services/components | System Architecture (C4 Context/Container) | High | [C4 Context](#system-architecture-c4-context) |
|
|
292
|
+
| Data processing pipeline | Data Flow Diagram | High | [Data Flow](#data-flow-diagram) |
|
|
293
|
+
| User-system interactions | Sequence Diagram | Medium | [Sequence](#sequence-diagram) |
|
|
294
|
+
| External integrations | Integration Architecture | Medium | [C4 Context](#system-architecture-c4-context) |
|
|
295
|
+
| Microservices mentions | Component Diagram | Medium | [Microservices Pattern](#pattern-microservices-architecture) |
|
|
296
|
+
| Database mentions | Entity Relationship (high-level) | Low | Manual description |
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
## Output Artifact Structure
|
|
301
|
+
|
|
302
|
+
### Directory Layout
|
|
303
|
+
|
|
304
|
+
```
|
|
305
|
+
{Current Idea Folder}/
|
|
306
|
+
├── idea-summary-vN.md
|
|
307
|
+
├── architecture/
|
|
308
|
+
│ ├── system-architecture-v1.md (mermaid diagrams in markdown)
|
|
309
|
+
│ ├── data-flow-v1.md (data flow diagrams)
|
|
310
|
+
│ ├── sequence-v1.md (sequence diagrams)
|
|
311
|
+
│ ├── architecture.excalidraw (if excalidraw used)
|
|
312
|
+
│ └── architecture-description.md (if manual mode)
|
|
313
|
+
└── files/
|
|
314
|
+
└── (original idea files)
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### File Naming Convention
|
|
318
|
+
|
|
319
|
+
```
|
|
320
|
+
{diagram-type}-v{version}.{extension}
|
|
321
|
+
|
|
322
|
+
Examples:
|
|
323
|
+
- system-architecture-v1.md
|
|
324
|
+
- data-flow-v1.md
|
|
325
|
+
- sequence-v1.md
|
|
326
|
+
- integration-v1.md
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Summary Update Template
|
|
330
|
+
|
|
331
|
+
```markdown
|
|
332
|
+
## Architecture Diagrams
|
|
333
|
+
|
|
334
|
+
| Diagram | Type | Path | Tool Used |
|
|
335
|
+
|---------|------|------|-----------|
|
|
336
|
+
| System Architecture | C4 Context/Container | architecture/system-architecture-v1.md | mermaid |
|
|
337
|
+
| Data Flow | Flowchart | architecture/data-flow-v1.md | mermaid |
|
|
338
|
+
|
|
339
|
+
### Viewing Instructions
|
|
340
|
+
- Open .md files to view mermaid diagrams (renders in most markdown viewers)
|
|
341
|
+
- Excalidraw files can be opened at excalidraw.com
|
|
342
|
+
```
|
|
@@ -120,23 +120,7 @@ Learn and refine user ideas through collaborative brainstorming by:
|
|
|
120
120
|
4. **Tool disabled (`false`):** Skip the tool
|
|
121
121
|
5. **Tool unavailable:** Log limitation and proceed without it
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
When tools are enabled in the meta file, the agent MUST attempt to use them during the ideation process:
|
|
126
|
-
|
|
127
|
-
| Tool Type | When to Use | Example Tools |
|
|
128
|
-
|-----------|-------------|---------------|
|
|
129
|
-
| Design Tools | Visual mockups, wireframes | `frontend-design`, Figma MCP |
|
|
130
|
-
| Diagram Tools | Flowcharts, architecture diagrams | `mermaid`, `antv-infographic` |
|
|
131
|
-
| Research Tools | Market analysis, competitor research | Web search, databases |
|
|
132
|
-
| Prototyping Tools | Quick demos, proof of concepts | Code generation, no-code tools |
|
|
133
|
-
|
|
134
|
-
**Usage Rules:**
|
|
135
|
-
1. Read `x-ipe-docs/config/tools.json` at start of ideation task
|
|
136
|
-
2. For each section (`stages.ideation.ideation`, `stages.ideation.mockup`, `stages.ideation.sharing`), check enabled tools
|
|
137
|
-
3. If tool is enabled (`true`) → Attempt to use during relevant steps
|
|
138
|
-
4. If tool is unavailable or fails → Document the limitation and proceed manually
|
|
139
|
-
5. Always inform user which tools are active based on config
|
|
123
|
+
See [references/tool-usage-guide.md](references/tool-usage-guide.md) for detailed tool behavior, mapping, and usage examples.
|
|
140
124
|
|
|
141
125
|
---
|
|
142
126
|
|
|
@@ -237,56 +221,9 @@ Execute Ideation by following these steps in order:
|
|
|
237
221
|
|
|
238
222
|
**When:** Any tool is set to `true` in the config file
|
|
239
223
|
|
|
240
|
-
|
|
241
|
-
1. For each section in config (stages.ideation.ideation, stages.ideation.mockup, stages.ideation.sharing):
|
|
242
|
-
a. Identify tools with value = true
|
|
243
|
-
b. For each enabled tool:
|
|
244
|
-
- Check if tool is available (skill, MCP, API)
|
|
245
|
-
- Test basic connectivity/functionality
|
|
246
|
-
- Document tool capabilities and limitations
|
|
247
|
-
2. If tool unavailable:
|
|
248
|
-
a. Log the issue
|
|
249
|
-
b. Inform user of limitation
|
|
250
|
-
c. Proceed with manual alternatives
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
**Tool Mapping & Skill Invocation:**
|
|
224
|
+
**Process:** Check tool availability and test connectivity for each enabled tool in config sections.
|
|
254
225
|
|
|
255
|
-
|
|
256
|
-
|------------|------------------|---------------|
|
|
257
|
-
| `stages.ideation.ideation.antv-infographic` | `infographic-syntax-creator` skill | Call skill to generate infographic DSL syntax |
|
|
258
|
-
| `stages.ideation.ideation.mermaid` | Mermaid code blocks | Generate mermaid diagrams directly in markdown |
|
|
259
|
-
| `stages.ideation.ideation.tool-architecture-dsl` | `tool-architecture-dsl` skill | Generate Architecture DSL directly in markdown (IPE renders it) |
|
|
260
|
-
| `stages.ideation.mockup.frontend-design` | `frontend-design` skill | Call skill to create HTML/CSS mockups |
|
|
261
|
-
| `stages.ideation.mockup.figma-mcp` | Figma MCP server | Use MCP tools for Figma integration |
|
|
262
|
-
|
|
263
|
-
**Skill Invocation Rules:**
|
|
264
|
-
|
|
265
|
-
```
|
|
266
|
-
For each enabled tool in config:
|
|
267
|
-
IF config.stages.ideation.ideation["antv-infographic"] == true:
|
|
268
|
-
→ Load and invoke `infographic-syntax-creator` skill for visual summaries
|
|
269
|
-
→ Use infographic DSL in idea-summary document
|
|
270
|
-
|
|
271
|
-
IF config.stages.ideation.ideation["mermaid"] == true:
|
|
272
|
-
→ Generate mermaid diagrams for flowcharts, sequences
|
|
273
|
-
→ Embed as ```mermaid code blocks in documents
|
|
274
|
-
|
|
275
|
-
IF config.stages.ideation.ideation["tool-architecture-dsl"] == true:
|
|
276
|
-
→ Load `tool-architecture-dsl` skill for layered architecture diagrams
|
|
277
|
-
→ Generate Architecture DSL directly in markdown
|
|
278
|
-
→ Embed as ```architecture-dsl code blocks (IPE renders natively)
|
|
279
|
-
→ Use for: module view (layers, services), landscape view (integrations)
|
|
280
|
-
|
|
281
|
-
IF config.stages.ideation.mockup["frontend-design"] == true:
|
|
282
|
-
→ Load and invoke `frontend-design` skill during brainstorming
|
|
283
|
-
→ Create interactive HTML mockups when discussing UI concepts
|
|
284
|
-
→ Save mockups to x-ipe-docs/ideas/{folder}/mockup-vN.html (version aligned with idea-summary)
|
|
285
|
-
|
|
286
|
-
IF config.stages.ideation.mockup["figma-mcp"] == true:
|
|
287
|
-
→ Use Figma MCP tools if available
|
|
288
|
-
→ Create/update designs in connected Figma files
|
|
289
|
-
```
|
|
226
|
+
See [references/tool-usage-guide.md](references/tool-usage-guide.md) for tool mapping tables and skill invocation rules.
|
|
290
227
|
|
|
291
228
|
**Output:** Tools status report (enabled/disabled/unavailable)
|
|
292
229
|
|
|
@@ -322,104 +259,7 @@ For each enabled tool in config:
|
|
|
322
259
|
|
|
323
260
|
**Action:** Engage user with clarifying questions to refine the idea
|
|
324
261
|
|
|
325
|
-
**Tool-Enhanced Brainstorming (
|
|
326
|
-
|
|
327
|
-
When tools are enabled in `x-ipe-docs/config/tools.json`, invoke corresponding skills during brainstorming:
|
|
328
|
-
|
|
329
|
-
| Config Enabled | Skill to Invoke | When to Use |
|
|
330
|
-
|----------------|-----------------|-------------|
|
|
331
|
-
| `stages.ideation.mockup.frontend-design: true` | `frontend-design` skill | User describes UI → Create HTML mockup |
|
|
332
|
-
| `stages.ideation.ideation.mermaid: true` | Mermaid syntax | User describes flow → Generate diagram |
|
|
333
|
-
| `stages.ideation.ideation.antv-infographic: true` | `infographic-syntax-creator` skill | Visualize lists, comparisons |
|
|
334
|
-
| `stages.ideation.ideation.tool-architecture-dsl: true` | `tool-architecture-dsl` skill | User describes layers/services → Generate architecture DSL |
|
|
335
|
-
|
|
336
|
-
**Example: Config-Driven Tool Usage:**
|
|
337
|
-
```
|
|
338
|
-
Config: { "stages": { "ideation": { "mockup": { "frontend-design": true } } } }
|
|
339
|
-
|
|
340
|
-
User: "I want a dashboard with charts and filters"
|
|
341
|
-
Agent Action:
|
|
342
|
-
1. Ask clarifying questions about chart types, layout preferences
|
|
343
|
-
2. IF stages.ideation.mockup.frontend-design == true:
|
|
344
|
-
→ Invoke `frontend-design` skill
|
|
345
|
-
→ Create interactive HTML mockup
|
|
346
|
-
→ Save to x-ipe-docs/ideas/{folder}/mockup-vN.html (aligned with idea-summary version)
|
|
347
|
-
3. Share mockup: "I've created a mockup - does this match your vision?"
|
|
348
|
-
4. Iterate based on feedback
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
**Example: Mermaid Diagram Generation:**
|
|
352
|
-
```
|
|
353
|
-
Config: { "stages": { "ideation": { "ideation": { "mermaid": true } } } }
|
|
354
|
-
|
|
355
|
-
User: "The user flow goes from login to dashboard to settings"
|
|
356
|
-
Agent Action:
|
|
357
|
-
1. IF stages.ideation.ideation.mermaid == true:
|
|
358
|
-
→ Generate mermaid flowchart
|
|
359
|
-
→ Share in conversation:
|
|
360
|
-
|
|
361
|
-
```mermaid
|
|
362
|
-
flowchart LR
|
|
363
|
-
Login --> Dashboard --> Settings
|
|
364
|
-
```
|
|
365
|
-
2. Ask: "Does this capture the flow correctly?"
|
|
366
|
-
```
|
|
367
|
-
|
|
368
|
-
**Example: Architecture DSL Generation:**
|
|
369
|
-
```
|
|
370
|
-
Config: { "stages": { "ideation": { "ideation": { "tool-architecture-dsl": true } } } }
|
|
371
|
-
|
|
372
|
-
User: "The system has 3 layers: frontend, backend services, and database"
|
|
373
|
-
Agent Action:
|
|
374
|
-
1. IF stages.ideation.ideation.tool-architecture-dsl == true:
|
|
375
|
-
→ Load `tool-architecture-dsl` skill
|
|
376
|
-
→ Generate Architecture DSL directly in markdown
|
|
377
|
-
→ Embed in idea-summary as:
|
|
378
|
-
|
|
379
|
-
```architecture-dsl
|
|
380
|
-
@startuml module-view
|
|
381
|
-
title "System Architecture"
|
|
382
|
-
theme "theme-default"
|
|
383
|
-
direction top-to-bottom
|
|
384
|
-
grid 12 x 6
|
|
385
|
-
|
|
386
|
-
layer "Frontend" {
|
|
387
|
-
color "#fce7f3"
|
|
388
|
-
border-color "#ec4899"
|
|
389
|
-
rows 2
|
|
390
|
-
module "Web" { cols 12, rows 2, grid 1 x 1, component "React App" { cols 1, rows 1 } }
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
layer "Backend" {
|
|
394
|
-
color "#dbeafe"
|
|
395
|
-
border-color "#3b82f6"
|
|
396
|
-
rows 2
|
|
397
|
-
module "Services" { cols 12, rows 2, grid 2 x 1, component "API" { cols 1, rows 1 }, component "Workers" { cols 1, rows 1 } }
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
layer "Data" {
|
|
401
|
-
color "#dcfce7"
|
|
402
|
-
border-color "#22c55e"
|
|
403
|
-
rows 2
|
|
404
|
-
module "Storage" { cols 12, rows 2, grid 1 x 1, component "PostgreSQL" { cols 1, rows 1 } }
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
@enduml
|
|
408
|
-
```
|
|
409
|
-
2. IPE renders this as interactive diagram in the browser
|
|
410
|
-
3. Ask: "Does this architecture structure match your vision?"
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
**Question Categories:**
|
|
414
|
-
|
|
415
|
-
| Category | Example Questions |
|
|
416
|
-
|----------|-------------------|
|
|
417
|
-
| Problem Space | "What problem does this solve?" |
|
|
418
|
-
| Target Users | "Who will benefit from this?" |
|
|
419
|
-
| Scope | "What should be included in v1?" |
|
|
420
|
-
| Constraints | "Are there any technical limitations?" |
|
|
421
|
-
| Success Criteria | "How will we know it's successful?" |
|
|
422
|
-
| Alternatives | "Have you considered approach X?" |
|
|
262
|
+
**Tool-Enhanced Brainstorming:** When tools are enabled, invoke corresponding skills during brainstorming. See [references/tool-usage-guide.md](references/tool-usage-guide.md) for detailed examples.
|
|
423
263
|
|
|
424
264
|
**Rules:**
|
|
425
265
|
- Ask questions in batches (3-5 at a time)
|
|
@@ -443,32 +283,8 @@ Agent Action:
|
|
|
443
283
|
**When to Research:**
|
|
444
284
|
- The idea touches well-known domains (e.g., authentication, e-commerce, data pipelines)
|
|
445
285
|
- Industry best practices exist for the problem space
|
|
446
|
-
- Established patterns or frameworks are relevant
|
|
447
|
-
- The idea could benefit from proven approaches
|
|
448
286
|
|
|
449
|
-
|
|
450
|
-
```
|
|
451
|
-
1. Identify if topic is common/established
|
|
452
|
-
2. Use web_search tool to research:
|
|
453
|
-
- Industry best practices
|
|
454
|
-
- Common design patterns
|
|
455
|
-
- Established principles
|
|
456
|
-
- Reference implementations
|
|
457
|
-
3. Document findings as "Common Principles"
|
|
458
|
-
4. Note authoritative sources for references
|
|
459
|
-
```
|
|
460
|
-
|
|
461
|
-
**Example Common Topics & Principles:**
|
|
462
|
-
|
|
463
|
-
| Topic | Common Principles to Research |
|
|
464
|
-
|-------|------------------------------|
|
|
465
|
-
| Authentication | OAuth 2.0, JWT best practices, MFA patterns |
|
|
466
|
-
| API Design | REST conventions, OpenAPI, rate limiting |
|
|
467
|
-
| Data Storage | ACID properties, CAP theorem, data modeling |
|
|
468
|
-
| UI/UX | Nielsen heuristics, accessibility (WCAG), mobile-first |
|
|
469
|
-
| Security | OWASP Top 10, zero-trust, encryption standards |
|
|
470
|
-
| Scalability | Horizontal scaling, caching strategies, CDN usage |
|
|
471
|
-
| DevOps | CI/CD pipelines, IaC, observability |
|
|
287
|
+
See [references/tool-usage-guide.md](references/tool-usage-guide.md#research-common-principles) for detailed research process and example topics.
|
|
472
288
|
|
|
473
289
|
**Output:** List of relevant principles with sources to include in idea summary
|
|
474
290
|
|
|
@@ -485,52 +301,11 @@ Agent Action:
|
|
|
485
301
|
- **Use visualization tools based on config** (see `references/visualization-guide.md`)
|
|
486
302
|
- **If tools were used:** Include artifacts created (mockups, prototypes) in the summary
|
|
487
303
|
|
|
488
|
-
**Mockup Versioning:**
|
|
489
|
-
|
|
490
|
-
When creating mockups, the version MUST align with the idea-summary version:
|
|
491
|
-
|
|
492
|
-
```
|
|
493
|
-
Naming Convention: mockup-vN.html (where N matches idea-summary-vN.md)
|
|
494
|
-
|
|
495
|
-
Examples:
|
|
496
|
-
- idea-summary-v1.md → mockup-v1.html
|
|
497
|
-
- idea-summary-v2.md → mockup-v2.html
|
|
498
|
-
- idea-summary-v3.md → mockup-v3.html
|
|
499
|
-
|
|
500
|
-
Location: x-ipe-docs/ideas/{folder}/mockup-vN.html (same folder as idea-summary)
|
|
501
|
-
```
|
|
304
|
+
**Mockup Versioning:** When creating mockups, version aligns with idea-summary (e.g., `idea-summary-v1.md` → `mockup-v1.html`). Save to `x-ipe-docs/ideas/{folder}/mockup-vN.html`.
|
|
502
305
|
|
|
503
|
-
**
|
|
504
|
-
```
|
|
505
|
-
1. Determine current idea-summary version (N)
|
|
506
|
-
2. If creating mockup during this ideation session:
|
|
507
|
-
→ Name it mockup-vN.html to match the idea-summary version
|
|
508
|
-
3. If mockup-vN.html already exists:
|
|
509
|
-
→ Overwrite it (mockup is tied to that idea version)
|
|
510
|
-
4. Reference mockup in idea-summary-vN.md:
|
|
511
|
-
→ Link: [View Mockup](./mockup-vN.html)
|
|
512
|
-
```
|
|
306
|
+
**Config-Driven Visualization:** Check `x-ipe-docs/config/tools.json` and use enabled tools (infographic, mermaid, architecture-dsl) for visualizations. If all disabled, use standard markdown.
|
|
513
307
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
```
|
|
517
|
-
When creating idea summary, check x-ipe-docs/config/tools.json config:
|
|
518
|
-
|
|
519
|
-
IF config.stages.ideation.ideation["antv-infographic"] == true:
|
|
520
|
-
→ Invoke `infographic-syntax-creator` skill
|
|
521
|
-
→ Use infographic DSL for: feature lists, roadmaps, comparisons
|
|
522
|
-
|
|
523
|
-
IF config.stages.ideation.ideation["mermaid"] == true:
|
|
524
|
-
→ Use mermaid syntax for: flowcharts, sequences, state diagrams
|
|
525
|
-
|
|
526
|
-
IF config.stages.ideation.ideation["tool-architecture-dsl"] == true:
|
|
527
|
-
→ Use Architecture DSL for: layered architecture, module views, landscape views
|
|
528
|
-
→ Embed directly in markdown as ```architecture-dsl code blocks
|
|
529
|
-
→ IPE renders these natively as interactive diagrams
|
|
530
|
-
|
|
531
|
-
IF ALL are false:
|
|
532
|
-
→ Use standard markdown (bullet lists, tables)
|
|
533
|
-
```
|
|
308
|
+
See [references/tool-usage-guide.md](references/tool-usage-guide.md#config-driven-visualization-for-idea-summary) for detailed config-driven visualization rules.
|
|
534
309
|
|
|
535
310
|
**Template:** See `templates/idea-summary.md`
|
|
536
311
|
|
|
@@ -544,40 +319,9 @@ IF ALL are false:
|
|
|
544
319
|
|
|
545
320
|
**Action:** If the idea folder has the default "Draft Idea" name, rename it based on the refined idea content
|
|
546
321
|
|
|
547
|
-
**When
|
|
548
|
-
- Folder name matches pattern: `Draft Idea - MMDDYYYY HHMMSS`
|
|
549
|
-
- Idea has been refined and has a clear identity
|
|
550
|
-
|
|
551
|
-
**Naming Logic:**
|
|
552
|
-
```
|
|
553
|
-
1. Check if folder name starts with "Draft Idea - "
|
|
554
|
-
2. If YES:
|
|
555
|
-
a. Extract timestamp suffix (MMDDYYYY HHMMSS)
|
|
556
|
-
b. Generate idea name from:
|
|
557
|
-
- Core concept identified in brainstorming
|
|
558
|
-
- Main theme from idea summary
|
|
559
|
-
- Keep it concise (2-5 words)
|
|
560
|
-
c. Format new name: "{Idea Name} - {timestamp}"
|
|
561
|
-
d. Rename folder using filesystem/API
|
|
562
|
-
e. Update any internal references if needed
|
|
563
|
-
3. If NO (already has custom name):
|
|
564
|
-
a. Skip renaming
|
|
565
|
-
b. Log: "Folder already has custom name"
|
|
566
|
-
```
|
|
567
|
-
|
|
568
|
-
**Naming Guidelines:**
|
|
569
|
-
- Use Title Case for idea name
|
|
570
|
-
- Keep name concise but descriptive (2-5 words)
|
|
571
|
-
- Avoid special characters (use only alphanumeric, spaces, hyphens)
|
|
572
|
-
- Preserve the original timestamp suffix
|
|
573
|
-
|
|
574
|
-
**Examples:**
|
|
322
|
+
**When:** Folder name matches pattern `Draft Idea - MMDDYYYY HHMMSS` and idea has a clear identity.
|
|
575
323
|
|
|
576
|
-
|
|
577
|
-
|-----------------|--------------|-----------------|
|
|
578
|
-
| `Draft Idea - 01232026 143500` | Mobile app for task management | `Task Manager App - 01232026 143500` |
|
|
579
|
-
| `Draft Idea - 01222026 091200` | AI-powered code review tool | `AI Code Reviewer - 01222026 091200` |
|
|
580
|
-
| `Draft Idea - 01212026 160000` | E-commerce checkout optimization | `Checkout Optimizer - 01212026 160000` |
|
|
324
|
+
See [references/folder-naming-guide.md](references/folder-naming-guide.md) for detailed naming logic, guidelines, and examples.
|
|
581
325
|
|
|
582
326
|
**Output:** Folder renamed (or skipped if already named)
|
|
583
327
|
|