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,330 @@
|
|
|
1
|
+
# Feature Breakdown Guidelines Reference
|
|
2
|
+
|
|
3
|
+
This document contains detailed guidelines, examples, and rules for feature breakdown. Referenced from SKILL.md.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Feature Sizing Guidelines
|
|
8
|
+
|
|
9
|
+
### Too Large (Split)
|
|
10
|
+
|
|
11
|
+
Examples of features that need splitting:
|
|
12
|
+
- "Complete E-Commerce System" → Split into Cart, Payment, Shipping, etc.
|
|
13
|
+
- "User Management" → Split into Registration, Profile, Settings, etc.
|
|
14
|
+
- "Full Admin Dashboard" → Split into User Admin, Content Admin, Analytics, etc.
|
|
15
|
+
|
|
16
|
+
### Good Size
|
|
17
|
+
|
|
18
|
+
Features appropriately scoped:
|
|
19
|
+
- "Shopping Cart Management"
|
|
20
|
+
- "Payment Processing with Stripe"
|
|
21
|
+
- "Email Notification System"
|
|
22
|
+
- "User Profile Management"
|
|
23
|
+
- "JWT Authentication"
|
|
24
|
+
|
|
25
|
+
### Too Small (Combine)
|
|
26
|
+
|
|
27
|
+
Features that should be combined:
|
|
28
|
+
- "Add to Cart Button" → Part of Shopping Cart feature
|
|
29
|
+
- "Validate Email Format" → Part of User Registration feature
|
|
30
|
+
- "Display Error Message" → Part of Form Validation feature
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Feature ID Assignment Rules
|
|
35
|
+
|
|
36
|
+
### ID Format
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
FEATURE-{NNN}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Where NNN is a zero-padded 3-digit number (001, 002, etc.)
|
|
43
|
+
|
|
44
|
+
### Assignment Rules
|
|
45
|
+
|
|
46
|
+
1. **Sequential Assignment** - IDs assigned in order of creation
|
|
47
|
+
2. **No Gaps** - Do not skip numbers
|
|
48
|
+
3. **No Reuse** - Deleted features keep their IDs
|
|
49
|
+
4. **Part-Specific Ranges** - When using parts, each part covers a range:
|
|
50
|
+
- Part 1: FEATURE-001 to FEATURE-011
|
|
51
|
+
- Part 2: FEATURE-012 to FEATURE-017
|
|
52
|
+
- etc.
|
|
53
|
+
|
|
54
|
+
### Continuation Numbering
|
|
55
|
+
|
|
56
|
+
When adding features to an existing set:
|
|
57
|
+
```
|
|
58
|
+
1. Query feature board for highest existing FEATURE-XXX
|
|
59
|
+
2. Start new features at next number
|
|
60
|
+
3. Example: If FEATURE-011 exists, next is FEATURE-012
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Priority Matrix
|
|
66
|
+
|
|
67
|
+
### Priority Levels
|
|
68
|
+
|
|
69
|
+
| Priority | Description | Typical Features |
|
|
70
|
+
|----------|-------------|------------------|
|
|
71
|
+
| P0 (Critical) | MVP must-have | Core loop, auth, primary workflow |
|
|
72
|
+
| P1 (High) | Important for launch | Secondary workflows, error handling |
|
|
73
|
+
| P2 (Medium) | Nice to have | Convenience features, polish |
|
|
74
|
+
| P3 (Low) | Future consideration | Advanced features, optimizations |
|
|
75
|
+
|
|
76
|
+
### Priority Assignment Criteria
|
|
77
|
+
|
|
78
|
+
1. **User Impact** - How many users affected? How severely?
|
|
79
|
+
2. **Business Value** - Revenue, retention, or growth impact
|
|
80
|
+
3. **Technical Risk** - Complex features may need early start
|
|
81
|
+
4. **Dependencies** - Features blocking others get higher priority
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Feature Naming Conventions
|
|
86
|
+
|
|
87
|
+
### Good Names
|
|
88
|
+
|
|
89
|
+
- **Specific:** "JWT Authentication" not "Login"
|
|
90
|
+
- **Action-oriented:** "User Profile Management" not "User Profile"
|
|
91
|
+
- **Technology-agnostic (usually):** "Payment Processing" not "Stripe Integration"
|
|
92
|
+
- **Clear scope:** "Order History Display" not "Orders"
|
|
93
|
+
|
|
94
|
+
### Bad Names
|
|
95
|
+
|
|
96
|
+
- **Too vague:** "User Stuff", "Main Feature"
|
|
97
|
+
- **Too technical:** "REST API Controller Layer"
|
|
98
|
+
- **Too broad:** "Everything Users Need"
|
|
99
|
+
- **Ambiguous:** "Processing", "Handler", "Manager"
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Version Numbering
|
|
104
|
+
|
|
105
|
+
| Version | When to Use |
|
|
106
|
+
|---------|-------------|
|
|
107
|
+
| v1.0 | Initial feature implementation |
|
|
108
|
+
| v1.1, v1.2 | Minor enhancements, bug fixes |
|
|
109
|
+
| v2.0 | Major redesign or rewrite |
|
|
110
|
+
|
|
111
|
+
**Note:** Most breakdown features will be v1.0.
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Feature Dependency Patterns
|
|
116
|
+
|
|
117
|
+
### Sequential Dependencies
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
FEATURE-001: User Authentication (no deps)
|
|
121
|
+
└── FEATURE-002: User Profile (depends on FEATURE-001)
|
|
122
|
+
└── FEATURE-003: User Settings (depends on FEATURE-002)
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Parallel with Shared Dependency
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
┌── FEATURE-002: User Service (depends on FEATURE-001)
|
|
129
|
+
FEATURE-001: Database Layer ──┤
|
|
130
|
+
└── FEATURE-003: Product Service (depends on FEATURE-001)
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Multiple Dependencies
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
FEATURE-001: Authentication (no deps) ──┐
|
|
137
|
+
├── FEATURE-003: Admin Panel
|
|
138
|
+
FEATURE-002: Authorization (no deps) ───┘
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Dependency Rules
|
|
142
|
+
|
|
143
|
+
1. **No Circular Dependencies** - A cannot depend on B if B depends on A
|
|
144
|
+
2. **Foundation First** - Core/shared features have no dependencies
|
|
145
|
+
3. **Clear Reason** - Document why dependency exists
|
|
146
|
+
4. **Minimal Dependencies** - Only list direct dependencies, not transitive
|
|
147
|
+
5. **DAG Structure** - Dependency graph must be a Directed Acyclic Graph
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Mockup Processing Details
|
|
152
|
+
|
|
153
|
+
### Auto-Detection Procedure
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
1. IF mockup_list is NOT provided or empty:
|
|
157
|
+
a. Check if requirement came from an Idea (look for idea folder reference)
|
|
158
|
+
b. IF idea folder exists:
|
|
159
|
+
- Scan: x-ipe-docs/ideas/{idea-folder}/mockups/
|
|
160
|
+
- IF mockups found → Auto-populate mockup_list from found files
|
|
161
|
+
- Notify: "Found {N} mockups in idea folder, processing..."
|
|
162
|
+
|
|
163
|
+
2. IF mockup_list is STILL empty after auto-detection:
|
|
164
|
+
- Log: "No mockups found - skipping mockup processing"
|
|
165
|
+
- Proceed to Step 3
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### File Operations Example
|
|
169
|
+
|
|
170
|
+
```yaml
|
|
171
|
+
# Input mockup_list
|
|
172
|
+
mockup_list:
|
|
173
|
+
- mockup_name: "main-dashboard"
|
|
174
|
+
mockup_list: "x-ipe-docs/ideas/Draft Idea - 01232026/mockup.html"
|
|
175
|
+
- mockup_name: "settings-panel"
|
|
176
|
+
mockup_list: "x-ipe-docs/ideas/Draft Idea - 01232026/mockups/settings.html"
|
|
177
|
+
|
|
178
|
+
# Result: Files created
|
|
179
|
+
x-ipe-docs/requirements/FEATURE-001/mockups/main-dashboard.html
|
|
180
|
+
x-ipe-docs/requirements/FEATURE-001/mockups/settings-panel.html
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Linking Mockups in Documents
|
|
184
|
+
|
|
185
|
+
**Location 1:** `x-ipe-docs/requirements/requirement-details.md`
|
|
186
|
+
|
|
187
|
+
**Location 2:** `x-ipe-docs/requirements/{FEATURE-ID}/specification.md`
|
|
188
|
+
|
|
189
|
+
**Format:**
|
|
190
|
+
```markdown
|
|
191
|
+
## Linked Mockups
|
|
192
|
+
|
|
193
|
+
| Mockup Function Name | Mockup List |
|
|
194
|
+
|---------------------|-------------|
|
|
195
|
+
| main-dashboard | [main-dashboard.html](FEATURE-001/mockups/main-dashboard.html) |
|
|
196
|
+
| settings-panel | [settings-panel.html](FEATURE-001/mockups/settings-panel.html) |
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### Mockup Rules
|
|
200
|
+
|
|
201
|
+
- If mockup_list is N/A or empty, skip mockup processing
|
|
202
|
+
- Use relative paths from the document location
|
|
203
|
+
- Preserve original file extension when copying
|
|
204
|
+
- Create mockups folder only if mockup_list has items
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Part File Management
|
|
209
|
+
|
|
210
|
+
### When Parts Exist
|
|
211
|
+
|
|
212
|
+
| Action | Target |
|
|
213
|
+
|--------|--------|
|
|
214
|
+
| Read requirements | Current active part (highest number) |
|
|
215
|
+
| Write Feature List | Current active part |
|
|
216
|
+
| Update Index | requirement-details-index.md |
|
|
217
|
+
|
|
218
|
+
### Part File Structure
|
|
219
|
+
|
|
220
|
+
```markdown
|
|
221
|
+
# Requirement Details - Part {X}
|
|
222
|
+
|
|
223
|
+
> Continued from: [requirement-details-part-{X-1}.md](requirement-details-part-{X-1}.md)
|
|
224
|
+
> Created: MM-DD-YYYY
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Feature List
|
|
229
|
+
|
|
230
|
+
| Feature ID | Feature Title | Version | Brief Description | Feature Dependency |
|
|
231
|
+
|------------|---------------|---------|-------------------|-------------------|
|
|
232
|
+
| FEATURE-012 | Design Themes | v1.0 | Theme folder structure | FEATURE-011 |
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Linked Mockups
|
|
237
|
+
|
|
238
|
+
| Mockup Function Name | Feature | Mockup List |
|
|
239
|
+
|---------------------|---------|-------------|
|
|
240
|
+
| themes-toolbox | FEATURE-012 | [themes-toolbox.html](FEATURE-012/mockups/themes-toolbox.html) |
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Feature Details (Continued)
|
|
245
|
+
|
|
246
|
+
### FEATURE-012: Design Themes
|
|
247
|
+
[Feature details...]
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Index File Structure
|
|
251
|
+
|
|
252
|
+
```markdown
|
|
253
|
+
# Requirement Details Index
|
|
254
|
+
|
|
255
|
+
> Last Updated: MM-DD-YYYY
|
|
256
|
+
|
|
257
|
+
## Parts Overview
|
|
258
|
+
|
|
259
|
+
| Part | File | Features Covered | Lines |
|
|
260
|
+
|------|------|------------------|-------|
|
|
261
|
+
| 1 | [Part 1](requirement-details-part-1.md) | FEATURE-001 to FEATURE-011 | ~420 |
|
|
262
|
+
| 2 | [Part 2](requirement-details-part-2.md) | FEATURE-012 to FEATURE-017 | ~415 |
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
**⚠️ IMPORTANT:** Index file contains ONLY Parts Overview table. NO Feature List in index - each part has its own.
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## Feature Details Template
|
|
270
|
+
|
|
271
|
+
```markdown
|
|
272
|
+
### {FEATURE-ID}: {Feature Title}
|
|
273
|
+
|
|
274
|
+
**Version:** v{X.Y}
|
|
275
|
+
**Brief Description:** [1-2 sentence description]
|
|
276
|
+
|
|
277
|
+
**Acceptance Criteria:**
|
|
278
|
+
- [ ] Criterion 1
|
|
279
|
+
- [ ] Criterion 2
|
|
280
|
+
- [ ] Criterion 3
|
|
281
|
+
|
|
282
|
+
**Dependencies:**
|
|
283
|
+
- {FEATURE-ID}: [Why needed]
|
|
284
|
+
- None (if no dependencies)
|
|
285
|
+
|
|
286
|
+
**Technical Considerations:**
|
|
287
|
+
- [Key technical decisions or constraints]
|
|
288
|
+
- [Performance requirements]
|
|
289
|
+
- [Security considerations]
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Template Rules
|
|
293
|
+
|
|
294
|
+
- Keep brief description under 50 words
|
|
295
|
+
- List 3-7 acceptance criteria per feature
|
|
296
|
+
- Note dependencies using Feature IDs
|
|
297
|
+
- Technical considerations are hints for design
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
## Integration with Feature Board Management
|
|
302
|
+
|
|
303
|
+
This skill **MUST** call the feature-board-management skill to create features on the board.
|
|
304
|
+
|
|
305
|
+
### Why Integration Matters
|
|
306
|
+
|
|
307
|
+
1. **Creates centralized tracking** - Single source of truth at x-ipe-docs/requirements/features.md
|
|
308
|
+
2. **Initializes status** - All features start with status "Planned"
|
|
309
|
+
3. **Enables queries** - Other skills can query feature board for Feature Data Model
|
|
310
|
+
4. **Supports lifecycle** - Board tracks features through all phases
|
|
311
|
+
|
|
312
|
+
### Call Format
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
CALL feature-stage+feature-board-management skill:
|
|
316
|
+
operation: create_or_update_features
|
|
317
|
+
features:
|
|
318
|
+
- feature_id: FEATURE-001
|
|
319
|
+
title: User Authentication
|
|
320
|
+
version: v1.0
|
|
321
|
+
description: JWT-based user authentication
|
|
322
|
+
dependencies: []
|
|
323
|
+
- feature_id: FEATURE-002
|
|
324
|
+
title: User Profile
|
|
325
|
+
version: v1.0
|
|
326
|
+
description: User profile management
|
|
327
|
+
dependencies: [FEATURE-001]
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
**See:** `skills/feature-stage+feature-board-management/SKILL.md` for full operation details
|
|
@@ -181,50 +181,15 @@ RECEIVE Feature Data Model:
|
|
|
181
181
|
```
|
|
182
182
|
|
|
183
183
|
**🌐 Web Search (Recommended):**
|
|
184
|
-
Use web search
|
|
185
|
-
- Domain-specific business rules and edge cases
|
|
186
|
-
- Industry compliance requirements (GDPR, PCI-DSS, HIPAA, etc.)
|
|
187
|
-
- User experience best practices for similar features
|
|
188
|
-
- Common pitfalls and edge cases in similar implementations
|
|
189
|
-
- Accessibility requirements and standards (WCAG)
|
|
184
|
+
Use web search for: domain rules, compliance (GDPR, PCI-DSS, HIPAA), UX best practices, common pitfalls, accessibility (WCAG).
|
|
190
185
|
|
|
191
186
|
**🎨 Mockup Analysis (When Mockup List Provided):**
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
- Layout structure and component hierarchy
|
|
197
|
-
- User interaction patterns (clicks, hovers, inputs)
|
|
198
|
-
- Visual design elements (colors, spacing, typography)
|
|
199
|
-
- Form fields, validation rules, error states
|
|
200
|
-
- Navigation flows and page transitions
|
|
201
|
-
- Responsive behavior hints
|
|
202
|
-
3. DOCUMENT extracted requirements:
|
|
203
|
-
- Add to "UI/UX Requirements" section in specification
|
|
204
|
-
- Create acceptance criteria for UI elements
|
|
205
|
-
- Note any UI-specific edge cases
|
|
206
|
-
4. IDENTIFY gaps between mockup and requirements:
|
|
207
|
-
- Missing interactions not shown in mockup
|
|
208
|
-
- Backend data requirements for UI elements
|
|
209
|
-
- Loading states, empty states, error states
|
|
210
|
-
5. ASK human about mockup ambiguities if needed
|
|
211
|
-
|
|
212
|
-
ELSE IF Mockup List == N/A:
|
|
213
|
-
- Check if idea-summary has mockup references
|
|
214
|
-
- If frontend feature, note that mockup may be needed
|
|
215
|
-
- Focus on functional requirements
|
|
216
|
-
```
|
|
187
|
+
- Analyze mockup file(s) and extract UI/UX requirements
|
|
188
|
+
- Document in "UI/UX Requirements" section with acceptance criteria
|
|
189
|
+
- Identify gaps: missing interactions, loading/empty/error states
|
|
190
|
+
- Ask human about ambiguities if needed
|
|
217
191
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
| Mockup Element | Specification Section |
|
|
221
|
-
|----------------|----------------------|
|
|
222
|
-
| Layout/Components | UI/UX Requirements → UI Elements |
|
|
223
|
-
| Forms/Inputs | Functional Requirements + Validation Rules |
|
|
224
|
-
| Buttons/Actions | User Stories + Acceptance Criteria |
|
|
225
|
-
| Navigation | User Flows |
|
|
226
|
-
| Error States | Edge Cases & Constraints |
|
|
227
|
-
| Data Display | Functional Requirements → Output |
|
|
192
|
+
> See [references/specification-writing-guide.md](references/specification-writing-guide.md) for mockup-to-specification mapping.
|
|
228
193
|
|
|
229
194
|
---
|
|
230
195
|
|
|
@@ -295,30 +260,10 @@ Target: x-ipe-docs/requirements/FEATURE-012/mockups/home-page-v1.html
|
|
|
295
260
|
|
|
296
261
|
**Rule:** Maintain ONE specification file per feature with version history inside.
|
|
297
262
|
|
|
298
|
-
|
|
299
|
-
- ❌ `specification-v2.md`
|
|
300
|
-
- ❌ `specification-v1.md`
|
|
263
|
+
- ✅ Keep single `specification.md` file with Version History table
|
|
264
|
+
- ❌ Do NOT create versioned files like `specification-v2.md`
|
|
301
265
|
|
|
302
|
-
|
|
303
|
-
- ✅ Keep single `specification.md` file
|
|
304
|
-
- ✅ Add/update Version History table after the header
|
|
305
|
-
- ✅ Update content in place with new version
|
|
306
|
-
|
|
307
|
-
**Version History Format (add after document header):**
|
|
308
|
-
```markdown
|
|
309
|
-
## Version History
|
|
310
|
-
|
|
311
|
-
| Version | Date | Description |
|
|
312
|
-
|---------|------|-------------|
|
|
313
|
-
| v2.0 | 01-22-2026 | Major upgrade: xterm.js, session persistence, split-pane |
|
|
314
|
-
| v1.0 | 01-18-2026 | Initial specification |
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
**When updating existing specification:**
|
|
318
|
-
1. Increment version in document header (v1.0 → v2.0)
|
|
319
|
-
2. Add new row to Version History table
|
|
320
|
-
3. Update specification content in place
|
|
321
|
-
4. Keep the same filename: `specification.md`
|
|
266
|
+
> See [references/specification-writing-guide.md](references/specification-writing-guide.md) for version history format.
|
|
322
267
|
|
|
323
268
|
---
|
|
324
269
|
|
|
@@ -331,149 +276,51 @@ Target: x-ipe-docs/requirements/FEATURE-012/mockups/home-page-v1.html
|
|
|
331
276
|
> Status: Refined
|
|
332
277
|
> Last Updated: MM-DD-YYYY
|
|
333
278
|
|
|
334
|
-
##
|
|
335
|
-
|
|
336
|
-
| Mockup | Type | Path | Description |
|
|
337
|
-
|--------|------|------|-------------|
|
|
338
|
-
| {Mockup Name} | HTML | [path/to/mockup.html](path/to/mockup.html) | {Brief description} |
|
|
279
|
+
## Version History
|
|
280
|
+
[Version table - see guide]
|
|
339
281
|
|
|
340
|
-
|
|
282
|
+
## Linked Mockups
|
|
283
|
+
[Mockup table if applicable - see guide]
|
|
341
284
|
|
|
342
285
|
## Overview
|
|
343
|
-
|
|
344
|
-
[2-3 paragraph detailed description of what this feature does, why it's needed, and who will use it]
|
|
286
|
+
[2-3 paragraph description: what, why, who]
|
|
345
287
|
|
|
346
288
|
## User Stories
|
|
347
|
-
|
|
348
|
-
As a [user type], I want to [action/goal], so that [benefit/value].
|
|
349
|
-
|
|
350
|
-
**Examples:**
|
|
351
|
-
- As a **customer**, I want to **save items to my cart**, so that **I can purchase them later**.
|
|
352
|
-
- As an **admin**, I want to **view all user orders**, so that **I can track sales and resolve issues**.
|
|
289
|
+
[As a [user], I want to [action], so that [benefit]]
|
|
353
290
|
|
|
354
291
|
## Acceptance Criteria
|
|
355
|
-
|
|
356
|
-
- [ ] Criterion 1: [Specific, measurable condition]
|
|
357
|
-
- [ ] Criterion 2: [Specific, measurable condition]
|
|
358
|
-
- [ ] Criterion 3: [Specific, measurable condition]
|
|
359
|
-
- [ ] Criterion 4: [Specific, measurable condition]
|
|
360
|
-
- [ ] Criterion 5: [Specific, measurable condition]
|
|
292
|
+
[Testable, measurable conditions]
|
|
361
293
|
|
|
362
294
|
## Functional Requirements
|
|
363
|
-
|
|
364
|
-
### FR-1: [Requirement Name]
|
|
365
|
-
|
|
366
|
-
**Description:** [What the system must do]
|
|
367
|
-
|
|
368
|
-
**Details:**
|
|
369
|
-
- Input: [What data is provided]
|
|
370
|
-
- Process: [What happens]
|
|
371
|
-
- Output: [What result is produced]
|
|
372
|
-
|
|
373
|
-
### FR-2: [Requirement Name]
|
|
374
|
-
[Repeat for each functional requirement]
|
|
295
|
+
[FR-N: Requirement with Input/Process/Output]
|
|
375
296
|
|
|
376
297
|
## Non-Functional Requirements
|
|
377
|
-
|
|
378
|
-
### NFR-1: Performance
|
|
379
|
-
|
|
380
|
-
- Response time: [X seconds/milliseconds]
|
|
381
|
-
- Throughput: [X requests per second]
|
|
382
|
-
- Concurrent users: [X users]
|
|
383
|
-
|
|
384
|
-
### NFR-2: Security
|
|
385
|
-
|
|
386
|
-
- Authentication required: [Yes/No]
|
|
387
|
-
- Authorization level: [Role/permission required]
|
|
388
|
-
- Data encryption: [What data, how encrypted]
|
|
389
|
-
|
|
390
|
-
### NFR-3: Scalability
|
|
391
|
-
|
|
392
|
-
- Expected growth: [User/data growth projections]
|
|
393
|
-
- Scaling strategy: [Horizontal/vertical]
|
|
298
|
+
[Performance, Security, Scalability]
|
|
394
299
|
|
|
395
300
|
## UI/UX Requirements
|
|
396
|
-
|
|
397
|
-
[If applicable]
|
|
398
|
-
|
|
399
|
-
**Wireframes/Mockups:** [Link or embed]
|
|
400
|
-
|
|
401
|
-
**User Flows:**
|
|
402
|
-
1. User navigates to [page/screen]
|
|
403
|
-
2. User performs [action]
|
|
404
|
-
3. System displays [result]
|
|
405
|
-
|
|
406
|
-
**UI Elements:**
|
|
407
|
-
- Button: [Label, action]
|
|
408
|
-
- Form fields: [List with validation rules]
|
|
409
|
-
- Error messages: [List with conditions]
|
|
301
|
+
[Wireframes, User Flows, UI Elements]
|
|
410
302
|
|
|
411
303
|
## Dependencies
|
|
412
|
-
|
|
413
|
-
### Internal Dependencies
|
|
414
|
-
|
|
415
|
-
- **FEATURE-XXX:** [Why this feature is needed, what it provides]
|
|
416
|
-
- **FEATURE-YYY:** [Why this feature is needed, what it provides]
|
|
417
|
-
|
|
418
|
-
### External Dependencies
|
|
419
|
-
|
|
420
|
-
- **Library/Service Name:** [Purpose, version if known]
|
|
421
|
-
- **Third-party API:** [What functionality it provides]
|
|
304
|
+
[Internal and External]
|
|
422
305
|
|
|
423
306
|
## Business Rules
|
|
424
|
-
|
|
425
|
-
### BR-1: [Rule Name]
|
|
426
|
-
|
|
427
|
-
**Rule:** [Clear statement of business rule]
|
|
428
|
-
|
|
429
|
-
**Example:**
|
|
430
|
-
- Only authenticated users can add items to cart
|
|
431
|
-
- Prices must be positive numbers
|
|
432
|
-
- Discounts cannot exceed 90%
|
|
433
|
-
|
|
434
|
-
### BR-2: [Rule Name]
|
|
435
|
-
[Repeat for each business rule]
|
|
307
|
+
[BR-N: Clear rule statements]
|
|
436
308
|
|
|
437
309
|
## Edge Cases & Constraints
|
|
438
|
-
|
|
439
|
-
### Edge Case 1: [Scenario]
|
|
440
|
-
|
|
441
|
-
**Scenario:** [Describe unusual or boundary condition]
|
|
442
|
-
**Expected Behavior:** [How system should respond]
|
|
443
|
-
|
|
444
|
-
**Examples:**
|
|
445
|
-
- User session expires during checkout → Redirect to login, preserve cart
|
|
446
|
-
- Database connection lost → Show error, queue for retry
|
|
447
|
-
- Invalid input format → Return validation error with details
|
|
310
|
+
[Scenarios with expected behavior]
|
|
448
311
|
|
|
449
312
|
## Out of Scope
|
|
450
|
-
|
|
451
|
-
- [Explicitly list what this feature does NOT include]
|
|
452
|
-
- [Helps prevent scope creep]
|
|
453
|
-
|
|
454
|
-
**Examples:**
|
|
455
|
-
- Social media login (only email/password for v1.0)
|
|
456
|
-
- Multi-factor authentication (planned for v2.0)
|
|
457
|
-
- Mobile app support (web only for v1.0)
|
|
313
|
+
[What is NOT included]
|
|
458
314
|
|
|
459
315
|
## Technical Considerations
|
|
460
|
-
|
|
461
|
-
[Hints for technical design - not detailed design, just considerations]
|
|
462
|
-
|
|
463
|
-
- Suggested technology/framework
|
|
464
|
-
- Known performance requirements
|
|
465
|
-
- Security considerations
|
|
466
|
-
- Integration points
|
|
316
|
+
[Hints for technical design - WHAT not HOW]
|
|
467
317
|
|
|
468
318
|
## Open Questions
|
|
469
|
-
|
|
470
|
-
- [ ] Question 1: [What needs clarification]
|
|
471
|
-
- [ ] Question 2: [What needs decision]
|
|
472
|
-
- [ ] Question 3: [What needs stakeholder input]
|
|
473
|
-
|
|
474
|
-
---
|
|
319
|
+
[What needs clarification]
|
|
475
320
|
```
|
|
476
321
|
|
|
322
|
+
> **Full templates and examples:** See [references/specification-writing-guide.md](references/specification-writing-guide.md)
|
|
323
|
+
|
|
477
324
|
**Specification Quality Checklist:**
|
|
478
325
|
- [ ] All acceptance criteria are testable
|
|
479
326
|
- [ ] User stories provide clear value
|