smart-spec-kit-mcp 2.2.7 → 2.2.9
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/README.md +2 -0
- package/TROUBLESHOOTING.md +121 -0
- package/dist/tools/promptTools.d.ts.map +1 -1
- package/dist/tools/promptTools.js +154 -0
- package/dist/tools/promptTools.js.map +1 -1
- package/docs/DOCUMENTATION.md +82 -0
- package/package.json +3 -5
- package/starter-kit/copilot-instructions.md +21 -24
- package/starter-kit/github-prompts/speckit.help.prompt.md +50 -23
- package/starter-kit/github-prompts/speckit.workflow.prompt.md +48 -0
- package/starter-kit/workflows/feature-full.yaml +87 -262
- package/starter-kit/workflows/feature-standard.yaml +62 -58
|
@@ -1,92 +1,96 @@
|
|
|
1
1
|
# Feature Standard Workflow
|
|
2
|
-
#
|
|
2
|
+
# Standard workflow: spec → plan → tasks → implement
|
|
3
3
|
|
|
4
4
|
name: feature-standard
|
|
5
|
-
displayName: "Feature
|
|
6
|
-
description: "
|
|
5
|
+
displayName: "Standard Feature"
|
|
6
|
+
description: "Standard feature workflow: specification → plan → tasks → implementation"
|
|
7
7
|
|
|
8
8
|
metadata:
|
|
9
|
-
version: "
|
|
9
|
+
version: "2.0"
|
|
10
10
|
author: "Spec-Kit"
|
|
11
11
|
tags:
|
|
12
12
|
- feature
|
|
13
13
|
- specification
|
|
14
|
-
-
|
|
14
|
+
- standard
|
|
15
15
|
|
|
16
16
|
template: functional-spec.md
|
|
17
17
|
defaultAgent: SpecAgent
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
description: |
|
|
24
|
-
Retrieve the Feature work item from Azure DevOps.
|
|
25
|
-
Extract: Title, Description, Acceptance Criteria, Tags, Links, and Parent/Child relationships.
|
|
26
|
-
outputs:
|
|
27
|
-
- workitem_data
|
|
28
|
-
- linked_items
|
|
29
|
-
|
|
30
|
-
- id: analyze-requirements
|
|
31
|
-
name: "Analyze Requirements"
|
|
20
|
+
# Step 1: Create Specification
|
|
21
|
+
- id: create-spec
|
|
22
|
+
name: "1. Create Specification"
|
|
32
23
|
action: call_agent
|
|
33
24
|
agent: SpecAgent
|
|
34
25
|
description: |
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-
|
|
26
|
+
Create a functional specification based on user requirements.
|
|
27
|
+
|
|
28
|
+
Include:
|
|
29
|
+
- Feature summary and objectives
|
|
30
|
+
- User stories with acceptance criteria
|
|
31
|
+
- Functional requirements
|
|
32
|
+
- Non-functional requirements (if applicable)
|
|
39
33
|
- Dependencies and constraints
|
|
40
|
-
|
|
34
|
+
|
|
35
|
+
Mark unclear sections with [NEEDS CLARIFICATION] for review.
|
|
41
36
|
inputs:
|
|
42
|
-
|
|
37
|
+
- name: requirements
|
|
38
|
+
description: "Feature description from user"
|
|
39
|
+
required: true
|
|
43
40
|
outputs:
|
|
44
|
-
-
|
|
41
|
+
- spec_document
|
|
45
42
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
# Step 2: Create Implementation Plan
|
|
44
|
+
- id: create-plan
|
|
45
|
+
name: "2. Create Implementation Plan"
|
|
46
|
+
action: call_agent
|
|
47
|
+
agent: PlanAgent
|
|
50
48
|
description: |
|
|
51
|
-
|
|
49
|
+
Create a detailed implementation plan based on the specification.
|
|
52
50
|
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
51
|
+
Include:
|
|
52
|
+
- Technical approach
|
|
53
|
+
- Components to create/modify
|
|
54
|
+
- Dependencies and order
|
|
55
|
+
- Risk assessment
|
|
56
|
+
- Estimated effort
|
|
58
57
|
inputs:
|
|
59
|
-
|
|
60
|
-
data: "requirements_analysis"
|
|
58
|
+
source: "spec_document"
|
|
61
59
|
outputs:
|
|
62
|
-
-
|
|
60
|
+
- plan_document
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
# Step 3: Generate Task Breakdown
|
|
63
|
+
- id: generate-tasks
|
|
64
|
+
name: "3. Generate Tasks"
|
|
65
|
+
action: call_agent
|
|
66
|
+
agent: PlanAgent
|
|
68
67
|
description: |
|
|
69
|
-
|
|
70
|
-
- Completeness (all required sections filled)
|
|
71
|
-
- Consistency (no contradictions)
|
|
72
|
-
- Clarity (understandable by all stakeholders)
|
|
73
|
-
- Traceability (links to source requirements)
|
|
68
|
+
Break down the plan into atomic, actionable tasks.
|
|
74
69
|
|
|
75
|
-
|
|
70
|
+
Each task should:
|
|
71
|
+
- Be completable in 1-2 hours
|
|
72
|
+
- Have clear acceptance criteria
|
|
73
|
+
- Be independent when possible
|
|
74
|
+
- Include file paths if known
|
|
76
75
|
inputs:
|
|
77
|
-
|
|
76
|
+
source: "plan_document"
|
|
78
77
|
outputs:
|
|
79
|
-
-
|
|
80
|
-
- validated_spec
|
|
78
|
+
- tasks_document
|
|
81
79
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
# Step 4: Implement
|
|
81
|
+
- id: implement
|
|
82
|
+
name: "4. Implement"
|
|
83
|
+
action: call_agent
|
|
84
|
+
agent: SpecAgent
|
|
85
85
|
description: |
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
Implement the tasks one by one.
|
|
87
|
+
|
|
88
|
+
For each task:
|
|
89
|
+
- Read the task description
|
|
90
|
+
- Implement following project conventions
|
|
91
|
+
- Update task status when complete
|
|
92
|
+
- Proceed to next task
|
|
88
93
|
inputs:
|
|
89
|
-
|
|
90
|
-
filename_pattern: "{context_id}-functional-spec.md"
|
|
94
|
+
source: "tasks_document"
|
|
91
95
|
outputs:
|
|
92
|
-
-
|
|
96
|
+
- implementation
|