smart-spec-kit-mcp 2.0.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/README.md +262 -0
- package/dist/engine/sessionManager.d.ts +137 -0
- package/dist/engine/sessionManager.d.ts.map +1 -0
- package/dist/engine/sessionManager.js +128 -0
- package/dist/engine/sessionManager.js.map +1 -0
- package/dist/engine/workflowEngine.d.ts +57 -0
- package/dist/engine/workflowEngine.d.ts.map +1 -0
- package/dist/engine/workflowEngine.js +400 -0
- package/dist/engine/workflowEngine.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +122 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/agents.d.ts +61 -0
- package/dist/prompts/agents.d.ts.map +1 -0
- package/dist/prompts/agents.js +236 -0
- package/dist/prompts/agents.js.map +1 -0
- package/dist/schemas/workflowSchema.d.ts +70 -0
- package/dist/schemas/workflowSchema.d.ts.map +1 -0
- package/dist/schemas/workflowSchema.js +42 -0
- package/dist/schemas/workflowSchema.js.map +1 -0
- package/dist/tools/agentTools.d.ts +11 -0
- package/dist/tools/agentTools.d.ts.map +1 -0
- package/dist/tools/agentTools.js +119 -0
- package/dist/tools/agentTools.js.map +1 -0
- package/dist/tools/orchestrationTools.d.ts +12 -0
- package/dist/tools/orchestrationTools.d.ts.map +1 -0
- package/dist/tools/orchestrationTools.js +375 -0
- package/dist/tools/orchestrationTools.js.map +1 -0
- package/dist/tools/workflowTools.d.ts +11 -0
- package/dist/tools/workflowTools.d.ts.map +1 -0
- package/dist/tools/workflowTools.js +236 -0
- package/dist/tools/workflowTools.js.map +1 -0
- package/dist/utils/markdownGenerator.d.ts +70 -0
- package/dist/utils/markdownGenerator.d.ts.map +1 -0
- package/dist/utils/markdownGenerator.js +206 -0
- package/dist/utils/markdownGenerator.js.map +1 -0
- package/dist/utils/vsCodeConfigGenerator.d.ts +32 -0
- package/dist/utils/vsCodeConfigGenerator.d.ts.map +1 -0
- package/dist/utils/vsCodeConfigGenerator.js +88 -0
- package/dist/utils/vsCodeConfigGenerator.js.map +1 -0
- package/dist/utils/workflowLoader.d.ts +99 -0
- package/dist/utils/workflowLoader.d.ts.map +1 -0
- package/dist/utils/workflowLoader.js +281 -0
- package/dist/utils/workflowLoader.js.map +1 -0
- package/package.json +61 -0
- package/templates/bugfix-report.md +184 -0
- package/templates/functional-spec.md +191 -0
- package/workflows/bugfix.yaml +99 -0
- package/workflows/feature-full.yaml +344 -0
- package/workflows/feature-standard.yaml +92 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Feature Standard Workflow
|
|
2
|
+
# Used for creating functional specifications from Azure DevOps Feature work items
|
|
3
|
+
|
|
4
|
+
name: feature-standard
|
|
5
|
+
displayName: "Feature Specification"
|
|
6
|
+
description: "Creates a complete functional specification document from an Azure DevOps Feature work item"
|
|
7
|
+
|
|
8
|
+
metadata:
|
|
9
|
+
version: "1.0"
|
|
10
|
+
author: "Spec-Kit"
|
|
11
|
+
tags:
|
|
12
|
+
- feature
|
|
13
|
+
- specification
|
|
14
|
+
- functional
|
|
15
|
+
|
|
16
|
+
template: functional-spec.md
|
|
17
|
+
defaultAgent: SpecAgent
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- id: fetch-workitem
|
|
21
|
+
name: "Fetch Azure DevOps Work Item"
|
|
22
|
+
action: fetch_ado
|
|
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"
|
|
32
|
+
action: call_agent
|
|
33
|
+
agent: SpecAgent
|
|
34
|
+
description: |
|
|
35
|
+
Analyze the work item data to identify:
|
|
36
|
+
- Core functional requirements
|
|
37
|
+
- Non-functional requirements (performance, security, etc.)
|
|
38
|
+
- User personas and use cases
|
|
39
|
+
- Dependencies and constraints
|
|
40
|
+
- Risks and assumptions
|
|
41
|
+
inputs:
|
|
42
|
+
source: "workitem_data"
|
|
43
|
+
outputs:
|
|
44
|
+
- requirements_analysis
|
|
45
|
+
|
|
46
|
+
- id: generate-spec
|
|
47
|
+
name: "Generate Specification Document"
|
|
48
|
+
action: generate_content
|
|
49
|
+
agent: SpecAgent
|
|
50
|
+
description: |
|
|
51
|
+
Using the template and analyzed requirements, generate the functional specification.
|
|
52
|
+
|
|
53
|
+
Guidelines:
|
|
54
|
+
- Fill all sections with available data
|
|
55
|
+
- Mark unclear sections with [TO FILL] for human review
|
|
56
|
+
- Include traceability links to Azure DevOps
|
|
57
|
+
- Follow the template structure strictly
|
|
58
|
+
inputs:
|
|
59
|
+
template: "functional-spec.md"
|
|
60
|
+
data: "requirements_analysis"
|
|
61
|
+
outputs:
|
|
62
|
+
- spec_document
|
|
63
|
+
|
|
64
|
+
- id: review-spec
|
|
65
|
+
name: "Review & Validate"
|
|
66
|
+
action: review
|
|
67
|
+
agent: GovAgent
|
|
68
|
+
description: |
|
|
69
|
+
Review the generated specification for:
|
|
70
|
+
- Completeness (all required sections filled)
|
|
71
|
+
- Consistency (no contradictions)
|
|
72
|
+
- Clarity (understandable by all stakeholders)
|
|
73
|
+
- Traceability (links to source requirements)
|
|
74
|
+
|
|
75
|
+
Suggest improvements if needed.
|
|
76
|
+
inputs:
|
|
77
|
+
document: "spec_document"
|
|
78
|
+
outputs:
|
|
79
|
+
- review_feedback
|
|
80
|
+
- validated_spec
|
|
81
|
+
|
|
82
|
+
- id: create-file
|
|
83
|
+
name: "Save Specification"
|
|
84
|
+
action: create_file
|
|
85
|
+
description: |
|
|
86
|
+
Save the validated specification as a Markdown file.
|
|
87
|
+
Suggested location: `specs/{workitem_id}-functional-spec.md`
|
|
88
|
+
inputs:
|
|
89
|
+
content: "validated_spec"
|
|
90
|
+
filename_pattern: "{context_id}-functional-spec.md"
|
|
91
|
+
outputs:
|
|
92
|
+
- file_path
|