speccrew 0.7.62 → 0.7.64
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-feature-designer.md +5 -5
- package/.speccrew/agents/speccrew-product-manager.md +9 -9
- package/.speccrew/agents/speccrew-system-designer.md +45 -933
- package/.speccrew/agents/speccrew-task-worker.md +15 -15
- package/.speccrew/skills/speccrew-agentflow-manager/SKILL.md +7 -7
- package/.speccrew/skills/speccrew-deploy-build/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-deploy-migrate/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-deploy-smoke-test/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-deploy-startup/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-backend/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-desktop-electron/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-desktop-tauri/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-review-backend/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-review-desktop/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-review-frontend/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-dev-review-mobile/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-fd-feature-analyze/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-feature-designer-orchestration/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-get-timestamp/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-api-graph/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-identify-entries/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-init-features/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-graph/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-graph-query/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-graph-write/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-module-summarize/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-system-summarize/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-dispatch/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-generate/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-generate-quality/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-index/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-init/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-knowledge-detector/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-module-initializer/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-module-matcher/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-phase0-init/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-phase1-knowledge-check/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-phase2-complexity-assess/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-phase5-subprd-dispatch/SKILL.md +8 -8
- package/.speccrew/skills/speccrew-pm-phase6-verify-confirm/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-requirement-assess/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-requirement-clarify/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-requirement-model/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-requirement-simple/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-pm-sub-prd-generate/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-product-manager-orchestration/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-sd-backend/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-sd-design-overview-generate/SKILL.md +3 -226
- package/.speccrew/skills/speccrew-sd-design-overview-generate/{workflow.agentflow.xml → SKILL.xml} +40 -0
- package/.speccrew/skills/speccrew-sd-desktop/SKILL.md +3 -284
- package/.speccrew/skills/speccrew-sd-desktop/SKILL.xml +545 -0
- package/.speccrew/skills/speccrew-sd-framework-evaluate/SKILL.md +3 -247
- package/.speccrew/skills/speccrew-sd-framework-evaluate/{workflow.agentflow.xml → SKILL.xml} +39 -0
- package/.speccrew/skills/speccrew-sd-frontend/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-sd-mobile/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-system-deployer-orchestration/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-system-designer-orchestration/SKILL.md +4 -4
- package/.speccrew/skills/speccrew-system-developer-orchestration/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-task-worker-execution/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-team-leader-routing/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-test-case-design/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-test-manager-orchestration/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-test-reporter/SKILL.md +2 -2
- package/.speccrew/skills/speccrew-test-runner/SKILL.md +2 -2
- package/package.json +1 -1
- package/.speccrew/skills/speccrew-sd-desktop/workflow.agentflow.xml +0 -288
- /package/.speccrew/skills/speccrew-agentflow-manager/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-deploy-build/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-deploy-migrate/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-deploy-smoke-test/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-deploy-startup/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-backend/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-desktop-electron/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-desktop-tauri/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-frontend/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-mobile/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-review-backend/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-review-desktop/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-review-frontend/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-dev-review-mobile/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-fd-api-contract/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-fd-feature-analyze/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-fd-feature-design/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-feature-designer-orchestration/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-get-timestamp/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-api-graph/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-identify-entries/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-init-features/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-ui-graph/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-graph-query/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-graph-write/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-module-summarize/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-system-summarize/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-dispatch/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-generate/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-generate-quality/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-index/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-init/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-knowledge-detector/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-module-initializer/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-module-matcher/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-phase0-init/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-phase1-knowledge-check/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-phase2-complexity-assess/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-phase5-subprd-dispatch/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-phase6-verify-confirm/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-requirement-analysis/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-requirement-assess/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-requirement-clarify/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-requirement-model/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-requirement-simple/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-pm-sub-prd-generate/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-product-manager-orchestration/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-sd-backend/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-sd-frontend/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-sd-mobile/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-system-deployer-orchestration/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-system-designer-orchestration/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-system-developer-orchestration/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-task-worker-execution/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-team-leader-routing/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-test-case-design/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-test-code-gen/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-test-manager-orchestration/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-test-reporter/{workflow.agentflow.xml → SKILL.xml} +0 -0
- /package/.speccrew/skills/speccrew-test-runner/{workflow.agentflow.xml → SKILL.xml} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-sd-framework-evaluate
|
|
3
3
|
description: Framework Evaluation Skill for System Designer. Analyzes Feature Spec requirements against current technology stack capabilities, identifies capability gaps, evaluates potential open-source frameworks/libraries, and generates a framework-evaluation.md report. Invoked by System Designer Agent during Phase 3.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
@@ -12,250 +12,6 @@ tools: Read, Write, Glob, Grep
|
|
|
12
12
|
|
|
13
13
|
## AgentFlow Definition
|
|
14
14
|
|
|
15
|
-
<!-- @agentflow:
|
|
16
|
-
|
|
17
|
-
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: `speccrew-workspace/docs/rules/agentflow-spec.md`
|
|
18
|
-
|
|
19
|
-
## Workflow
|
|
20
|
-
|
|
21
|
-
## Absolute Constraints
|
|
22
|
-
|
|
23
|
-
> **These rules apply to ALL steps. Violation = task failure.**
|
|
24
|
-
|
|
25
|
-
1. **READ-ONLY on Feature Spec and API Contract** — NEVER modify Feature Spec or API Contract documents. Only read for analysis.
|
|
26
|
-
2. **READ-ONLY on techs knowledge** — NEVER modify techs knowledge files. Only read for capability assessment.
|
|
27
|
-
3. **Evidence-based evaluation** — Every recommendation MUST cite specific Feature Spec requirements and specific tech stack limitations.
|
|
28
|
-
4. **No assumptions** — DO NOT assume framework capabilities. Only recommend frameworks with documented capabilities.
|
|
29
|
-
|
|
30
|
-
## Step 1: Read Inputs
|
|
31
|
-
|
|
32
|
-
**Input Parameters** (from agent context):
|
|
33
|
-
|
|
34
|
-
| Parameter | Required | Description |
|
|
35
|
-
|-----------|----------|-------------|
|
|
36
|
-
| `feature_spec_paths` | Yes | Array of Feature Spec file paths |
|
|
37
|
-
| `api_contract_paths` | Yes | Array of API Contract file paths |
|
|
38
|
-
| `techs_knowledge_paths` | Yes | Object with platform_id → knowledge paths mapping |
|
|
39
|
-
| `iteration_path` | Yes | Current iteration directory path |
|
|
40
|
-
| `output_path` | No | Output file path (default: `iteration_path/03.system-design/framework-evaluation.md`) |
|
|
41
|
-
|
|
42
|
-
Read in order:
|
|
43
|
-
|
|
44
|
-
1. **All Feature Spec documents** — Extract functional requirements, especially:
|
|
45
|
-
- Real-time features (WebSocket, SSE, push notifications)
|
|
46
|
-
- File processing (upload, download, preview, conversion)
|
|
47
|
-
- Data visualization (charts, dashboards, reports)
|
|
48
|
-
- Rich text / editor features
|
|
49
|
-
- Map / geolocation features
|
|
50
|
-
- Payment / third-party integrations
|
|
51
|
-
- Search / filtering / pagination patterns
|
|
52
|
-
- Media processing (image, video, audio)
|
|
53
|
-
|
|
54
|
-
2. **All API Contract documents** — Extract:
|
|
55
|
-
- Communication protocols (REST, GraphQL, WebSocket, gRPC)
|
|
56
|
-
- Authentication patterns (JWT, OAuth, Session)
|
|
57
|
-
- Data formats (JSON, protobuf, multipart)
|
|
58
|
-
|
|
59
|
-
3. **Techs knowledge per platform**:
|
|
60
|
-
- `tech-stack.md` — Current frameworks, libraries, versions
|
|
61
|
-
- `architecture.md` — Current architecture patterns
|
|
62
|
-
- `conventions-design.md` — Design conventions
|
|
63
|
-
- `conventions-dev.md` — Development conventions
|
|
64
|
-
|
|
65
|
-
## Step 2: Gap Analysis
|
|
66
|
-
|
|
67
|
-
For each requirement extracted in Step 1, evaluate against current tech stack:
|
|
68
|
-
|
|
69
|
-
### 2.1 Build Capability Matrix
|
|
70
|
-
|
|
71
|
-
| Requirement Category | Specific Requirement | Source (Feature ID) | Current Stack Support | Gap? |
|
|
72
|
-
|---------------------|---------------------|--------------------|-----------------------|------|
|
|
73
|
-
| Real-time | WebSocket connections | F-CRM-01 | Not in current stack | YES |
|
|
74
|
-
| File Processing | PDF preview | F-ORD-02 | Not in current stack | YES |
|
|
75
|
-
| Data Viz | Dashboard charts | F-RPT-01 | Not in current stack | YES |
|
|
76
|
-
| Authentication | JWT token | F-SYS-01 | Already supported | NO |
|
|
77
|
-
|
|
78
|
-
### 2.2 Categorize Gaps
|
|
79
|
-
|
|
80
|
-
Group identified gaps by category:
|
|
81
|
-
|
|
82
|
-
- **Critical Gaps**: Core functionality cannot be implemented without new framework
|
|
83
|
-
- **Enhancement Gaps**: Functionality possible but significantly better with dedicated library
|
|
84
|
-
- **Optional Gaps**: Nice-to-have improvements, current stack can handle acceptably
|
|
85
|
-
|
|
86
|
-
## Step 3: Framework Research
|
|
87
|
-
|
|
88
|
-
For each identified gap (Critical and Enhancement only):
|
|
89
|
-
|
|
90
|
-
### 3.1 Evaluate Candidates
|
|
91
|
-
|
|
92
|
-
For each gap, research and evaluate 1-3 candidate frameworks/libraries:
|
|
93
|
-
|
|
94
|
-
| Evaluation Criteria | Description |
|
|
95
|
-
|--------------------|-------------|
|
|
96
|
-
| **Functionality Fit** | Does it solve the specific capability gap? |
|
|
97
|
-
| **License** | MIT, Apache 2.0, BSD preferred. GPL requires flagging. |
|
|
98
|
-
| **Maturity** | GitHub stars, npm downloads, last release date, version stability |
|
|
99
|
-
| **Bundle Size** | Impact on frontend bundle (if applicable) |
|
|
100
|
-
| **Integration Complexity** | How much existing code needs modification? |
|
|
101
|
-
| **Community & Docs** | Documentation quality, community support, ecosystem |
|
|
102
|
-
|
|
103
|
-
### 3.2 Make Recommendations
|
|
104
|
-
|
|
105
|
-
For each gap, provide a single primary recommendation with justification.
|
|
106
|
-
|
|
107
|
-
## Step 4: Generate Report
|
|
108
|
-
|
|
109
|
-
Write the framework evaluation report to `output_path`.
|
|
110
|
-
|
|
111
|
-
### Report Structure (When Gaps Found)
|
|
112
|
-
|
|
113
|
-
```markdown
|
|
114
|
-
# Framework Evaluation Report — iteration_name
|
|
115
|
-
|
|
116
|
-
## 1. Evaluation Summary
|
|
117
|
-
|
|
118
|
-
- **Iteration**: iteration_name
|
|
119
|
-
- **Feature Specs Analyzed**: feature_count
|
|
120
|
-
- **Platforms Evaluated**: platform_count
|
|
121
|
-
- **Capability Gaps Found**: gap_count
|
|
122
|
-
- **New Frameworks Recommended**: framework_count
|
|
123
|
-
|
|
124
|
-
## 2. Capability Gap Analysis
|
|
125
|
-
|
|
126
|
-
### 2.1 Gap Summary
|
|
127
|
-
|
|
128
|
-
| # | Gap Category | Specific Gap | Severity | Source Features | Recommendation |
|
|
129
|
-
|---|-------------|-------------|----------|----------------|---------------|
|
|
130
|
-
| 1 | Real-time | WebSocket support | Critical | F-CRM-01, F-MSG-01 | Socket.IO |
|
|
131
|
-
| 2 | Data Viz | Chart rendering | Enhancement | F-RPT-01 | ECharts |
|
|
132
|
-
| ... | ... | ... | ... | ... | ... |
|
|
133
|
-
|
|
134
|
-
### 2.2 Detailed Gap Analysis
|
|
135
|
-
|
|
136
|
-
#### Gap 1: {Gap Name}
|
|
137
|
-
|
|
138
|
-
**Requirement Source**: {Feature IDs and specific requirement text}
|
|
139
|
-
**Current Stack Status**: {What the current stack provides/lacks}
|
|
140
|
-
**Impact**: {What cannot be implemented without addressing this gap}
|
|
141
|
-
|
|
142
|
-
## 3. Framework Recommendations
|
|
143
|
-
|
|
144
|
-
### 3.1 Recommendation Summary
|
|
145
|
-
|
|
146
|
-
| # | Framework | Version | License | For Gap | Platform | Integration Impact |
|
|
147
|
-
|---|-----------|---------|---------|---------|----------|-------------------|
|
|
148
|
-
| 1 | Socket.IO | ^4.x | MIT | WebSocket support | backend + web | Medium |
|
|
149
|
-
| 2 | ECharts | ^5.x | Apache 2.0 | Chart rendering | web | Low |
|
|
150
|
-
|
|
151
|
-
### 3.2 Detailed Recommendations
|
|
152
|
-
|
|
153
|
-
#### Recommendation 1: {Framework Name}
|
|
154
|
-
|
|
155
|
-
- **Solves Gap**: {gap description}
|
|
156
|
-
- **License**: {license type}
|
|
157
|
-
- **Maturity**: {stars, downloads, last release}
|
|
158
|
-
- **Integration Impact**: Low / Medium / High
|
|
159
|
-
- **Integration Notes**: {specific integration considerations}
|
|
160
|
-
- **Alternatives Considered**: {other options and why not chosen}
|
|
161
|
-
|
|
162
|
-
## 4. No-Change Confirmations
|
|
163
|
-
|
|
164
|
-
Capabilities already covered by current stack:
|
|
165
|
-
- {capability 1}: Covered by {existing framework}
|
|
166
|
-
- {capability 2}: Covered by {existing framework}
|
|
167
|
-
|
|
168
|
-
## 5. Version Constraints
|
|
169
|
-
|
|
170
|
-
| Framework | Required Version | Constraint Reason |
|
|
171
|
-
|-----------|-----------------|-------------------|
|
|
172
|
-
| {name} | {version range} | {compatibility reason} |
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
### Simplified Report Structure (When No Gaps Found)
|
|
176
|
-
|
|
177
|
-
```markdown
|
|
178
|
-
# Framework Evaluation Report — iteration_name
|
|
179
|
-
|
|
180
|
-
## 1. Evaluation Summary
|
|
181
|
-
|
|
182
|
-
- **Feature Specs Analyzed**: feature_count
|
|
183
|
-
- **Platforms Evaluated**: platform_count
|
|
184
|
-
- **Capability Gaps Found**: 0
|
|
185
|
-
- **New Frameworks Recommended**: 0
|
|
186
|
-
|
|
187
|
-
## 2. Assessment
|
|
188
|
-
|
|
189
|
-
All Feature Spec requirements can be fully implemented with the current technology stack. No new frameworks or libraries are needed.
|
|
190
|
-
|
|
191
|
-
### Capabilities Confirmed
|
|
192
|
-
- {list each major capability confirmed as supported}
|
|
193
|
-
|
|
194
|
-
## 3. Conclusion
|
|
195
|
-
|
|
196
|
-
Current tech stack is sufficient. Proceed to system design without framework changes.
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
## Step 5: Output Task Completion Report
|
|
200
|
-
|
|
201
|
-
After writing the report, output:
|
|
202
|
-
|
|
203
|
-
```
|
|
204
|
-
--- TASK COMPLETION REPORT ---
|
|
205
|
-
Task: Framework Evaluation
|
|
206
|
-
Status: SUCCESS
|
|
207
|
-
Output: output_path
|
|
208
|
-
Gaps Found: gap_count
|
|
209
|
-
Frameworks Recommended: framework_count
|
|
210
|
-
--- END REPORT ---
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
If any step fails:
|
|
214
|
-
|
|
215
|
-
```
|
|
216
|
-
--- TASK COMPLETION REPORT ---
|
|
217
|
-
Task: Framework Evaluation
|
|
218
|
-
Status: FAILED
|
|
219
|
-
Error: {specific error description}
|
|
220
|
-
Failed At: Step {N}
|
|
221
|
-
--- END REPORT ---
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
## OUTPUT EFFICIENCY RULES
|
|
225
|
-
|
|
226
|
-
When executing this skill:
|
|
227
|
-
|
|
228
|
-
1. **Direct-to-File Output**: All design content (architecture diagrams, API mappings, component specifications, data models) MUST be written directly to the output file
|
|
229
|
-
2. **Minimal Conversation Output**: Only output:
|
|
230
|
-
- Block execution announcements (1 line each): `"[Block XX] Designing..."`
|
|
231
|
-
- Error messages requiring attention
|
|
232
|
-
- Task Completion Report (final summary)
|
|
233
|
-
3. **FORBIDDEN in conversation**:
|
|
234
|
-
- ❌ Full document sections or drafts
|
|
235
|
-
- ❌ Mermaid diagrams displayed in chat
|
|
236
|
-
- ❌ API endpoint listings
|
|
237
|
-
- ❌ Data model tables
|
|
238
|
-
- ❌ Architecture descriptions longer than 2 lines
|
|
239
|
-
4. **Rationale**: Workers run in batch mode. Displaying design content in conversation wastes context window and provides no value since content goes to file anyway.
|
|
240
|
-
|
|
241
|
-
# Key Rules
|
|
242
|
-
|
|
243
|
-
| Rule | Description |
|
|
244
|
-
|------|-------------|
|
|
245
|
-
| **READ-ONLY Inputs** | Feature Spec, API Contract, and techs knowledge are reference only — never modify |
|
|
246
|
-
| **Evidence-based** | Every gap and recommendation must cite specific requirement sources |
|
|
247
|
-
| **Gap Categories** | Only Critical and Enhancement gaps require framework recommendations |
|
|
248
|
-
| **License Awareness** | GPL and copyleft licenses must be flagged in recommendations |
|
|
249
|
-
| **No Assumptions** | Only recommend frameworks with documented, verified capabilities |
|
|
250
|
-
|
|
251
|
-
# Checklist
|
|
15
|
+
<!-- @agentflow: SKILL.xml -->
|
|
252
16
|
|
|
253
|
-
|
|
254
|
-
- [ ] All API Contract documents read and protocols identified
|
|
255
|
-
- [ ] Techs knowledge loaded for all platforms
|
|
256
|
-
- [ ] Capability matrix built with all requirements mapped
|
|
257
|
-
- [ ] Gaps categorized by severity (Critical/Enhancement/Optional)
|
|
258
|
-
- [ ] Framework candidates evaluated against criteria
|
|
259
|
-
- [ ] Primary recommendations made for each gap
|
|
260
|
-
- [ ] Report generated with correct structure
|
|
261
|
-
- [ ] Task Completion Report output
|
|
17
|
+
> **REQUIRED**: Read and execute the XML workflow above. The XML contains the complete workflow definition including all steps, rules, conditions, and checklist.
|
package/.speccrew/skills/speccrew-sd-framework-evaluate/{workflow.agentflow.xml → SKILL.xml}
RENAMED
|
@@ -36,6 +36,19 @@
|
|
|
36
36
|
<field name="text">Only recommend frameworks with documented capabilities</field>
|
|
37
37
|
</block>
|
|
38
38
|
|
|
39
|
+
<block type="rule" id="R5" level="mandatory" desc="Direct-to-File Output">
|
|
40
|
+
<field name="text">All design content MUST be written directly to the output file</field>
|
|
41
|
+
</block>
|
|
42
|
+
|
|
43
|
+
<block type="rule" id="R6" level="mandatory" desc="Minimal Conversation Output">
|
|
44
|
+
<field name="text">Only output block execution announcements, error messages, and Task Completion Report</field>
|
|
45
|
+
</block>
|
|
46
|
+
|
|
47
|
+
<block type="rule" id="R7" level="forbidden" desc="No conversation document output">
|
|
48
|
+
<field name="text">NEVER display full document sections, Mermaid diagrams, API endpoint listings, data model tables in conversation</field>
|
|
49
|
+
<field name="text">NEVER display architecture descriptions longer than 2 lines in conversation</field>
|
|
50
|
+
</block>
|
|
51
|
+
|
|
39
52
|
<!-- ============================================================
|
|
40
53
|
Main Processing Sequence
|
|
41
54
|
============================================================ -->
|
|
@@ -219,8 +232,34 @@ Frameworks Recommended: ${recommendations.length}
|
|
|
219
232
|
</branch>
|
|
220
233
|
</block>
|
|
221
234
|
|
|
235
|
+
<block type="checkpoint" id="CP2" name="final_checklist" desc="Framework Evaluation Final Checklist">
|
|
236
|
+
<field name="conditions">
|
|
237
|
+
feature_specs_read: all Feature Spec documents read and requirements extracted,
|
|
238
|
+
api_contracts_read: all API Contract documents read and protocols identified,
|
|
239
|
+
techs_knowledge_loaded: techs knowledge loaded for all platforms,
|
|
240
|
+
capability_matrix_built: capability matrix built with all requirements mapped,
|
|
241
|
+
gaps_categorized: gaps categorized by severity (Critical/Enhancement/Optional),
|
|
242
|
+
framework_candidates_evaluated: framework candidates evaluated against criteria,
|
|
243
|
+
primary_recommendations_made: primary recommendations made for each gap,
|
|
244
|
+
report_generated: report generated with correct structure,
|
|
245
|
+
task_completion_report_output: task completion report output
|
|
246
|
+
</field>
|
|
247
|
+
</block>
|
|
248
|
+
|
|
222
249
|
</sequence>
|
|
223
250
|
|
|
251
|
+
<!-- ============================================================
|
|
252
|
+
Failure Report Format
|
|
253
|
+
============================================================ -->
|
|
254
|
+
<block type="event" id="E4" action="log" level="error" desc="Task failure report">
|
|
255
|
+
<field name="message">--- TASK COMPLETION REPORT ---
|
|
256
|
+
Task: Framework Evaluation
|
|
257
|
+
Status: FAILED
|
|
258
|
+
Error: {specific error description}
|
|
259
|
+
Failed At: Step {N}
|
|
260
|
+
--- END REPORT ---</field>
|
|
261
|
+
</block>
|
|
262
|
+
|
|
224
263
|
<!-- ============================================================
|
|
225
264
|
Output Results
|
|
226
265
|
============================================================ -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-sd-frontend
|
|
3
3
|
description: Frontend System Design SOP. Guide System Designer Agent to generate platform-specific frontend detailed design documents by filling technology implementation details into the Feature Spec skeleton. Reads techs knowledge to determine actual framework syntax and conventions.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
@@ -12,6 +12,6 @@ tools: Read, Write, Glob, Grep
|
|
|
12
12
|
|
|
13
13
|
## AgentFlow Definition
|
|
14
14
|
|
|
15
|
-
<!-- @agentflow:
|
|
15
|
+
<!-- @agentflow: SKILL.xml -->
|
|
16
16
|
|
|
17
17
|
> **REQUIRED**: Read and execute the XML workflow above. The XML contains the complete workflow definition including all steps, rules, conditions, and checklist.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-sd-mobile
|
|
3
3
|
description: Mobile System Design SOP. Guide System Designer Agent to generate platform-specific mobile detailed design documents by filling technology implementation details into the Feature Spec skeleton. Reads techs knowledge to determine actual framework syntax (Flutter/React Native) and conventions.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
@@ -12,6 +12,6 @@ tools: Read, Write, Glob, Grep
|
|
|
12
12
|
|
|
13
13
|
## AgentFlow Definition
|
|
14
14
|
|
|
15
|
-
<!-- @agentflow:
|
|
15
|
+
<!-- @agentflow: SKILL.xml -->
|
|
16
16
|
|
|
17
17
|
> **REQUIRED**: Read and execute the XML workflow above. The XML contains the complete workflow definition including all steps, rules, conditions, and checklist.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-system-deployer-orchestration
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
description: System Deployer 的编排调度技能,负责执行部署工作流:阶段门禁验证、IDE目录检测、准备阶段、技能调度(构建→迁移→启动→冒烟测试)、部署总结确认。
|
|
@@ -68,7 +68,7 @@ System Deployer 的核心编排技能,负责:
|
|
|
68
68
|
|
|
69
69
|
## AgentFlow Definition
|
|
70
70
|
|
|
71
|
-
<!-- @agentflow:
|
|
71
|
+
<!-- @agentflow: SKILL.xml -->
|
|
72
72
|
|
|
73
73
|
---
|
|
74
74
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-system-designer-orchestration
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
description: System Designer 的核心编排技能,负责读取已确认的 Feature Spec 和 API Contract 文档,加载技术知识库,评估框架需求,调度各平台详细设计技能生成系统设计文档。支持 web、mobile、desktop 平台。
|
|
@@ -69,7 +69,7 @@ System Designer 的核心编排技能,负责:
|
|
|
69
69
|
|
|
70
70
|
## AgentFlow Definition
|
|
71
71
|
|
|
72
|
-
<!-- @agentflow:
|
|
72
|
+
<!-- @agentflow: SKILL.xml -->
|
|
73
73
|
|
|
74
74
|
---
|
|
75
75
|
|
|
@@ -187,7 +187,7 @@ DO NOT proceed past these checkpoints without explicit user confirmation.
|
|
|
187
187
|
|
|
188
188
|
## Must Do
|
|
189
189
|
|
|
190
|
-
- **READ
|
|
190
|
+
- **READ SKILL.xml FIRST** — Execute blocks in document order
|
|
191
191
|
- **Use Agent tool for dispatch-to-worker blocks** — Agent tool creates a new speccrew-task-worker agent session
|
|
192
192
|
- **Pass skill_path explicitly to worker** — Worker cannot find skills via glob on first run
|
|
193
193
|
- **Wait for worker completion before verifying output** — Do not proceed until worker returns
|
|
@@ -202,7 +202,7 @@ DO NOT proceed past these checkpoints without explicit user confirmation.
|
|
|
202
202
|
- **DO NOT create scripts for batch analysis** — Workers handle this via their own skill
|
|
203
203
|
- **DO NOT fallback to inline execution if worker fails** — ABORT instead
|
|
204
204
|
- **DO NOT let individual workers generate INDEX.md in batch mode** — `skip_index_generation: true` must be set; INDEX.md is generated in Phase 5.5 by separate worker with `index_only: true`
|
|
205
|
-
- **DO NOT skip reading
|
|
205
|
+
- **DO NOT skip reading SKILL.xml** — XML is the execution authority
|
|
206
206
|
- **DO NOT generate DESIGN-OVERVIEW.md yourself** — Dispatch speccrew-task-worker with speccrew-sd-design-overview-generate skill
|
|
207
207
|
- **DO NOT use Skill tool for Phase 4 design overview generation** — Skill tool executes inline, Agent tool creates a worker
|
|
208
208
|
- **DO NOT group multiple features into a single Worker** — Each Worker handles exactly ONE feature on ONE platform
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-system-developer-orchestration
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
description: System Developer 的核心编排技能,负责读取系统设计蓝图、协调跨平台开发任务分发、加载技术知识、验证环境就绪、分发各平台开发技能、执行集成检查、交付开发完成报告。支持 web、mobile、desktop 和 backend 平台。
|
|
@@ -69,7 +69,7 @@ System Developer 的核心编排技能,负责:
|
|
|
69
69
|
|
|
70
70
|
## AgentFlow Definition
|
|
71
71
|
|
|
72
|
-
<!-- @agentflow:
|
|
72
|
+
<!-- @agentflow: SKILL.xml -->
|
|
73
73
|
|
|
74
74
|
---
|
|
75
75
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-task-worker-execution
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
description: Task Worker 的通用任务执行技能,负责接收任务参数、加载 Skill 定义、读取 AgentFlow 规范、逐 Block 执行工作流并输出结构化完成报告。
|
|
@@ -68,7 +68,7 @@ tools: Read, Grep, Glob, Write, Bash, Edit, WebFetch, WebSearch
|
|
|
68
68
|
|
|
69
69
|
## AgentFlow Definition
|
|
70
70
|
|
|
71
|
-
<!-- @agentflow:
|
|
71
|
+
<!-- @agentflow: SKILL.xml -->
|
|
72
72
|
|
|
73
73
|
---
|
|
74
74
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-team-leader-routing
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
description: Team Leader 的意图识别与路由调度技能,负责识别用户意图并路由到对应 Skill/Agent。处理项目初始化、知识库同步、工作流诊断等基础设施请求。
|
|
@@ -66,7 +66,7 @@ Team Leader 的核心路由调度技能,负责:
|
|
|
66
66
|
|
|
67
67
|
## AgentFlow Definition
|
|
68
68
|
|
|
69
|
-
<!-- @agentflow:
|
|
69
|
+
<!-- @agentflow: SKILL.xml -->
|
|
70
70
|
|
|
71
71
|
---
|
|
72
72
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-test-case-design
|
|
3
3
|
description: Designs structured test cases from Feature Spec and API Contract documents. Focuses on comprehensive test scenario analysis, test case matrix generation, and coverage traceability without involving any code implementation.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
@@ -12,7 +12,7 @@ tools: Read, Write, Glob, Grep
|
|
|
12
12
|
|
|
13
13
|
## AgentFlow Definition
|
|
14
14
|
|
|
15
|
-
<!-- @agentflow:
|
|
15
|
+
<!-- @agentflow: SKILL.xml -->
|
|
16
16
|
|
|
17
17
|
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: `speccrew-workspace/docs/rules/agentflow-spec.md`
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-test-code-gen
|
|
3
3
|
description: Generates executable test code from confirmed test case documents. Reads test case matrix, platform technical conventions, and system design to produce well-structured test files with full traceability to test case IDs.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
@@ -12,7 +12,7 @@ tools: Read, Write, Glob, Grep
|
|
|
12
12
|
|
|
13
13
|
## AgentFlow Definition
|
|
14
14
|
|
|
15
|
-
<!-- @agentflow:
|
|
15
|
+
<!-- @agentflow: SKILL.xml -->
|
|
16
16
|
|
|
17
17
|
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: `speccrew-workspace/docs/rules/agentflow-spec.md`
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-test-manager-orchestration
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
description: Test Manager 的编排调度技能,负责执行三阶段测试工作流:测试用例设计 → 测试代码生成 → 测试执行与报告。支持单平台直接调用和多平台 Worker 并行调度。
|
|
@@ -74,7 +74,7 @@ Test Manager 的核心编排技能,负责:
|
|
|
74
74
|
|
|
75
75
|
## AgentFlow Definition
|
|
76
76
|
|
|
77
|
-
<!-- @agentflow:
|
|
77
|
+
<!-- @agentflow: SKILL.xml -->
|
|
78
78
|
|
|
79
79
|
---
|
|
80
80
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-test-reporter
|
|
3
3
|
description: "SpecCrew Test Reporter. Generates comprehensive test reports and individual bug reports from test execution results. Performs root cause analysis and severity classification."
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
@@ -27,7 +27,7 @@ tools: Read, Write, Glob, Grep
|
|
|
27
27
|
|
|
28
28
|
## AgentFlow Definition
|
|
29
29
|
|
|
30
|
-
<!-- @agentflow:
|
|
30
|
+
<!-- @agentflow: SKILL.xml -->
|
|
31
31
|
|
|
32
32
|
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: `speccrew-workspace/docs/rules/agentflow-spec.md`
|
|
33
33
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
---
|
|
1
|
+
---
|
|
2
2
|
name: speccrew-test-runner
|
|
3
3
|
description: "SpecCrew Test Runner. Executes test code, parses results, and detects deviations between expected and actual outcomes. Reads test code files and system design to run platform-specific test suites."
|
|
4
4
|
tools: Read, Write, Bash, Glob, Grep
|
|
@@ -27,7 +27,7 @@ tools: Read, Write, Bash, Glob, Grep
|
|
|
27
27
|
|
|
28
28
|
## AgentFlow Definition
|
|
29
29
|
|
|
30
|
-
<!-- @agentflow:
|
|
30
|
+
<!-- @agentflow: SKILL.xml -->
|
|
31
31
|
|
|
32
32
|
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: `speccrew-workspace/docs/rules/agentflow-spec.md`
|
|
33
33
|
|