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.
- package/.speccrew/agents/speccrew-product-manager.md +4 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +4 -0
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-FASTAPI.md +6 -4
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-JAVA.md +6 -4
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-NET.md +6 -4
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE.md +6 -4
- package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/COLOR-SYSTEM-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/COMPONENT-LIBRARY-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-DESIGN-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-SYSTEM-TEST-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-UNIT-TEST-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/PAGE-TYPE-SUMMARY-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +6 -4
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/BUSINESS-COMPONENTS-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMMON-COMPONENTS-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMPONENT-INDIVIDUAL-TEMPLATE.md +3 -1
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMPONENT-LIBRARY-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/LAYOUT-INDIVIDUAL-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/LAYOUT-PATTERNS-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/NAVIGATION-PATTERNS-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/PAGE-TYPE-INDIVIDUAL-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/PAGE-TYPE-SUMMARY-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/SPACING-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/STYLE-SYSTEM-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/TYPOGRAPHY-TEMPLATE.md +2 -0
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/UI-STYLE-GUIDE-TEMPLATE.md +2 -0
- 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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE.md
CHANGED
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
**Files Referenced in This Document**
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
|
package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-DESIGN-TEMPLATE.md
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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}}
|
|
@@ -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
|
|
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
|
-
|
|
499
|
-
|
|
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**:
|
|
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
|
|
|
@@ -9,7 +9,9 @@ output_path: components/
|
|
|
9
9
|
|
|
10
10
|
**Source Files Referenced**
|
|
11
11
|
|
|
12
|
-
|
|
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
|
|