speccrew 0.6.39 → 0.6.40

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.
@@ -190,8 +190,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
190
190
  <block type="rule" id="P05-R-TECHS" level="mandatory" desc="Parallel worker dispatch for techs">
191
191
  <field name="text">When techs-dispatch Stage 2 prepares task plans for multiple platforms, dispatch ALL platform workers IN PARALLEL — DO NOT execute sequentially</field>
192
192
  </block>
193
- <block type="task" id="P05-B5" action="run-skill" desc="Invoke techs-dispatch">
193
+ <block type="task" id="P05-B5" action="dispatch-to-worker" desc="Dispatch techs-dispatch via Task tool → speccrew-task-worker">
194
+ <field name="worker">speccrew-task-worker</field>
194
195
  <field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
196
+ <field name="instructions">
197
+ CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
198
+
199
+ Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-techs-dispatch-xml.
200
+ The Worker Agent will load and execute the dispatch workflow autonomously.
201
+ DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
202
+ </field>
195
203
  </block>
196
204
  </branch>
197
205
  <branch test="${bizs_kb.exists} == false" name="Bizs Not Initialized">
@@ -199,8 +207,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
199
207
  <block type="rule" id="P05-R-BIZS" level="mandatory" desc="Parallel worker dispatch for bizs">
200
208
  <field name="text">When bizs-dispatch prepares worker task plans, dispatch ALL workers IN PARALLEL per stage — DO NOT execute sequentially</field>
201
209
  </block>
202
- <block type="task" id="P05-B6" action="run-skill" desc="Invoke bizs-dispatch-xml">
210
+ <block type="task" id="P05-B6" action="dispatch-to-worker" desc="Dispatch bizs-dispatch via Task tool → speccrew-task-worker">
211
+ <field name="worker">speccrew-task-worker</field>
203
212
  <field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
213
+ <field name="instructions">
214
+ CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
215
+
216
+ Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-bizs-dispatch-xml.
217
+ The Worker Agent will load and execute the dispatch workflow autonomously.
218
+ DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
219
+ </field>
204
220
  </block>
205
221
  </branch>
206
222
  <branch default="true" name="Knowledge Base Ready">
@@ -221,6 +237,7 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
221
237
  <field name="text">DO NOT trigger business process Skills (PRD, Solution, Design, Dev) — these are loaded by corresponding role Agents</field>
222
238
  <field name="text">DO NOT handle business development requests (feature requirements, code modifications, bug fixes) — prompt user to talk directly to Qoder</field>
223
239
  <field name="text">DO NOT delete or modify WORKFLOW-PROGRESS.json (read-only)</field>
240
+ <field name="text">DO NOT call the Skill tool directly for speccrew-knowledge-* skills (speccrew-knowledge-bizs-dispatch-xml, speccrew-knowledge-techs-dispatch-xml) — MUST use Task tool to create speccrew-task-worker Agent for indirect execution</field>
224
241
  </block>
225
242
 
226
243
  <block type="gateway" id="P1-G1" mode="exclusive" desc="Intent Recognition Routing">
@@ -240,8 +257,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
240
257
  <field name="text">When bizs-dispatch prepares worker task plans for multiple features or platforms, dispatch ALL workers IN PARALLEL — DO NOT execute features or platforms sequentially one by one</field>
241
258
  <field name="text">Each Worker (analysis, graph, summarize) runs independently — dispatch all of them at once per stage, then monitor completion markers</field>
242
259
  </block>
243
- <block type="task" id="P1-B3" action="run-skill" status="pending" desc="Invoke bizs-dispatch XML version">
260
+ <block type="task" id="P1-B3" action="dispatch-to-worker" status="pending" desc="Dispatch bizs-dispatch via Task tool → speccrew-task-worker">
261
+ <field name="worker">speccrew-task-worker</field>
244
262
  <field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
263
+ <field name="instructions">
264
+ CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
265
+
266
+ Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-bizs-dispatch-xml.
267
+ The Worker Agent will load and execute the dispatch workflow autonomously.
268
+ DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
269
+ </field>
245
270
  </block>
246
271
  </branch>
