specsmd 0.0.0-dev.63 → 0.0.0-dev.65

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.
@@ -1,33 +1,29 @@
1
- # Skill: Work Item Decompose
2
-
3
- Break an intent into discrete, executable work items.
4
-
5
1
  ---
6
-
7
- ## Trigger
8
-
9
- - Intent exists without work items
10
- - User wants to plan execution
11
-
2
+ name: work-item-decompose
3
+ description: Break an intent into discrete, executable work items with complexity assessment and dependency validation.
4
+ version: 1.0.0
12
5
  ---
13
6
 
14
- ## Degrees of Freedom
15
-
16
- **MEDIUM** — Follow decomposition patterns but adapt to the specific intent.
17
-
18
- ---
7
+ <objective>
8
+ Break an intent into discrete, executable work items.
9
+ </objective>
19
10
 
20
- ## Workflow
11
+ <triggers>
12
+ - Intent exists without work items
13
+ - User wants to plan execution
14
+ </triggers>
21
15
 
22
- ```xml
23
- <skill name="work-item-decompose">
16
+ <degrees_of_freedom>
17
+ **MEDIUM** — Follow decomposition patterns but adapt to the specific intent.
18
+ </degrees_of_freedom>
24
19
 
25
- <mandate>
26
- Each work item MUST be completable in a single run.
27
- Each work item MUST have clear acceptance criteria.
28
- Dependencies MUST be explicit and validated.
29
- </mandate>
20
+ <llm critical="true">
21
+ <mandate>Each work item MUST be completable in a single run</mandate>
22
+ <mandate>Each work item MUST have clear acceptance criteria</mandate>
23
+ <mandate>Dependencies MUST be explicit and validated</mandate>
24
+ </llm>
30
25
 
26
+ <flow>
31
27
  <step n="1" title="Load Intent">
32
28
  <action>Read intent brief from .specs-fire/intents/{intent-id}/brief.md</action>
33
29
  <action>Understand goal, users, success criteria</action>
@@ -74,13 +70,13 @@ Break an intent into discrete, executable work items.
74
70
  <action>Read workspace.autonomy_bias from state.yaml</action>
75
71
  <action>Apply bias to determine final execution mode:</action>
76
72
 
77
- <bias-table>
73
+ <bias_table>
78
74
  | Raw Complexity | autonomous | balanced | controlled |
79
75
  |----------------|------------|----------|------------|
80
76
  | low | autopilot | autopilot| confirm |
81
77
  | medium | autopilot | confirm | validate |
82
78
  | high | confirm | validate | validate |
83
- </bias-table>
79
+ </bias_table>
84
80
 
85
81
  <note>
86
82
  This allows user preference to shift thresholds:
@@ -147,48 +143,23 @@ Break an intent into discrete, executable work items.
147
143
  Ready to plan execution scope? [Y/n]
148
144
  </output>
149
145
  <check if="response == y">
150
- <route-to>builder-agent (run-plan)</route-to>
146
+ <route_to>builder-agent (run-plan)</route_to>
151
147
  </check>
152
148
  </step>
153
-
154
- </skill>
155
- ```
156
-
157
- ---
158
-
159
- ## Output
160
-
161
- **Work Item** (`.specs-fire/intents/{intent-id}/work-items/{id}.md`):
162
-
163
- ```markdown
164
- ---
165
- id: {work-item-id}
166
- title: {title}
167
- intent: {intent-id}
168
- complexity: low | medium | high
169
- mode: autopilot | confirm | validate
170
- status: pending
171
- depends_on: [{dependency-ids}]
172
- created: {timestamp}
173
- ---
174
-
175
- # Work Item: {title}
176
-
177
- ## Description
178
-
179
- {What this work item delivers}
180
-
181
- ## Acceptance Criteria
182
-
183
- - [ ] {criterion-1}
184
- - [ ] {criterion-2}
185
- - [ ] {criterion-3}
186
-
187
- ## Technical Notes
188
-
189
- {Any implementation hints or constraints}
190
-
191
- ## Dependencies
192
-
193
- {List of work items this depends on}
194
- ```
149
+ </flow>
150
+
151
+ <output_artifacts>
152
+ | Artifact | Location | Template |
153
+ |----------|----------|----------|
154
+ | Work Item | `.specs-fire/intents/{intent-id}/work-items/{id}.md` | `./templates/work-item.md.hbs` |
155
+ </output_artifacts>
156
+
157
+ <success_criteria>
158
+ <criterion>Intent decomposed into discrete work items</criterion>
159
+ <criterion>Each work item has clear acceptance criteria</criterion>
160
+ <criterion>Complexity assessed for each item</criterion>
161
+ <criterion>Autonomy bias applied to determine modes</criterion>
162
+ <criterion>Dependencies validated (no circular dependencies)</criterion>
163
+ <criterion>Work items saved to correct locations</criterion>
164
+ <criterion>State.yaml updated with work items list</criterion>
165
+ </success_criteria>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specsmd",
3
- "version": "0.0.0-dev.63",
3
+ "version": "0.0.0-dev.65",
4
4
  "description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {