speccrew 0.6.18 → 0.6.20

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.
Files changed (27) hide show
  1. package/.speccrew/agents/speccrew-product-manager.md +4 -2
  2. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +4 -0
  3. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-FASTAPI.md +6 -4
  4. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-JAVA.md +6 -4
  5. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-NET.md +6 -4
  6. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE.md +6 -4
  7. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/COLOR-SYSTEM-TEMPLATE.md +3 -1
  8. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/COMPONENT-LIBRARY-TEMPLATE.md +3 -1
  9. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-DESIGN-TEMPLATE.md +3 -1
  10. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-SYSTEM-TEST-TEMPLATE.md +3 -1
  11. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-UNIT-TEST-TEMPLATE.md +3 -1
  12. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/PAGE-TYPE-SUMMARY-TEMPLATE.md +3 -1
  13. package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +6 -4
  14. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/BUSINESS-COMPONENTS-TEMPLATE.md +2 -0
  15. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMMON-COMPONENTS-TEMPLATE.md +2 -0
  16. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMPONENT-INDIVIDUAL-TEMPLATE.md +3 -1
  17. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMPONENT-LIBRARY-TEMPLATE.md +2 -0
  18. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/LAYOUT-INDIVIDUAL-TEMPLATE.md +2 -0
  19. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/LAYOUT-PATTERNS-TEMPLATE.md +2 -0
  20. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/NAVIGATION-PATTERNS-TEMPLATE.md +2 -0
  21. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/PAGE-TYPE-INDIVIDUAL-TEMPLATE.md +2 -0
  22. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/PAGE-TYPE-SUMMARY-TEMPLATE.md +2 -0
  23. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/SPACING-TEMPLATE.md +2 -0
  24. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/STYLE-SYSTEM-TEMPLATE.md +2 -0
  25. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/TYPOGRAPHY-TEMPLATE.md +2 -0
  26. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/UI-STYLE-GUIDE-TEMPLATE.md +2 -0
  27. package/package.json +1 -1
@@ -1161,14 +1161,14 @@ After each worker completes:
1161
1161
  ```bash
1162
1162
  node "{update_progress_script}" update-task \
1163
1163
  --file {iterations_dir}/{iteration}/01.product-requirement/DISPATCH-PROGRESS.json \
1164
- --task {module_key} --status completed
1164
+ --task-id {module_key} --status completed
1165
1165
  ```
1166
1166
 
1167
1167
  If a worker fails:
1168
1168
  ```bash
1169
1169
  node "{update_progress_script}" update-task \
1170
1170
  --file {iterations_dir}/{iteration}/01.product-requirement/DISPATCH-PROGRESS.json \
1171
- --task {module_key} --status failed --error "{error_message}"
1171
+ --task-id {module_key} --status failed --error "{error_message}"
1172
1172
  ```
1173
1173
 
1174
1174
  ### 5.3 Dispatch Workers
@@ -1449,12 +1449,14 @@ Now update all checkpoints (user has confirmed):
1449
1449
  # Update verification_checklist checkpoint
1450
1450
  node "{update_progress_script}" write-checkpoint \
1451
1451
  --file {iteration_path}/01.product-requirement/.checkpoints.json \
1452
+ --stage 01_prd \
1452
1453
  --checkpoint verification_checklist \
1453
1454
  --passed true
1454
1455
 
1455
1456
  # Update prd_review checkpoint
1456
1457
  node "{update_progress_script}" write-checkpoint \
1457
1458
  --file {iteration_path}/01.product-requirement/.checkpoints.json \
1459
+ --stage 01_prd \
1458
1460
  --checkpoint prd_review \
1459
1461
  --passed true
1460
1462
  ```
@@ -440,6 +440,10 @@ Fill each section using `search_replace` with extracted data from source code an
440
440
  - 示例(文档在 `speccrew-workspace/knowledges/bizs/admin-api/system/user/`):
441
441
  - `[Source](../../../../../yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java)`
442
442
 
443
+ **Source Column Rules:**
444
+ - Project source file: use `[Source](../../relative/path/to/file)` with valid relative path
445
+ - External framework/library class (e.g. Spring Security, MyBatis Plus): write plain text like `Spring Security` or `Framework` — do NOT wrap in link syntax
446
+
443
447
  **Document Link Format:**
444
448
  - Format: `[Doc]({dynamic_prefix}{documentPath})`
445
449
  - 动态前缀:与 Source Link 使用相同计算方法
@@ -9,10 +9,12 @@
9
9
 
10
10
  **Files Referenced in This Document**
11
11
 
12
- - [{router}.py](../../{routerSourcePath})
13
- - [{service}.py](../../{serviceSourcePath})
14
- - [{model}.py](../../{modelSourcePath})
15
- - [{schema}.py](../../{schemaSourcePath})
12
+ | # | File | Source |
13
+ |---|------|--------|
14
+ | 1 | {router} | [View](../../{routerSourcePath}) |
15
+ | 2 | {service} | [View](../../{serviceSourcePath}) |
16
+ | 3 | {model} | [View](../../{modelSourcePath}) |
17
+ | 4 | {schema} | [View](../../{schemaSourcePath}) |
16
18
 
17
19
  ---
18
20
 
@@ -9,10 +9,12 @@
9
9
 
10
10
  **Files Referenced in This Document**
11
11
 
12
- - [{Controller}.java](../../{controllerSourcePath})
13
- - [{Service}.java](../../{serviceSourcePath})
14
- - [{Entity}.java](../../{entitySourcePath})
15
- - [{DTO}.java](../../{dtoSourcePath})
12
+ | # | File | Source |
13
+ |---|------|--------|
14
+ | 1 | {Controller} | [View](../../{controllerSourcePath}) |
15
+ | 2 | {Service} | [View](../../{serviceSourcePath}) |
16
+ | 3 | {Entity} | [View](../../{entitySourcePath}) |
17
+ | 4 | {DTO} | [View](../../{dtoSourcePath}) |
16
18
 
17
19
  ---
18
20
 
@@ -9,10 +9,12 @@
9
9
 
10
10
  **Files Referenced in This Document**
11
11
 
12
- - [{Controller}.cs](../../{controllerSourcePath})
13
- - [{Service}.cs](../../{serviceSourcePath})
14
- - [{Repository}.cs](../../{repositorySourcePath})
15
- - [{Entity}.cs](../../{entitySourcePath})
12
+ | # | File | Source |
13
+ |---|------|--------|
14
+ | 1 | {Controller} | [View](../../{controllerSourcePath}) |
15
+ | 2 | {Service} | [View](../../{serviceSourcePath}) |
16
+ | 3 | {Repository} | [View](../../{repositorySourcePath}) |
17
+ | 4 | {Entity} | [View](../../{entitySourcePath}) |
16
18
 
17
19
  ---
18
20
 
@@ -9,10 +9,12 @@
9
9
 
10
10
  **Files Referenced in This Document**
11
11
 
12
- - [{Controller}.java](../../{controllerSourcePath})
13
- - [{Service}.java](../../{serviceSourcePath})
14
- - [{Entity}.java](../../{entitySourcePath})
15
- - [{DTO}.java](../../{dtoSourcePath})
12
+ | # | File | Source |
13
+ |---|------|--------|
14
+ | 1 | {Controller} | [View](../../{controllerSourcePath}) |
15
+ | 2 | {Service} | [View](../../{serviceSourcePath}) |
16
+ | 3 | {Entity} | [View](../../{entitySourcePath}) |
17
+ | 4 | {DTO} | [View](../../{dtoSourcePath}) |
16
18
 
17
19
  ---
18
20
 
@@ -3,7 +3,9 @@
3
3
 
4
4
  **Files Referenced in This Document**
5
5
 
6
- - [styles_dir](relative_pathstyles_source_path)
6
+ | # | File | Source |
7
+ |---|------|--------|
8
+ | 1 | styles_dir | [View](relative_pathstyles_source_path) |
7
9
 
8
10
  ---
9
11
 
@@ -3,7 +3,9 @@
3
3
 
4
4
  **Files Referenced in This Document**
5
5
 
6
- - [components_dir](relative_pathcomponents_source_path)
6
+ | # | File | Source |
7
+ |---|------|--------|
8
+ | 1 | components_dir | [View](relative_pathcomponents_source_path) |
7
9
 
8
10
  ---
9
11
 
@@ -2,8 +2,10 @@
2
2
 
3
3
  **Files Referenced in This Document**
4
4
 
5
+ | # | File | Source |
6
+ |---|------|--------|
5
7
  {{#each source_files}}
6
- - [{{name}}]({{path}})
8
+ | {{@index}} | {{name}} | [View]({{path}}) |
7
9
  {{/each}}
8
10
 
9
11
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}, devcrew-test-{{platform_id}}
@@ -2,8 +2,10 @@
2
2
 
3
3
  **Files Referenced in This Document**
4
4
 
5
+ | # | File | Source |
6
+ |---|------|--------|
5
7
  {{#each source_files}}
6
- - [{{name}}]({{path}})
8
+ | {{@index}} | {{name}} | [View]({{path}}) |
7
9
  {{/each}}
8
10
 
9
11
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}, devcrew-test-{{platform_id}}
@@ -2,8 +2,10 @@
2
2
 
3
3
  **Files Referenced in This Document**
4
4
 
5
+ | # | File | Source |
6
+ |---|------|--------|
5
7
  {{#each source_files}}
6
- - [{{name}}]({{path}})
8
+ | {{@index}} | {{name}} | [View]({{path}}) |
7
9
  {{/each}}
8
10
 
9
11
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}, devcrew-test-{{platform_id}}
@@ -3,7 +3,9 @@
3
3
 
4
4
  **Files Referenced in This Document**
5
5
 
6
- - [views_dir](relative_pathviews_source_path)
6
+ | # | File | Source |
7
+ |---|------|--------|
8
+ | 1 | views_dir | [View](relative_pathviews_source_path) |
7
9
 
8
10
  ---
9
11
 
@@ -490,16 +490,18 @@ For root INDEX.md (one level less deep):
490
490
 
491
491
  **1. File Reference Block**
492
492
 
493
- Place at the beginning of each document (using pure Markdown format for VS Code preview compatibility):
493
+ Place at the beginning of each document (using table format for VS Code preview compatibility):
494
494
 
495
495
  ```markdown
496
496
  **Files Referenced in This Document**
497
497
 
498
- - [package.json](../../../../yudao-ui/yudao-ui-admin-vue3/package.json)
499
- - [tsconfig.json](../../../../yudao-ui/yudao-ui-admin-vue3/tsconfig.json)
498
+ | # | File | Source |
499
+ |---|------|--------|
500
+ | 1 | package.json | [View](../../../../yudao-ui/yudao-ui-admin-vue3/package.json) |
501
+ | 2 | tsconfig.json | [View](../../../../yudao-ui/yudao-ui-admin-vue3/tsconfig.json) |
500
502
  ```
501
503
 
502
- > **Note**: Previously used `<cite>` HTML tags have been removed because they prevent Markdown links from rendering correctly in VS Code preview.
504
+ > **Note**: Table format is used instead of list format because LLM-generated content may merge list items into a single line, breaking link rendering in VS Code preview.
503
505
 
504
506
  **2. Diagram Source Annotation**
505
507
 
@@ -8,6 +8,8 @@ output_file: components/business-components.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: components/common-components.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -9,7 +9,9 @@ output_path: components/
9
9
 
10
10
  **Source Files Referenced**
11
11
 
12
- {{component_source_path}}
12
+ | # | File | Source |
13
+ |---|------|--------|
14
+ | 1 | {{component_name}} | [View]({{component_source_path}}) |
13
15
 
14
16
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
15
17
 
@@ -8,6 +8,8 @@ output_file: components/component-library.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -9,6 +9,8 @@ output_path: layouts/
9
9
 
10
10
  **Source Files Referenced**
11
11
 
12
+ | # | File | Source |
13
+ |---|------|--------|
12
14
  {{layout_source_files}}
13
15
 
14
16
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: layouts/page-layouts.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: layouts/navigation-patterns.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -9,6 +9,8 @@ output_path: page-types/
9
9
 
10
10
  **Files Referenced in This Document**
11
11
 
12
+ | # | File | Source |
13
+ |---|------|--------|
12
14
  {{source_files}}
13
15
 
14
16
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: page-types/page-type-summary.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: styles/spacing-system.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: styles/color-system.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: styles/typography.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
@@ -8,6 +8,8 @@ output_file: ui-style-guide.md
8
8
 
9
9
  **Files Referenced in This Document**
10
10
 
11
+ | # | File | Source |
12
+ |---|------|--------|
11
13
  {{source_files}}
12
14
 
13
15
  > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.6.18",
3
+ "version": "0.6.20",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {