speccrew 0.6.68 → 0.7.0
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-task-worker.md +1 -1
- package/.speccrew/agents/speccrew-team-leader.md +336 -189
- package/.speccrew/skills/speccrew-agentflow-manager/SKILL.md +161 -0
- package/.speccrew/skills/speccrew-agentflow-manager/workflow.agentflow.xml +347 -0
- package/.speccrew/skills/speccrew-deploy-build/SKILL.md +3 -56
- package/.speccrew/skills/speccrew-deploy-build/workflow.agentflow.xml +125 -0
- package/.speccrew/skills/speccrew-deploy-migrate/SKILL.md +3 -64
- package/.speccrew/skills/speccrew-deploy-migrate/workflow.agentflow.xml +135 -0
- package/.speccrew/skills/speccrew-deploy-smoke-test/SKILL.md +4 -156
- package/.speccrew/skills/speccrew-deploy-smoke-test/workflow.agentflow.xml +178 -0
- package/.speccrew/skills/speccrew-deploy-startup/SKILL.md +3 -135
- package/.speccrew/skills/speccrew-deploy-startup/workflow.agentflow.xml +223 -0
- package/.speccrew/skills/speccrew-dev-backend/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-backend/workflow.agentflow.xml +254 -0
- package/.speccrew/skills/speccrew-dev-desktop-electron/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-desktop-electron/workflow.agentflow.xml +259 -0
- package/.speccrew/skills/speccrew-dev-desktop-tauri/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-desktop-tauri/workflow.agentflow.xml +245 -0
- package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-frontend/workflow.agentflow.xml +262 -0
- package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-mobile/workflow.agentflow.xml +244 -0
- package/.speccrew/skills/speccrew-dev-review-backend/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-review-backend/workflow.agentflow.xml +251 -0
- package/.speccrew/skills/speccrew-dev-review-desktop/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-review-desktop/workflow.agentflow.xml +214 -0
- package/.speccrew/skills/speccrew-dev-review-frontend/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-review-frontend/workflow.agentflow.xml +213 -0
- package/.speccrew/skills/speccrew-dev-review-mobile/SKILL.md +10 -2
- package/.speccrew/skills/speccrew-dev-review-mobile/workflow.agentflow.xml +214 -0
- package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-fd-api-contract/workflow.agentflow.xml +222 -0
- package/.speccrew/skills/speccrew-fd-feature-analyze/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-fd-feature-analyze/workflow.agentflow.xml +223 -0
- package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-fd-feature-design/workflow.agentflow.xml +322 -0
- package/.speccrew/skills/speccrew-get-timestamp/SKILL.md +3 -39
- package/.speccrew/skills/speccrew-get-timestamp/workflow.agentflow.xml +43 -0
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +57 -508
- package/.speccrew/skills/{speccrew-knowledge-bizs-api-analyze-xml/SKILL.md → speccrew-knowledge-bizs-api-analyze/workflow.agentflow.xml} +1 -154
- package/.speccrew/skills/speccrew-knowledge-bizs-api-graph/SKILL.md +73 -283
- package/.speccrew/skills/{speccrew-knowledge-bizs-api-graph-xml/SKILL.md → speccrew-knowledge-bizs-api-graph/workflow.agentflow.xml} +0 -298
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/SKILL.md +931 -801
- package/.speccrew/skills/{speccrew-knowledge-bizs-dispatch-xml/SKILL.md → speccrew-knowledge-bizs-dispatch/workflow.agentflow.xml} +42 -272
- package/.speccrew/skills/speccrew-knowledge-bizs-identify-entries/SKILL.md +263 -71
- package/.speccrew/skills/{speccrew-knowledge-bizs-identify-entries-xml/SKILL.md → speccrew-knowledge-bizs-identify-entries/workflow.agentflow.xml} +8 -184
- package/.speccrew/skills/speccrew-knowledge-bizs-init-features/SKILL.md +200 -181
- package/.speccrew/skills/{speccrew-knowledge-bizs-init-features-xml/SKILL.md → speccrew-knowledge-bizs-init-features/workflow.agentflow.xml} +7 -134
- package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/SKILL.md +5 -89
- package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/workflow.agentflow.xml +129 -0
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/SKILL.md +454 -326
- package/.speccrew/skills/{speccrew-knowledge-bizs-ui-analyze-xml/SKILL.md → speccrew-knowledge-bizs-ui-analyze/workflow.agentflow.xml} +8 -128
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-graph/SKILL.md +302 -247
- package/.speccrew/skills/{speccrew-knowledge-bizs-ui-graph-xml/SKILL.md → speccrew-knowledge-bizs-ui-graph/workflow.agentflow.xml} +7 -199
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/SKILL.md +267 -156
- package/.speccrew/skills/{speccrew-knowledge-bizs-ui-style-extract-xml/SKILL.md → speccrew-knowledge-bizs-ui-style-extract/workflow.agentflow.xml} +7 -151
- package/.speccrew/skills/speccrew-knowledge-graph-query/SKILL.md +3 -122
- package/.speccrew/skills/speccrew-knowledge-graph-query/workflow.agentflow.xml +106 -0
- package/.speccrew/skills/speccrew-knowledge-graph-write/SKILL.md +3 -80
- package/.speccrew/skills/speccrew-knowledge-graph-write/workflow.agentflow.xml +152 -0
- package/.speccrew/skills/speccrew-knowledge-module-summarize/SKILL.md +371 -265
- package/.speccrew/skills/{speccrew-knowledge-module-summarize-xml/SKILL.md → speccrew-knowledge-module-summarize/workflow.agentflow.xml} +7 -197
- package/.speccrew/skills/speccrew-knowledge-system-summarize/SKILL.md +45 -333
- package/.speccrew/skills/{speccrew-knowledge-system-summarize-xml/SKILL.md → speccrew-knowledge-system-summarize/workflow.agentflow.xml} +0 -177
- package/.speccrew/skills/speccrew-knowledge-techs-dispatch/SKILL.md +174 -727
- package/.speccrew/skills/{speccrew-knowledge-techs-dispatch-xml/SKILL.md → speccrew-knowledge-techs-dispatch/workflow.agentflow.xml} +10 -351
- package/.speccrew/skills/speccrew-knowledge-techs-generate/SKILL.md +20 -150
- package/.speccrew/skills/{speccrew-knowledge-techs-generate-xml/SKILL.md → speccrew-knowledge-techs-generate/workflow.agentflow.xml} +0 -169
- package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +75 -587
- package/.speccrew/skills/{speccrew-knowledge-techs-generate-conventions-xml/SKILL.md → speccrew-knowledge-techs-generate-conventions/workflow.agentflow.xml} +0 -153
- package/.speccrew/skills/speccrew-knowledge-techs-generate-quality/SKILL.md +463 -297
- package/.speccrew/skills/{speccrew-knowledge-techs-generate-quality-xml/SKILL.md → speccrew-knowledge-techs-generate-quality/workflow.agentflow.xml} +0 -164
- package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style/SKILL.md +57 -292
- package/.speccrew/skills/{speccrew-knowledge-techs-generate-ui-style-xml/SKILL.md → speccrew-knowledge-techs-generate-ui-style/workflow.agentflow.xml} +2 -193
- package/.speccrew/skills/speccrew-knowledge-techs-index/SKILL.md +49 -335
- package/.speccrew/skills/{speccrew-knowledge-techs-index-xml/SKILL.md → speccrew-knowledge-techs-index/workflow.agentflow.xml} +0 -167
- package/.speccrew/skills/speccrew-knowledge-techs-init/SKILL.md +28 -109
- package/.speccrew/skills/{speccrew-knowledge-techs-init-xml/SKILL.md → speccrew-knowledge-techs-init/workflow.agentflow.xml} +0 -189
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/SKILL.md +3 -487
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/workflow.agentflow.xml +278 -0
- package/.speccrew/skills/speccrew-pm-knowledge-detector/SKILL.md +3 -71
- package/.speccrew/skills/speccrew-pm-knowledge-detector/workflow.agentflow.xml +108 -0
- package/.speccrew/skills/speccrew-pm-module-initializer/SKILL.md +3 -107
- package/.speccrew/skills/speccrew-pm-module-initializer/workflow.agentflow.xml +139 -0
- package/.speccrew/skills/speccrew-pm-module-matcher/SKILL.md +3 -115
- package/.speccrew/skills/speccrew-pm-module-matcher/workflow.agentflow.xml +146 -0
- package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +3 -343
- package/.speccrew/skills/speccrew-pm-requirement-analysis/workflow.agentflow.xml +174 -0
- package/.speccrew/skills/speccrew-pm-requirement-assess/SKILL.md +3 -91
- package/.speccrew/skills/speccrew-pm-requirement-assess/workflow.agentflow.xml +173 -0
- package/.speccrew/skills/speccrew-pm-requirement-clarify/SKILL.md +3 -224
- package/.speccrew/skills/speccrew-pm-requirement-clarify/workflow.agentflow.xml +159 -0
- package/.speccrew/skills/speccrew-pm-requirement-model/SKILL.md +3 -275
- package/.speccrew/skills/speccrew-pm-requirement-model/workflow.agentflow.xml +210 -0
- package/.speccrew/skills/speccrew-pm-requirement-simple/SKILL.md +3 -76
- package/.speccrew/skills/speccrew-pm-requirement-simple/workflow.agentflow.xml +120 -0
- package/.speccrew/skills/speccrew-pm-sub-prd-generate/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-pm-sub-prd-generate/workflow.agentflow.xml +218 -0
- package/.speccrew/skills/speccrew-sd-backend/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-sd-backend/workflow.agentflow.xml +264 -0
- package/.speccrew/skills/speccrew-sd-desktop/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-sd-desktop/workflow.agentflow.xml +288 -0
- package/.speccrew/skills/speccrew-sd-framework-evaluate/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-sd-framework-evaluate/workflow.agentflow.xml +235 -0
- package/.speccrew/skills/speccrew-sd-frontend/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-sd-frontend/workflow.agentflow.xml +299 -0
- package/.speccrew/skills/speccrew-sd-mobile/SKILL.md +7 -1
- package/.speccrew/skills/speccrew-sd-mobile/workflow.agentflow.xml +301 -0
- package/.speccrew/skills/speccrew-test-case-design/SKILL.md +165 -284
- package/.speccrew/skills/speccrew-test-case-design/workflow.agentflow.xml +210 -0
- package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +204 -324
- package/.speccrew/skills/speccrew-test-code-gen/workflow.agentflow.xml +265 -0
- package/.speccrew/skills/speccrew-test-reporter/SKILL.md +205 -184
- package/.speccrew/skills/speccrew-test-reporter/workflow.agentflow.xml +284 -0
- package/.speccrew/skills/speccrew-test-runner/SKILL.md +242 -241
- package/.speccrew/skills/speccrew-test-runner/workflow.agentflow.xml +314 -0
- package/bin/cli.js +8 -1
- package/lib/commands/validate.js +565 -0
- package/package.json +1 -1
- package/workspace-template/docs/rules/{xml-workflow-spec.md → agentflow-spec.md} +5 -5
- package/workspace-template/scripts/validate-agentflow.js +637 -0
- package/.speccrew/agents/speccrew-team-leader-xml.md +0 -480
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/STATUS-FORMATS.md +0 -99
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/batch-orchestrator.js +0 -176
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/get-next-batch.js +0 -150
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/get-pending-features.js +0 -106
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/mark-stale.js +0 -249
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/merge-features.js +0 -300
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/process-batch-results.js +0 -915
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/update-feature-status.js +0 -226
- package/.speccrew/skills/speccrew-knowledge-bizs-init-features/examples/features.json +0 -34
- package/.speccrew/skills/speccrew-knowledge-bizs-init-features/scripts/generate-inventory.js +0 -1071
- package/.speccrew/skills/speccrew-knowledge-bizs-init-features/scripts/test-inventory.js +0 -26
- package/.speccrew/skills/speccrew-knowledge-techs-dispatch/STATUS-FORMATS.md +0 -550
|
@@ -1,60 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
name: speccrew-knowledge-module-summarize-xml
|
|
3
|
-
description: Summarize a module's features to complete MODULE-OVERVIEW.md using XML workflow blocks. Reads all FEATURE-DETAIL.md files of a module and generates the complete module overview with entities, dependencies, and business rules.
|
|
4
|
-
tools: Read, Write, Glob
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Module Summarize - Complete Module Overview (XML Workflow)
|
|
8
|
-
|
|
9
|
-
Read all {{feature_name}}.md files of a specific module, extract and summarize information to complete {{module_name}}-overview.md (full version with entities, dependencies, flows, and rules).
|
|
10
|
-
|
|
11
|
-
## Language Adaptation
|
|
12
|
-
|
|
13
|
-
**CRITICAL**: Generate all content in the language specified by the `language` parameter.
|
|
14
|
-
|
|
15
|
-
- `language: "zh"` → Generate all content in 中文
|
|
16
|
-
- `language: "en"` → Generate all content in English
|
|
17
|
-
- Other languages → Use the specified language
|
|
18
|
-
|
|
19
|
-
**All output content (entity names, descriptions, business rules, flow descriptions) must be in the target language only.**
|
|
20
|
-
|
|
21
|
-
## Trigger Scenarios
|
|
22
|
-
|
|
23
|
-
- "Summarize module {name} features"
|
|
24
|
-
- "Complete module overview for {name}"
|
|
25
|
-
- "Finalize module documentation for {name}"
|
|
26
|
-
|
|
27
|
-
## Input
|
|
28
|
-
|
|
29
|
-
| Parameter | Type | Required | Description |
|
|
30
|
-
|-----------|------|----------|-------------|
|
|
31
|
-
| `module_name` | string | Yes | Module name to summarize |
|
|
32
|
-
| `module_path` | string | Yes | Path to module directory (e.g., `speccrew-workspace/knowledges/bizs/{{platform_type}}/{{module_name}}/`) containing: {{module_name}}-overview.md (initial version), features/{{feature_name}}.md files |
|
|
33
|
-
| `language` | string | Yes | Target language for generated content (e.g., "zh", "en") |
|
|
34
|
-
|
|
35
|
-
## Output
|
|
36
|
-
|
|
37
|
-
| Output | Path | Description |
|
|
38
|
-
|--------|------|-------------|
|
|
39
|
-
| `{{module_name}}-overview.md` | `{{module_path}}/{{module_name}}-overview.md` | Complete module overview (overwritten). Example: `speccrew-workspace/knowledges/bizs/backend-ai/chat/chat-overview.md` |
|
|
40
|
-
|
|
41
|
-
## Workflow
|
|
42
|
-
|
|
43
|
-
```mermaid
|
|
44
|
-
flowchart TD
|
|
45
|
-
Start([Start]) --> Step1[Step 1: Read Prerequisites]
|
|
46
|
-
Step1 --> Step2[Step 2: Extract Entities]
|
|
47
|
-
Step2 --> Step3[Step 3: Identify Dependencies]
|
|
48
|
-
Step3 --> Step4[Step 4: Summarize Business Rules]
|
|
49
|
-
Step4 --> Step5[Step 5: Generate Complete MODULE-OVERVIEW.md]
|
|
50
|
-
Step5 --> Step6[Step 6: Report Results]
|
|
51
|
-
Step6 --> End([End])
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: `speccrew-workspace/docs/rules/xml-workflow-spec.md`
|
|
55
|
-
|
|
56
|
-
```xml
|
|
57
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
58
2
|
<workflow id="module-summarize" version="1.0" status="pending" desc="Module summarization workflow">
|
|
59
3
|
|
|
60
4
|
<!-- Input Block: Define workflow inputs -->
|
|
@@ -67,13 +11,13 @@ flowchart TD
|
|
|
67
11
|
</block>
|
|
68
12
|
|
|
69
13
|
<!-- ==================== GLOBAL CONTINUOUS EXECUTION RULES ==================== -->
|
|
70
|
-
<block type="rule" id="GLOBAL-R1" level="forbidden" desc="Continuous execution constraints
|
|
14
|
+
<block type="rule" id="GLOBAL-R1" level="forbidden" desc="Continuous execution constraints 鈥?NEVER violate">
|
|
71
15
|
<field name="text">DO NOT ask user "Should I continue?" or "How would you like to proceed?" during execution</field>
|
|
72
|
-
<field name="text">DO NOT offer options like "Full execution / Partial / Stop"
|
|
73
|
-
<field name="text">DO NOT suggest "Due to context window limits, let me pause"
|
|
74
|
-
<field name="text">DO NOT estimate workload and suggest breaking it into phases
|
|
75
|
-
<field name="text">DO NOT warn about "large number of files" or "this may take a while"
|
|
76
|
-
<field name="text">Context window management: if approaching limit, save progress to checkpoint file and resume
|
|
16
|
+
<field name="text">DO NOT offer options like "Full execution / Partial / Stop" 鈥?always execute ALL tasks to completion</field>
|
|
17
|
+
<field name="text">DO NOT suggest "Due to context window limits, let me pause" 鈥?complete current task, use checkpoint for resumption</field>
|
|
18
|
+
<field name="text">DO NOT estimate workload and suggest breaking it into phases 鈥?execute ALL items in sequence</field>
|
|
19
|
+
<field name="text">DO NOT warn about "large number of files" or "this may take a while" 鈥?proceed with generation</field>
|
|
20
|
+
<field name="text">Context window management: if approaching limit, save progress to checkpoint file and resume 鈥?do NOT ask user for guidance</field>
|
|
77
21
|
</block>
|
|
78
22
|
|
|
79
23
|
<!-- Step 1: Read Prerequisites -->
|
|
@@ -375,137 +319,3 @@ flowchart TD
|
|
|
375
319
|
</workflow>
|
|
376
320
|
```
|
|
377
321
|
|
|
378
|
-
## Constraints
|
|
379
|
-
|
|
380
|
-
### Critical Constraints
|
|
381
|
-
|
|
382
|
-
> 1. **FORBIDDEN: `create_file` for overview document** — If skeleton exists, use `search_replace`; if not, copy template first then fill with `search_replace`
|
|
383
|
-
> 2. **FORBIDDEN: Full-file rewrite** — Always use targeted `search_replace` on specific sections
|
|
384
|
-
> 3. **MANDATORY: Template-first workflow** — Template (or existing skeleton) MUST be in place before filling sections
|
|
385
|
-
|
|
386
|
-
### Content Language
|
|
387
|
-
|
|
388
|
-
**IMPORTANT**: ALL generated content (entity descriptions, business rules, flow descriptions, section headers, and narrative text) MUST be written in the language specified by the `language` parameter. Only code identifiers, file paths, and technical terms (class names, API endpoints) remain in their original language.
|
|
389
|
-
|
|
390
|
-
## Return Value Format
|
|
391
|
-
|
|
392
|
-
```json
|
|
393
|
-
{
|
|
394
|
-
"status": "success|failed",
|
|
395
|
-
"module_name": "module_name",
|
|
396
|
-
"output_file": "module_name-overview.md",
|
|
397
|
-
"message": "Module summarization completed with N features processed"
|
|
398
|
-
}
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
## Task Completion Report
|
|
402
|
-
|
|
403
|
-
Upon completion, output the following structured report:
|
|
404
|
-
|
|
405
|
-
```json
|
|
406
|
-
{
|
|
407
|
-
"status": "success | partial | failed",
|
|
408
|
-
"skill": "speccrew-knowledge-module-summarize-xml",
|
|
409
|
-
"output_files": [
|
|
410
|
-
"{module_path}/{module_name}-overview.md"
|
|
411
|
-
],
|
|
412
|
-
"summary": "Module overview completed with entities, dependencies, and business rules extracted from {feature_count} features",
|
|
413
|
-
"metrics": {
|
|
414
|
-
"modules_processed": 1,
|
|
415
|
-
"documents_generated": 1,
|
|
416
|
-
"features_covered": 0
|
|
417
|
-
},
|
|
418
|
-
"errors": [],
|
|
419
|
-
"next_steps": [
|
|
420
|
-
"Run speccrew-knowledge-system-summarize-xml to aggregate all modules into system overview"
|
|
421
|
-
]
|
|
422
|
-
}
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
## Reference Guides
|
|
426
|
-
|
|
427
|
-
### Mermaid Diagram Guide
|
|
428
|
-
|
|
429
|
-
When generating Mermaid diagrams, follow these compatibility guidelines:
|
|
430
|
-
|
|
431
|
-
**Key Requirements:**
|
|
432
|
-
- Use only basic node definitions: `A[text content]`
|
|
433
|
-
- No HTML tags (e.g., `<br/>`)
|
|
434
|
-
- No nested subgraphs
|
|
435
|
-
- No `direction` keyword
|
|
436
|
-
- No `style` definitions
|
|
437
|
-
- Use standard `graph TB/LR` syntax only
|
|
438
|
-
|
|
439
|
-
**Diagram Types:**
|
|
440
|
-
|
|
441
|
-
| Diagram Type | Use Case | Example |
|
|
442
|
-
|---------|---------|------|
|
|
443
|
-
| `graph TB/LR` | Module structure, dependencies | Project structure diagram, dependency graph |
|
|
444
|
-
| `sequenceDiagram` | Interaction flow, API calls | User operation flow, service call chain |
|
|
445
|
-
| `flowchart TD` | Business logic, conditional branches | State transition, exception handling |
|
|
446
|
-
| `classDiagram` | Class structure, entity relationships | Data model, service interface |
|
|
447
|
-
| `erDiagram` | Database table relationships | Entity relationship diagram |
|
|
448
|
-
| `stateDiagram-v2` | State machine | Order status, approval status |
|
|
449
|
-
|
|
450
|
-
### Source Traceability Guide
|
|
451
|
-
|
|
452
|
-
Aggregate source file references from all feature documents:
|
|
453
|
-
|
|
454
|
-
> **Note**: Use relative paths from the generated document to the source file. Do NOT use `file://` protocol.
|
|
455
|
-
|
|
456
|
-
**CRITICAL: Dynamic Relative Path Calculation**
|
|
457
|
-
|
|
458
|
-
The document generation location is `speccrew-workspace/knowledges/bizs/{platform_id}/{module_path}/{file}.md`, which has a **variable depth** from the project root. You MUST dynamically calculate the relative path depth based on the actual document location.
|
|
459
|
-
|
|
460
|
-
**Calculation Method:**
|
|
461
|
-
1. Count the number of directory separators (`/`) from the project root to the document's directory
|
|
462
|
-
2. Each directory level requires one `../` to traverse up to the project root
|
|
463
|
-
3. Example: Document at `speccrew-workspace/knowledges/bizs/backend-ai/chat/overview.md` (5 levels) → Use `../../../../../src/...`
|
|
464
|
-
|
|
465
|
-
**Common Path Depths Reference:**
|
|
466
|
-
| Document Location | Depth | Relative Path Prefix |
|
|
467
|
-
|---|---|---|
|
|
468
|
-
| `speccrew-workspace/knowledges/bizs/{platform}/{module}/` | 5+ | `../../../../../` |
|
|
469
|
-
| `speccrew-workspace/knowledges/bizs/{platform}/{module}/{sub}/` | 6+ | `../../../../../../` |
|
|
470
|
-
|
|
471
|
-
**Source reference examples by tech stack (assuming document at depth 5):**
|
|
472
|
-
|
|
473
|
-
Backend (Java): `[OrderController.java](../../../../../src/main/java/.../OrderController.java#L10-L25)`
|
|
474
|
-
Backend (Python): `[views.py](../../../../../app/order/views.py#L10-L25)`
|
|
475
|
-
Backend (Node.js): `[orderController.js](../../../../../src/modules/order/orderController.js#L10-L25)`
|
|
476
|
-
Frontend (Vue): `[OrderList.vue](../../../../../src/views/order/OrderList.vue#L10-L25)`
|
|
477
|
-
Frontend (React): `[OrderDetail.tsx](../../../../../src/pages/order/OrderDetail.tsx#L10-L25)`
|
|
478
|
-
|
|
479
|
-
1. **File Reference Block** (at document start):
|
|
480
|
-
```markdown
|
|
481
|
-
**Referenced Files**
|
|
482
|
-
|
|
483
|
-
- [OrderController.*](path/to/source/OrderController.*)
|
|
484
|
-
- [OrderService.*](path/to/source/OrderService.*)
|
|
485
|
-
```
|
|
486
|
-
|
|
487
|
-
2. **Diagram Source** (after each Mermaid diagram):
|
|
488
|
-
```markdown
|
|
489
|
-
**Diagram Source**
|
|
490
|
-
- [OrderController.*](path/to/source/OrderController.*#L45-L60)
|
|
491
|
-
```
|
|
492
|
-
|
|
493
|
-
3. **Section Source** (at end of document):
|
|
494
|
-
```markdown
|
|
495
|
-
**Section Source**
|
|
496
|
-
- [OrderController.*](path/to/source/OrderController.*#L1-L100)
|
|
497
|
-
- [OrderService.*](path/to/source/OrderService.*#L1-L80)
|
|
498
|
-
```
|
|
499
|
-
|
|
500
|
-
## Notes
|
|
501
|
-
|
|
502
|
-
> **Note**: This skill focuses on document aggregation only. Knowledge graph data (nodes, edges) is handled separately by the dispatch skill's `process-batch-results.js` script during Stage 2. Module-summarize does NOT read from or write to the knowledge graph.
|
|
503
|
-
|
|
504
|
-
## Checklist
|
|
505
|
-
|
|
506
|
-
- [ ] Step 1: Prerequisites read (template, initial overview, feature details)
|
|
507
|
-
- [ ] Step 2: Entities extracted and aggregated
|
|
508
|
-
- [ ] Step 3: Dependencies identified
|
|
509
|
-
- [ ] Step 4: Business rules collected
|
|
510
|
-
- [ ] Step 5: Section 3-6 completed in {{module_name}}-overview.md
|
|
511
|
-
- [ ] Step 6: Results reported
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: speccrew-knowledge-system-summarize
|
|
3
|
-
description: Generate complete system-overview.md by reading all {{module_name}}-overview.md files. Aggregates module information, builds dependency graph, and creates system-level documentation.
|
|
3
|
+
description: Generate complete system-overview.md by reading all {{module_name}}-overview.md files using XML workflow blocks. Aggregates module information, builds dependency graph, and creates system-level documentation.
|
|
4
4
|
tools: Read, Write, Glob, Skill
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# System Summarize - Complete System Overview
|
|
7
|
+
# System Summarize - Complete System Overview (XML Workflow)
|
|
8
8
|
|
|
9
9
|
Read all {{module_name}}-overview.md files, aggregate information to generate complete system-overview.md with module index, topology, and business flows.
|
|
10
10
|
|
|
@@ -30,313 +30,67 @@ Worker Agent (speccrew-task-worker)
|
|
|
30
30
|
|
|
31
31
|
## Input
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
| Parameter | Type | Required | Description |
|
|
34
|
+
|-----------|------|----------|-------------|
|
|
35
|
+
| `modules_path` | string | Yes | Path to modules directory (e.g., `speccrew-workspace/knowledges/bizs/`) containing all {{platform_type}}/{{module_name}}/{{module_name}}-overview.md files |
|
|
36
|
+
| `output_path` | string | Yes | Output path for system-overview.md (e.g., `speccrew-workspace/knowledges/bizs/`) |
|
|
37
|
+
| `language` | string | Yes | Target language for generated content (e.g., "zh", "en") |
|
|
36
38
|
|
|
37
39
|
## Output
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
| Output | Path | Description |
|
|
42
|
+
|--------|------|-------------|
|
|
43
|
+
| `system-overview.md` | `{{output_path}}/system-overview.md` | Complete system overview. Example: `speccrew-workspace/knowledges/bizs/system-overview.md` |
|
|
42
44
|
|
|
43
|
-
##
|
|
45
|
+
## AgentFlow Definition
|
|
44
46
|
|
|
45
|
-
|
|
47
|
+
<!-- @agentflow: workflow.agentflow.xml -->
|
|
46
48
|
|
|
47
|
-
|
|
49
|
+
## Constraints
|
|
48
50
|
|
|
49
|
-
|
|
50
|
-
- **Output location**: `system-overview.md` will be created at `output_path/system-overview.md`
|
|
51
|
-
- **If no modules found**: Proceed with skeleton generation (see Edge Cases)
|
|
51
|
+
### Critical Constraints
|
|
52
52
|
|
|
53
|
-
### Edge Cases
|
|
54
|
-
|
|
55
|
-
- **Empty modules directory**: If no `*-overview.md` files found, generate a skeleton system-overview.md with empty statistics and return `status: "warning"`.
|
|
56
|
-
- **Incomplete module overviews**: If a module-overview.md only has Section 1-2 (initial version), use available data and note gaps with `<!-- DATA INCOMPLETE -->`.
|
|
57
|
-
- **Same module name from different platforms**: Treat as separate modules. Use `{module_name} ({platform_type})` for display and `{module_name}_{platform_type}` as internal ID.
|
|
58
|
-
- **Timestamp generation**: Run `node scripts/get-timestamp.js` to get current timestamp. If the script is unavailable, use system current time as fallback.
|
|
59
|
-
|
|
60
|
-
```mermaid
|
|
61
|
-
flowchart TD
|
|
62
|
-
Start([Start]) --> Step0[Step 0: Read System Overview Template]
|
|
63
|
-
Step0 --> Step1[Step 1: Discover All Modules]
|
|
64
|
-
Step1 --> Step2[Step 2: Read All Module Overviews]
|
|
65
|
-
Step2 --> Step3[Step 3: Build Module Index]
|
|
66
|
-
Step3 --> Step4[Step 4: Build Dependency Graph]
|
|
67
|
-
Step4 --> Step5[Step 5: Identify Business Domains]
|
|
68
|
-
Step5 --> Step6[Step 6: Identify End-to-End Flows]
|
|
69
|
-
Step6 --> Step7[Step 7: Generate system-overview.md]
|
|
70
|
-
Step7 --> Step8[Step 8: Report Results]
|
|
71
|
-
Step8 --> End([End])
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Step 0: Read System Overview Template
|
|
75
|
-
|
|
76
|
-
Before processing, read the template file to understand the required content structure:
|
|
77
|
-
- **Read**: `templates/SYSTEM-OVERVIEW-TEMPLATE.md`
|
|
78
|
-
- **Purpose**: Understand the template chapters and example content requirements for system overview documents
|
|
79
|
-
- **Key sections to follow**:
|
|
80
|
-
- Index and Overview (Statistics Overview, Module Quick Index)
|
|
81
|
-
- Section 1: System Overview (System Positioning, Business Domain Division with Mermaid diagram)
|
|
82
|
-
- Section 2: Functional Module Topology (Module Hierarchy, Module Dependency Diagram, Module List Index)
|
|
83
|
-
- Section 3: End-to-End Business Processes (Core Business Process List, Process-Module Mapping Matrix, Typical Business Process Diagram)
|
|
84
|
-
- Section 4: System Boundaries and Integration (External System Integration Diagram, Integration Interface List)
|
|
85
|
-
- Section 5: Requirement Assessment Guide
|
|
86
|
-
- Section 6: Change History
|
|
87
|
-
|
|
88
|
-
### Step 1: Discover All Modules
|
|
89
|
-
|
|
90
|
-
Find all `*-overview.md` files recursively under `modules_path`, including nested platform_type directories:
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
modules_path/
|
|
94
|
-
├── platform_type_1/
|
|
95
|
-
│ ├── module_1/
|
|
96
|
-
│ │ └── module_1-overview.md
|
|
97
|
-
│ └── module_2/
|
|
98
|
-
│ └── module_2-overview.md
|
|
99
|
-
└── platform_type_2/
|
|
100
|
-
└── module_3/
|
|
101
|
-
└── module_3-overview.md
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
**Example** (bizs knowledge):
|
|
105
|
-
```
|
|
106
|
-
knowledges/bizs/
|
|
107
|
-
├── web-vue/
|
|
108
|
-
│ ├── order/order-overview.md
|
|
109
|
-
│ └── payment/payment-overview.md
|
|
110
|
-
└── backend-java/
|
|
111
|
-
├── order/order-overview.md
|
|
112
|
-
└── user/user-overview.md
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Use recursive glob: `**/*-overview.md`
|
|
116
|
-
Extract `platform_type` from the path structure for each discovered module.
|
|
117
|
-
|
|
118
|
-
### Step 2: Read All Module Overviews
|
|
119
|
-
|
|
120
|
-
For each discovered `*-overview.md`, extract:
|
|
121
|
-
- Module name and purpose
|
|
122
|
-
- Business domain
|
|
123
|
-
- Platform type (from path: web-vue, backend-java, etc.)
|
|
124
|
-
- Entity list (backend: DB entities; frontend: State/Props)
|
|
125
|
-
- Dependencies (internal modules and external systems)
|
|
126
|
-
- Feature count and API/Interface count
|
|
127
|
-
|
|
128
|
-
**Multi-Tech Stack Aggregation Rules:**
|
|
129
|
-
|
|
130
|
-
1. **Same-name modules from different platforms**: Treat as SEPARATE entries
|
|
131
|
-
- Display as: `order (web-vue)`, `order (backend-java)` in Module Quick Index
|
|
132
|
-
- Keep separate in all aggregations
|
|
133
|
-
|
|
134
|
-
2. **Cross-platform dependencies**:
|
|
135
|
-
- web-vue/order may consume backend-java/order API
|
|
136
|
-
- backend-java/order may depend on backend-java/payment
|
|
137
|
-
- Show cross-platform dependencies clearly in Section 4
|
|
138
|
-
|
|
139
|
-
3. **Entity aggregation**:
|
|
140
|
-
- Backend entities (DB tables, DTOs) and Frontend entities (Store State, Component Props) listed separately with platform annotation
|
|
141
|
-
|
|
142
|
-
4. **Statistics**:
|
|
143
|
-
- Total modules = COUNT of all *-overview.md files
|
|
144
|
-
- Total entities = SUM across all modules
|
|
145
|
-
- Total APIs = SUM of backend APIs + frontend interfaces
|
|
146
|
-
|
|
147
|
-
### Step 3: Build Module Index
|
|
148
|
-
|
|
149
|
-
Create module index table:
|
|
150
|
-
|
|
151
|
-
| Module | Domain | Purpose | Entities | APIs | Detail Doc |
|
|
152
|
-
|--------|--------|---------|----------|------|------------|
|
|
153
|
-
| order | Sales | Order lifecycle | Order, OrderItem | 8 | [View](order/order-overview.md) |
|
|
154
|
-
| payment | Finance | Payment processing | Payment, Refund | 5 | [View](payment/payment-overview.md) |
|
|
155
|
-
|
|
156
|
-
### Step 4: Build Dependency Graph
|
|
157
|
-
|
|
158
|
-
**Extraction Rules:**
|
|
159
|
-
1. Read Section 4 (Dependencies) from each module-overview.md
|
|
160
|
-
2. Classify dependencies:
|
|
161
|
-
- **Internal**: Module-to-module dependencies within the system
|
|
162
|
-
- **External**: Third-party systems/services (Payment Gateway, ERP, etc.)
|
|
163
|
-
|
|
164
|
-
3. **Internal dependencies** → Build directed graph:
|
|
165
|
-
- Node: module name (with platform_type annotation if multiple platforms)
|
|
166
|
-
- Edge: A → B means A depends on B
|
|
167
|
-
- Include cross-platform dependencies (e.g., web-vue/order → backend-java/order)
|
|
168
|
-
|
|
169
|
-
4. **External dependencies** → Collect separately for Section 4: System Boundaries
|
|
170
|
-
|
|
171
|
-
**Generate Mermaid dependency diagram:**
|
|
172
|
-
- Show internal module dependencies only
|
|
173
|
-
- Use `graph LR` for layout
|
|
174
|
-
- Annotate platform_type if multiple platforms involved
|
|
175
|
-
|
|
176
|
-
### Step 5: Identify Business Domains
|
|
177
|
-
|
|
178
|
-
1. Read "Business Domain" field from each module-overview.md
|
|
179
|
-
2. Collect unique domain names
|
|
180
|
-
3. Group modules by domain (with platform_type):
|
|
181
|
-
|
|
182
|
-
Example:
|
|
183
|
-
- Sales domain: web-vue/order, backend-java/order, backend-java/promotion
|
|
184
|
-
- User Management: web-vue/user, backend-java/user
|
|
185
|
-
|
|
186
|
-
4. Generate domain-based Mermaid diagram with domains as subgraphs
|
|
187
|
-
|
|
188
|
-
### Step 6: Identify End-to-End Flows
|
|
189
|
-
|
|
190
|
-
Analyze cross-module dependencies to identify business flows:
|
|
191
|
-
|
|
192
|
-
**Order-to-Payment Flow:**
|
|
193
|
-
```
|
|
194
|
-
USER → ORDER → INVENTORY → PAYMENT → NOTIFICATION
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
**Refund Flow:**
|
|
198
|
-
```
|
|
199
|
-
ORDER → PAYMENT → INVENTORY → NOTIFICATION
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
Create flow-module mapping matrix:
|
|
203
|
-
|
|
204
|
-
| Flow / Module | ORDER | INVENTORY | PAYMENT | NOTIFICATION |
|
|
205
|
-
|---------------|-------|-----------|---------|--------------|
|
|
206
|
-
| Order-Payment | ✓ | ✓ | ✓ | ✓ |
|
|
207
|
-
| Refund | ✓ | ✓ | ✓ | ✓ |
|
|
208
|
-
|
|
209
|
-
### Step 7: Generate system-overview.md
|
|
210
|
-
|
|
211
|
-
> **⚠️ CRITICAL: Two-Phase Strategy (Skeleton-First, Content-After)**
|
|
212
|
-
>
|
|
213
|
-
> This step MUST be executed in two phases to ensure consistent document structure.
|
|
214
|
-
|
|
215
|
-
### Phase A: Skeleton Construction (BEFORE any content filling)
|
|
216
|
-
|
|
217
|
-
1. Read SYSTEM-OVERVIEW-TEMPLATE.md to identify the complete section structure
|
|
218
|
-
2. Count aggregated data items from discovered modules:
|
|
219
|
-
- Section 2: Count unique **Modules** (including platform_type annotation for duplicates)
|
|
220
|
-
- Section 3: Count unique **End-to-End Business Flows**
|
|
221
|
-
- Section 4: Count unique **External Integrations**
|
|
222
|
-
3. For each section with repeating data items, create complete skeleton structure:
|
|
223
|
-
- **Section 2 (Module Topology)**: For each module, create index table row with ALL column placeholders:
|
|
224
|
-
```
|
|
225
|
-
| [Module Name] | [Domain] | [Purpose] | [Entities] | [APIs] | [Detail Doc] |
|
|
226
|
-
```
|
|
227
|
-
- **Section 3 (Business Flows)**: For each flow, create mapping matrix row:
|
|
228
|
-
```
|
|
229
|
-
| [Flow Name] | [Module 1] | [Module 2] | ... | [Module N] |
|
|
230
|
-
```
|
|
231
|
-
- **Section 4 (External Integrations)**: For each integration, create table row:
|
|
232
|
-
```
|
|
233
|
-
| [System Name] | [Integration Type] | [Data Exchanged] | [Protocol] |
|
|
234
|
-
```
|
|
235
|
-
4. Verify skeleton: confirm ALL data items have ALL required column placeholders before proceeding
|
|
236
|
-
|
|
237
|
-
> ⚠️ DO NOT start filling content until the complete skeleton is verified.
|
|
238
|
-
|
|
239
|
-
### Phase B: Content Filling (AFTER skeleton is complete)
|
|
240
|
-
|
|
241
|
-
Fill each `[TO BE FILLED]` placeholder with actual content:
|
|
242
|
-
- Module Domain → Business domain classification from module overview
|
|
243
|
-
- Module Purpose → Business purpose extracted from module overview
|
|
244
|
-
- Module Entities → Entity count and key entity names
|
|
245
|
-
- Module APIs → API/Interface count from module overview
|
|
246
|
-
- Module Detail Doc → Relative link to module-overview.md
|
|
247
|
-
- Flow Module Mapping → ✓ for involved modules, - for not involved
|
|
248
|
-
- Integration Data Exchanged → Data structures and formats exchanged
|
|
249
|
-
- Integration Protocol → HTTP/REST, gRPC, WebSocket, etc.
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
**⚠️ CRITICAL CONSTRAINTS (apply to Step 7a and 7b):**
|
|
254
53
|
> 1. **FORBIDDEN: `create_file` for documents** — Document MUST be created by copying template (Step 7a) then filling with `search_replace` (Step 7b)
|
|
255
54
|
> 2. **FORBIDDEN: Full-file rewrite** — Always use targeted `search_replace` on specific sections
|
|
256
55
|
> 3. **MANDATORY: Template-first workflow** — Step 7a MUST execute before Step 7b
|
|
257
56
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
1. **Read Configuration**:
|
|
261
|
-
- Read `speccrew-workspace/docs/configs/tech-stack-mappings.json` → system tech stacks and display names
|
|
262
|
-
- Read `speccrew-workspace/docs/rules/mermaid-rule.md` → Mermaid diagram guidelines
|
|
263
|
-
|
|
264
|
-
2. **Get timestamp** by running the script:
|
|
265
|
-
- Run: `node scripts/get-timestamp.js`
|
|
266
|
-
- Default format: `YYYY-MM-DD-HHmmss` (e.g., `2026-03-17-132645`)
|
|
267
|
-
- Use the output as generation timestamp in document
|
|
268
|
-
|
|
269
|
-
3. **Determine Technology Stack**:
|
|
270
|
-
- Extract platform types from discovered module paths
|
|
271
|
-
- Map platform_type to display name via tech-stack-mappings.json
|
|
272
|
-
- Example: `web-vue` → `Vue 3 + TypeScript`; `backend-java` → `Java 17 + Spring Boot`
|
|
273
|
-
|
|
274
|
-
4. **Copy template to document path**:
|
|
275
|
-
- Read template: `templates/SYSTEM-OVERVIEW-TEMPLATE.md` (already loaded in Step 0)
|
|
276
|
-
- Replace top-level placeholders (system name, generation timestamp, tech stack info)
|
|
277
|
-
- Create document using `create_file` at: `{{output_path}}/system-overview.md`
|
|
278
|
-
- Verify: Document has complete section structure ready for filling
|
|
57
|
+
### Content Language
|
|
279
58
|
|
|
280
|
-
**
|
|
59
|
+
**IMPORTANT**: ALL generated content (system description, module summaries, flow descriptions, section headers, and narrative text) MUST be written in the language specified by the `language` parameter. Only code identifiers, file paths, and technical terms remain in their original language.
|
|
281
60
|
|
|
282
|
-
|
|
61
|
+
## Return Value Format
|
|
283
62
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
**Fill via `search_replace`:**
|
|
293
|
-
|
|
294
|
-
**Section 1: System Overview**
|
|
295
|
-
- System name from project config
|
|
296
|
-
- Core positioning
|
|
297
|
-
- Target users
|
|
298
|
-
- Deployment type
|
|
299
|
-
|
|
300
|
-
**Fill via `search_replace`:**
|
|
301
|
-
|
|
302
|
-
**Section 2: Module Topology**
|
|
303
|
-
- Business domain diagram
|
|
304
|
-
- Module hierarchy diagram
|
|
305
|
-
- Module dependency diagram
|
|
306
|
-
- Module index table (from Step 3)
|
|
307
|
-
|
|
308
|
-
**Fill via `search_replace`:**
|
|
309
|
-
|
|
310
|
-
**Section 3: End-to-End Business Flows**
|
|
311
|
-
- Core business process list
|
|
312
|
-
- Flow-module mapping matrix (from Step 6)
|
|
313
|
-
- Typical flow diagrams
|
|
314
|
-
|
|
315
|
-
**Fill via `search_replace`:**
|
|
316
|
-
|
|
317
|
-
**Section 4: System Boundaries and Integration**
|
|
318
|
-
- External system integration diagram
|
|
319
|
-
- Integration interface list
|
|
320
|
-
|
|
321
|
-
**Fill via `search_replace`:**
|
|
322
|
-
|
|
323
|
-
**Section 5: Requirement Assessment Guide**
|
|
324
|
-
- Reference to `speccrew-pm-requirement-assess` skill
|
|
325
|
-
- Quick location guide (which section to reference)
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"status": "success|failed",
|
|
66
|
+
"output_file": "system-overview.md",
|
|
67
|
+
"message": "System summarization completed with N modules processed"
|
|
68
|
+
}
|
|
69
|
+
```
|
|
326
70
|
|
|
327
|
-
|
|
71
|
+
## Task Completion Report
|
|
328
72
|
|
|
329
|
-
|
|
73
|
+
Upon completion, output the following structured report:
|
|
330
74
|
|
|
331
|
-
```
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
75
|
+
```json
|
|
76
|
+
{
|
|
77
|
+
"status": "success | partial | failed",
|
|
78
|
+
"skill": "speccrew-knowledge-system-summarize",
|
|
79
|
+
"output_files": [
|
|
80
|
+
"{output_path}/system-overview.md"
|
|
81
|
+
],
|
|
82
|
+
"summary": "System overview generated from {module_count} modules across {platform_count} platforms",
|
|
83
|
+
"metrics": {
|
|
84
|
+
"platforms_covered": 0,
|
|
85
|
+
"modules_summarized": 0,
|
|
86
|
+
"system_overview_generated": true
|
|
87
|
+
},
|
|
88
|
+
"errors": [],
|
|
89
|
+
"next_steps": [
|
|
90
|
+
"Review system-overview.md for completeness",
|
|
91
|
+
"Run speccrew-pm-requirement-assess if requirement assessment is needed"
|
|
92
|
+
]
|
|
93
|
+
}
|
|
340
94
|
```
|
|
341
95
|
|
|
342
96
|
## Reference Guides
|
|
@@ -391,47 +145,6 @@ Aggregate source file references from all module overview documents:
|
|
|
391
145
|
- Aggregated from all module overview documents
|
|
392
146
|
```
|
|
393
147
|
|
|
394
|
-
## Return
|
|
395
|
-
|
|
396
|
-
**Return Value (JSON format):**
|
|
397
|
-
|
|
398
|
-
```json
|
|
399
|
-
{
|
|
400
|
-
"status": "success|failed",
|
|
401
|
-
"output_file": "system-overview.md",
|
|
402
|
-
"message": "System summarization completed with N modules processed"
|
|
403
|
-
}
|
|
404
|
-
```
|
|
405
|
-
|
|
406
|
-
---
|
|
407
|
-
|
|
408
|
-
## Task Completion Report
|
|
409
|
-
|
|
410
|
-
Upon completion, output the following structured report:
|
|
411
|
-
|
|
412
|
-
```json
|
|
413
|
-
{
|
|
414
|
-
"status": "success | partial | failed",
|
|
415
|
-
"skill": "speccrew-knowledge-system-summarize",
|
|
416
|
-
"output_files": [
|
|
417
|
-
"{output_path}/system-overview.md"
|
|
418
|
-
],
|
|
419
|
-
"summary": "System overview generated from {module_count} modules across {platform_count} platforms",
|
|
420
|
-
"metrics": {
|
|
421
|
-
"platforms_covered": 0,
|
|
422
|
-
"modules_summarized": 0,
|
|
423
|
-
"system_overview_generated": true
|
|
424
|
-
},
|
|
425
|
-
"errors": [],
|
|
426
|
-
"next_steps": [
|
|
427
|
-
"Review system-overview.md for completeness",
|
|
428
|
-
"Run speccrew-pm-requirement-assess if requirement assessment is needed"
|
|
429
|
-
]
|
|
430
|
-
}
|
|
431
|
-
```
|
|
432
|
-
|
|
433
|
-
---
|
|
434
|
-
|
|
435
148
|
## Checklist
|
|
436
149
|
|
|
437
150
|
- [ ] All {{module_name}}-overview.md files discovered
|
|
@@ -445,4 +158,3 @@ Upon completion, output the following structured report:
|
|
|
445
158
|
- [ ] Source traceability information included
|
|
446
159
|
- [ ] Mermaid diagrams follow compatibility guidelines
|
|
447
160
|
- [ ] Results reported
|
|
448
|
-
|