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.
Files changed (146) hide show
  1. x_ipe/app.py +32 -1
  2. x_ipe/handlers/terminal_handlers.py +6 -0
  3. x_ipe/handlers/voice_handlers.py +5 -0
  4. x_ipe/resources/copilot-instructions.md +19 -6
  5. x_ipe/resources/skills/lesson-learned/SKILL.md +208 -0
  6. x_ipe/resources/skills/lesson-learned/references/examples.md +238 -0
  7. x_ipe/resources/skills/project-quality-board-management/SKILL.md +135 -298
  8. x_ipe/resources/skills/project-quality-board-management/references/evaluation-principles.md +213 -0
  9. x_ipe/resources/skills/project-quality-board-management/references/evaluation-procedures.md +214 -0
  10. x_ipe/resources/skills/project-quality-board-management/templates/quality-report.md +70 -18
  11. x_ipe/resources/skills/task-execution-guideline/SKILL.md +2 -2
  12. x_ipe/resources/skills/task-execution-guideline/templates/task-record.yaml +1 -1
  13. x_ipe/resources/skills/task-type-code-implementation/SKILL.md +72 -270
  14. x_ipe/resources/skills/task-type-code-implementation/references/implementation-guidelines.md +432 -0
  15. x_ipe/resources/skills/task-type-code-refactor-v2/SKILL.md +127 -353
  16. x_ipe/resources/skills/task-type-code-refactor-v2/references/refactoring-techniques.md +373 -0
  17. x_ipe/resources/skills/task-type-feature-breakdown/SKILL.md +31 -243
  18. x_ipe/resources/skills/task-type-feature-breakdown/references/breakdown-guidelines.md +330 -0
  19. x_ipe/resources/skills/task-type-feature-refinement/SKILL.md +27 -180
  20. x_ipe/resources/skills/task-type-feature-refinement/references/specification-writing-guide.md +267 -0
  21. x_ipe/resources/skills/task-type-idea-mockup/SKILL.md +38 -276
  22. x_ipe/resources/skills/task-type-idea-mockup/references/mockup-guidelines.md +299 -0
  23. x_ipe/resources/skills/task-type-idea-to-architecture/SKILL.md +20 -218
  24. x_ipe/resources/skills/task-type-idea-to-architecture/references/architecture-patterns.md +342 -0
  25. x_ipe/resources/skills/task-type-ideation/SKILL.md +10 -266
  26. x_ipe/resources/skills/task-type-ideation/references/folder-naming-guide.md +55 -0
  27. x_ipe/resources/skills/task-type-ideation/references/tool-usage-guide.md +236 -0
  28. x_ipe/resources/skills/task-type-ideation-v2/SKILL.md +488 -0
  29. x_ipe/resources/skills/task-type-ideation-v2/references/examples.md +377 -0
  30. x_ipe/resources/skills/task-type-ideation-v2/references/folder-naming-guide.md +74 -0
  31. x_ipe/resources/skills/task-type-ideation-v2/references/tool-usage-guide.md +145 -0
  32. x_ipe/resources/skills/task-type-ideation-v2/references/visualization-guide.md +160 -0
  33. x_ipe/resources/skills/task-type-ideation-v2/templates/idea-summary.md +86 -0
  34. x_ipe/resources/skills/task-type-refactoring-analysis/SKILL.md +83 -145
  35. x_ipe/resources/skills/task-type-refactoring-analysis/references/output-schema.md +172 -0
  36. x_ipe/resources/skills/task-type-technical-design/SKILL.md +28 -214
  37. x_ipe/resources/skills/task-type-technical-design/references/design-templates.md +422 -0
  38. x_ipe/resources/skills/task-type-test-generation/SKILL.md +47 -332
  39. x_ipe/resources/skills/task-type-test-generation/references/test-patterns.md +368 -0
  40. x_ipe/resources/skills/tool-tracing-creator/SKILL.md +312 -0
  41. x_ipe/resources/skills/tool-tracing-creator/references/examples.md +324 -0
  42. x_ipe/resources/skills/tool-tracing-instrumentation/SKILL.md +373 -0
  43. x_ipe/resources/skills/tool-tracing-instrumentation/references/examples.md +264 -0
  44. x_ipe/resources/skills/x-ipe-skill-creator-v3/SKILL.md +486 -0
  45. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/10. example-gate-conditions.md +73 -0
  46. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/11. reference-quality-standards.md +127 -0
  47. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/2. reference-section-order.md +127 -0
  48. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/3. example-step-based-code-review.md +84 -0
  49. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/4. example-step-based-feature-implementation.md +113 -0
  50. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/5. example-function-based-validation.md +73 -0
  51. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/6. example-function-based-analysis.md +94 -0
  52. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/7. example-task-io-code-implementation.md +36 -0
  53. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/8. example-structured-summary.md +43 -0
  54. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/9. example-dor-dod.md +77 -0
  55. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/examples.md +429 -0
  56. x_ipe/resources/skills/x-ipe-skill-creator-v3/references/skill-general-guidelines-v2.md +611 -0
  57. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-meta.md +153 -0
  58. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-based.md +324 -0
  59. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-task-category.md +109 -0
  60. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/skill-meta-x-ipe-tool.md +205 -0
  61. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-meta.md +334 -0
  62. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-task-based.md +279 -0
  63. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-tool.md +175 -0
  64. x_ipe/resources/skills/x-ipe-skill-creator-v3/templates/x-ipe-workflow-orchestration.md +329 -0
  65. x_ipe/resources/skills/x-ipe-task-based-ideation/SKILL.md +487 -0
  66. x_ipe/resources/skills/x-ipe-task-based-ideation/references/examples.md +377 -0
  67. x_ipe/resources/skills/x-ipe-task-based-ideation/references/folder-naming-guide.md +74 -0
  68. x_ipe/resources/skills/x-ipe-task-based-ideation/references/tool-usage-guide.md +145 -0
  69. x_ipe/resources/skills/x-ipe-task-based-ideation/references/visualization-guide.md +160 -0
  70. x_ipe/resources/skills/x-ipe-task-based-ideation/templates/idea-summary.md +86 -0
  71. x_ipe/routes/__init__.py +2 -0
  72. x_ipe/routes/ideas_routes.py +289 -0
  73. x_ipe/routes/kb_routes.py +80 -0
  74. x_ipe/routes/main_routes.py +18 -0
  75. x_ipe/routes/project_routes.py +7 -0
  76. x_ipe/routes/proxy_routes.py +10 -2
  77. x_ipe/routes/quality_evaluation_routes.py +193 -0
  78. x_ipe/routes/settings_routes.py +6 -0
  79. x_ipe/routes/tools_routes.py +6 -0
  80. x_ipe/routes/tracing_routes.py +232 -0
  81. x_ipe/routes/uiux_feedback_routes.py +50 -0
  82. x_ipe/services/__init__.py +5 -0
  83. x_ipe/services/config_service.py +6 -0
  84. x_ipe/services/file_service.py +20 -0
  85. x_ipe/services/homepage_service.py +160 -0
  86. x_ipe/services/ideas_service.py +535 -2
  87. x_ipe/services/kb_service.py +378 -0
  88. x_ipe/services/proxy_service.py +37 -7
  89. x_ipe/services/settings_service.py +13 -0
  90. x_ipe/services/skills_service.py +4 -0
  91. x_ipe/services/terminal_service.py +24 -0
  92. x_ipe/services/themes_service.py +4 -0
  93. x_ipe/services/tools_config_service.py +4 -0
  94. x_ipe/services/tracing_service.py +333 -0
  95. x_ipe/services/uiux_feedback_service.py +148 -1
  96. x_ipe/services/voice_input_service_v2.py +11 -0
  97. x_ipe/static/css/base.css +7 -0
  98. x_ipe/static/css/homepage-infinity.css +330 -0
  99. x_ipe/static/css/kb-core.css +301 -0
  100. x_ipe/static/css/quality-evaluation.css +345 -0
  101. x_ipe/static/css/sidebar.css +14 -4
  102. x_ipe/static/css/terminal.css +23 -0
  103. x_ipe/static/css/tracing-dashboard.css +796 -0
  104. x_ipe/static/css/uiux-feedback.css +7 -1
  105. x_ipe/static/css/workplace.css +636 -0
  106. x_ipe/static/img/homepage-infinity-loop.png +0 -0
  107. x_ipe/static/js/features/confirm-dialog.js +169 -0
  108. x_ipe/static/js/features/folder-view.js +742 -0
  109. x_ipe/static/js/features/homepage-infinity.js +314 -0
  110. x_ipe/static/js/features/kb-core.js +371 -0
  111. x_ipe/static/js/features/quality-evaluation.js +387 -0
  112. x_ipe/static/js/features/sidebar.js +255 -12
  113. x_ipe/static/js/features/tracing-dashboard.js +855 -0
  114. x_ipe/static/js/features/tracing-graph.js +1031 -0
  115. x_ipe/static/js/features/tree-drag.js +227 -0
  116. x_ipe/static/js/features/tree-search.js +228 -0
  117. x_ipe/static/js/features/workplace.js +661 -33
  118. x_ipe/static/js/init.js +76 -0
  119. x_ipe/static/js/terminal-v2.js +45 -14
  120. x_ipe/static/js/terminal.js +50 -49
  121. x_ipe/static/js/uiux-feedback.js +75 -16
  122. x_ipe/templates/base.html +24 -0
  123. x_ipe/templates/index.html +10 -1
  124. x_ipe/templates/knowledge-base.html +110 -0
  125. x_ipe/templates/workplace.html +4 -0
  126. x_ipe/tracing/__init__.py +37 -0
  127. x_ipe/tracing/buffer.py +135 -0
  128. x_ipe/tracing/context.py +125 -0
  129. x_ipe/tracing/decorator.py +288 -0
  130. x_ipe/tracing/middleware.py +197 -0
  131. x_ipe/tracing/parser.py +235 -0
  132. x_ipe/tracing/redactor.py +111 -0
  133. x_ipe/tracing/writer.py +122 -0
  134. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/METADATA +2 -2
  135. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/RECORD +138 -65
  136. x_ipe/app.py.bak +0 -1333
  137. x_ipe/resources/skills/x-ipe-skill-creator/SKILL.md +0 -329
  138. x_ipe/resources/skills/x-ipe-skill-creator/references/output-patterns.md +0 -169
  139. x_ipe/resources/skills/x-ipe-skill-creator/references/skill-structure.md +0 -162
  140. x_ipe/resources/skills/x-ipe-skill-creator/references/workflows.md +0 -110
  141. x_ipe/resources/skills/x-ipe-skill-creator/templates/references/examples.md +0 -113
  142. x_ipe/resources/skills/x-ipe-skill-creator/templates/skill-category-skill.md +0 -296
  143. x_ipe/resources/skills/x-ipe-skill-creator/templates/task-type-skill.md +0 -269
  144. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/WHEEL +0 -0
  145. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/entry_points.txt +0 -0
  146. {x_ipe-1.0.23.dist-info → x_ipe-1.0.25.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,205 @@
1
+ # Skill Meta Template: Tool Skill
2
+
3
+ Use this template to create skill-meta.md for tool skills. The skill-meta defines **acceptance criteria** for automated testing.
4
+
5
+ ---
6
+
7
+ ## Template
8
+
9
+ ```yaml
10
+ # ═══════════════════════════════════════════════════════════
11
+ # SKILL META - Tool Skill
12
+ # ═══════════════════════════════════════════════════════════
13
+
14
+ # ─────────────────────────────────────────────────────────────
15
+ # IDENTITY
16
+ # ─────────────────────────────────────────────────────────────
17
+ skill_name: x-ipe-tool-{name}
18
+ skill_type: x-ipe-tool
19
+ version: "1.0.0"
20
+ status: draft | candidate | production
21
+ created: YYYY-MM-DD
22
+ updated: YYYY-MM-DD
23
+
24
+ # ─────────────────────────────────────────────────────────────
25
+ # PURPOSE
26
+ # ─────────────────────────────────────────────────────────────
27
+ summary: |
28
+ {One sentence: What this tool does and its key value.}
29
+
30
+ triggers:
31
+ - "{trigger phrase 1}"
32
+ - "{trigger phrase 2}"
33
+
34
+ not_for:
35
+ - "{alternative tool}: {when to use instead}"
36
+
37
+ # ─────────────────────────────────────────────────────────────
38
+ # INTERFACE
39
+ # ─────────────────────────────────────────────────────────────
40
+ inputs:
41
+ required:
42
+ - name: operation
43
+ type: string
44
+ description: "The operation to perform"
45
+ validation: "Must match one of the defined operations"
46
+
47
+ - name: {input_name}
48
+ type: string | number | boolean | array | object
49
+ default: {value}
50
+ description: "{what this controls}"
51
+
52
+ optional:
53
+ - name: {input_name}
54
+ type: string
55
+ default: null
56
+ description: "{what this controls}"
57
+
58
+ outputs:
59
+ state:
60
+ - name: status
61
+ value: success | failure
62
+
63
+ artifacts:
64
+ - name: {artifact_name}
65
+ type: file
66
+ path: "{path}"
67
+ description: "{what this contains}"
68
+
69
+ data:
70
+ - name: operation_output
71
+ type: object
72
+ description: "Structure containing result, success status, and errors"
73
+
74
+ # ─────────────────────────────────────────────────────────────
75
+ # ACCEPTANCE CRITERIA (MoSCoW)
76
+ # ─────────────────────────────────────────────────────────────
77
+ acceptance_criteria:
78
+ must:
79
+ # STRUCTURE
80
+ - id: AC-S01
81
+ category: structure
82
+ criterion: SKILL.md exists with valid frontmatter
83
+ test: file_exists + yaml_parse
84
+ expected: name starts with 'x-ipe-tool-'
85
+
86
+ - id: AC-S02
87
+ category: structure
88
+ criterion: references/examples.md exists
89
+ test: file_exists
90
+ expected: file contains at least 1 example
91
+
92
+ - id: AC-S03
93
+ category: structure
94
+ criterion: SKILL.md body < 500 lines
95
+ test: line_count
96
+ expected: < 500
97
+
98
+ # CONTENT
99
+ - id: AC-C01
100
+ category: content
101
+ criterion: All 12 required sections present in order
102
+ test: section_parse
103
+ expected: |
104
+ [Frontmatter, Purpose, Important Notes, About, When to Use,
105
+ Input Parameters, Definition of Ready, Operations,
106
+ Output Result, Definition of Done, Error Handling,
107
+ Templates, Examples]
108
+
109
+ - id: AC-C02
110
+ category: content
111
+ criterion: Operations use XML structure
112
+ test: regex_match
113
+ expected: "<operation name=.*>"
114
+
115
+ - id: AC-C03
116
+ category: content
117
+ criterion: Error Handling table present
118
+ test: table_parse
119
+ expected: columns [Error, Cause, Resolution]
120
+
121
+ # BEHAVIOR
122
+ - id: AC-B01
123
+ category: behavior
124
+ criterion: Tool produces structured output
125
+ test: execution
126
+ expected: returns operation_output object
127
+
128
+ should:
129
+ - id: AC-C04
130
+ category: content
131
+ criterion: When to Use includes explicit triggers
132
+ test: yaml_parse
133
+ expected: triggers list is not empty
134
+
135
+ - id: AC-C05
136
+ category: content
137
+ criterion: Key Concepts section in About
138
+ test: content_check
139
+ expected: "**Key Concepts:**"
140
+
141
+ could:
142
+ - id: AC-C06
143
+ category: content
144
+ criterion: Templates provided for outputs
145
+ test: file_exists
146
+ expected: templates directory is not empty
147
+
148
+ # ─────────────────────────────────────────────────────────────
149
+ # DEPENDENCIES
150
+ # ─────────────────────────────────────────────────────────────
151
+ dependencies:
152
+ skills:
153
+ - name: task-execution-guideline
154
+ relationship: prerequisite
155
+
156
+ artifacts:
157
+ - path: "{required artifact path}"
158
+ description: "{what must exist before skill can run}"
159
+
160
+ # ─────────────────────────────────────────────────────────────
161
+ # TESTING
162
+ # ─────────────────────────────────────────────────────────────
163
+ test_scenarios:
164
+ happy_path:
165
+ - name: "{operation name} success"
166
+ given: "{valid inputs}"
167
+ when: "execute {operation}"
168
+ then: "success=true and result contains {value}"
169
+
170
+ error_cases:
171
+ - name: "Invalid input handling"
172
+ given: "{invalid input}"
173
+ when: "execute {operation}"
174
+ then: "success=false and errors contains {error_code}"
175
+
176
+ # ─────────────────────────────────────────────────────────────
177
+ # EVALUATION
178
+ # ─────────────────────────────────────────────────────────────
179
+ evaluation:
180
+ self_check:
181
+ - "All outputs match schema"
182
+ - "DoD checkpoints all verified"
183
+ - "Error scenarios handled gracefully"
184
+ ```
185
+
186
+ ---
187
+
188
+ ## Field Reference
189
+
190
+ | Section | Field | Required | Description |
191
+ |---------|-------|----------|-------------|
192
+ | Identity | skill_name | Yes | `x-ipe-tool-{name}` format |
193
+ | Interface | inputs.required | Yes | `operation` is standard |
194
+ | Acceptance | must | Yes | All must pass for merge |
195
+ | Testing | happy_path | Yes | At least 1 scenario per operation |
196
+
197
+ ---
198
+
199
+ ## Usage
200
+
201
+ 1. Copy template YAML block
202
+ 2. Fill all required fields
203
+ 3. Define specific acceptance criteria for tool operations
204
+ 4. Add test scenarios
205
+ 5. Save as `x-ipe-docs/skill-meta/{skill-name}/skill-meta.md`
@@ -0,0 +1,334 @@
1
+ # Meta Skill Template
2
+
3
+ Use this template when creating a skill that creates, manages, or operates on other skills. Meta skills are X-IPE framework-level tools.
4
+
5
+ **Section Order (Cognitive Flow):**
6
+ 1. CONTEXT: Purpose → About → Important Notes
7
+ 2. DECISION: Input Parameters → Definition of Ready
8
+ 3. ACTION: Execution Flow Summary → Execution Procedure
9
+ 4. VERIFY: Output Result → Definition of Done
10
+ 5. REFERENCE: Templates → Examples
11
+
12
+ ---
13
+
14
+ ```markdown
15
+ ---
16
+ name: x-ipe-meta-{skill-name}
17
+ description: {Brief description of what this meta skill does}. Use when {trigger conditions}. Triggers on requests like "{trigger 1}", "{trigger 2}".
18
+ ---
19
+
20
+ # {Meta Skill Name}
21
+
22
+ ## Purpose
23
+
24
+ {Brief description of what this meta skill accomplishes} by:
25
+ 1. {Step 1}
26
+ 2. {Step 2}
27
+ 3. {Step 3}
28
+ 4. {Step 4}
29
+
30
+ ---
31
+
32
+ ## About
33
+
34
+ {Domain explanation of what this meta skill operates on and why it exists}
35
+
36
+ ### Key Concepts
37
+
38
+ - **{Concept 1}** - {Definition}
39
+ - **{Concept 2}** - {Definition}
40
+ - **{Concept 3}** - {Definition}
41
+
42
+ ### Scope
43
+
44
+ ```yaml
45
+ operates_on:
46
+ - "{What this skill creates/manages}"
47
+ - "{Related entities}"
48
+
49
+ does_not_handle:
50
+ - "{Out of scope items}"
51
+ ```
52
+
53
+ ---
54
+
55
+ ## Important Notes
56
+
57
+ BLOCKING: {Critical prerequisite or constraint}
58
+
59
+ CRITICAL: {Important consideration that affects quality}
60
+
61
+ **Note:** If Agent does not have skill capability, go to `.github/skills/` folder to learn skills. SKILL.md is the entry point.
62
+
63
+ ---
64
+
65
+ ## Input Parameters
66
+
67
+ ```yaml
68
+ input:
69
+ # Primary input
70
+ {primary_input}: "{description}"
71
+
72
+ # Configuration options
73
+ {option_1}: "{default_value}"
74
+ {option_2}: "{default_value}"
75
+
76
+ # Context (from project or previous execution)
77
+ {context_field}: "{value_or_path}"
78
+ ```
79
+
80
+ ---
81
+
82
+ ## Definition of Ready
83
+
84
+ ```xml
85
+ <definition_of_ready>
86
+ <checkpoint required="true">
87
+ <name>{Prerequisite 1}</name>
88
+ <verification>{How to verify}</verification>
89
+ </checkpoint>
90
+ <checkpoint required="true">
91
+ <name>{Prerequisite 2}</name>
92
+ <verification>{How to verify}</verification>
93
+ </checkpoint>
94
+ <checkpoint required="recommended">
95
+ <name>{Optional Prerequisite}</name>
96
+ <verification>{How to verify}</verification>
97
+ </checkpoint>
98
+ </definition_of_ready>
99
+ ```
100
+
101
+ ---
102
+
103
+ ## Execution Flow
104
+
105
+ | Step | Name | Action | Gate |
106
+ |------|------|--------|------|
107
+ | 1 | {Step Name} | {Brief action} | {gate condition} |
108
+ | 2 | {Step Name} | {Brief action} | {gate condition} |
109
+ | 3 | {Step Name} | {Brief action} | {gate condition} |
110
+ | 4 | Validate | Verify DoD | DoD validated |
111
+
112
+ ---
113
+
114
+ ## Execution Procedure
115
+
116
+ ```xml
117
+ <procedure name="{skill-name}">
118
+ <!-- CRITICAL: Both DoR/DoD check elements below are MANDATORY -->
119
+ <execute_dor_checks_before_starting/>
120
+ <schedule_dod_checks_with_sub_agent_before_starting/>
121
+
122
+ <step_1>
123
+ <name>{Step Name}</name>
124
+ <action>
125
+ 1. {Sub-action 1}
126
+ 2. {Sub-action 2}
127
+ 3. {Sub-action 3}
128
+ </action>
129
+ <constraints>
130
+ - BLOCKING: {Must not violate}
131
+ - CRITICAL: {Important consideration}
132
+ </constraints>
133
+ <output>{What this step produces}</output>
134
+ </step_1>
135
+
136
+ <step_2>
137
+ <name>{Step Name}</name>
138
+ <action>
139
+ 1. {Sub-action 1}
140
+ 2. {Sub-action 2}
141
+ </action>
142
+ <branch>
143
+ IF: {condition}
144
+ THEN: {action if true}
145
+ ELSE: {action if false}
146
+ </branch>
147
+ <output>{What this step produces}</output>
148
+ </step_2>
149
+
150
+ <step_3>
151
+ <name>{Step Name}</name>
152
+ <action>
153
+ 1. {Sub-action 1}
154
+ 2. {Sub-action 2}
155
+ </action>
156
+ <success_criteria>
157
+ - {Criterion 1}
158
+ - {Criterion 2}
159
+ </success_criteria>
160
+ <output>{What this step produces}</output>
161
+ </step_3>
162
+
163
+ </procedure>
164
+ ```
165
+
166
+ ---
167
+
168
+ ## Output Result
169
+
170
+ ```yaml
171
+ task_completion_output:
172
+ category: standalone
173
+ status: completed | blocked
174
+ next_task_type: null
175
+ require_human_review: "{yes | no}"
176
+ task_output_links:
177
+ - "{output_file_path_1}"
178
+ - "{output_file_path_2}"
179
+ # Dynamic attributes
180
+ {dynamic_attr_1}: "{value}"
181
+ {dynamic_attr_2}: "{value}"
182
+ ```
183
+
184
+ ---
185
+
186
+ ## Definition of Done
187
+
188
+ CRITICAL: Use a sub-agent to validate DoD checkpoints independently.
189
+
190
+ ```xml
191
+ <definition_of_done>
192
+ <checkpoint required="true">
193
+ <name>{Output 1 Created}</name>
194
+ <verification>{How to verify}</verification>
195
+ </checkpoint>
196
+ <checkpoint required="true">
197
+ <name>{Verification 1 Passed}</name>
198
+ <verification>{How to verify}</verification>
199
+ </checkpoint>
200
+ <checkpoint required="true">
201
+ <name>{Quality Check Passed}</name>
202
+ <verification>{How to verify}</verification>
203
+ </checkpoint>
204
+ </definition_of_done>
205
+ ```
206
+
207
+ ---
208
+
209
+ ## Templates
210
+
211
+ | File | Purpose | When to Use |
212
+ |------|---------|-------------|
213
+ | `templates/{template-1}.md` | {Purpose} | {When to use} |
214
+ | `templates/{template-2}.md` | {Purpose} | {When to use} |
215
+
216
+ ---
217
+
218
+ ## Examples
219
+
220
+ See [references/examples.md](references/examples.md) for concrete execution examples.
221
+ ```
222
+
223
+ ---
224
+
225
+ ## Template Usage Notes
226
+
227
+ ### Naming Convention
228
+
229
+ Meta skills use the `x-ipe-` prefix:
230
+ - `x-ipe-{name}` format
231
+ - Examples:
232
+ - `x-ipe-skill-creator` - Creates and manages skills
233
+ - `x-ipe-skill-validator` - Validates skill structure
234
+ - `x-ipe-skill-registry` - Manages skill registry
235
+
236
+ ### Section Order (v2 Cognitive Flow)
237
+
238
+ MANDATORY: Sections must appear in this sequence:
239
+
240
+ ```yaml
241
+ meta_skills:
242
+ section_order:
243
+ # CONTEXT
244
+ 1: Purpose
245
+ 2: About
246
+ 3: Important Notes
247
+ # DECISION
248
+ 4: Input Parameters
249
+ 5: Definition of Ready (DoR)
250
+ # ACTION
251
+ 6: Execution Flow Summary
252
+ 7: Execution Procedure
253
+ # VERIFY
254
+ 8: Output Result
255
+ 9: Definition of Done (DoD)
256
+ # REFERENCE
257
+ 10: Templates
258
+ 11: Examples
259
+ ```
260
+
261
+ ### Format Standards
262
+
263
+ | Element | Format |
264
+ |---------|--------|
265
+ | Execution procedure | XML `<procedure>` blocks |
266
+ | Data models | YAML |
267
+ | DoR/DoD | XML checkpoints |
268
+ | Importance signals | Keywords (BLOCKING, CRITICAL, MANDATORY) |
269
+
270
+ ### Key Characteristics of Meta Skills
271
+
272
+ | Aspect | Description |
273
+ |--------|-------------|
274
+ | Scope | Operates on X-IPE framework itself |
275
+ | Output | Creates/modifies skills or framework components |
276
+ | Naming | Always prefixed with `x-ipe-` |
277
+ | Category | Always `standalone` |
278
+ | Self-reference | May reference other meta skills |
279
+
280
+ ### Common Meta Skill Patterns
281
+
282
+ ```yaml
283
+ patterns:
284
+ skill_creation:
285
+ description: "Creates new skills from templates"
286
+ key_steps:
287
+ - Identify skill type
288
+ - Apply template
289
+ - Validate structure
290
+ - Register in framework
291
+
292
+ skill_validation:
293
+ description: "Validates existing skills against standards"
294
+ key_steps:
295
+ - Load skill
296
+ - Check structure
297
+ - Verify cross-references
298
+ - Report findings
299
+
300
+ skill_maintenance:
301
+ description: "Updates skills based on lessons or changes"
302
+ key_steps:
303
+ - Identify changes needed
304
+ - Apply updates
305
+ - Re-validate
306
+ - Update version
307
+ ```
308
+
309
+ ### Sub-Agent Pattern for Meta Skills
310
+
311
+ Meta skills often use sub-agents for complex operations:
312
+
313
+ ```yaml
314
+ sub_agent_workflow:
315
+ round_1_parallel:
316
+ - agent: "meta_analyzer"
317
+ task: "Analyze input and plan"
318
+ - agent: "template_loader"
319
+ task: "Load appropriate templates"
320
+
321
+ round_2_sequential:
322
+ - agent: "content_creator"
323
+ task: "Create skill content"
324
+
325
+ round_3_parallel:
326
+ - agent: "validator"
327
+ task: "Validate output"
328
+ - agent: "test_generator"
329
+ task: "Generate tests"
330
+
331
+ round_4_sequential:
332
+ - agent: "finalizer"
333
+ task: "Finalize and register"
334
+ ```