247
272
  <branch test="${intent} == 'knowledge_techs'" name="Techs Knowledge Base">
@@ -249,8 +274,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
249
274
  <field name="text">When techs-dispatch Stage 2 prepares task plans for multiple platforms, dispatch ALL platform workers IN PARALLEL using concurrent task dispatch — DO NOT execute platforms sequentially one by one</field>
250
275
  <field name="text">Each platform worker (techs-generate-conventions, techs-generate-ui-style) runs independently — dispatch all of them at once, then monitor completion markers</field>
251
276
  </block>
252
- <block type="task" id="P1-B4" action="run-skill" status="pending" desc="Invoke techs-dispatch Skill">
277
+ <block type="task" id="P1-B4" action="dispatch-to-worker" status="pending" desc="Dispatch techs-dispatch via Task tool → speccrew-task-worker">
278
+ <field name="worker">speccrew-task-worker</field>
253
279
  <field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
280
+ <field name="instructions">
281
+ CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
282
+
283
+ Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-techs-dispatch-xml.
284
+ The Worker Agent will load and execute the dispatch workflow autonomously.
285
+ DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
286
+ </field>
254
287
  </block>
255
288
  </branch>
256
289
 
@@ -8,6 +8,26 @@ tools: Read, Write, Task, Bash
8
8
 
9
9
  Orchestrate **bizs knowledge base generation** with a 5-stage pipeline using **XML Block system**: Feature Inventory → Feature Analysis + Graph Write → Module Summarize → UI Style Pattern Extract → System Summary.
10
10
 
11
+ ## Invocation Method
12
+
13
+ **CRITICAL**: This skill MUST be invoked via Task tool → speccrew-task-worker, NOT via direct Skill tool call.
14
+
15
+ ```
16
+ Correct: Use Task tool to create speccrew-task-worker with this skill
17
+ Incorrect: Use Skill tool to call this skill directly
18
+ ```
19
+
20
+ **Why?** This skill requires run_in_terminal capability for script execution, which Worker Agents possess but direct Skill invocations may not support correctly. The Task tool creates a dedicated Worker Agent (speccrew-task-worker) that loads and executes this workflow autonomously.
21
+
22
+ **Correct Invocation Pattern**:
23
+ ```xml
24
+ <block type="task" action="dispatch-to-worker" desc="Dispatch bizs-dispatch via Task tool">
25
+ <field name="worker">speccrew-task-worker</field>
26
+ <field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
27
+ <field name="instructions">Execute the bizs knowledge base generation pipeline.</field>
28
+ </block>
29
+ ```
30
+
11
31
  ## Quick Reference — Execution Flow
12
32
 
13
33
  ```
@@ -8,6 +8,26 @@ tools: Read, Write, Task, Bash
8
8
 
9
9
  Orchestrate **techs knowledge base generation** with a 3-stage pipeline using **XML Block system**: Platform Detection → Tech Doc Generation → Root Index.
10
10
 
11
+ ## Invocation Method
12
+
13
+ **CRITICAL**: This skill MUST be invoked via Task tool → speccrew-task-worker, NOT via direct Skill tool call.
14
+
15
+ ```
16
+ Correct: Use Task tool to create speccrew-task-worker with this skill
17
+ Incorrect: Use Skill tool to call this skill directly
18
+ ```
19
+
20
+ **Why?** This skill requires run_in_terminal capability for script execution, which Worker Agents possess but direct Skill invocations may not support correctly. The Task tool creates a dedicated Worker Agent (speccrew-task-worker) that loads and executes this workflow autonomously.
21
+
22
+ **Correct Invocation Pattern**:
23
+ ```xml
24
+ <block type="task" action="dispatch-to-worker" desc="Dispatch techs-dispatch via Task tool">
25
+ <field name="worker">speccrew-task-worker</field>
26
+ <field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
27
+ <field name="instructions">Execute the techs knowledge base generation pipeline.</field>
28
+ </block>
29
+ ```
30
+
11
31
  ## Quick Reference — Execution Flow
12
32
 
13
33
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.6.39",
3
+ "version": "0.6.40",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {