speccrew 0.3.9 → 0.3.10

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.
@@ -463,9 +463,12 @@ Phase 0 → Phase 1 → Phase 2 → Phase 3 → Phase 4 (if complex) → Phase 5
463
463
 
464
464
  ### MANDATORY TEMPLATE PATH
465
465
 
466
- - **PRD Template**: `templates/PRD-TEMPLATE.md` (relative to the invoked skill directory)
467
- - **BIZS Modeling Template**: `templates/BIZS-MODELING-TEMPLATE.md` (relative to the invoked skill directory)
468
- - **DO NOT search for templates in bizs/, knowledges/, or other directories**
466
+ - **PRD Template**: Search with glob `**/speccrew-pm-requirement-analysis/templates/PRD-TEMPLATE.md`
467
+ - **BIZS Modeling Template**: Search with glob `**/speccrew-pm-requirement-analysis/templates/BIZS-MODELING-TEMPLATE.md`
468
+ - **Sub-PRD Template**: The Sub-PRD worker skill (`speccrew-pm-sub-prd-generate/SKILL.md`) receives template_path as parameter — pass the found PRD template path to the worker
469
+ - **DO NOT search for templates in bizs/, knowledges/, project source, or other unrelated directories**
470
+ - **DO NOT try to find templates by listing all .md files in the project**
471
+ - **Templates are ALWAYS in the skill's own `templates/` subfolder**, accessed via glob pattern
469
472
 
470
473
  ### Must do
471
474
  - Read business module list to confirm boundaries between requirements and existing features
@@ -371,12 +371,24 @@ Phase 3 (Extension): Remaining modules
371
371
 
372
372
  ## Step 7: Read PRD Template
373
373
 
374
- Read the PRD template file:
375
- ```
376
- templates/PRD-TEMPLATE.md
377
- ```
378
- > This path is relative to the current skill directory (`.speccrew/skills/speccrew-pm-requirement-analysis/`).
379
- > **DO NOT search for PRD templates in bizs/, knowledges/, workspace docs, or any other directory.**
374
+ **Locate and read the PRD template file using this search strategy:**
375
+
376
+ 1. **Search** for the template using glob pattern:
377
+ ```
378
+ **/speccrew-pm-requirement-analysis/templates/PRD-TEMPLATE.md
379
+ ```
380
+ This will find the template regardless of IDE adapter path (.qoder/, .claude/, .cursor/, .speccrew/).
381
+
382
+ 2. **Read** the found template file.
383
+
384
+ 3. **If BIZS modeling template is needed** (for complex systems with 3+ modules):
385
+ ```
386
+ **/speccrew-pm-requirement-analysis/templates/BIZS-MODELING-TEMPLATE.md
387
+ ```
388
+
389
+ > ⚠️ **DO NOT manually search in these directories:** bizs/, knowledges/, workspace docs, project src/
390
+ > The template is ALWAYS located in the skill's own `templates/` subfolder.
391
+ > If glob returns no results, check if speccrew was properly initialized (`speccrew init`).
380
392
 
381
393
  After reading the template, check if any required information is missing based on:
382
394
  - Template structure requirements
@@ -80,20 +80,19 @@ node speccrew-workspace/scripts/update-progress.js update-workflow \
80
80
 
81
81
  ### Step 3: Read PRD Template
82
82
 
83
- Read the PRD template from the complex requirement skill's template directory:
84
- ```
85
- {skill-root}/../speccrew-pm-requirement-analysis/templates/PRD-TEMPLATE.md
86
- ```
83
+ **Locate and read the PRD template:**
87
84
 
88
- Where `{skill-root}` is the directory of this skill (`.speccrew/skills/speccrew-pm-requirement-simple/`).
85
+ 1. **Search** for the template using glob pattern:
86
+ ```
87
+ **/speccrew-pm-requirement-analysis/templates/PRD-TEMPLATE.md
88
+ ```
89
+ > Note: Simple requirement skill shares the PRD template with the complex requirement skill.
89
90
 
90
- Alternatively, if the file is available at workspace level:
91
- ```
92
- speccrew-workspace/docs/templates/PRD-TEMPLATE.md
93
- ```
91
+ 2. **Read** the found template file.
94
92
 
95
- > **Priority**: Use the skill-level template first. Only fall back to workspace-level if not found.
96
- > **DO NOT search in bizs/, knowledges/, or other unrelated directories.**
93
+ > ⚠️ **DO NOT search in bizs/, knowledges/, or project source directories.**
94
+ > The template is ALWAYS located in the skill's own `templates/` subfolder.
95
+ > If glob returns no results, check if speccrew was properly initialized (`speccrew init`).
97
96
 
98
97
  ### Step 4: Generate Single PRD
99
98
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {