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.
- x_ipe/app.py +25 -3
- 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 +17 -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 +2 -0
- 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 +30 -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 +19 -0
- x_ipe/services/kb_service.py +378 -0
- x_ipe/services/proxy_service.py +4 -0
- 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 +32 -0
- 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 +1 -0
- x_ipe/static/css/tracing-dashboard.css +796 -0
- x_ipe/static/css/workplace.css +20 -0
- x_ipe/static/img/homepage-infinity-loop.png +0 -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-search.js +6 -2
- x_ipe/static/js/features/workplace.js +200 -6
- x_ipe/static/js/init.js +76 -0
- x_ipe/static/js/uiux-feedback.js +18 -2
- x_ipe/templates/base.html +19 -0
- x_ipe/templates/index.html +7 -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.24.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/RECORD +132 -62
- 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.24.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
- {x_ipe-1.0.24.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# Feature Specification Writing Guide
|
|
2
|
+
|
|
3
|
+
This guide provides detailed templates, examples, and best practices for writing feature specifications.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Specification Section Templates
|
|
8
|
+
|
|
9
|
+
### Overview Section
|
|
10
|
+
|
|
11
|
+
Write 2-3 paragraphs covering:
|
|
12
|
+
1. **What** - What this feature does
|
|
13
|
+
2. **Why** - Why it's needed
|
|
14
|
+
3. **Who** - Who will use it
|
|
15
|
+
|
|
16
|
+
### User Stories Template
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
As a [user type], I want to [action/goal], so that [benefit/value].
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Examples:**
|
|
23
|
+
- As a **customer**, I want to **save items to my cart**, so that **I can purchase them later**.
|
|
24
|
+
- As an **admin**, I want to **view all user orders**, so that **I can track sales and resolve issues**.
|
|
25
|
+
- As a **developer**, I want to **access API documentation**, so that **I can integrate with the service**.
|
|
26
|
+
- As a **support agent**, I want to **search customer tickets**, so that **I can quickly find and resolve issues**.
|
|
27
|
+
|
|
28
|
+
### Acceptance Criteria Template
|
|
29
|
+
|
|
30
|
+
Format: `- [ ] Criterion: [Specific, measurable condition]`
|
|
31
|
+
|
|
32
|
+
**Good Examples:**
|
|
33
|
+
- [ ] User can add up to 50 items to cart
|
|
34
|
+
- [ ] Cart total updates within 200ms of item addition
|
|
35
|
+
- [ ] Error message displays when stock is insufficient
|
|
36
|
+
- [ ] Session persists for 24 hours of inactivity
|
|
37
|
+
|
|
38
|
+
**Bad Examples (avoid):**
|
|
39
|
+
- [ ] Cart works correctly (too vague)
|
|
40
|
+
- [ ] System is fast (not measurable)
|
|
41
|
+
- [ ] User has good experience (subjective)
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Functional Requirements Template
|
|
46
|
+
|
|
47
|
+
### FR-N: [Requirement Name]
|
|
48
|
+
|
|
49
|
+
**Description:** [What the system must do]
|
|
50
|
+
|
|
51
|
+
**Details:**
|
|
52
|
+
- Input: [What data is provided]
|
|
53
|
+
- Process: [What happens]
|
|
54
|
+
- Output: [What result is produced]
|
|
55
|
+
|
|
56
|
+
**Example - FR-1: Add to Cart**
|
|
57
|
+
|
|
58
|
+
**Description:** System must allow users to add products to their shopping cart.
|
|
59
|
+
|
|
60
|
+
**Details:**
|
|
61
|
+
- Input: Product ID, quantity (1-99)
|
|
62
|
+
- Process: Validate stock availability, add to cart, recalculate total
|
|
63
|
+
- Output: Updated cart with new item, total price displayed
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Non-Functional Requirements Templates
|
|
68
|
+
|
|
69
|
+
### NFR-1: Performance
|
|
70
|
+
|
|
71
|
+
- Response time: [X seconds/milliseconds]
|
|
72
|
+
- Throughput: [X requests per second]
|
|
73
|
+
- Concurrent users: [X users]
|
|
74
|
+
|
|
75
|
+
**Example:**
|
|
76
|
+
- Response time: < 200ms for cart operations
|
|
77
|
+
- Throughput: 1000 add-to-cart requests per second
|
|
78
|
+
- Concurrent users: 10,000 simultaneous sessions
|
|
79
|
+
|
|
80
|
+
### NFR-2: Security
|
|
81
|
+
|
|
82
|
+
- Authentication required: [Yes/No]
|
|
83
|
+
- Authorization level: [Role/permission required]
|
|
84
|
+
- Data encryption: [What data, how encrypted]
|
|
85
|
+
|
|
86
|
+
**Example:**
|
|
87
|
+
- Authentication required: Yes (JWT token)
|
|
88
|
+
- Authorization level: Registered customer or higher
|
|
89
|
+
- Data encryption: Credit card data encrypted with AES-256
|
|
90
|
+
|
|
91
|
+
### NFR-3: Scalability
|
|
92
|
+
|
|
93
|
+
- Expected growth: [User/data growth projections]
|
|
94
|
+
- Scaling strategy: [Horizontal/vertical]
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## UI/UX Requirements Template
|
|
99
|
+
|
|
100
|
+
**Wireframes/Mockups:** [Link or embed]
|
|
101
|
+
|
|
102
|
+
**User Flows:**
|
|
103
|
+
1. User navigates to [page/screen]
|
|
104
|
+
2. User performs [action]
|
|
105
|
+
3. System displays [result]
|
|
106
|
+
|
|
107
|
+
**UI Elements:**
|
|
108
|
+
- Button: [Label, action]
|
|
109
|
+
- Form fields: [List with validation rules]
|
|
110
|
+
- Error messages: [List with conditions]
|
|
111
|
+
|
|
112
|
+
**Example User Flow - Checkout:**
|
|
113
|
+
1. User navigates to cart page
|
|
114
|
+
2. User clicks "Proceed to Checkout"
|
|
115
|
+
3. System validates cart items in stock
|
|
116
|
+
4. System displays shipping address form
|
|
117
|
+
5. User enters address and clicks "Continue"
|
|
118
|
+
6. System displays payment options
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Business Rules Template
|
|
123
|
+
|
|
124
|
+
### BR-N: [Rule Name]
|
|
125
|
+
|
|
126
|
+
**Rule:** [Clear statement of business rule]
|
|
127
|
+
|
|
128
|
+
**Examples:**
|
|
129
|
+
- Only authenticated users can add items to cart
|
|
130
|
+
- Prices must be positive numbers
|
|
131
|
+
- Discounts cannot exceed 90%
|
|
132
|
+
- Free shipping applies to orders over $50
|
|
133
|
+
- Refunds must be processed within 14 days
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Edge Cases & Constraints Template
|
|
138
|
+
|
|
139
|
+
### Edge Case N: [Scenario]
|
|
140
|
+
|
|
141
|
+
**Scenario:** [Describe unusual or boundary condition]
|
|
142
|
+
**Expected Behavior:** [How system should respond]
|
|
143
|
+
|
|
144
|
+
**Common Edge Cases to Consider:**
|
|
145
|
+
| Category | Edge Cases |
|
|
146
|
+
|----------|------------|
|
|
147
|
+
| User Session | Session expires during operation, multiple tabs open |
|
|
148
|
+
| Data | Empty state, maximum limit reached, invalid format |
|
|
149
|
+
| Network | Connection lost, slow response, timeout |
|
|
150
|
+
| Concurrency | Simultaneous edits, race conditions |
|
|
151
|
+
| Boundary | Min/max values, empty inputs, special characters |
|
|
152
|
+
|
|
153
|
+
**Example:**
|
|
154
|
+
- User session expires during checkout → Redirect to login, preserve cart
|
|
155
|
+
- Database connection lost → Show error, queue for retry
|
|
156
|
+
- Invalid input format → Return validation error with details
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Out of Scope Template
|
|
161
|
+
|
|
162
|
+
Format: `- [What is NOT included and why/when planned]`
|
|
163
|
+
|
|
164
|
+
**Examples:**
|
|
165
|
+
- Social media login (only email/password for v1.0)
|
|
166
|
+
- Multi-factor authentication (planned for v2.0)
|
|
167
|
+
- Mobile app support (web only for v1.0)
|
|
168
|
+
- International shipping (domestic only for launch)
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Dependencies Section Templates
|
|
173
|
+
|
|
174
|
+
### Internal Dependencies
|
|
175
|
+
|
|
176
|
+
Format: `- **FEATURE-XXX:** [Why needed, what it provides]`
|
|
177
|
+
|
|
178
|
+
**Example:**
|
|
179
|
+
- **FEATURE-001:** User authentication - provides user identity for cart association
|
|
180
|
+
- **FEATURE-003:** Product catalog - provides product data for cart items
|
|
181
|
+
|
|
182
|
+
### External Dependencies
|
|
183
|
+
|
|
184
|
+
Format: `- **Name:** [Purpose, version if known]`
|
|
185
|
+
|
|
186
|
+
**Example:**
|
|
187
|
+
- **Stripe SDK v3.2:** Payment processing
|
|
188
|
+
- **SendGrid API:** Email notifications
|
|
189
|
+
- **Redis 7.0:** Session storage
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## Linked Mockups Section Template
|
|
194
|
+
|
|
195
|
+
```markdown
|
|
196
|
+
## Linked Mockups
|
|
197
|
+
|
|
198
|
+
| Mockup | Type | Path | Description |
|
|
199
|
+
|--------|------|------|-------------|
|
|
200
|
+
| Dashboard Main | HTML | [mockups/dashboard-v1.html](mockups/dashboard-v1.html) | Main dashboard layout |
|
|
201
|
+
| Settings Panel | HTML | [mockups/settings.html](mockups/settings.html) | User settings page |
|
|
202
|
+
|
|
203
|
+
> **Note:** UI/UX requirements below are derived from these mockups.
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Mockup-to-Specification Mapping
|
|
209
|
+
|
|
210
|
+
| Mockup Element | Specification Section |
|
|
211
|
+
|----------------|----------------------|
|
|
212
|
+
| Layout/Components | UI/UX Requirements → UI Elements |
|
|
213
|
+
| Forms/Inputs | Functional Requirements + Validation Rules |
|
|
214
|
+
| Buttons/Actions | User Stories + Acceptance Criteria |
|
|
215
|
+
| Navigation | User Flows |
|
|
216
|
+
| Error States | Edge Cases & Constraints |
|
|
217
|
+
| Data Display | Functional Requirements → Output |
|
|
218
|
+
| Loading States | Edge Cases → Empty/Loading |
|
|
219
|
+
| Responsive Hints | NFR → Accessibility |
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## Mockup Analysis Checklist
|
|
224
|
+
|
|
225
|
+
When analyzing mockups, extract:
|
|
226
|
+
|
|
227
|
+
- [ ] Layout structure and component hierarchy
|
|
228
|
+
- [ ] User interaction patterns (clicks, hovers, inputs)
|
|
229
|
+
- [ ] Visual design elements (colors, spacing, typography)
|
|
230
|
+
- [ ] Form fields, validation rules, error states
|
|
231
|
+
- [ ] Navigation flows and page transitions
|
|
232
|
+
- [ ] Responsive behavior hints
|
|
233
|
+
- [ ] Loading states
|
|
234
|
+
- [ ] Empty states
|
|
235
|
+
- [ ] Error states
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## Version History Format
|
|
240
|
+
|
|
241
|
+
```markdown
|
|
242
|
+
## Version History
|
|
243
|
+
|
|
244
|
+
| Version | Date | Description |
|
|
245
|
+
|---------|------|-------------|
|
|
246
|
+
| v2.0 | 01-22-2026 | Major upgrade: xterm.js, session persistence, split-pane |
|
|
247
|
+
| v1.0 | 01-18-2026 | Initial specification |
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
**Rules:**
|
|
251
|
+
- Maintain ONE specification file per feature
|
|
252
|
+
- Add/update Version History table after the header
|
|
253
|
+
- Increment version in document header (v1.0 → v2.0)
|
|
254
|
+
- Update content in place with new version
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## Specification Quality Checklist
|
|
259
|
+
|
|
260
|
+
- [ ] All acceptance criteria are testable
|
|
261
|
+
- [ ] User stories provide clear value
|
|
262
|
+
- [ ] Functional requirements are complete
|
|
263
|
+
- [ ] Non-functional requirements defined
|
|
264
|
+
- [ ] Dependencies clearly stated
|
|
265
|
+
- [ ] Edge cases identified
|
|
266
|
+
- [ ] Out of scope explicitly listed
|
|
267
|
+
- [ ] Mockups linked and analyzed (if applicable)
|
|
@@ -19,41 +19,16 @@ Create visual mockups and prototypes for refined ideas by:
|
|
|
19
19
|
## Important Notes
|
|
20
20
|
|
|
21
21
|
### Skill Prerequisite
|
|
22
|
-
-
|
|
23
|
-
-
|
|
22
|
+
- Learn `task-execution-guideline` and `task-board-management` skills first.
|
|
23
|
+
- Learn `tool-frontend-design` skill if enabled in config.
|
|
24
24
|
|
|
25
|
-
**Important:** If Agent
|
|
25
|
+
**Important:** If Agent lacks skill capability, go to `.github/skills/` folder to learn skills via SKILL.md files.
|
|
26
26
|
|
|
27
27
|
### ⚠️ UI/UX Focus Only
|
|
28
28
|
|
|
29
|
-
**
|
|
29
|
+
**Focus ONLY on UI/UX presentation—ignore all tech stack mentions.**
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|----------|--------|
|
|
33
|
-
| Visual layout and composition | Backend tech stack (Python, Node.js, etc.) |
|
|
34
|
-
| User interaction patterns | Database choices (PostgreSQL, MongoDB, etc.) |
|
|
35
|
-
| Navigation and flow | API implementation details |
|
|
36
|
-
| Color schemes and typography | Framework specifics (React, Vue, Django, etc.) |
|
|
37
|
-
| Responsive design | Infrastructure and deployment |
|
|
38
|
-
| Component placement | Authentication mechanisms |
|
|
39
|
-
| User experience | Server architecture |
|
|
40
|
-
|
|
41
|
-
**Rationale:** Mockups are for visualizing the user experience, not technical implementation. Tech stack decisions come later during Technical Design.
|
|
42
|
-
|
|
43
|
-
**Example:**
|
|
44
|
-
```
|
|
45
|
-
Idea mentions: "Build with React and Node.js, use PostgreSQL"
|
|
46
|
-
|
|
47
|
-
Mockup should show:
|
|
48
|
-
✓ How the dashboard looks
|
|
49
|
-
✓ Where buttons and inputs are placed
|
|
50
|
-
✓ User flow between screens
|
|
51
|
-
|
|
52
|
-
Mockup should NOT include:
|
|
53
|
-
✗ React component structure
|
|
54
|
-
✗ API endpoint labels
|
|
55
|
-
✗ Database schema hints
|
|
56
|
-
```
|
|
31
|
+
See [references/mockup-guidelines.md](references/mockup-guidelines.md) for detailed focus guidelines.
|
|
57
32
|
|
|
58
33
|
---
|
|
59
34
|
|
|
@@ -76,89 +51,13 @@ Mockup should NOT include:
|
|
|
76
51
|
|-----------|---------------|-------------|
|
|
77
52
|
| Auto Proceed | False | Auto-advance to next task |
|
|
78
53
|
| Ideation Toolbox Meta | `{project_root}/x-ipe-docs/config/tools.json` | Config file for enabled tools |
|
|
79
|
-
| Current Idea Folder | N/A | **Required from context** - path to current idea folder
|
|
54
|
+
| Current Idea Folder | N/A | **Required from context** - path to current idea folder |
|
|
80
55
|
| Extra Instructions | N/A | Additional context or requirements for mockup creation |
|
|
81
56
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
**Source:** This value can be obtained from:
|
|
87
|
-
1. Human input (explicit instructions provided)
|
|
88
|
-
2. `x-ipe-docs/config/tools.json` → `stages.ideation.mockup._extra_instruction` field
|
|
89
|
-
3. Default: N/A (no extra instructions)
|
|
90
|
-
|
|
91
|
-
**Loading Logic:**
|
|
92
|
-
```
|
|
93
|
-
1. IF human provides explicit Extra Instructions:
|
|
94
|
-
→ Use human-provided value
|
|
95
|
-
|
|
96
|
-
2. ELSE IF x-ipe-docs/config/tools.json exists:
|
|
97
|
-
a. Read stages.ideation.mockup._extra_instruction field
|
|
98
|
-
b. IF field exists AND is not empty:
|
|
99
|
-
→ Use value from config
|
|
100
|
-
c. ELSE:
|
|
101
|
-
→ Use default: N/A
|
|
102
|
-
|
|
103
|
-
3. IF Extra Instructions != N/A:
|
|
104
|
-
→ Apply these instructions when identifying mockup needs
|
|
105
|
-
→ Consider them when invoking mockup tools
|
|
106
|
-
→ Factor them into design preferences
|
|
107
|
-
→ Reference them during human review
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**Usage:** When Extra Instructions are provided, the agent MUST incorporate them into the mockup creation workflow, particularly when designing UI elements and choosing visual styles.
|
|
111
|
-
|
|
112
|
-
### Current Idea Folder Attribute
|
|
113
|
-
|
|
114
|
-
**Source:** This value MUST be obtained from context:
|
|
115
|
-
- From previous Ideation task output (`idea_folder` field)
|
|
116
|
-
- From task board (associated idea folder)
|
|
117
|
-
- From human input if not available in context
|
|
118
|
-
|
|
119
|
-
**Validation:**
|
|
120
|
-
```
|
|
121
|
-
1. IF Current Idea Folder == N/A:
|
|
122
|
-
→ Ask human: "Which idea folder should I create mockups for?"
|
|
123
|
-
→ List available folders under x-ipe-docs/ideas/
|
|
124
|
-
→ Wait for human selection
|
|
125
|
-
|
|
126
|
-
2. IF Current Idea Folder provided:
|
|
127
|
-
→ Validate folder exists
|
|
128
|
-
→ Verify idea-summary-vN.md exists in folder
|
|
129
|
-
→ Proceed with mockup creation
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
**Usage:**
|
|
133
|
-
- All mockups are saved to `{Current Idea Folder}/mockups/`
|
|
134
|
-
- Idea summary updates reference `{Current Idea Folder}/idea-summary-vN.md`
|
|
135
|
-
- Output links use `{Current Idea Folder}` as base path
|
|
136
|
-
|
|
137
|
-
### Ideation Toolbox Meta File
|
|
138
|
-
|
|
139
|
-
**Location:** `x-ipe-docs/config/tools.json` (relative to project root)
|
|
140
|
-
|
|
141
|
-
**Relevant Config Section:**
|
|
142
|
-
```json
|
|
143
|
-
{
|
|
144
|
-
"version": "2.0",
|
|
145
|
-
"stages": {
|
|
146
|
-
"ideation": {
|
|
147
|
-
"mockup": {
|
|
148
|
-
"tool-frontend-design": true
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
**Tool Loading Rules:**
|
|
156
|
-
|
|
157
|
-
1. **File exists:** Load and parse the JSON configuration
|
|
158
|
-
2. **File missing:** Inform user mockup tools not configured, proceed with manual description
|
|
159
|
-
3. **Tool enabled (`true`):** Invoke corresponding skill/capability
|
|
160
|
-
4. **Tool disabled (`false`):** Skip the tool
|
|
161
|
-
5. **Tool unavailable:** Log limitation and provide alternative
|
|
57
|
+
**Attribute Details:** See [references/mockup-guidelines.md](references/mockup-guidelines.md) for:
|
|
58
|
+
- Extra Instructions loading logic and usage
|
|
59
|
+
- Current Idea Folder validation procedure
|
|
60
|
+
- Tool configuration details and loading rules
|
|
162
61
|
|
|
163
62
|
---
|
|
164
63
|
|
|
@@ -227,34 +126,17 @@ Execute Idea Mockup by following these steps in order:
|
|
|
227
126
|
|
|
228
127
|
### Step 2: Load Mockup Tool Configuration
|
|
229
128
|
|
|
230
|
-
**Action:** Read and parse
|
|
231
|
-
|
|
232
|
-
**Default Path:** `x-ipe-docs/config/tools.json`
|
|
129
|
+
**Action:** Read and parse mockup section from `x-ipe-docs/config/tools.json`
|
|
233
130
|
|
|
234
131
|
```
|
|
235
|
-
1. Check if
|
|
236
|
-
2. If exists:
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
d. Extract _extra_instruction from stages.ideation.mockup section (if exists)
|
|
241
|
-
3. If NOT exists:
|
|
242
|
-
a. Inform user: "No mockup tools configured"
|
|
243
|
-
b. Ask: "Proceed with manual mockup description? (Y/N)"
|
|
244
|
-
4. Load Extra Instructions:
|
|
245
|
-
a. IF human provided explicit Extra Instructions → Use human value
|
|
246
|
-
b. ELSE IF _extra_instruction field exists and is not empty → Use config value
|
|
247
|
-
c. ELSE → Set Extra Instructions = N/A
|
|
248
|
-
5. Log active mockup tool configuration and Extra Instructions (if any)
|
|
132
|
+
1. Check if config file exists
|
|
133
|
+
2. If exists: Parse JSON, extract stages.ideation.mockup section
|
|
134
|
+
3. If NOT exists: Ask "Proceed with manual mockup description? (Y/N)"
|
|
135
|
+
4. Load Extra Instructions (human input > config > N/A)
|
|
136
|
+
5. Log active configuration
|
|
249
137
|
```
|
|
250
138
|
|
|
251
|
-
**
|
|
252
|
-
|
|
253
|
-
| Config Key | Skill/Capability | What It Creates |
|
|
254
|
-
|------------|------------------|-----------------|
|
|
255
|
-
| `stages.ideation.mockup.tool-frontend-design` | `tool-frontend-design` skill | HTML/CSS mockups, interactive prototypes |
|
|
256
|
-
| `stages.ideation.mockup.figma-mcp` | Figma MCP server | Figma design files |
|
|
257
|
-
| `stages.ideation.mockup.excalidraw` | Excalidraw integration | Sketch-style wireframes |
|
|
139
|
+
**Tool Mapping:** See [references/mockup-guidelines.md](references/mockup-guidelines.md) for detailed tool mapping table.
|
|
258
140
|
|
|
259
141
|
**Output:** List of enabled mockup tools
|
|
260
142
|
|
|
@@ -279,31 +161,9 @@ Execute Idea Mockup by following these steps in order:
|
|
|
279
161
|
|
|
280
162
|
**Action:** Analyze idea summary to determine what mockups to create
|
|
281
163
|
|
|
282
|
-
**Analysis
|
|
283
|
-
```
|
|
284
|
-
1. Does the idea describe a user interface?
|
|
285
|
-
→ If yes, identify screens/pages needed
|
|
286
|
-
|
|
287
|
-
2. Does the idea mention user interactions?
|
|
288
|
-
→ If yes, identify interactive elements
|
|
289
|
-
|
|
290
|
-
3. Does the idea describe a workflow?
|
|
291
|
-
→ If yes, identify flow visualization needs
|
|
292
|
-
|
|
293
|
-
4. What is the primary user-facing component?
|
|
294
|
-
→ Prioritize mockup for this component
|
|
295
|
-
```
|
|
164
|
+
**Analysis:** Identify screens/pages, interactive elements, workflow visualizations, and primary user-facing components.
|
|
296
165
|
|
|
297
|
-
**Mockup Types
|
|
298
|
-
|
|
299
|
-
| Idea Contains | Mockup Type | Priority |
|
|
300
|
-
|---------------|-------------|----------|
|
|
301
|
-
| Dashboard description | Dashboard layout | High |
|
|
302
|
-
| Form/input mentions | Form mockup | High |
|
|
303
|
-
| List/table data | Data display mockup | Medium |
|
|
304
|
-
| Navigation mentions | Nav structure | Medium |
|
|
305
|
-
| Charts/graphs | Data visualization | Medium |
|
|
306
|
-
| Mobile mentions | Mobile-responsive mockup | High |
|
|
166
|
+
**Mockup Types:** See [references/mockup-guidelines.md](references/mockup-guidelines.md) for mockup type priority table.
|
|
307
167
|
|
|
308
168
|
**Output:** Prioritized list of mockups to create
|
|
309
169
|
|
|
@@ -313,104 +173,28 @@ Execute Idea Mockup by following these steps in order:
|
|
|
313
173
|
|
|
314
174
|
**⚠️ REMINDER: Focus on UI/UX only. Ignore all tech stack mentions from idea files.**
|
|
315
175
|
|
|
316
|
-
**
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
- Current Idea Folder path
|
|
321
|
-
- Idea summary content (UI/UX elements only)
|
|
322
|
-
- Identified mockup needs
|
|
323
|
-
- Design preferences (if mentioned in idea)
|
|
324
|
-
- NOTE: Do NOT pass tech stack information
|
|
325
|
-
3. Request HTML/CSS mockup generation
|
|
326
|
-
4. Skill will create interactive prototype
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
**Tool-Frontend-Design Skill Invocation:**
|
|
330
|
-
```yaml
|
|
331
|
-
skill: tool-frontend-design
|
|
332
|
-
context:
|
|
333
|
-
type: idea-mockup
|
|
334
|
-
idea_folder: {Current Idea Folder}
|
|
335
|
-
idea_summary: {parsed summary - UI/UX content only}
|
|
336
|
-
mockup_needs:
|
|
337
|
-
- type: dashboard
|
|
338
|
-
description: "Main analytics dashboard with charts"
|
|
339
|
-
- type: form
|
|
340
|
-
description: "User registration form"
|
|
341
|
-
design_preferences:
|
|
342
|
-
style: modern | minimal | professional
|
|
343
|
-
colors: {from idea or default}
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
**IF `mockup.figma-mcp: true`:**
|
|
347
|
-
```
|
|
348
|
-
1. Check Figma MCP server connection
|
|
349
|
-
2. Create new Figma file or use template
|
|
350
|
-
3. Generate basic layout based on idea
|
|
351
|
-
4. Return Figma file link
|
|
352
|
-
```
|
|
353
|
-
|
|
354
|
-
**IF no tools enabled (Manual Mode):**
|
|
355
|
-
```
|
|
356
|
-
1. Create detailed mockup description in markdown
|
|
357
|
-
2. Include ASCII art or text-based layout
|
|
358
|
-
3. Document component specifications
|
|
359
|
-
4. Save as mockup-description.md in {Current Idea Folder}/mockups/
|
|
360
|
-
```
|
|
176
|
+
**Tool-specific invocation details:** See [references/mockup-guidelines.md](references/mockup-guidelines.md) for:
|
|
177
|
+
- `tool-frontend-design` skill invocation format
|
|
178
|
+
- Figma MCP invocation procedure
|
|
179
|
+
- Manual mode procedure
|
|
361
180
|
|
|
362
181
|
**Output:** Generated mockup files/links
|
|
363
182
|
|
|
364
183
|
### Step 6: Save Artifacts
|
|
365
184
|
|
|
366
|
-
**Action:** Store all mockup artifacts in
|
|
367
|
-
|
|
368
|
-
**Directory Structure:**
|
|
369
|
-
```
|
|
370
|
-
{Current Idea Folder}/
|
|
371
|
-
├── idea-summary-vN.md
|
|
372
|
-
├── mockups/
|
|
373
|
-
│ ├── dashboard-v1.html (if tool-frontend-design used)
|
|
374
|
-
│ ├── dashboard-v1.css (if tool-frontend-design used)
|
|
375
|
-
│ ├── form-v1.html (if tool-frontend-design used)
|
|
376
|
-
│ ├── mockup-description.md (if manual mode)
|
|
377
|
-
│ └── figma-link.md (if figma-mcp used)
|
|
378
|
-
└── files/
|
|
379
|
-
└── (original idea files)
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
**Naming Convention:**
|
|
383
|
-
```
|
|
384
|
-
{mockup-type}-v{version}.{extension}
|
|
185
|
+
**Action:** Store all mockup artifacts in `{Current Idea Folder}/mockups/`
|
|
385
186
|
|
|
386
|
-
|
|
387
|
-
- dashboard-v1.html
|
|
388
|
-
- user-form-v1.html
|
|
389
|
-
- mobile-home-v1.html
|
|
390
|
-
```
|
|
187
|
+
**Directory structure and naming conventions:** See [references/mockup-guidelines.md](references/mockup-guidelines.md).
|
|
391
188
|
|
|
392
189
|
**Output:** List of saved artifact paths (relative to Current Idea Folder)
|
|
393
190
|
|
|
394
191
|
### Step 7: Update Idea Summary
|
|
395
192
|
|
|
396
|
-
**Action:**
|
|
193
|
+
**Action:** Create new version `{Current Idea Folder}/idea-summary-v{N+1}.md` with mockup references
|
|
397
194
|
|
|
398
195
|
**DO NOT modify existing idea-summary files.**
|
|
399
|
-
Instead, create a new version: `{Current Idea Folder}/idea-summary-v{N+1}.md`
|
|
400
|
-
|
|
401
|
-
**Add to Summary:**
|
|
402
|
-
```markdown
|
|
403
|
-
## Mockups & Prototypes
|
|
404
196
|
|
|
405
|
-
|
|
406
|
-
|--------|------|------|-----------|
|
|
407
|
-
| Dashboard | HTML | mockups/dashboard-v1.html | tool-frontend-design |
|
|
408
|
-
| User Form | HTML | mockups/user-form-v1.html | tool-frontend-design |
|
|
409
|
-
|
|
410
|
-
### Preview Instructions
|
|
411
|
-
- Open HTML files in browser to view interactive mockups
|
|
412
|
-
- Figma link: {link if figma-mcp used}
|
|
413
|
-
```
|
|
197
|
+
**Summary update template:** See [references/mockup-guidelines.md](references/mockup-guidelines.md).
|
|
414
198
|
|
|
415
199
|
**Output:** Updated idea summary version
|
|
416
200
|
|
|
@@ -435,41 +219,19 @@ Instead, create a new version: `{Current Idea Folder}/idea-summary-v{N+1}.md`
|
|
|
435
219
|
|
|
436
220
|
## Skill/Task Completion Output
|
|
437
221
|
|
|
438
|
-
This skill MUST return these attributes to the Task Data Model upon task completion
|
|
439
|
-
```yaml
|
|
440
|
-
category: ideation-stage
|
|
441
|
-
task_type: Idea Mockup
|
|
442
|
-
auto_proceed: {from input Auto Proceed}
|
|
443
|
-
idea_id: IDEA-XXX
|
|
444
|
-
current_idea_folder: {Current Idea Folder} # e.g., x-ipe-docs/ideas/mobile-app-idea
|
|
445
|
-
mockup_tools_used:
|
|
446
|
-
- tool-frontend-design
|
|
447
|
-
mockups_created:
|
|
448
|
-
- type: dashboard
|
|
449
|
-
path: {Current Idea Folder}/mockups/dashboard-v1.html
|
|
450
|
-
- type: form
|
|
451
|
-
path: {Current Idea Folder}/mockups/user-form-v1.html
|
|
452
|
-
mockup_list: # List of all mockup paths - passed to next tasks in chain
|
|
453
|
-
- {Current Idea Folder}/mockups/dashboard-v1.html
|
|
454
|
-
- {Current Idea Folder}/mockups/user-form-v1.html
|
|
455
|
-
idea_summary_version: vN+1
|
|
456
|
-
next_task_type: Requirement Gathering
|
|
457
|
-
require_human_review: true
|
|
458
|
-
task_output_links:
|
|
459
|
-
- {Current Idea Folder}/mockups/dashboard-v1.html
|
|
460
|
-
- {Current Idea Folder}/mockups/user-form-v1.html
|
|
461
|
-
- {Current Idea Folder}/idea-summary-v{N+1}.md
|
|
462
|
-
```
|
|
222
|
+
This skill MUST return these attributes to the Task Data Model upon task completion.
|
|
463
223
|
|
|
464
|
-
**Output
|
|
465
|
-
- HTML mockups can be opened in browser
|
|
466
|
-
- Idea summary is markdown viewable in editor
|
|
224
|
+
**Output format:** See [references/mockup-guidelines.md](references/mockup-guidelines.md) for complete output YAML structure.
|
|
467
225
|
|
|
468
|
-
**
|
|
469
|
-
|
|
470
|
-
Idea Mockup
|
|
471
|
-
|
|
472
|
-
|
|
226
|
+
**Key output attributes:**
|
|
227
|
+
- `category`: ideation-stage
|
|
228
|
+
- `task_type`: Idea Mockup
|
|
229
|
+
- `current_idea_folder`: {Current Idea Folder}
|
|
230
|
+
- `mockup_list`: List of all mockup paths (passed to next tasks in chain)
|
|
231
|
+
- `next_task_type`: Requirement Gathering
|
|
232
|
+
- `require_human_review`: true
|
|
233
|
+
|
|
234
|
+
**Mockup List Flow:** The `mockup_list` is passed through: Idea Mockup → Requirement Gathering → Feature Breakdown → Feature Refinement → Technical Design
|
|
473
235
|
|
|
474
236
|
---
|
|
475
237
|
|