speccrew 0.7.74 → 0.7.76
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 +4 -647
- package/.speccrew/agents/speccrew-product-manager.md +5 -480
- package/.speccrew/agents/speccrew-system-deployer.md +6 -457
- package/.speccrew/agents/speccrew-system-developer.md +9 -913
- package/.speccrew/agents/speccrew-test-manager.md +403 -1112
- package/.speccrew/skills/speccrew-agentflow-manager/SKILL.md +6 -149
- package/.speccrew/skills/speccrew-deploy-build/SKILL.md +2 -59
- package/.speccrew/skills/speccrew-deploy-migrate/SKILL.md +2 -64
- package/.speccrew/skills/speccrew-deploy-smoke-test/SKILL.md +2 -75
- package/.speccrew/skills/speccrew-deploy-startup/SKILL.md +2 -70
- package/.speccrew/skills/speccrew-dev-backend/SKILL.md +2 -381
- package/.speccrew/skills/speccrew-dev-desktop-electron/SKILL.md +2 -369
- package/.speccrew/skills/speccrew-dev-desktop-tauri/SKILL.md +2 -362
- package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +2 -304
- package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +2 -294
- package/.speccrew/skills/speccrew-dev-review-backend/SKILL.md +2 -204
- package/.speccrew/skills/speccrew-dev-review-desktop/SKILL.md +2 -173
- package/.speccrew/skills/speccrew-dev-review-frontend/SKILL.md +2 -169
- package/.speccrew/skills/speccrew-dev-review-mobile/SKILL.md +2 -173
- package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +2 -251
- package/.speccrew/skills/speccrew-fd-feature-analyze/SKILL.md +2 -254
- package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +2 -748
- package/.speccrew/skills/speccrew-feature-designer-orchestration/SKILL.md +6 -105
- package/.speccrew/skills/speccrew-get-timestamp/SKILL.md +6 -33
- package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +3 -138
- package/.speccrew/skills/speccrew-knowledge-bizs-api-graph/SKILL.md +3 -283
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/SKILL.md +3 -1014
- package/.speccrew/skills/speccrew-knowledge-bizs-identify-entries/SKILL.md +4 -343
- package/.speccrew/skills/speccrew-knowledge-bizs-init-features/SKILL.md +4 -235
- package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/SKILL.md +6 -72
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/SKILL.md +3 -534
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-graph/SKILL.md +3 -432
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/SKILL.md +4 -391
- package/.speccrew/skills/speccrew-knowledge-graph-query/SKILL.md +3 -98
- package/.speccrew/skills/speccrew-knowledge-graph-write/SKILL.md +3 -92
- package/.speccrew/skills/speccrew-knowledge-module-summarize/SKILL.md +3 -181
- package/.speccrew/skills/speccrew-knowledge-system-summarize/SKILL.md +3 -148
- package/.speccrew/skills/speccrew-knowledge-techs-dispatch/SKILL.md +3 -330
- package/.speccrew/skills/speccrew-knowledge-techs-generate/SKILL.md +6 -159
- package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +3 -142
- package/.speccrew/skills/speccrew-knowledge-techs-generate-quality/SKILL.md +3 -568
- package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style/SKILL.md +3 -180
- package/.speccrew/skills/speccrew-knowledge-techs-index/SKILL.md +3 -154
- package/.speccrew/skills/speccrew-knowledge-techs-init/SKILL.md +3 -176
- package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/SKILL.md +3 -135
- package/.speccrew/skills/speccrew-pm-knowledge-detector/SKILL.md +4 -88
- package/.speccrew/skills/speccrew-pm-module-initializer/SKILL.md +4 -178
- package/.speccrew/skills/speccrew-pm-module-matcher/SKILL.md +3 -102
- package/.speccrew/skills/speccrew-pm-phase0-init/SKILL.md +5 -78
- package/.speccrew/skills/speccrew-pm-phase1-knowledge-check/SKILL.md +5 -85
- package/.speccrew/skills/speccrew-pm-phase2-complexity-assess/SKILL.md +4 -100
- package/.speccrew/skills/speccrew-pm-phase5-subprd-dispatch/SKILL.md +14 -106
- package/.speccrew/skills/speccrew-pm-phase6-verify-confirm/SKILL.md +7 -84
- package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +6 -66
- package/.speccrew/skills/speccrew-pm-requirement-assess/SKILL.md +4 -96
- package/.speccrew/skills/speccrew-pm-requirement-clarify/SKILL.md +4 -131
- package/.speccrew/skills/speccrew-pm-requirement-model/SKILL.md +6 -79
- package/.speccrew/skills/speccrew-pm-requirement-simple/SKILL.md +4 -76
- package/.speccrew/skills/speccrew-pm-sub-prd-generate/SKILL.md +3 -281
- package/.speccrew/skills/speccrew-product-manager-orchestration/SKILL.md +6 -165
- package/.speccrew/skills/speccrew-system-deployer-orchestration/SKILL.md +6 -79
- package/.speccrew/skills/speccrew-system-designer-orchestration/SKILL.md +2 -35
- package/.speccrew/skills/speccrew-system-developer-orchestration/SKILL.md +6 -98
- package/.speccrew/skills/speccrew-task-worker-execution/SKILL.md +6 -94
- package/.speccrew/skills/speccrew-team-leader-routing/SKILL.md +6 -79
- package/.speccrew/skills/speccrew-test-case-design/SKILL.md +2 -58
- package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +2 -61
- package/.speccrew/skills/speccrew-test-manager-orchestration/SKILL.md +6 -94
- package/.speccrew/skills/speccrew-test-reporter/SKILL.md +2 -102
- package/.speccrew/skills/speccrew-test-runner/SKILL.md +3 -121
- package/package.json +1 -1
|
@@ -1,111 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: speccrew-pm-phase2-complexity-assess
|
|
3
|
-
description: Complexity assessment and skill routing for PM Phase 2. Validates knowledge initialization completeness, evaluates requirement complexity across 5 dimensions, and routes to appropriate PRD workflow
|
|
3
|
+
description: Complexity assessment and skill routing for PM Phase 2. Validates knowledge initialization completeness, evaluates requirement complexity across 5 dimensions, and routes to appropriate PRD workflow.
|
|
4
4
|
tools: Read, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
Assess requirement complexity and determine the appropriate skill routing path for PRD generation.
|
|
10
|
-
|
|
11
|
-
## Trigger Scenarios
|
|
12
|
-
|
|
7
|
+
# Trigger Scenarios
|
|
13
8
|
- "Assess requirement complexity"
|
|
14
9
|
- "Determine PRD workflow path"
|
|
15
|
-
- "Should I use simple or complex PRD workflow?"
|
|
16
10
|
- "Route to appropriate PRD skill"
|
|
17
|
-
- "Check if knowledge initialization is complete"
|
|
18
|
-
|
|
19
|
-
## User
|
|
20
|
-
|
|
21
|
-
PM Agent (speccrew-product-manager)
|
|
22
|
-
|
|
23
|
-
## Input
|
|
24
|
-
|
|
25
|
-
| Parameter | Type | Required | Description |
|
|
26
|
-
|-----------|------|----------|-------------|
|
|
27
|
-
| user_requirement | string | Yes | User requirement description or document path |
|
|
28
|
-
| workspace_path | string | Yes | Absolute path to speccrew-workspace root |
|
|
29
|
-
| knowledge_status | object | Yes | Knowledge status from Phase 1 (status, system_overview_path) |
|
|
30
|
-
| language | string | No | Target language for output (auto-detected) |
|
|
31
|
-
|
|
32
|
-
## Output
|
|
33
|
-
|
|
34
|
-
| Field | Type | Description |
|
|
35
|
-
|-------|------|-------------|
|
|
36
|
-
| complexity_level | string | simple / moderate / complex |
|
|
37
|
-
| route | string | speccrew-pm-requirement-simple or full-pipeline |
|
|
38
|
-
| complexity_details | object | Detailed breakdown of 5-dimension assessment |
|
|
39
|
-
| verification_status | string | Knowledge initialization verification result |
|
|
40
11
|
|
|
41
12
|
## AgentFlow Definition
|
|
42
|
-
|
|
43
13
|
<!-- @agentflow: SKILL.xml -->
|
|
44
|
-
|
|
45
|
-
>
|
|
46
|
-
|
|
47
|
-
## Complexity Assessment Matrix
|
|
48
|
-
|
|
49
|
-
### 5-Dimension Evaluation
|
|
50
|
-
|
|
51
|
-
| Dimension | Simple | Moderate | Complex |
|
|
52
|
-
|-----------|--------|----------|---------|
|
|
53
|
-
| **Functional Scope** | 1-2 modules, 1-5 features | 2-3 modules, 5-10 features | 3+ modules, 6+ features |
|
|
54
|
-
| **Technical Complexity** | No new tech, 0-2 integrations | 1 new tech, 2-4 integrations | 2+ new techs, 5+ integrations |
|
|
55
|
-
| **Business Rules** | Simple conditions, no state machine | Moderate branching, basic state machine | Complex branching, full state machine |
|
|
56
|
-
| **Data Complexity** | 1-3 entities, simple relationships | 4-6 entities, moderate relationships | 7+ entities, complex relationships |
|
|
57
|
-
| **Team/Time Constraints** | Standard timeline, single team | Moderate constraints | Tight deadline, multiple teams |
|
|
58
|
-
|
|
59
|
-
### Decision Rules
|
|
60
|
-
|
|
61
|
-
**→ Simple** (ANY of these):
|
|
62
|
-
- Adding/modifying fields on an existing page
|
|
63
|
-
- Minor feature enhancement within 1-2 modules
|
|
64
|
-
- Business logic adjustment
|
|
65
|
-
- Bug fix documentation
|
|
66
|
-
- Scope: ≤ 5 features, ≤ 2 modules
|
|
67
|
-
|
|
68
|
-
**→ Moderate** (ANY of these):
|
|
69
|
-
- 2-3 modules involved
|
|
70
|
-
- 5-10 features expected
|
|
71
|
-
- Some cross-module dependencies
|
|
72
|
-
- Standard new feature development
|
|
73
|
-
|
|
74
|
-
**→ Complex** (ANY of these):
|
|
75
|
-
- New system or major subsystem development
|
|
76
|
-
- Involves 3+ modules
|
|
77
|
-
- Requires 6+ features
|
|
78
|
-
- Needs cross-module dependency management
|
|
79
|
-
- User explicitly requests comprehensive analysis
|
|
80
|
-
|
|
81
|
-
### Skill Routing
|
|
82
|
-
|
|
83
|
-
| Complexity | Route | Workflow |
|
|
84
|
-
|------------|-------|----------|
|
|
85
|
-
| simple | speccrew-pm-requirement-simple | Single PRD, streamlined 6-step flow |
|
|
86
|
-
| moderate | full-pipeline | clarify → model → analysis (Master-Sub PRD) |
|
|
87
|
-
| complex | full-pipeline | clarify → model → analysis (Master-Sub PRD) |
|
|
88
|
-
|
|
89
|
-
> **Default to Simple when in doubt**. It's easier to escalate from simple to complex than to simplify an over-engineered analysis.
|
|
90
|
-
|
|
91
|
-
## Checklist
|
|
92
|
-
|
|
93
|
-
- [ ] DISPATCH-PROGRESS.json exists and counts.pending == 0
|
|
94
|
-
- [ ] Knowledge initialization verified complete
|
|
95
|
-
- [ ] User requirement analyzed for module count
|
|
96
|
-
- [ ] Functional scope assessed (modules, features)
|
|
97
|
-
- [ ] Technical complexity evaluated (new tech, integrations)
|
|
98
|
-
- [ ] Business rules complexity determined (conditions, state machine)
|
|
99
|
-
- [ ] Data complexity assessed (entities, relationships)
|
|
100
|
-
- [ ] Team/time constraints considered
|
|
101
|
-
- [ ] Complexity level determined (simple/moderate/complex)
|
|
102
|
-
- [ ] Skill route selected and output
|
|
103
|
-
|
|
104
|
-
## Key Rules
|
|
105
|
-
|
|
106
|
-
1. **MANDATORY Verification**: Phase 2.0 knowledge initialization verification CANNOT be skipped
|
|
107
|
-
2. **Pending Tasks Block**: If `counts.pending > 0`, return to Phase 1 Path B - do NOT proceed
|
|
108
|
-
3. **Read-Only Assessment**: This skill performs assessment only, no file modifications
|
|
109
|
-
4. **Escalation Path**: Simple workflow can escalate to complex if scope expands during execution
|
|
110
|
-
5. **Single Gateway**: Use exclusive gateway for routing decision - only one path selected
|
|
111
|
-
6. **FORBIDDEN File Generation**: Phase 2 MUST NOT create any output files (evaluation reports, assessment JSON, markdown summaries, etc.). All output must be returned as variables only via the output block. Creating files outside of block definitions violates Strict Block Adherence.
|
|
14
|
+
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: speccrew-workspace/docs/rules/agentflow-spec.md
|
|
15
|
+
> Then read and execute the XML workflow in SKILL.xml block-by-block as the authoritative execution plan.
|
|
@@ -1,107 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
- PM Agent
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
- This skill contains internal `dispatch-to-worker` blocks
|
|
14
|
-
- Workers CANNOT dispatch Workers (execution hierarchy constraint)
|
|
15
|
-
- Therefore, this skill MUST be executed by PM Agent directly
|
|
16
|
-
- PM Agent MUST NOT dispatch this skill to a Worker
|
|
17
|
-
|
|
18
|
-
**Execution Method**: PM Agent reads `SKILL.xml` and follows the workflow steps.
|
|
19
|
-
|
|
20
|
-
## MANDATORY: PM Must Read SKILL.xml
|
|
21
|
-
|
|
22
|
-
> 🛑 **BEFORE executing this skill, PM Agent MUST:**
|
|
23
|
-
> 1. Read the `SKILL.xml` file in this skill directory
|
|
24
|
-
> 2. Parse each block and execute in order
|
|
25
|
-
> 3. Follow the exact workflow steps defined in the XML
|
|
26
|
-
>
|
|
27
|
-
> **FORBIDDEN:**
|
|
28
|
-
> - DO NOT execute this skill without reading the XML workflow
|
|
29
|
-
> - DO NOT skip blocks defined in the XML
|
|
30
|
-
> - DO NOT dispatch this skill to a Worker Agent
|
|
31
|
-
|
|
32
|
-
## Input Parameters
|
|
33
|
-
|
|
34
|
-
| Parameter | Type | Required | Description |
|
|
35
|
-
|-----------|------|----------|-------------|
|
|
36
|
-
| `prd_output` | object | true | Phase 4 PRD generation output, containing master_prd_path, dispatch_plan_path, etc. |
|
|
37
|
-
| `iteration_path` | string | true | Absolute path to current iteration directory |
|
|
38
|
-
| `language` | string | false | User language (default: zh) |
|
|
39
|
-
| `workspace_path` | string | true | Absolute path to speccrew-workspace root directory |
|
|
40
|
-
| `update_progress_script` | string | true | Absolute path to update-progress.js script |
|
|
41
|
-
| `max_concurrent_workers` | number | false | Maximum concurrent Workers (default: 5) |
|
|
42
|
-
|
|
43
|
-
## Outputs
|
|
44
|
-
|
|
45
|
-
| Output | Type | Description |
|
|
46
|
-
|--------|------|-------------|
|
|
47
|
-
| `dispatch_result` | string | Dispatch result status: success / partial / failed |
|
|
48
|
-
| `total_subprds` | number | Total Sub-PRD count |
|
|
49
|
-
| `success_count` | number | Successfully generated Sub-PRD count |
|
|
50
|
-
| `failure_count` | number | Failed Sub-PRD count |
|
|
51
|
-
| `sub_prd_files` | array | List of generated Sub-PRD file paths |
|
|
52
|
-
| `feature_list_path` | string | Feature List file path |
|
|
53
|
-
|
|
1
|
+
---
|
|
2
|
+
name: speccrew-pm-phase5-subprd-dispatch
|
|
3
|
+
description: PM Phase 5 Sub-PRD Batch Dispatch Skill. Orchestration-layer skill executed directly by PM Agent. Dispatches Workers for parallel Sub-PRD generation across modules.
|
|
4
|
+
tools: Read, Write, Glob, Grep, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Trigger Scenarios
|
|
8
|
+
- PM Agent executes Phase 5 Sub-PRD batch dispatch
|
|
9
|
+
- Sub-PRD dispatch plan ready from Phase 4
|
|
10
|
+
- Parallel Worker dispatch needed for multi-module PRD generation
|
|
11
|
+
|
|
12
|
+
## AgentFlow Definition
|
|
54
13
|
<!-- @agentflow: SKILL.xml -->
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### Step 5.1: Read Dispatch Plan
|
|
59
|
-
- [ ] Read dispatch-plan from Master PRD (Sub-PRD grouping information)
|
|
60
|
-
- [ ] Parse sub_prd_groups array
|
|
61
|
-
- [ ] Verify each group contains required fields: module_id, module_name, module_key, module_scope, module_entities
|
|
62
|
-
|
|
63
|
-
### Step 5.2: Initialize Progress Tracking
|
|
64
|
-
- [ ] Create temporary task definition file .tasks-temp.json
|
|
65
|
-
- [ ] Initialize DISPATCH-PROGRESS.json using update-progress.js script
|
|
66
|
-
- [ ] Verify initialization success (Total: N | Pending: N | Completed: 0)
|
|
67
|
-
|
|
68
|
-
### Step 5.3: Batch Dispatch Workers
|
|
69
|
-
- [ ] Group in batches of 5 for parallel dispatch
|
|
70
|
-
- [ ] Each Worker carries complete context parameters
|
|
71
|
-
- [ ] Update DISPATCH-PROGRESS.json after each batch completes
|
|
72
|
-
- [ ] Continue to next batch until all modules are processed
|
|
73
|
-
|
|
74
|
-
### Step 5.4: Failure Retry
|
|
75
|
-
- [ ] Check for tasks with failed status
|
|
76
|
-
- [ ] If failures exist -> retry once (single retry mechanism)
|
|
77
|
-
- [ ] If still failing after retry -> log and continue
|
|
78
|
-
|
|
79
|
-
### Step 5.5: Result Collection and Verification
|
|
80
|
-
- [ ] Read final DISPATCH-PROGRESS.json
|
|
81
|
-
- [ ] Verify all Sub-PRD files exist and size > 3KB
|
|
82
|
-
- [ ] Generate summary report
|
|
83
|
-
- [ ] Update checkpoint
|
|
84
|
-
- [ ] Verify feature list completeness
|
|
85
|
-
|
|
86
|
-
### Step 5.6: User Confirmation
|
|
87
|
-
- [ ] Wait for user confirmation of Sub-PRD generation results
|
|
88
|
-
|
|
89
|
-
## Must Do
|
|
90
|
-
|
|
91
|
-
- **READ SKILL.xml FIRST** — PM Agent must parse the XML workflow before any execution
|
|
92
|
-
- **Initialize DISPATCH-PROGRESS.json BEFORE any Worker dispatch** — Use update-progress.js init command
|
|
93
|
-
- **Dispatch one Worker per module** — Use Agent tool to create speccrew-task-worker with speccrew-pm-sub-prd-generate skill
|
|
94
|
-
- **Update progress after each Worker completes** — Use update-progress.js update-task command
|
|
95
|
-
- **Verify all Sub-PRD files exist** — Check file existence and size > 3KB
|
|
96
|
-
- **Update checkpoint via script** — Use update-progress.js write-checkpoint command
|
|
97
|
-
|
|
98
|
-
## Must Not Do
|
|
99
|
-
|
|
100
|
-
- **DO NOT dispatch this skill to a Worker** — Phase 5 is PM direct execution
|
|
101
|
-
- **DO NOT skip reading SKILL.xml** — XML workflow is the execution guide
|
|
102
|
-
- **DO NOT dispatch Workers before DISPATCH-PROGRESS.json is initialized** — Progress tracking is mandatory
|
|
103
|
-
- **DO NOT create DISPATCH-PROGRESS.json manually** — Must use update-progress.js script
|
|
104
|
-
- **DO NOT generate Sub-PRD content directly** — Only Workers generate Sub-PRDs
|
|
105
|
-
- **DO NOT skip progress update after Worker completes** — Must call update-task for each completed Worker
|
|
106
|
-
- **DO NOT dispatch one Worker for multiple modules** — One Worker per module
|
|
107
|
-
- **DO NOT proceed to Phase 6 without verifying all Sub-PRDs** — Completion verification is mandatory
|
|
14
|
+
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: speccrew-workspace/docs/rules/agentflow-spec.md
|
|
15
|
+
> Then read and execute the XML workflow in SKILL.xml block-by-block as the authoritative execution plan.
|
|
@@ -1,92 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: speccrew-pm-phase6-verify-confirm
|
|
3
|
-
description: SpecCrew PM Phase 6 Verification & Confirmation Skill. Performs file integrity validation, feature list completeness check, user review gate, and finalization.
|
|
3
|
+
description: SpecCrew PM Phase 6 Verification & Confirmation Skill. Performs file integrity validation, feature list completeness check, user review gate, and finalization.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Trigger Scenarios
|
|
12
|
-
|
|
13
|
-
- PRD generation completed (Phase 4/5 done)
|
|
14
|
-
- Sub-PRD dispatch completed (complex path)
|
|
15
|
-
- Verification checklist needed before user review
|
|
7
|
+
# Trigger Scenarios
|
|
8
|
+
- PRD generation completed, verification needed
|
|
9
|
+
- Sub-PRD dispatch completed, user review required
|
|
16
10
|
- Final status update after user confirmation
|
|
17
11
|
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
| Parameter | Type | Required | Description |
|
|
21
|
-
|-----------|------|----------|-------------|
|
|
22
|
-
| `iteration_path` | string | Yes | Path to iteration directory |
|
|
23
|
-
| `complexity` | enum | Yes | `simple` or `complex` |
|
|
24
|
-
| `prd_output` | object | Yes | PRD generation output containing file paths |
|
|
25
|
-
| `dispatch_plan` | object | No | Dispatch plan for complex path (module count reference) |
|
|
26
|
-
| `update_progress_script` | string | Yes | Path to update-progress.js script |
|
|
27
|
-
| `language` | string | No | User language (auto-detected) |
|
|
28
|
-
|
|
29
|
-
## Methodology Foundation
|
|
30
|
-
|
|
31
|
-
Applies three-stage gated verification:
|
|
32
|
-
- Stage 6.1: Automated file & content integrity validation
|
|
33
|
-
- Stage 6.2: Mandatory user review and explicit confirmation
|
|
34
|
-
- Stage 6.3: Finalization with status updates and cleanup
|
|
35
|
-
|
|
36
|
-
## PM Stage Content Boundary
|
|
37
|
-
|
|
38
|
-
> **DO NOT:** Update checkpoints before user confirmation, skip user review gate, auto-proceed without explicit "confirm" or "OK", modify PRD document status before confirmation.
|
|
39
|
-
|
|
40
|
-
## Templates Used
|
|
41
|
-
|
|
42
|
-
| Template | Path | Purpose |
|
|
43
|
-
|----------|------|---------|
|
|
44
|
-
| Verification Report | Inline | File integrity and feature completeness results |
|
|
45
|
-
| PRD Review Summary | Inline | User review presentation template |
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
# AgentFlow Definition
|
|
50
|
-
|
|
12
|
+
## AgentFlow Definition
|
|
51
13
|
<!-- @agentflow: SKILL.xml -->
|
|
52
|
-
|
|
53
|
-
>
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
# Output Checklist
|
|
58
|
-
|
|
59
|
-
- [ ] Master PRD file verified (exists, size > 1KB)
|
|
60
|
-
- [ ] All Sub-PRD files verified (complex path)
|
|
61
|
-
- [ ] Sub-PRD count matches dispatch plan
|
|
62
|
-
- [ ] `.clarification-summary.md` exists
|
|
63
|
-
- [ ] `.module-design.md` exists (complex path)
|
|
64
|
-
- [ ] Feature list completeness verified
|
|
65
|
-
- [ ] User review gate executed
|
|
66
|
-
- [ ] Explicit user confirmation received
|
|
67
|
-
- [ ] Checkpoints updated via script
|
|
68
|
-
- [ ] WORKFLOW-PROGRESS.json updated to completed
|
|
69
|
-
- [ ] PRD document status updated to Confirmed
|
|
70
|
-
- [ ] Intermediate files cleaned up
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
# Constraints
|
|
75
|
-
|
|
76
|
-
**Must do:**
|
|
77
|
-
- Execute all verification steps in order: 6.1 → 6.2 → 6.3
|
|
78
|
-
- Wait for explicit user confirmation ("confirm" or "OK") before Phase 6.3
|
|
79
|
-
- Use `update-progress.js` for all JSON file updates
|
|
80
|
-
- Present complete verification summary to user
|
|
81
|
-
- Report all deliverables with file paths and sizes
|
|
82
|
-
- Clean up intermediate files after confirmation
|
|
83
|
-
|
|
84
|
-
**Must not do:**
|
|
85
|
-
- Update checkpoints (verification_checklist, prd_review) before user confirmation
|
|
86
|
-
- Update WORKFLOW-PROGRESS.json to completed before user confirmation
|
|
87
|
-
- Change PRD document status from Draft to Confirmed before user confirmation
|
|
88
|
-
- Generate completion report before user confirmation
|
|
89
|
-
- Suggest next phase before user confirmation
|
|
90
|
-
- Assume user silence means confirmation
|
|
91
|
-
- Proceed to Phase 6.3 without explicit user confirmation
|
|
92
|
-
- Delete PRD documents or clarification-related files
|
|
14
|
+
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: speccrew-workspace/docs/rules/agentflow-spec.md
|
|
15
|
+
> Then read and execute the XML workflow in SKILL.xml block-by-block as the authoritative execution plan.
|
|
@@ -1,75 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: speccrew-pm-requirement-analysis
|
|
3
|
-
description: SpecCrew PM PRD Generation Skill. Generates PRD documents from clarified requirements and module design. Produces Master PRD and Sub-PRD Dispatch Plan for downstream Feature Design.
|
|
3
|
+
description: SpecCrew PM PRD Generation Skill. Generates PRD documents from clarified requirements and module design. Produces Master PRD and Sub-PRD Dispatch Plan for downstream Feature Design.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
PRD document generation from clarification and modeling artifacts. Produces Master PRD and Sub-PRD Dispatch Plan.
|
|
10
|
-
|
|
11
|
-
## Trigger Scenarios
|
|
12
|
-
|
|
13
|
-
- Modeling completed (`.module-design.md` exists)
|
|
7
|
+
# Trigger Scenarios
|
|
8
|
+
- Modeling completed (.module-design.md exists)
|
|
14
9
|
- PRD document generation needed
|
|
15
10
|
- Feature breakdown and dispatch planning required
|
|
16
11
|
|
|
17
|
-
##
|
|
18
|
-
|
|
19
|
-
| Parameter | Type | Required | Description |
|
|
20
|
-
|-----------|------|----------|-------------|
|
|
21
|
-
| `iteration_path` | string | Yes | Path to iteration directory |
|
|
22
|
-
| `clarification_file` | string | No | Path to clarification summary (default: `{iteration_path}/01.product-requirement/.clarification-summary.md`) |
|
|
23
|
-
| `module_design_file` | string | No | Path to module design (default: `{iteration_path}/01.product-requirement/.module-design.md`) |
|
|
24
|
-
|
|
25
|
-
## Methodology Foundation
|
|
26
|
-
|
|
27
|
-
Applies ISA-95 Stages 2-3 outputs for PRD generation:
|
|
28
|
-
- WBS decomposition → Section 3 Functional Requirements
|
|
29
|
-
- MoSCoW prioritization → Section 3.4 Feature Breakdown
|
|
30
|
-
|
|
31
|
-
## PM Stage Content Boundary
|
|
32
|
-
|
|
33
|
-
> **DO NOT INCLUDE:** API definitions, DB structures, code snippets, technical terminology.
|
|
34
|
-
> **These belong to:** Feature Designer or System Designer.
|
|
35
|
-
> **Required:** Use BUSINESS LANGUAGE only.
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
# AgentFlow Definition
|
|
40
|
-
|
|
12
|
+
## AgentFlow Definition
|
|
41
13
|
<!-- @agentflow: SKILL.xml -->
|
|
42
|
-
|
|
43
|
-
>
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
# Output Checklist
|
|
48
|
-
|
|
49
|
-
- [ ] Both prerequisite files verified
|
|
50
|
-
- [ ] PRD template loaded
|
|
51
|
-
- [ ] PRD structure determined (Single vs Master-Sub)
|
|
52
|
-
- [ ] All sections filled with business language only
|
|
53
|
-
- [ ] Feature Breakdown extracted with appropriate granularity
|
|
54
|
-
- [ ] Task granularity checked (completable in one iteration)
|
|
55
|
-
- [ ] File list confirmed with user
|
|
56
|
-
- [ ] Master PRD written to correct path
|
|
57
|
-
- [ ] [Master-Sub] Dispatch Plan generated
|
|
58
|
-
- [ ] [Master-Sub] Returned control to PM Agent
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
# Constraints
|
|
63
|
-
|
|
64
|
-
**Must do:**
|
|
65
|
-
- Verify both prerequisite files exist before starting
|
|
66
|
-
- Use business language only in all PRD content
|
|
67
|
-
- Use `search_replace` for section filling (not `create_file`)
|
|
68
|
-
- Include Feature Breakdown in every PRD/Sub-PRD
|
|
69
|
-
- Pass control to PM Agent after dispatch plan
|
|
70
|
-
|
|
71
|
-
**Must not do:**
|
|
72
|
-
- Include technical implementation details
|
|
73
|
-
- Generate Sub-PRD files directly (dispatch plan only)
|
|
74
|
-
- Skip user confirmation for file list
|
|
75
|
-
- Proceed without prerequisite files
|
|
14
|
+
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: speccrew-workspace/docs/rules/agentflow-spec.md
|
|
15
|
+
> Then read and execute the XML workflow in SKILL.xml block-by-block as the authoritative execution plan.
|
|
@@ -1,107 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: speccrew-pm-requirement-assess
|
|
3
|
-
description: Quick impact assessment for new requirements. Analyzes affected modules, change type, risk level, and cross-module dependencies using system documentation and knowledge graph.
|
|
3
|
+
description: Quick impact assessment for new requirements. Analyzes affected modules, change type, risk level, and cross-module dependencies using system documentation and knowledge graph.
|
|
4
4
|
tools: Read, Glob, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
Guide PM Agent to quickly assess new requirements using system documentation, module knowledge, and knowledge graph.
|
|
10
|
-
|
|
11
|
-
## Trigger Scenarios
|
|
12
|
-
|
|
7
|
+
# Trigger Scenarios
|
|
13
8
|
- "Assess impact scope of new requirement"
|
|
14
9
|
- "Analyze which modules are affected by requirement"
|
|
15
|
-
- "Determine if requirement is new or modification"
|
|
16
10
|
- "Quick requirement assessment"
|
|
17
|
-
- "New requirement impact analysis"
|
|
18
|
-
- "How big is this requirement?"
|
|
19
|
-
|
|
20
|
-
## User
|
|
21
|
-
|
|
22
|
-
PM Agent (speccrew-product-manager)
|
|
23
|
-
|
|
24
|
-
## Input
|
|
25
|
-
|
|
26
|
-
- New requirement description
|
|
27
|
-
- system-overview.md (system documentation)
|
|
28
|
-
- Related {name}-overview.md files (if specific modules identified)
|
|
29
|
-
- Knowledge graph (for cross-module dependency analysis)
|
|
30
|
-
|
|
31
|
-
## Output
|
|
32
|
-
|
|
33
|
-
- Requirement assessment report with:
|
|
34
|
-
- Impact scope (modules affected, direct + indirect)
|
|
35
|
-
- Change type (New/Modify/Mixed/Cross-module/Config)
|
|
36
|
-
- Risk level with specific factors
|
|
37
|
-
- Recommended workflow path (simple PRD vs full ISA-95 modeling)
|
|
38
11
|
|
|
39
12
|
## AgentFlow Definition
|
|
40
|
-
|
|
41
13
|
<!-- @agentflow: SKILL.xml -->
|
|
42
|
-
|
|
43
|
-
>
|
|
44
|
-
|
|
45
|
-
## Assessment Report Template
|
|
46
|
-
|
|
47
|
-
```markdown
|
|
48
|
-
# Requirement Assessment Report
|
|
49
|
-
|
|
50
|
-
## Requirement Summary
|
|
51
|
-
- **Description**: [Brief description]
|
|
52
|
-
- **Source**: [Who requested / Which scenario]
|
|
53
|
-
|
|
54
|
-
## Assessment Result
|
|
55
|
-
|
|
56
|
-
### Change Type
|
|
57
|
-
[ ] New Feature [ ] Modification [ ] Mixed [ ] Cross-module [ ] Configuration
|
|
58
|
-
|
|
59
|
-
### Impact Scope
|
|
60
|
-
| Module | Impact Type | Evidence |
|
|
61
|
-
|--------|-------------|----------|
|
|
62
|
-
| {Module A} | Direct | [from system-overview / graph query] |
|
|
63
|
-
| {Module B} | Indirect | [upstream dependency via graph] |
|
|
64
|
-
|
|
65
|
-
### Risk Level
|
|
66
|
-
[ ] Low [ ] Medium [ ] High
|
|
67
|
-
|
|
68
|
-
**Risk Factors**:
|
|
69
|
-
- [List specific risks with evidence]
|
|
70
|
-
|
|
71
|
-
### Recommended Workflow
|
|
72
|
-
- [ ] Simple PRD (speccrew-pm-requirement-analysis, simple path)
|
|
73
|
-
- [ ] Full ISA-95 Modeling + PRD (speccrew-pm-requirement-analysis, complex path)
|
|
74
|
-
- [ ] Full ISA-95 Modeling + Master-Sub PRD (complex path, multi-module)
|
|
75
|
-
- [ ] Configuration change only
|
|
76
|
-
|
|
77
|
-
### Key Findings from Graph Analysis
|
|
78
|
-
- [Cross-module dependencies discovered]
|
|
79
|
-
- [Upstream/downstream impacts identified]
|
|
80
|
-
|
|
81
|
-
### Related Documentation
|
|
82
|
-
- [Links to relevant module docs and graph nodes]
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Quick Reference
|
|
86
|
-
|
|
87
|
-
### Change Type Quick Guide
|
|
88
|
-
|
|
89
|
-
| Scenario | Change Type | Example |
|
|
90
|
-
|----------|-------------|---------|
|
|
91
|
-
| New entity + new process | New Feature | Add "Refund" entity and refund process |
|
|
92
|
-
| Existing entity, new attribute | Modification | Add "priority" field to Order |
|
|
93
|
-
| Existing entity, new process step | Mixed | Add "approval" step to existing order flow |
|
|
94
|
-
| Changes module interface | Cross-module | Order module needs new API from Inventory |
|
|
95
|
-
| Toggle/feature flag | Configuration | Enable/disable feature per tenant |
|
|
96
|
-
|
|
97
|
-
## Checklist
|
|
98
|
-
|
|
99
|
-
- [ ] Requirement understood and categorized
|
|
100
|
-
- [ ] System overview and related module overviews loaded
|
|
101
|
-
- [ ] Knowledge graph queried for cross-module dependencies
|
|
102
|
-
- [ ] Change type determined
|
|
103
|
-
- [ ] Impact scope mapped (direct + indirect with graph evidence)
|
|
104
|
-
- [ ] Risk level assessed with specific factors
|
|
105
|
-
- [ ] Workflow path recommended
|
|
106
|
-
- [ ] Assessment report generated
|
|
107
|
-
|
|
14
|
+
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: speccrew-workspace/docs/rules/agentflow-spec.md
|
|
15
|
+
> Then read and execute the XML workflow in SKILL.xml block-by-block as the authoritative execution plan.
|
|
@@ -4,139 +4,12 @@ description: SpecCrew PM Requirement Clarification Skill. Dual-mode support (sim
|
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
Requirement clarification with dual-mode support. Produces `.clarification-summary.md` as the interface contract.
|
|
10
|
-
|
|
11
|
-
## Trigger Scenarios
|
|
12
|
-
|
|
7
|
+
# Trigger Scenarios
|
|
13
8
|
- User provides initial requirement description
|
|
14
9
|
- PM Agent needs to clarify before PRD generation
|
|
15
10
|
- Requirement complexity assessment needed
|
|
16
11
|
|
|
17
|
-
##
|
|
18
|
-
|
|
19
|
-
| Parameter | Type | Required | Description |
|
|
20
|
-
|-----------|------|----------|-------------|
|
|
21
|
-
| `requirement_file` | string | Yes | Path to requirement document |
|
|
22
|
-
| `iteration_path` | string | Yes | Path to iteration directory |
|
|
23
|
-
| `complexity_hint` | enum | No | `simple` or `complex`. Auto-detect if not provided |
|
|
24
|
-
| `max_clarification_rounds` | number | No | Maximum clarification rounds (default: 5) |
|
|
25
|
-
|
|
26
|
-
## Methodology Foundation
|
|
27
|
-
|
|
28
|
-
Applies ISA-95 Stage 1 (Domain Description) for clarification:
|
|
29
|
-
- Define domain boundary, participants, glossary
|
|
30
|
-
- Results flow into `.clarification-summary.md` only
|
|
31
|
-
|
|
32
|
-
## PM Stage Content Boundary
|
|
33
|
-
|
|
34
|
-
> **DO NOT include:** API definitions, DB structures, code snippets, technical terminology. These belong to Feature Designer or System Designer.
|
|
35
|
-
|
|
36
|
-
## Templates Used
|
|
37
|
-
|
|
38
|
-
| Template | Path | When to Load | Purpose |
|
|
39
|
-
|----------|------|-------------|----------|
|
|
40
|
-
| Clarification Questions | `templates/CLARIFICATION-QUESTIONS-TEMPLATE.md` | **Inside Loop L1** (each round) | Round-based questionnaire for user clarification |
|
|
41
|
-
| Clarification Summary | `templates/CLARIFICATION-SUMMARY-TEMPLATE.md` | **After G3 guard passes** (sufficiency_checks_passed == true) | Final summary document with all Q&A and decisions |
|
|
42
|
-
|
|
43
|
-
> **CRITICAL**: These two templates are used in **separate phases**. NEVER load both templates at the same time.
|
|
44
|
-
> - During the clarification loop: ONLY load `CLARIFICATION-QUESTIONS-TEMPLATE.md`
|
|
45
|
-
> - After ALL sufficiency checks pass: ONLY then load `CLARIFICATION-SUMMARY-TEMPLATE.md`
|
|
46
|
-
|
|
47
|
-
## Execution Flow (MANDATORY sequence)
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
Step 1: Read requirement document
|
|
51
|
-
Step 2: Read system knowledge (if exists)
|
|
52
|
-
Step 3: Determine complexity mode (simple/complex/auto-detect)
|
|
53
|
-
Step 4: Initialize loop variables
|
|
54
|
-
Step 5: Clarification Loop (both simple and complex modes):
|
|
55
|
-
5a. Load CLARIFICATION-QUESTIONS-TEMPLATE.md (ONLY this template)
|
|
56
|
-
5b. Generate .clarification-questions-round-{N}.md from template
|
|
57
|
-
5c. *** HARD STOP *** Wait for user to answer questions (user-confirm event)
|
|
58
|
-
5d. Read user's answered questions file
|
|
59
|
-
5e. Perform sufficiency checks (MUST have real user answers)
|
|
60
|
-
5f. If checks fail and rounds remain → back to 5a
|
|
61
|
-
5g. If checks pass → exit loop
|
|
62
|
-
Step 6: Guard Gateway G3 (sufficiency_checks_passed == true required)
|
|
63
|
-
6a. Load CLARIFICATION-SUMMARY-TEMPLATE.md (ONLY now)
|
|
64
|
-
6b. Generate .clarification-summary.md from template
|
|
65
|
-
6c. Checkpoint: clarification complete
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
> **FORBIDDEN**: Skipping Step 5c (user-confirm), loading summary template during Step 5, or generating summary without user answers.
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
# AgentFlow Definition
|
|
73
|
-
|
|
12
|
+
## AgentFlow Definition
|
|
74
13
|
<!-- @agentflow: SKILL.xml -->
|
|
75
|
-
|
|
76
|
-
>
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
# Output Checklist
|
|
81
|
-
|
|
82
|
-
- [ ] Requirement document loaded
|
|
83
|
-
- [ ] System knowledge loaded (if exists)
|
|
84
|
-
- [ ] Complexity mode determined
|
|
85
|
-
- [ ] Loop variables initialized (`sufficiency_checks_passed`, `round_number`)
|
|
86
|
-
- [ ] Clarification conducted (appropriate mode)
|
|
87
|
-
- [ ] Multi-round clarification executed until ALL 4 Sufficiency Checks pass
|
|
88
|
-
- [ ] Each round generates `.clarification-questions-round-{N}.md`
|
|
89
|
-
- [ ] Round counter incremented after each iteration
|
|
90
|
-
- [ ] Maximum 5 rounds enforced (safety valve)
|
|
91
|
-
- [ ] `.clarification-summary.md` created from template
|
|
92
|
-
- [ ] `.checkpoints.json` initialized via script
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
# Constraints
|
|
97
|
-
|
|
98
|
-
**Must do:**
|
|
99
|
-
- Always perform at least 1 clarification round
|
|
100
|
-
- **MANDATORY**: Execute multiple rounds until ALL 4 sufficiency checks pass
|
|
101
|
-
- Use file-based for complex mode or 4+ questions
|
|
102
|
-
- Pass all 4 Sufficiency Checks
|
|
103
|
-
- Generate `.clarification-questions-round-{N}.md` for each round
|
|
104
|
-
- Update `sufficiency_checks_passed` variable after each sufficiency check
|
|
105
|
-
- Increment `round_number` after each round
|
|
106
|
-
- Maximum 5 rounds allowed (safety valve)
|
|
107
|
-
- Use `update-progress.js` for JSON files
|
|
108
|
-
- After completion, return control to PM Agent for user confirmation — DO NOT auto-proceed to PRD generation
|
|
109
|
-
|
|
110
|
-
**Must not do:**
|
|
111
|
-
- Skip clarification based on urgency
|
|
112
|
-
- Use chat for complex requirements
|
|
113
|
-
- Manually write JSON files
|
|
114
|
-
- Auto-proceed to Phase 4 (PRD generation) without PM Agent's user confirmation gate
|
|
115
|
-
- Auto-pass sufficiency checks without actual user answers
|
|
116
|
-
- **Checkpoint management is FORBIDDEN in this Skill**
|
|
117
|
-
- MUST NOT create, write, or modify `.checkpoints.json` or any checkpoint files
|
|
118
|
-
- Checkpoint write operations are the responsibility of the orchestration layer (PM Agent)
|
|
119
|
-
- After this Skill completes, PM Agent writes checkpoints ONLY after user confirmation is received
|
|
120
|
-
|
|
121
|
-
### MANDATORY: User Answer Verification Rule
|
|
122
|
-
|
|
123
|
-
- Worker MUST NOT auto-pass sufficiency checks without actual user answers
|
|
124
|
-
- Each clarification round MUST wait for user to fill in answers before proceeding
|
|
125
|
-
- Checkpoint writing is FORBIDDEN in this Skill — checkpoints are managed by the orchestration layer
|
|
126
|
-
- The sufficiency check result is ONLY valid when based on real user-provided answers
|
|
127
|
-
|
|
128
|
-
### CRITICAL: User Confirmation Event Enforcement
|
|
129
|
-
|
|
130
|
-
1. **Event Block = Hard Stop**: Each `<block type="event" action="user-confirm">` (E-ROUND-CONFIRM) MUST trigger a pause. Worker MUST NOT proceed until user provides explicit confirmation.
|
|
131
|
-
2. **No "Automated Scenario" Bypass**: Even in automated dispatch mode (speccrew-task-worker), `user-confirm` events override Worker autonomy. These are explicit user interaction gates, NOT internal automation points.
|
|
132
|
-
3. **Template-Based Generation Only**: All clarification question files (`.clarification-questions-round-{N}.md`) MUST be generated using the loaded template (CLARIFICATION-QUESTIONS-TEMPLATE.md) with variable substitution. Freeform generation is FORBIDDEN.
|
|
133
|
-
4. **Template-Based Summary Only**: The `.clarification-summary.md` MUST be generated using CLARIFICATION-SUMMARY-TEMPLATE.md with variable substitution. Freeform generation is FORBIDDEN.
|
|
134
|
-
|
|
135
|
-
### CRITICAL: Summary Generation Guard
|
|
136
|
-
|
|
137
|
-
Worker MUST strictly enforce the following before generating `.clarification-summary.md`:
|
|
138
|
-
|
|
139
|
-
1. **Guard Check**: `sufficiency_checks_passed` MUST be `true` before proceeding to summary generation
|
|
140
|
-
2. **Event Block Execution**: When encountering `user-confirm` event blocks (E-ROUND-CONFIRM), Worker MUST pause and wait for user confirmation. Worker MUST NOT auto-confirm or skip.
|
|
141
|
-
3. **Variable State Verification**: After loop L1 exits, verify `sufficiency_checks_passed == true`. If false, do NOT generate summary — report error and exit.
|
|
142
|
-
4. **FORBIDDEN**: Generating `.clarification-summary.md` when user has not answered clarification questions is a CRITICAL workflow violation.
|
|
14
|
+
> **REQUIRED**: Before executing this workflow, read the XML workflow specification: speccrew-workspace/docs/rules/agentflow-spec.md
|
|
15
|
+
> Then read and execute the XML workflow in SKILL.xml block-by-block as the authoritative execution plan.
|