x-ipe 1.0.24__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.
Files changed (139) hide show
  1. x_ipe/app.py +25 -3
  2. x_ipe/handlers/terminal_handlers.py +6 -0
  3. x_ipe/handlers/voice_handlers.py +5 -0
  4. x_ipe/resources/copilot-instructions.md +19 -6
  5. x_ipe/resources/skills/lesson-learned/SKILL.md +208 -0
  6. x_ipe/resources/skills/lesson-learned/references/examples.md +238 -0
  7. x_ipe/resources/skills/project-quality-board-management/SKILL.md +135 -298
  8. x_ipe/resources/skills/project-quality-board-management/references/evaluation-principles.md +213 -0
  9. x_ipe/resources/skills/project-quality-board-management/references/evaluation-procedures.md +214 -0
  10. x_ipe/resources/skills/project-quality-board-management/templates/quality-report.md +70 -18
  11. x_ipe/resources/skills/task-execution-guideline/SKILL.md +2 -2
  12. x_ipe/resources/skills/task-execution-guideline/templates/task-record.yaml +1 -1
  13. x_ipe/resources/skills/task-type-code-implementation/SKILL.md +72 -270
  14. x_ipe/resources/skills/task-type-code-implementation/references/implementation-guidelines.md +432 -0
  15. x_ipe/resources/skills/task-type-code-refactor-v2/SKILL.md +127 -353
  16. x_ipe/resources/skills/task-type-code-refactor-v2/references/refactoring-techniques.md +373 -0
  17. x_ipe/resources/skills/task-type-feature-breakdown/SKILL.md +31 -243
  18. x_ipe/resources/skills/task-type-feature-breakdown/references/breakdown-guidelines.md +330 -0
  19. x_ipe/resources/skills/task-type-feature-refinement/SKILL.md +27 -180
  20. x_ipe/resources/skills/task-type-feature-refinement/references/specification-writing-guide.md +267 -0
  21. x_ipe/resources/skills/task-type-idea-mockup/SKILL.md +38 -276
  22. x_ipe/resources/skills/task-type-idea-mockup/references/mockup-guidelines.md +299 -0
  23. x_ipe/resources/skills/task-type-idea-to-architecture/SKILL.md +20 -218
  24. x_ipe/resources/skills/task-type-idea-to-architecture/references/architecture-patterns.md +342 -0
  25. x_ipe/resources/skills/task-type-ideation/SKILL.md +10 -266
  26. x_ipe/resources/skills/task-type-ideation/references/folder-naming-guide.md +55 -0
  27. x_ipe/resources/skills/task-type-ideation/references/tool-usage-guide.md +236 -0
  28. x_ipe/resources/skills/task-type-ideation-v2/SKILL.md +488 -0
  29. x_ipe/resources/skills/task-type-ideation-v2/references/examples.md +377 -0
  30. x_ipe/resources/skills/task-type-ideation-v2/references/folder-naming-guide.md +74 -0
  31. x_ipe/resources/skills/task-type-ideation-v2/references/tool-usage-guide.md +145 -0
  32. x_ipe/resources/skills/task-type-ideation-v2/references/visualization-guide.md +160 -0
  33. x_ipe/resources/skills/task-type-ideation-v2/templates/idea-summary.md +86 -0
  34. x_ipe/resources/skills/task-type-refactoring-analysis/SKILL.md +83 -145
  35. x_ipe/resources/skills/task-type-refactoring-analysis/references/output-schema.md +172 -0
  36. x_ipe/resources/skills/task-type-technical-design/SKILL.md +28 -214
  37. x_ipe/resources/skills/task-type-technical-design/references/design-templates.md +422 -0
  38. x_ipe/resources/skills/task-type-test-generation/SKILL.md +47 -332
  39. x_ipe/resources/skills/task-type-test-generation/references/test-patterns.md +368 -0
  40. x_ipe/resources/skills/tool-tracing-creator/SKILL.md +312 -0
  41. x_ipe/resources/skills/tool-tracing-creator/references/examples.md +324 -0
  42. x_ipe/resources/skills/tool-tracing-instrumentation/SKILL.md +373 -0
  43. x_ipe/resources/skills/tool-tracing-instrumentation/references/examples.md +264 -0
  44. x_ipe/resources/skills/x-ipe-skill-creator-v3/SKILL.md +486 -0
  45. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/10. example-gate-conditions.md +73 -0
  46. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/11. reference-quality-standards.md +127 -0
  47. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/2. reference-section-order.md +127 -0
  48. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/3. example-step-based-code-review.md +84 -0
  49. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/4. example-step-based-feature-implementation.md +113 -0
  50. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/5. example-function-based-validation.md +73 -0
  51. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/6. example-function-based-analysis.md +94 -0
  52. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/7. example-task-io-code-implementation.md +36 -0
  53. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/8. example-structured-summary.md +43 -0
  54. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/9. example-dor-dod.md +77 -0
  55. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/examples.md +429 -0
  56. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/skill-general-guidelines-v2.md +611 -0
  57. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-meta.md +153 -0
  58. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-based.md +324 -0
  59. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-category.md +109 -0
  60. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-tool.md +205 -0
  61. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-meta.md +334 -0
  62. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-task-based.md +279 -0
  63. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-tool.md +175 -0
  64. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-workflow-orchestration.md +329 -0
  65. x_ipe/resources/skills/x-ipe-task-based-ideation/SKILL.md +487 -0
  66. x_ipe/resources/skills/x-ipe-task-based-ideation/references/examples.md +377 -0
  67. x_ipe/resources/skills/x-ipe-task-based-ideation/references/folder-naming-guide.md +74 -0
  68. x_ipe/resources/skills/x-ipe-task-based-ideation/references/tool-usage-guide.md +145 -0
  69. x_ipe/resources/skills/x-ipe-task-based-ideation/references/visualization-guide.md +160 -0
  70. x_ipe/resources/skills/x-ipe-task-based-ideation/templates/idea-summary.md +86 -0
  71. x_ipe/routes/__init__.py +2 -0
  72. x_ipe/routes/ideas_routes.py +17 -0
  73. x_ipe/routes/kb_routes.py +80 -0
  74. x_ipe/routes/main_routes.py +18 -0
  75. x_ipe/routes/project_routes.py +7 -0
  76. x_ipe/routes/proxy_routes.py +2 -0
  77. x_ipe/routes/quality_evaluation_routes.py +193 -0
  78. x_ipe/routes/settings_routes.py +6 -0
  79. x_ipe/routes/tools_routes.py +6 -0
  80. x_ipe/routes/tracing_routes.py +232 -0
  81. x_ipe/routes/uiux_feedback_routes.py +30 -0
  82. x_ipe/services/__init__.py +5 -0
  83. x_ipe/services/config_service.py +6 -0
  84. x_ipe/services/file_service.py +20 -0
  85. x_ipe/services/homepage_service.py +160 -0
  86. x_ipe/services/ideas_service.py +19 -0
  87. x_ipe/services/kb_service.py +378 -0
  88. x_ipe/services/proxy_service.py +4 -0
  89. x_ipe/services/settings_service.py +13 -0
  90. x_ipe/services/skills_service.py +4 -0
  91. x_ipe/services/terminal_service.py +24 -0
  92. x_ipe/services/themes_service.py +4 -0
  93. x_ipe/services/tools_config_service.py +4 -0
  94. x_ipe/services/tracing_service.py +333 -0
  95. x_ipe/services/uiux_feedback_service.py +32 -0
  96. x_ipe/services/voice_input_service_v2.py +11 -0
  97. x_ipe/static/css/base.css +7 -0
  98. x_ipe/static/css/homepage-infinity.css +330 -0
  99. x_ipe/static/css/kb-core.css +301 -0
  100. x_ipe/static/css/quality-evaluation.css +345 -0
  101. x_ipe/static/css/sidebar.css +14 -4
  102. x_ipe/static/css/terminal.css +1 -0
  103. x_ipe/static/css/tracing-dashboard.css +796 -0
  104. x_ipe/static/css/workplace.css +20 -0
  105. x_ipe/static/img/homepage-infinity-loop.png +0 -0
  106. x_ipe/static/js/features/homepage-infinity.js +314 -0
  107. x_ipe/static/js/features/kb-core.js +371 -0
  108. x_ipe/static/js/features/quality-evaluation.js +387 -0
  109. x_ipe/static/js/features/sidebar.js +255 -12
  110. x_ipe/static/js/features/tracing-dashboard.js +855 -0
  111. x_ipe/static/js/features/tracing-graph.js +1031 -0
  112. x_ipe/static/js/features/tree-search.js +6 -2
  113. x_ipe/static/js/features/workplace.js +200 -6
  114. x_ipe/static/js/init.js +76 -0
  115. x_ipe/static/js/uiux-feedback.js +18 -2
  116. x_ipe/templates/base.html +19 -0
  117. x_ipe/templates/index.html +7 -1
  118. x_ipe/templates/knowledge-base.html +110 -0
  119. x_ipe/templates/workplace.html +4 -0
  120. x_ipe/tracing/__init__.py +37 -0
  121. x_ipe/tracing/buffer.py +135 -0
  122. x_ipe/tracing/context.py +125 -0
  123. x_ipe/tracing/decorator.py +288 -0
  124. x_ipe/tracing/middleware.py +197 -0
  125. x_ipe/tracing/parser.py +235 -0
  126. x_ipe/tracing/redactor.py +111 -0
  127. x_ipe/tracing/writer.py +122 -0
  128. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
  129. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/RECORD +132 -62
  130. x_ipe/resources/skills/x-ipe-skill-creator/SKILL.md +0 -329
  131. x_ipe/resources/skills/x-ipe-skill-creator/references/output-patterns.md +0 -169
  132. x_ipe/resources/skills/x-ipe-skill-creator/references/skill-structure.md +0 -162
  133. x_ipe/resources/skills/x-ipe-skill-creator/references/workflows.md +0 -110
  134. x_ipe/resources/skills/x-ipe-skill-creator/templates/references/examples.md +0 -113
  135. x_ipe/resources/skills/x-ipe-skill-creator/templates/skill-category-skill.md +0 -296
  136. x_ipe/resources/skills/x-ipe-skill-creator/templates/task-type-skill.md +0 -269
  137. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
  138. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
  139. {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,377 @@
1
+ # Ideation - Examples
2
+
3
+ > Reference from SKILL.md: `See [references/examples.md](references/examples.md)`
4
+
5
+ ---
6
+
7
+ ## Example 1: Business Plan Ideation with Tools Enabled
8
+
9
+ **Scenario:** User uploads business plan draft to `x-ipe-docs/ideas/mobile-app-idea/files/`
10
+
11
+ **Config File:** `x-ipe-docs/config/tools.json`
12
+ ```json
13
+ {
14
+ "version": "2.0",
15
+ "stages": {
16
+ "ideation": {
17
+ "ideation": {
18
+ "antv-infographic": true,
19
+ "mermaid": true
20
+ },
21
+ "mockup": {
22
+ "frontend-design": true
23
+ },
24
+ "sharing": {}
25
+ }
26
+ }
27
+ }
28
+ ```
29
+
30
+ **Execution:**
31
+ ```
32
+ 1. Execute Task Flow from task-execution-guideline skill
33
+
34
+ 2. Load Toolbox Meta:
35
+ - Read x-ipe-docs/config/tools.json
36
+ - Enabled tools:
37
+ - stages.ideation.ideation.antv-infographic: true → will invoke infographic-syntax-creator
38
+ - stages.ideation.ideation.mermaid: true → will use mermaid diagrams
39
+ - stages.ideation.mockup.frontend-design: true → will invoke frontend-design skill
40
+
41
+ 3. Analyze Files:
42
+ - Read business-plan.md
43
+ - Read user-research.txt
44
+ - Read competitor-notes.md
45
+
46
+ 4. Initialize Tools:
47
+ - infographic-syntax-creator skill → Available
48
+ - mermaid capability → Available
49
+ - frontend-design skill → Available
50
+ - Status: All enabled tools ready
51
+
52
+ 5. Generate Summary:
53
+ "I understand you want to build a mobile app for..."
54
+ "Enabled tools: antv-infographic, mermaid (visualization), frontend-design (mockups)"
55
+
56
+ 6. Brainstorming Questions (with Config-Driven Tool Usage):
57
+ - "Your notes mention both iOS and Android - should v1 target both?"
58
+ - "The user research shows two distinct personas - which is primary?"
59
+ - User describes dashboard flow:
60
+ → config.stages.ideation.ideation.mermaid == true
61
+ → Generate mermaid flowchart to visualize
62
+ - User wants to see dashboard layout:
63
+ → config.stages.ideation.mockup.frontend-design == true
64
+ → Invoke frontend-design skill
65
+ → Create HTML mockup, save to x-ipe-docs/ideas/mobile-app-idea/mockups/mockup-v1.html
66
+ - Share mockup: "Does this layout match your vision?"
67
+ - Iterate based on feedback
68
+
69
+ 7. Research Common Principles (if applicable):
70
+ - Mobile app → Research: Mobile UX best practices, offline-first patterns
71
+ - User auth → Research: OAuth 2.0, biometric auth standards
72
+ - Document sources for references section
73
+
74
+ 8. Create x-ipe-docs/ideas/mobile-app-idea/idea-summary-v1.md with:
75
+ - Overview and problem statement (text)
76
+ - Key Features (config.stages.ideation.ideation.antv-infographic == true → use infographic: list-grid-badge-card)
77
+ - User Flow (config.stages.ideation.ideation.mermaid == true → use mermaid flowchart)
78
+ - Implementation Phases (infographic: sequence-roadmap-vertical-simple)
79
+ - Platform Comparison (infographic: compare-binary-horizontal-badge-card-arrow)
80
+ - Ideation Artifacts section with link to mockups created
81
+ - References & Common Principles section with researched sources
82
+
83
+ 9. Resume Task Flow from task-execution-guideline skill
84
+ ```
85
+
86
+ ---
87
+
88
+ ## Example 2: Ideation WITHOUT Tools (All Disabled)
89
+
90
+ **Config File:** `x-ipe-docs/config/tools.json`
91
+ ```json
92
+ {
93
+ "version": "2.0",
94
+ "stages": {
95
+ "ideation": {
96
+ "ideation": {
97
+ "antv-infographic": false,
98
+ "mermaid": false
99
+ },
100
+ "mockup": {
101
+ "frontend-design": false
102
+ },
103
+ "sharing": {}
104
+ }
105
+ }
106
+ }
107
+ ```
108
+
109
+ **Execution:**
110
+ ```
111
+ 1. Load Toolbox Meta:
112
+ - All tools disabled
113
+ - Inform user: "No visualization tools configured"
114
+
115
+ 2. Skip Step 3 (Initialize Tools) - no tools enabled
116
+
117
+ 3. Proceed with standard brainstorming:
118
+ - Ask clarifying questions
119
+ - Gather requirements through conversation
120
+ - No visual artifacts created during ideation
121
+
122
+ 4. Create idea summary using standard markdown:
123
+ - Bullet lists instead of infographics
124
+ - Tables instead of visual comparisons
125
+ - Text descriptions instead of diagrams
126
+
127
+ 5. Output:
128
+ task_output_links:
129
+ - x-ipe-docs/ideas/{folder}/idea-summary-v1.md
130
+ ```
131
+
132
+ ---
133
+
134
+ ## Example 3: Missing Config File
135
+
136
+ **Scenario:** No `x-ipe-docs/config/tools.json` exists
137
+
138
+ **Execution:**
139
+ ```
140
+ 1. Check for x-ipe-docs/config/tools.json
141
+ → File NOT FOUND
142
+
143
+ 2. Create default config file:
144
+ {
145
+ "version": "2.0",
146
+ "stages": {
147
+ "ideation": {
148
+ "ideation": {
149
+ "antv-infographic": false,
150
+ "mermaid": false
151
+ },
152
+ "mockup": {
153
+ "frontend-design": false
154
+ },
155
+ "sharing": {}
156
+ }
157
+ }
158
+ }
159
+
160
+ 3. Inform user:
161
+ "Created default x-ipe-docs/config/tools.json with all tools disabled.
162
+ To enable visualization tools, update the config file."
163
+
164
+ 4. Proceed with standard text-based ideation
165
+ ```
166
+
167
+ ---
168
+
169
+ ## Example 4: Draft Folder Rename
170
+
171
+ **Scenario:** Idea folder is named "Draft Idea - 01232026 131611"
172
+
173
+ **Execution:**
174
+ ```
175
+ 1. Complete ideation process...
176
+
177
+ 2. Idea refined to: "E-Commerce Checkout System"
178
+
179
+ 3. Rename Folder:
180
+ FROM: x-ipe-docs/ideas/Draft Idea - 01232026 131611/
181
+ TO: x-ipe-docs/ideas/E-Commerce Checkout - 01232026 131611/
182
+
183
+ 4. Update all internal links in idea-summary-v1.md
184
+
185
+ 5. Output includes new folder path:
186
+ idea_folder: "E-Commerce Checkout - 01232026 131611"
187
+ folder_renamed: true
188
+ ```
189
+
190
+ ---
191
+
192
+ ## Example 5: Brainstorming Question Batches
193
+
194
+ **Scenario:** Showing proper question batching technique
195
+
196
+ **Good Example (Batch of 3-5):**
197
+ ```
198
+ Agent: Based on your notes, I have a few questions:
199
+
200
+ 1. You mentioned "real-time collaboration" - should changes sync instantly or is near-real-time (5-10 second delay) acceptable?
201
+ 2. The target audience seems to be both individuals and teams - which should we prioritize for v1?
202
+ 3. Are there any existing tools your users currently use that we should integrate with?
203
+ 4. What's the expected document size - small notes or large documents?
204
+
205
+ User: [responds]
206
+
207
+ Agent: Great, that clarifies a lot. A few more questions:
208
+
209
+ 1. For team collaboration, do you need role-based permissions (admin/editor/viewer)?
210
+ 2. Should the app work offline?
211
+ 3. What platforms should we support - web only, or mobile too?
212
+ ```
213
+
214
+ **Bad Example (Too many at once):**
215
+ ```
216
+ Agent: Here are my questions:
217
+ 1. Real-time or near-real-time?
218
+ 2. Individual or team focus?
219
+ 3. Integrations needed?
220
+ 4. Document size?
221
+ 5. Role permissions?
222
+ 6. Offline support?
223
+ 7. Platforms?
224
+ 8. Authentication method?
225
+ 9. Data storage location?
226
+ 10. Export formats?
227
+
228
+ [This overwhelms the user - don't do this]
229
+ ```
230
+
231
+ ---
232
+
233
+ ## Example 6: Tool-Enhanced Brainstorming Flow
234
+
235
+ **Scenario:** Using tools during conversation
236
+
237
+ ```
238
+ Agent: You mentioned the dashboard should have "key metrics at a glance". Let me visualize what I understand:
239
+
240
+ ```mermaid
241
+ flowchart TD
242
+ A[Dashboard] --> B[Revenue Widget]
243
+ A --> C[Active Users Widget]
244
+ A --> D[Recent Activity Feed]
245
+ A --> E[Quick Actions Panel]
246
+ ```
247
+
248
+ Does this capture the main sections? What's missing?
249
+
250
+ User: Yes, but the Quick Actions should be at the top, not bottom. Also add a notifications panel.
251
+
252
+ Agent: Got it! Let me create a mockup to show the layout:
253
+
254
+ [Invokes frontend-design skill]
255
+ [Creates mockup-v1.html with updated layout]
256
+
257
+ I've created a mockup at x-ipe-docs/ideas/{folder}/mockups/mockup-v1.html showing:
258
+ - Quick Actions at top right
259
+ - Notifications panel below header
260
+ - Revenue and Active Users widgets side by side
261
+ - Recent Activity Feed at bottom
262
+
263
+ Does this match your vision? Any adjustments needed?
264
+ ```
265
+
266
+ ---
267
+
268
+ ## Example 7: Draft → Critique → Improve Flow
269
+
270
+ **Scenario:** Showing the new 3-step summary refinement process
271
+
272
+ **Step 7 - Generate Draft:**
273
+ ```markdown
274
+ # Idea Summary (DRAFT)
275
+
276
+ > Idea ID: IDEA-012
277
+ > Version: v1 (draft)
278
+
279
+ ## Overview
280
+ Mobile expense tracking app for small business owners.
281
+
282
+ ## Problem Statement
283
+ Small business owners struggle to track expenses on the go.
284
+
285
+ ## Key Features
286
+ ```infographic
287
+ infographic list-grid-badge-card
288
+ data
289
+ title Key Features
290
+ lists
291
+ - label Receipt Scanning
292
+ desc OCR-based receipt capture
293
+ icon camera
294
+ - label Categorization
295
+ desc Auto-categorize expenses
296
+ icon folder
297
+ ```
298
+
299
+ ## Success Criteria
300
+ - [ ] Users can scan receipts in under 5 seconds
301
+ - [ ] 95% accuracy on expense categorization
302
+ ```
303
+
304
+ **Step 8 - Critique Feedback (Sub-agent):**
305
+ ```yaml
306
+ critique:
307
+ strengths:
308
+ - Clear problem statement
309
+ - Good use of infographic for features
310
+ - Specific success criteria with metrics
311
+
312
+ improvements:
313
+ - Target Users section missing - who exactly are "small business owners"?
314
+ - No mention of integration with accounting software
315
+ - Success criteria needs "categorization accuracy" measurement method
316
+ - Missing constraints/considerations (offline capability? data privacy?)
317
+
318
+ questions:
319
+ - Is this iOS only, Android only, or both?
320
+ - What's the expected expense volume per user?
321
+ - Should receipts be stored locally or cloud?
322
+ ```
323
+
324
+ **Step 9 - Improve and Deliver:**
325
+ ```markdown
326
+ # Idea Summary
327
+
328
+ > Idea ID: IDEA-012
329
+ > Version: v1
330
+
331
+ ## Overview
332
+ Mobile expense tracking app for small business owners.
333
+
334
+ ## Problem Statement
335
+ Small business owners struggle to track expenses on the go, leading to
336
+ missed deductions and poor financial visibility.
337
+
338
+ ## Target Users (ADDED)
339
+ - Freelancers with 10-50 monthly expenses
340
+ - Small business owners (1-10 employees)
341
+ - Consultants who travel frequently
342
+
343
+ ## Key Features
344
+ ```infographic
345
+ infographic list-grid-badge-card
346
+ data
347
+ title Key Features
348
+ lists
349
+ - label Receipt Scanning
350
+ desc OCR-based receipt capture
351
+ icon camera
352
+ - label Categorization
353
+ desc Auto-categorize expenses with ML
354
+ icon folder
355
+ - label Accounting Sync (ADDED)
356
+ desc QuickBooks & Xero integration
357
+ icon link
358
+ ```
359
+
360
+ ## Constraints & Considerations (ADDED)
361
+ - Offline-first: Must work without internet
362
+ - Privacy: Receipts stored locally by default, cloud opt-in
363
+ - Platform: iOS first, Android in v2
364
+
365
+ ## Success Criteria (IMPROVED)
366
+ - [ ] Users can scan receipts in under 5 seconds
367
+ - [ ] 95% accuracy on expense categorization (measured via user corrections)
368
+ - [ ] Sync with accounting software in under 30 seconds
369
+ ```
370
+
371
+ **Key Improvements Made:**
372
+ 1. Added Target Users section with specifics
373
+ 2. Added accounting integration feature
374
+ 3. Clarified categorization accuracy measurement
375
+ 4. Added Constraints & Considerations section
376
+ 5. Specified platform strategy
377
+ ```
@@ -0,0 +1,74 @@
1
+ # Folder Naming Guide
2
+
3
+ This reference document describes the logic for renaming draft idea folders.
4
+
5
+ ---
6
+
7
+ ## Draft Folder Pattern
8
+
9
+ **Pattern:** `Draft Idea - MMDDYYYY HHMMSS`
10
+
11
+ **Examples:**
12
+ - `Draft Idea - 01232026 131611`
13
+ - `Draft Idea - 02052026 093045`
14
+
15
+ ---
16
+
17
+ ## Rename Logic
18
+
19
+ ```yaml
20
+ rename_rules:
21
+ trigger_condition:
22
+ - Folder name matches "Draft Idea - MMDDYYYY HHMMSS" pattern
23
+ - Idea has been refined and has clear identity
24
+
25
+ new_name_format: "{Idea Name} - {timestamp}"
26
+
27
+ naming_guidelines:
28
+ max_length: 50
29
+ allowed_chars: "alphanumeric, spaces, hyphens"
30
+ avoid: "special characters, slashes, quotes"
31
+
32
+ preserve: "Original timestamp from folder name"
33
+ ```
34
+
35
+ ---
36
+
37
+ ## Naming Guidelines
38
+
39
+ | Guideline | Rule | Example |
40
+ |-----------|------|---------|
41
+ | Be Descriptive | Use clear, meaningful name | "E-Commerce Checkout" not "Project A" |
42
+ | Keep Concise | Max 50 characters | "Mobile App Dashboard" |
43
+ | Use Title Case | Capitalize first letter of each word | "Knowledge Base System" |
44
+ | Preserve Timestamp | Keep original creation timestamp | "Mobile App - 01232026 131611" |
45
+
46
+ ---
47
+
48
+ ## Rename Process
49
+
50
+ ```
51
+ 1. Check if folder name matches draft pattern
52
+ Pattern: /^Draft Idea - \d{8} \d{6}$/
53
+
54
+ 2. If match AND idea has clear name:
55
+ a. Extract timestamp from original name
56
+ b. Generate new name from idea summary
57
+ c. Rename folder: x-ipe-docs/ideas/{new-name}/
58
+ d. Update any internal references
59
+
60
+ 3. If no match OR idea unclear:
61
+ a. Skip rename
62
+ b. Set folder_renamed: false
63
+ ```
64
+
65
+ ---
66
+
67
+ ## Examples
68
+
69
+ | Before | After | Reason |
70
+ |--------|-------|--------|
71
+ | `Draft Idea - 01232026 131611` | `E-Commerce Checkout - 01232026 131611` | Idea refined to checkout system |
72
+ | `Draft Idea - 02052026 093045` | `Mobile Dashboard - 02052026 093045` | Idea refined to mobile dashboard |
73
+ | `My Cool App` | `My Cool App` | Already named, no change |
74
+ | `Draft Idea - 01152026 140000` | `Draft Idea - 01152026 140000` | Idea not yet clear, skip rename |
@@ -0,0 +1,145 @@
1
+ # Tool Usage Guide
2
+
3
+ This reference document contains detailed tool configuration, mapping, and usage examples for the Ideation skill.
4
+
5
+ ---
6
+
7
+ ## Tool Configuration File
8
+
9
+ **Location:** `x-ipe-docs/config/tools.json`
10
+
11
+ **Format:**
12
+ ```json
13
+ {
14
+ "version": "2.0",
15
+ "stages": {
16
+ "ideation": {
17
+ "ideation": {
18
+ "antv-infographic": false,
19
+ "mermaid": true,
20
+ "tool-architecture-dsl": false,
21
+ "_extra_instruction": "Optional extra instructions"
22
+ },
23
+ "mockup": {
24
+ "frontend-design": true,
25
+ "figma-mcp": false
26
+ },
27
+ "sharing": {}
28
+ }
29
+ }
30
+ }
31
+ ```
32
+
33
+ ---
34
+
35
+ ## Tool Mapping & Skill Invocation
36
+
37
+ | Config Key | Skill/Capability | How to Invoke |
38
+ |------------|------------------|---------------|
39
+ | `stages.ideation.ideation.antv-infographic` | `infographic-syntax-creator` skill | Call skill to generate infographic DSL syntax |
40
+ | `stages.ideation.ideation.mermaid` | Mermaid code blocks | Generate mermaid diagrams directly in markdown |
41
+ | `stages.ideation.ideation.tool-architecture-dsl` | `tool-architecture-dsl` skill | Generate Architecture DSL directly in markdown |
42
+ | `stages.ideation.mockup.frontend-design` | `frontend-design` skill | Call skill to create HTML/CSS mockups |
43
+ | `stages.ideation.mockup.figma-mcp` | Figma MCP server | Use MCP tools for Figma integration |
44
+
45
+ ---
46
+
47
+ ## Skill Invocation Rules
48
+
49
+ ```yaml
50
+ invocation_rules:
51
+ antv_infographic:
52
+ config_key: "stages.ideation.ideation.antv-infographic"
53
+ when_true: "Load and invoke infographic-syntax-creator skill"
54
+ use_for: "Visual summaries, feature lists, roadmaps, comparisons"
55
+ output: "Infographic DSL code blocks"
56
+
57
+ mermaid:
58
+ config_key: "stages.ideation.ideation.mermaid"
59
+ when_true: "Generate mermaid diagrams"
60
+ use_for: "Flowcharts, sequences, state diagrams"
61
+ output: "```mermaid code blocks"
62
+
63
+ architecture_dsl:
64
+ config_key: "stages.ideation.ideation.tool-architecture-dsl"
65
+ when_true: "Load tool-architecture-dsl skill"
66
+ use_for: "Layered architecture, module views, landscape views"
67
+ output: "```architecture-dsl code blocks"
68
+
69
+ frontend_design:
70
+ config_key: "stages.ideation.mockup.frontend-design"
71
+ when_true: "Load and invoke frontend-design skill"
72
+ use_for: "Interactive HTML mockups during brainstorming"
73
+ output: "HTML files in x-ipe-docs/ideas/{folder}/mockups/"
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Tool-Enhanced Brainstorming
79
+
80
+ When tools are enabled, invoke corresponding skills during brainstorming:
81
+
82
+ | User Describes | Config Check | Tool Action |
83
+ |----------------|--------------|-------------|
84
+ | UI layout | `mockup.frontend-design == true` | Invoke frontend-design, create mockup |
85
+ | User flow | `ideation.mermaid == true` | Generate mermaid flowchart |
86
+ | Feature list | `ideation.antv-infographic == true` | Use infographic DSL |
87
+ | System layers | `ideation.tool-architecture-dsl == true` | Generate architecture DSL |
88
+
89
+ ---
90
+
91
+ ## Config-Driven Visualization (for Idea Summary)
92
+
93
+ ```yaml
94
+ visualization_rules:
95
+ priority_order:
96
+ 1: "Check antv-infographic for features/roadmaps"
97
+ 2: "Check mermaid for flowcharts/sequences"
98
+ 3: "Check tool-architecture-dsl for architecture"
99
+ 4: "Fall back to standard markdown"
100
+
101
+ antv_infographic_templates:
102
+ feature_list: "list-grid-badge-card"
103
+ roadmap: "sequence-roadmap-vertical-simple"
104
+ comparison: "compare-binary-horizontal-badge-card-arrow"
105
+
106
+ fallback_when_disabled:
107
+ features: "Bullet list with bold headers"
108
+ roadmap: "Numbered list with phases"
109
+ comparison: "Markdown table"
110
+ ```
111
+
112
+ ---
113
+
114
+ ## Question Categories
115
+
116
+ | Category | Example Questions |
117
+ |----------|-------------------|
118
+ | Problem Space | "What problem does this solve?" |
119
+ | Target Users | "Who will benefit from this?" |
120
+ | Scope | "What should be included in v1?" |
121
+ | Constraints | "Are there any technical limitations?" |
122
+ | Success Criteria | "How will we know it's successful?" |
123
+ | Alternatives | "Have you considered approach X?" |
124
+
125
+ ---
126
+
127
+ ## Research Common Principles
128
+
129
+ ### When to Research
130
+
131
+ - Topic touches well-known domains (auth, e-commerce, data pipelines)
132
+ - Industry best practices exist
133
+ - Established patterns or frameworks are relevant
134
+
135
+ ### Common Topics & Principles
136
+
137
+ | Topic | Common Principles to Research |
138
+ |-------|------------------------------|
139
+ | Authentication | OAuth 2.0, JWT best practices, MFA patterns |
140
+ | API Design | REST conventions, OpenAPI, rate limiting |
141
+ | Data Storage | ACID properties, CAP theorem, data modeling |
142
+ | UI/UX | Nielsen heuristics, accessibility (WCAG), mobile-first |
143
+ | Security | OWASP Top 10, zero-trust, encryption standards |
144
+ | Scalability | Horizontal scaling, caching strategies, CDN usage |
145
+ | DevOps | CI/CD pipelines, IaC, observability |