speccrew 0.4.0 → 0.4.1

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.
@@ -63,7 +63,15 @@ Applies ISA-95 Stages 2-3 outputs for PRD generation:
63
63
 
64
64
  **Actions:**
65
65
  1. Read `.clarification-summary.md` — extract: key decisions, clarified scope, business rules
66
- 2. Read `.module-design.md` — extract: module list, dependency matrix, implementation phases
66
+ 2. Read `.module-design.md` — extract:
67
+ - **Module count**: from `## Module List (Total: N modules)` heading (parse the number N)
68
+ - **Module list**: rows from Module List table
69
+ - **Dependency matrix**: rows from Dependency Matrix table
70
+ - **Implementation phases**: items from Implementation Phases section
71
+
72
+ **Validation:**
73
+ - IF module_count >= 2 → MANDATORY: Use Master-Sub Structure
74
+ - IF module_count < 2 → Use Single PRD Structure
67
75
 
68
76
  ## Step 2: Read PRD Template
69
77
 
@@ -80,7 +80,10 @@ Applies ISA-95 Stages 1-3 as structured analysis framework:
80
80
  ### Domain Description
81
81
  - **System Boundary**: [what's included/excluded]
82
82
  - **Actors**: [user roles, external systems]
83
- - **Domain Glossary**: [term: definition]
83
+ - **Domain Glossary**:
84
+ | Term | Definition |
85
+ |------|-----------|
86
+ | [term] | [definition] |
84
87
  ```
85
88
 
86
89
  **Checkpoint A:** Present to user for confirmation.
@@ -164,12 +167,14 @@ Ready to proceed with module decomposition? Reply "确认".
164
167
 
165
168
  **Output format:**
166
169
  ```markdown
167
- ## Module List
170
+ ## Module List (Total: {N} modules)
168
171
  | Module | Key | Scope | Key Entities | Owner Domain |
169
172
  |--------|-----|-------|-------------|--------------|
170
173
  | [Name] | [key] | [scope] | [entities] | [domain] |
171
174
  ```
172
175
 
176
+ > ⚠️ **MANDATORY:** Replace `{N}` with the actual module count. This count is used by downstream skills for structure validation.
177
+
173
178
  ### 3.2 Cross-Module Dependency Matrix
174
179
 
175
180
  **Actions:**
@@ -226,7 +231,10 @@ Please review. Reply "确认" to finalize or request changes.
226
231
  ### Domain Description
227
232
  - **System Boundary**: [description]
228
233
  - **Actors**: [list]
229
- - **Domain Glossary**: [terms]
234
+ - **Domain Glossary**:
235
+ | Term | Definition |
236
+ |------|-----------|
237
+ | [term] | [definition] |
230
238
 
231
239
  ### Domain Functions (WBS)
232
240
  [WBS structure]
@@ -238,7 +246,7 @@ Please review. Reply "确认" to finalize or request changes.
238
246
  | Should | [fn] | [rationale] |
239
247
  | Could | [fn] | [rationale] |
240
248
 
241
- ## Module List
249
+ ## Module List (Total: {N} modules)
242
250
  | Module | Key | Scope | Key Entities | Owner Domain | Phase |
243
251
  |--------|-----|-------|-------------|--------------|-------|
244
252
  | [name] | [key] | [scope] | [entities] | [domain] | [1/2/3] |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {