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,429 @@
|
|
|
1
|
+
# X-IPE Skill Creator - Examples
|
|
2
|
+
|
|
3
|
+
Concrete execution examples for the skill-creator workflow. This file contains at least 3 complete examples covering different skill types.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Example 1: Create Task Type Skill
|
|
8
|
+
|
|
9
|
+
**Request:** "Create a skill for bug fixing"
|
|
10
|
+
|
|
11
|
+
### Step 1: Identify Skill Type
|
|
12
|
+
|
|
13
|
+
```yaml
|
|
14
|
+
input:
|
|
15
|
+
user_request: "bug fixing"
|
|
16
|
+
analysis: "Development lifecycle workflow"
|
|
17
|
+
|
|
18
|
+
output:
|
|
19
|
+
skill_type: x-ipe-task-based
|
|
20
|
+
template: templates/task-type-skill.md
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Step 2: Gather Examples
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
26
|
+
user_examples:
|
|
27
|
+
- "Fix the login button that's not working"
|
|
28
|
+
- "Debug the null pointer exception in UserService"
|
|
29
|
+
- "This test is failing, can you fix it?"
|
|
30
|
+
|
|
31
|
+
trigger_patterns:
|
|
32
|
+
- "fix bug"
|
|
33
|
+
- "debug"
|
|
34
|
+
- "failing test"
|
|
35
|
+
- "not working"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Step 3: Plan Resources
|
|
39
|
+
|
|
40
|
+
```yaml
|
|
41
|
+
resources_plan:
|
|
42
|
+
templates: null
|
|
43
|
+
references:
|
|
44
|
+
- examples.md # REQUIRED for x-ipe-task-based
|
|
45
|
+
scripts: null
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Steps 4-5: Round 1 (Parallel)
|
|
49
|
+
|
|
50
|
+
**Sub-agent 1 Output: skill-meta.md**
|
|
51
|
+
|
|
52
|
+
```yaml
|
|
53
|
+
skill_name: task-type-bug-fix
|
|
54
|
+
skill_type: x-ipe-task-based
|
|
55
|
+
acceptance_criteria:
|
|
56
|
+
must:
|
|
57
|
+
- id: AC-M01
|
|
58
|
+
description: Failing test written before fix
|
|
59
|
+
- id: AC-M02
|
|
60
|
+
description: Root cause identified
|
|
61
|
+
- id: AC-M03
|
|
62
|
+
description: All tests pass after fix
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Sub-agent 2 Output: candidate/**
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
candidate/
|
|
69
|
+
├── SKILL.md (task-type-bug-fix skill)
|
|
70
|
+
└── references/
|
|
71
|
+
└── examples.md (bug fix examples)
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Steps 6-7: Round 2 (Parallel)
|
|
75
|
+
|
|
76
|
+
**Sub-agent 3: Reflect**
|
|
77
|
+
|
|
78
|
+
```yaml
|
|
79
|
+
gaps_found:
|
|
80
|
+
- section: Definition of Ready
|
|
81
|
+
issue: "Missing reproduction steps prerequisite"
|
|
82
|
+
fix: "Added checkpoint: Reproduction steps documented"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Sub-agent 4: Generate Tests**
|
|
86
|
+
|
|
87
|
+
```yaml
|
|
88
|
+
test_cases:
|
|
89
|
+
- id: TC-001
|
|
90
|
+
source_ac: AC-M01
|
|
91
|
+
scenario: Fix login button bug
|
|
92
|
+
expected: Failing test exists before fix applied
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Steps 8-9: Run and Evaluate
|
|
96
|
+
|
|
97
|
+
```yaml
|
|
98
|
+
evaluation_result:
|
|
99
|
+
must_pass_rate: 100%
|
|
100
|
+
should_pass_rate: 85%
|
|
101
|
+
overall_pass: true
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Step 10: Merge
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
cp -r candidate/* .github/skills/task-type-bug-fix/
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Step 11: Cross-References
|
|
111
|
+
|
|
112
|
+
```yaml
|
|
113
|
+
cross_reference_checks:
|
|
114
|
+
copilot_instructions_registry: added
|
|
115
|
+
task_execution_guideline: added
|
|
116
|
+
status: valid
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Example 2: Create Tool Skill
|
|
122
|
+
|
|
123
|
+
**Request:** "Create a skill for generating PDF documents"
|
|
124
|
+
|
|
125
|
+
### Step 1: Identify Skill Type
|
|
126
|
+
|
|
127
|
+
```yaml
|
|
128
|
+
input:
|
|
129
|
+
user_request: "PDF documents"
|
|
130
|
+
analysis: "Utility function"
|
|
131
|
+
|
|
132
|
+
output:
|
|
133
|
+
skill_type: tool_skill
|
|
134
|
+
template: templates/tool-skill.md
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Step 2: Gather Examples
|
|
138
|
+
|
|
139
|
+
```yaml
|
|
140
|
+
user_examples:
|
|
141
|
+
- "Convert this markdown to PDF"
|
|
142
|
+
- "Extract text from PDF"
|
|
143
|
+
- "Merge these PDFs together"
|
|
144
|
+
|
|
145
|
+
trigger_patterns:
|
|
146
|
+
- "create PDF"
|
|
147
|
+
- "extract from PDF"
|
|
148
|
+
- "merge PDF"
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Step 3: Plan Resources
|
|
152
|
+
|
|
153
|
+
```yaml
|
|
154
|
+
resources_plan:
|
|
155
|
+
templates:
|
|
156
|
+
- pdf-template.md
|
|
157
|
+
references:
|
|
158
|
+
- pdf-library-docs.md
|
|
159
|
+
scripts:
|
|
160
|
+
- pdf-generator.py
|
|
161
|
+
- pdf-extractor.py
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Execution Summary
|
|
165
|
+
|
|
166
|
+
```yaml
|
|
167
|
+
workflow_execution:
|
|
168
|
+
round_1: "Created skill-meta.md + candidate/"
|
|
169
|
+
round_2: "Reflected, generated 5 test cases"
|
|
170
|
+
round_3: "Ran tests (PDF generation, extraction, merge)"
|
|
171
|
+
round_4: "Evaluated - all passed"
|
|
172
|
+
|
|
173
|
+
merge_target: ".github/skills/pdf/"
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## Example 3: Create Workflow Orchestration Skill
|
|
179
|
+
|
|
180
|
+
**Request:** "Create a workflow that handles the full feature development pipeline from refinement to closing"
|
|
181
|
+
|
|
182
|
+
### Step 1: Identify Skill Type
|
|
183
|
+
|
|
184
|
+
```yaml
|
|
185
|
+
input:
|
|
186
|
+
user_request: "full feature development pipeline"
|
|
187
|
+
analysis: "Orchestrates multiple skills"
|
|
188
|
+
|
|
189
|
+
output:
|
|
190
|
+
skill_type: workflow_orchestration
|
|
191
|
+
template: templates/workflow-skill.md
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Step 2: Gather Examples
|
|
195
|
+
|
|
196
|
+
```yaml
|
|
197
|
+
user_examples:
|
|
198
|
+
- "Run the complete feature workflow for FEAT-001"
|
|
199
|
+
- "Execute the full pipeline from refinement to PR"
|
|
200
|
+
- "Automate the feature development process"
|
|
201
|
+
|
|
202
|
+
trigger_patterns:
|
|
203
|
+
- "full pipeline"
|
|
204
|
+
- "complete workflow"
|
|
205
|
+
- "feature development flow"
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Step 3: Plan Resources
|
|
209
|
+
|
|
210
|
+
```yaml
|
|
211
|
+
resources_plan:
|
|
212
|
+
templates: null
|
|
213
|
+
references:
|
|
214
|
+
- examples.md
|
|
215
|
+
- skill-registry.md # Documents orchestrated skills
|
|
216
|
+
scripts: null
|
|
217
|
+
|
|
218
|
+
orchestrated_skills:
|
|
219
|
+
- task-type-feature-refinement
|
|
220
|
+
- task-type-technical-design
|
|
221
|
+
- task-type-test-generation
|
|
222
|
+
- task-type-code-implementation
|
|
223
|
+
- task-type-feature-acceptance-test
|
|
224
|
+
- task-type-feature-closing
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### Steps 4-5: Round 1 (Parallel)
|
|
228
|
+
|
|
229
|
+
**Sub-agent 1 Output: skill-meta.md**
|
|
230
|
+
|
|
231
|
+
```yaml
|
|
232
|
+
skill_name: feature+full-pipeline
|
|
233
|
+
skill_type: workflow_orchestration
|
|
234
|
+
acceptance_criteria:
|
|
235
|
+
must:
|
|
236
|
+
- id: AC-M01
|
|
237
|
+
description: All 6 skills execute in correct order
|
|
238
|
+
- id: AC-M02
|
|
239
|
+
description: Data flows correctly between skills
|
|
240
|
+
- id: AC-M03
|
|
241
|
+
description: Failure in any skill triggers appropriate handling
|
|
242
|
+
should:
|
|
243
|
+
- id: AC-S01
|
|
244
|
+
description: Parallel execution where dependencies allow
|
|
245
|
+
- id: AC-S02
|
|
246
|
+
description: Human review gates respected
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
**Sub-agent 2 Output: candidate/**
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
candidate/
|
|
253
|
+
├── SKILL.md (feature+full-pipeline orchestration)
|
|
254
|
+
└── references/
|
|
255
|
+
├── examples.md
|
|
256
|
+
└── skill-registry.md
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### Skill Registry in SKILL.md
|
|
260
|
+
|
|
261
|
+
```yaml
|
|
262
|
+
skill_registry:
|
|
263
|
+
- skill: task-type-feature-refinement
|
|
264
|
+
phase: 1
|
|
265
|
+
input: feature_id
|
|
266
|
+
output: specification_path
|
|
267
|
+
|
|
268
|
+
- skill: task-type-technical-design
|
|
269
|
+
phase: 2
|
|
270
|
+
input: specification_path
|
|
271
|
+
output: design_path
|
|
272
|
+
|
|
273
|
+
- skill: task-type-test-generation
|
|
274
|
+
phase: 3
|
|
275
|
+
input: design_path
|
|
276
|
+
output: test_files[]
|
|
277
|
+
|
|
278
|
+
- skill: task-type-code-implementation
|
|
279
|
+
phase: 4
|
|
280
|
+
input: design_path, test_files[]
|
|
281
|
+
output: implementation_files[]
|
|
282
|
+
|
|
283
|
+
- skill: task-type-feature-acceptance-test
|
|
284
|
+
phase: 5
|
|
285
|
+
input: implementation_files[]
|
|
286
|
+
output: acceptance_report
|
|
287
|
+
|
|
288
|
+
- skill: task-type-feature-closing
|
|
289
|
+
phase: 6
|
|
290
|
+
input: acceptance_report
|
|
291
|
+
output: pr_url
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Execution Summary
|
|
295
|
+
|
|
296
|
+
```yaml
|
|
297
|
+
workflow_execution:
|
|
298
|
+
round_1: "Created skill-meta.md + candidate/"
|
|
299
|
+
round_2: "Reflected on skill coordination, generated 8 test cases"
|
|
300
|
+
round_3: "Ran tests (happy path, failure scenarios, data flow)"
|
|
301
|
+
round_4: "Evaluated - all passed"
|
|
302
|
+
|
|
303
|
+
merge_target: ".github/skills/feature+full-pipeline/"
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Example 4: Update Skill from Lessons
|
|
309
|
+
|
|
310
|
+
**Scenario:** Lesson-learned captured that task-type-bug-fix skill misses edge case
|
|
311
|
+
|
|
312
|
+
### Pre-Step: Check Lessons
|
|
313
|
+
|
|
314
|
+
```yaml
|
|
315
|
+
file: x-ipe-docs/skill-meta/task-type-bug-fix/lesson-learned.md
|
|
316
|
+
|
|
317
|
+
lessons:
|
|
318
|
+
- id: LL-001
|
|
319
|
+
status: raw
|
|
320
|
+
issue: "Skill doesn't handle flaky test scenarios"
|
|
321
|
+
suggestion: "Add pattern for flaky test isolation"
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
### Step 1: Read Lessons
|
|
325
|
+
|
|
326
|
+
```yaml
|
|
327
|
+
lesson_analysis:
|
|
328
|
+
lesson_id: LL-001
|
|
329
|
+
issue: "Flaky test handling missing"
|
|
330
|
+
action: "Convert to acceptance criterion"
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### Step 2: Update skill-meta.md
|
|
334
|
+
|
|
335
|
+
```yaml
|
|
336
|
+
acceptance_criteria:
|
|
337
|
+
should:
|
|
338
|
+
- id: AC-S04 # NEW
|
|
339
|
+
description: Handles flaky test scenarios
|
|
340
|
+
test_method: content_check
|
|
341
|
+
expected: "Pattern for flaky test isolation exists"
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
### Steps 3-11: Normal Workflow
|
|
345
|
+
|
|
346
|
+
```yaml
|
|
347
|
+
workflow_execution:
|
|
348
|
+
- "Updated candidate/ with flaky test pattern"
|
|
349
|
+
- "Generated test for AC-S04"
|
|
350
|
+
- "Ran tests - all passed"
|
|
351
|
+
- "Merged update"
|
|
352
|
+
- "Updated lesson status to: incorporated"
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
## Example 5: Skill Creation Failure and Iteration
|
|
358
|
+
|
|
359
|
+
**Request:** "Create a skill for database migrations"
|
|
360
|
+
|
|
361
|
+
### Round 1-2: Initial Creation
|
|
362
|
+
|
|
363
|
+
Created candidate skill for database migrations.
|
|
364
|
+
|
|
365
|
+
### Round 3-4: First Evaluation
|
|
366
|
+
|
|
367
|
+
```yaml
|
|
368
|
+
evaluation_result:
|
|
369
|
+
must_pass_rate: 80% # FAIL - need 100%
|
|
370
|
+
overall_pass: false
|
|
371
|
+
failed_tests:
|
|
372
|
+
- id: TC-003
|
|
373
|
+
issue: "DoR missing database connection prerequisite"
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
### Iteration 1: Fix and Re-run
|
|
377
|
+
|
|
378
|
+
```yaml
|
|
379
|
+
fix_applied:
|
|
380
|
+
section: Definition of Ready
|
|
381
|
+
change: "Added checkpoint: Database connection available"
|
|
382
|
+
|
|
383
|
+
action: "Re-run from Round 2"
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
### Round 4: Second Evaluation
|
|
387
|
+
|
|
388
|
+
```yaml
|
|
389
|
+
evaluation_result:
|
|
390
|
+
must_pass_rate: 100% # PASS
|
|
391
|
+
should_pass_rate: 75% # Below 80% threshold
|
|
392
|
+
overall_pass: false
|
|
393
|
+
failed_tests:
|
|
394
|
+
- id: TC-007
|
|
395
|
+
issue: "Rollback procedure not documented"
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
### Iteration 2: Fix and Re-run
|
|
399
|
+
|
|
400
|
+
```yaml
|
|
401
|
+
fix_applied:
|
|
402
|
+
section: Execution Procedure
|
|
403
|
+
change: "Added rollback procedure steps"
|
|
404
|
+
|
|
405
|
+
action: "Re-run from Round 2"
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
### Final Evaluation
|
|
409
|
+
|
|
410
|
+
```yaml
|
|
411
|
+
evaluation_result:
|
|
412
|
+
must_pass_rate: 100%
|
|
413
|
+
should_pass_rate: 88%
|
|
414
|
+
overall_pass: true
|
|
415
|
+
|
|
416
|
+
merge_target: ".github/skills/task-type-database-migration/"
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
---
|
|
420
|
+
|
|
421
|
+
## Summary of Examples
|
|
422
|
+
|
|
423
|
+
| Example | Skill Type | Key Learning |
|
|
424
|
+
|---------|------------|--------------|
|
|
425
|
+
| 1 | task_type | Full happy path for task-type-bug-fix |
|
|
426
|
+
| 2 | tool_skill | Tool skill with scripts and templates |
|
|
427
|
+
| 3 | workflow_orchestration | Multi-skill coordination with registry |
|
|
428
|
+
| 4 | Update flow | Incorporating lessons into existing skill |
|
|
429
|
+
| 5 | Failure iteration | How to handle test failures and iterate |
|