speccrew 0.6.39 → 0.6.41
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,9 @@ 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="
|
|
193
|
+
<block type="task" id="P05-B5" action="run-skill" desc="Leader directly invokes techs-dispatch as orchestration playbook">
|
|
194
194
|
<field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
|
|
195
|
+
<field name="note">Leader directly calls this dispatch skill as an orchestration playbook. The dispatch skill defines the workflow; Leader dispatches downstream workers via Task tool → speccrew-task-worker for each stage.</field>
|
|
195
196
|
</block>
|
|
196
197
|
</branch>
|
|
197
198
|
<branch test="${bizs_kb.exists} == false" name="Bizs Not Initialized">
|
|
@@ -199,8 +200,9 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
199
200
|
<block type="rule" id="P05-R-BIZS" level="mandatory" desc="Parallel worker dispatch for bizs">
|
|
200
201
|
<field name="text">When bizs-dispatch prepares worker task plans, dispatch ALL workers IN PARALLEL per stage — DO NOT execute sequentially</field>
|
|
201
202
|
</block>
|
|
202
|
-
<block type="task" id="P05-B6" action="run-skill" desc="
|
|
203
|
+
<block type="task" id="P05-B6" action="run-skill" desc="Leader directly invokes bizs-dispatch as orchestration playbook">
|
|
203
204
|
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
205
|
+
<field name="note">Leader directly calls this dispatch skill as an orchestration playbook. The dispatch skill defines the workflow; Leader dispatches downstream workers via Task tool → speccrew-task-worker for each stage.</field>
|
|
204
206
|
</block>
|
|
205
207
|
</branch>
|
|
206
208
|
<branch default="true" name="Knowledge Base Ready">
|
|
@@ -221,6 +223,7 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
221
223
|
<field name="text">DO NOT trigger business process Skills (PRD, Solution, Design, Dev) — these are loaded by corresponding role Agents</field>
|
|
222
224
|
<field name="text">DO NOT handle business development requests (feature requirements, code modifications, bug fixes) — prompt user to talk directly to Qoder</field>
|
|
223
225
|
<field name="text">DO NOT delete or modify WORKFLOW-PROGRESS.json (read-only)</field>
|
|
226
|
+
<field name="text">dispatch skills (bizs-dispatch-xml, techs-dispatch-xml) MUST be called directly by Leader via Skill tool as orchestration playbooks. Downstream worker skills (identify-entries, init-features, ui-analyze, etc.) MUST be dispatched via Task tool → speccrew-task-worker.</field>
|
|
224
227
|
</block>
|
|
225
228
|
|
|
226
229
|
<block type="gateway" id="P1-G1" mode="exclusive" desc="Intent Recognition Routing">
|
|
@@ -240,8 +243,9 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
240
243
|
<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
244
|
<field name="text">Each Worker (analysis, graph, summarize) runs independently — dispatch all of them at once per stage, then monitor completion markers</field>
|
|
242
245
|
</block>
|
|
243
|
-
<block type="task" id="P1-B3" action="run-skill" status="pending" desc="
|
|
246
|
+
<block type="task" id="P1-B3" action="run-skill" status="pending" desc="Leader directly invokes bizs-dispatch as orchestration playbook">
|
|
244
247
|
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
248
|
+
<field name="note">Leader directly calls this dispatch skill as an orchestration playbook. The dispatch skill defines the workflow; Leader dispatches downstream workers via Task tool → speccrew-task-worker for each stage.</field>
|
|
245
249
|
</block>
|
|
246
250
|
</branch>
|
|
247
251
|
<branch test="${intent} == 'knowledge_techs'" name="Techs Knowledge Base">
|
|
@@ -249,8 +253,9 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
249
253
|
<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
254
|
<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
255
|
</block>
|
|
252
|
-
<block type="task" id="P1-B4" action="run-skill" status="pending" desc="
|
|
256
|
+
<block type="task" id="P1-B4" action="run-skill" status="pending" desc="Leader directly invokes techs-dispatch as orchestration playbook">
|
|
253
257
|
<field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
|
|
258
|
+
<field name="note">Leader directly calls this dispatch skill as an orchestration playbook. The dispatch skill defines the workflow; Leader dispatches downstream workers via Task tool → speccrew-task-worker for each stage.</field>
|
|
254
259
|
</block>
|
|
255
260
|
</branch>
|
|
256
261
|
|
|
@@ -8,6 +8,31 @@ 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 is an **orchestration playbook** — it MUST be loaded directly by Team Leader via Skill tool (NOT via Worker Agent).
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Correct: Leader uses Skill tool to load this playbook directly
|
|
17
|
+
Incorrect: Dispatch this skill to speccrew-task-worker
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Why?** This skill defines the orchestration workflow and prepares task plans for downstream workers. The Team Leader reads this playbook and dispatches individual worker tasks via Task tool → speccrew-task-worker for each stage.
|
|
21
|
+
|
|
22
|
+
**Correct Invocation Pattern**:
|
|
23
|
+
```xml
|
|
24
|
+
<block type="task" action="run-skill" desc="Leader directly invokes bizs-dispatch as orchestration playbook">
|
|
25
|
+
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
26
|
+
<field name="note">Leader directly calls this dispatch skill as an orchestration playbook. The dispatch skill defines the workflow; Leader dispatches downstream workers via Task tool → speccrew-task-worker for each stage.</field>
|
|
27
|
+
</block>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Worker Dispatch Rule**:
|
|
31
|
+
- Dispatch skills (bizs-dispatch-xml, techs-dispatch-xml): Leader calls directly via Skill tool
|
|
32
|
+
- Downstream worker skills (identify-entries, init-features, ui-analyze, module-summarize, etc.): Leader dispatches via Task tool → speccrew-task-worker
|
|
33
|
+
|
|
34
|
+
**FORBIDDEN**: Worker Agents MUST NOT execute this dispatch skill. If a Worker Agent loads this skill, it must report error and abort.
|
|
35
|
+
|
|
11
36
|
## Quick Reference — Execution Flow
|
|
12
37
|
|
|
13
38
|
```
|
|
@@ -94,6 +119,15 @@ Stage 4: System Summary
|
|
|
94
119
|
<field name="completed_dir" required="true" type="string" desc="Marker file output directory for Worker results (absolute path required)"/>
|
|
95
120
|
</block>
|
|
96
121
|
|
|
122
|
+
<!-- ============================================================
|
|
123
|
+
Global Invocation Rules
|
|
124
|
+
============================================================ -->
|
|
125
|
+
<block type="rule" id="GLOBAL-R-INVOCATION" level="forbidden" desc="Invocation constraints — NEVER violate">
|
|
126
|
+
<field name="text">This skill is an ORCHESTRATION PLAYBOOK — it MUST be loaded directly by Team Leader via Skill tool</field>
|
|
127
|
+
<field name="text">Worker Agents MUST NOT execute this dispatch skill — if loaded by a Worker, report error and abort</field>
|
|
128
|
+
<field name="text">Downstream worker skills (identify-entries, init-features, ui-analyze, module-summarize, etc.) MUST be dispatched via Task tool → speccrew-task-worker</field>
|
|
129
|
+
</block>
|
|
130
|
+
|
|
97
131
|
<!-- ============================================================
|
|
98
132
|
Global Continuous Execution Rules
|
|
99
133
|
============================================================ -->
|
|
@@ -8,6 +8,31 @@ 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 is an **orchestration playbook** — it MUST be loaded directly by Team Leader via Skill tool (NOT via Worker Agent).
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Correct: Leader uses Skill tool to load this playbook directly
|
|
17
|
+
Incorrect: Dispatch this skill to speccrew-task-worker
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Why?** This skill defines the orchestration workflow and prepares task plans for downstream workers. The Team Leader reads this playbook and dispatches individual worker tasks via Task tool → speccrew-task-worker for each stage.
|
|
21
|
+
|
|
22
|
+
**Correct Invocation Pattern**:
|
|
23
|
+
```xml
|
|
24
|
+
<block type="task" action="run-skill" desc="Leader directly invokes techs-dispatch as orchestration playbook">
|
|
25
|
+
<field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
|
|
26
|
+
<field name="note">Leader directly calls this dispatch skill as an orchestration playbook. The dispatch skill defines the workflow; Leader dispatches downstream workers via Task tool → speccrew-task-worker for each stage.</field>
|
|
27
|
+
</block>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Worker Dispatch Rule**:
|
|
31
|
+
- Dispatch skills (bizs-dispatch-xml, techs-dispatch-xml): Leader calls directly via Skill tool
|
|
32
|
+
- Downstream worker skills (techs-init, techs-generate-conventions, techs-generate-ui-style, etc.): Leader dispatches via Task tool → speccrew-task-worker
|
|
33
|
+
|
|
34
|
+
**FORBIDDEN**: Worker Agents MUST NOT execute this dispatch skill. If a Worker Agent loads this skill, it must report error and abort.
|
|
35
|
+
|
|
11
36
|
## Quick Reference — Execution Flow
|
|
12
37
|
|
|
13
38
|
```
|
|
@@ -107,6 +132,15 @@ Read `speccrew-workspace/docs/configs/platform-mapping.json` for standardized pl
|
|
|
107
132
|
<field name="ide_skills_dir" required="true" type="string" desc="Absolute path to IDE skills directory (e.g., .qoder/skills, .cursor/skills)"/>
|
|
108
133
|
</block>
|
|
109
134
|
|
|
135
|
+
<!-- ============================================================
|
|
136
|
+
Global Invocation Rules
|
|
137
|
+
============================================================ -->
|
|
138
|
+
<block type="rule" id="GLOBAL-R-INVOCATION" level="forbidden" desc="Invocation constraints — NEVER violate">
|
|
139
|
+
<field name="text">This skill is an ORCHESTRATION PLAYBOOK — it MUST be loaded directly by Team Leader via Skill tool</field>
|
|
140
|
+
<field name="text">Worker Agents MUST NOT execute this dispatch skill — if loaded by a Worker, report error and abort</field>
|
|
141
|
+
<field name="text">Downstream worker skills (techs-init, techs-generate-conventions, techs-generate-ui-style, etc.) MUST be dispatched via Task tool → speccrew-task-worker</field>
|
|
142
|
+
</block>
|
|
143
|
+
|
|
110
144
|
<!-- ============================================================
|
|
111
145
|
Global Continuous Execution Rules
|
|
112
146
|
============================================================ -->
|