@codemcp/workflows 6.0.1 → 6.0.2

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.
Files changed (135) hide show
  1. package/package.json +3 -2
  2. package/packages/cli/package.json +1 -1
  3. package/packages/cli/resources/agents/architect.yaml +61 -0
  4. package/packages/cli/resources/agents/business-analyst.yaml +60 -0
  5. package/packages/cli/resources/agents/developer.yaml +61 -0
  6. package/packages/cli/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
  7. package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
  8. package/packages/cli/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
  9. package/packages/cli/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
  10. package/packages/cli/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
  11. package/packages/cli/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
  12. package/packages/cli/resources/templates/architecture/c4.md +224 -0
  13. package/packages/cli/resources/templates/architecture/freestyle.md +53 -0
  14. package/packages/cli/resources/templates/architecture/game.md +250 -0
  15. package/packages/cli/resources/templates/architecture/none.md +17 -0
  16. package/packages/cli/resources/templates/design/comprehensive.md +207 -0
  17. package/packages/cli/resources/templates/design/freestyle.md +37 -0
  18. package/packages/cli/resources/templates/design/game.md +66 -0
  19. package/packages/cli/resources/templates/design/none.md +17 -0
  20. package/packages/cli/resources/templates/requirements/ears.md +90 -0
  21. package/packages/cli/resources/templates/requirements/freestyle.md +42 -0
  22. package/packages/cli/resources/templates/requirements/game.md +162 -0
  23. package/packages/cli/resources/templates/requirements/none.md +17 -0
  24. package/packages/cli/resources/templates/skills/POWER.md +23 -0
  25. package/packages/cli/resources/templates/skills/SKILL.md +19 -0
  26. package/packages/cli/resources/workflows/adr.yaml +157 -0
  27. package/packages/cli/resources/workflows/big-bang-conversion.yaml +592 -0
  28. package/packages/cli/resources/workflows/boundary-testing.yaml +376 -0
  29. package/packages/cli/resources/workflows/bugfix.yaml +177 -0
  30. package/packages/cli/resources/workflows/business-analysis.yaml +597 -0
  31. package/packages/cli/resources/workflows/c4-analysis.yaml +471 -0
  32. package/packages/cli/resources/workflows/epcc.yaml +183 -0
  33. package/packages/cli/resources/workflows/game-beginner.yaml +434 -0
  34. package/packages/cli/resources/workflows/greenfield.yaml +201 -0
  35. package/packages/cli/resources/workflows/minor.yaml +138 -0
  36. package/packages/cli/resources/workflows/posts.yaml +193 -0
  37. package/packages/cli/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
  38. package/packages/cli/resources/workflows/sdd-bugfix.yaml +381 -0
  39. package/packages/cli/resources/workflows/sdd-feature-crowd.yaml +713 -0
  40. package/packages/cli/resources/workflows/sdd-feature.yaml +471 -0
  41. package/packages/cli/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
  42. package/packages/cli/resources/workflows/sdd-greenfield.yaml +463 -0
  43. package/packages/cli/resources/workflows/slides.yaml +237 -0
  44. package/packages/cli/resources/workflows/tdd.yaml +160 -0
  45. package/packages/cli/resources/workflows/waterfall.yaml +209 -0
  46. package/packages/core/package.json +1 -1
  47. package/packages/core/resources/agents/architect.yaml +61 -0
  48. package/packages/core/resources/agents/business-analyst.yaml +60 -0
  49. package/packages/core/resources/agents/developer.yaml +61 -0
  50. package/packages/core/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
  51. package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
  52. package/packages/core/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
  53. package/packages/core/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
  54. package/packages/core/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
  55. package/packages/core/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
  56. package/packages/core/resources/templates/architecture/c4.md +224 -0
  57. package/packages/core/resources/templates/architecture/freestyle.md +53 -0
  58. package/packages/core/resources/templates/architecture/game.md +250 -0
  59. package/packages/core/resources/templates/architecture/none.md +17 -0
  60. package/packages/core/resources/templates/design/comprehensive.md +207 -0
  61. package/packages/core/resources/templates/design/freestyle.md +37 -0
  62. package/packages/core/resources/templates/design/game.md +66 -0
  63. package/packages/core/resources/templates/design/none.md +17 -0
  64. package/packages/core/resources/templates/requirements/ears.md +90 -0
  65. package/packages/core/resources/templates/requirements/freestyle.md +42 -0
  66. package/packages/core/resources/templates/requirements/game.md +162 -0
  67. package/packages/core/resources/templates/requirements/none.md +17 -0
  68. package/packages/core/resources/templates/skills/POWER.md +23 -0
  69. package/packages/core/resources/templates/skills/SKILL.md +19 -0
  70. package/packages/core/resources/workflows/adr.yaml +157 -0
  71. package/packages/core/resources/workflows/big-bang-conversion.yaml +592 -0
  72. package/packages/core/resources/workflows/boundary-testing.yaml +376 -0
  73. package/packages/core/resources/workflows/bugfix.yaml +177 -0
  74. package/packages/core/resources/workflows/business-analysis.yaml +597 -0
  75. package/packages/core/resources/workflows/c4-analysis.yaml +471 -0
  76. package/packages/core/resources/workflows/epcc.yaml +183 -0
  77. package/packages/core/resources/workflows/game-beginner.yaml +434 -0
  78. package/packages/core/resources/workflows/greenfield.yaml +201 -0
  79. package/packages/core/resources/workflows/minor.yaml +138 -0
  80. package/packages/core/resources/workflows/posts.yaml +193 -0
  81. package/packages/core/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
  82. package/packages/core/resources/workflows/sdd-bugfix.yaml +381 -0
  83. package/packages/core/resources/workflows/sdd-feature-crowd.yaml +713 -0
  84. package/packages/core/resources/workflows/sdd-feature.yaml +471 -0
  85. package/packages/core/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
  86. package/packages/core/resources/workflows/sdd-greenfield.yaml +463 -0
  87. package/packages/core/resources/workflows/slides.yaml +237 -0
  88. package/packages/core/resources/workflows/tdd.yaml +160 -0
  89. package/packages/core/resources/workflows/waterfall.yaml +209 -0
  90. package/packages/docs/package.json +1 -1
  91. package/packages/mcp-server/package.json +1 -1
  92. package/packages/mcp-server/resources/agents/architect.yaml +61 -0
  93. package/packages/mcp-server/resources/agents/business-analyst.yaml +60 -0
  94. package/packages/mcp-server/resources/agents/developer.yaml +61 -0
  95. package/packages/mcp-server/resources/templates/architecture/arc42/arc42-template-EN.md +1077 -0
  96. package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio-2023.png +0 -0
  97. package/packages/mcp-server/resources/templates/architecture/arc42/images/01_2_iso-25010-topics-EN.drawio.png +0 -0
  98. package/packages/mcp-server/resources/templates/architecture/arc42/images/05_building_blocks-EN.png +0 -0
  99. package/packages/mcp-server/resources/templates/architecture/arc42/images/08-concepts-EN.drawio.png +0 -0
  100. package/packages/mcp-server/resources/templates/architecture/arc42/images/arc42-logo.png +0 -0
  101. package/packages/mcp-server/resources/templates/architecture/c4.md +224 -0
  102. package/packages/mcp-server/resources/templates/architecture/freestyle.md +53 -0
  103. package/packages/mcp-server/resources/templates/architecture/game.md +250 -0
  104. package/packages/mcp-server/resources/templates/architecture/none.md +17 -0
  105. package/packages/mcp-server/resources/templates/design/comprehensive.md +207 -0
  106. package/packages/mcp-server/resources/templates/design/freestyle.md +37 -0
  107. package/packages/mcp-server/resources/templates/design/game.md +66 -0
  108. package/packages/mcp-server/resources/templates/design/none.md +17 -0
  109. package/packages/mcp-server/resources/templates/requirements/ears.md +90 -0
  110. package/packages/mcp-server/resources/templates/requirements/freestyle.md +42 -0
  111. package/packages/mcp-server/resources/templates/requirements/game.md +162 -0
  112. package/packages/mcp-server/resources/templates/requirements/none.md +17 -0
  113. package/packages/mcp-server/resources/templates/skills/POWER.md +23 -0
  114. package/packages/mcp-server/resources/templates/skills/SKILL.md +19 -0
  115. package/packages/mcp-server/resources/workflows/adr.yaml +157 -0
  116. package/packages/mcp-server/resources/workflows/big-bang-conversion.yaml +592 -0
  117. package/packages/mcp-server/resources/workflows/boundary-testing.yaml +376 -0
  118. package/packages/mcp-server/resources/workflows/bugfix.yaml +177 -0
  119. package/packages/mcp-server/resources/workflows/business-analysis.yaml +597 -0
  120. package/packages/mcp-server/resources/workflows/c4-analysis.yaml +471 -0
  121. package/packages/mcp-server/resources/workflows/epcc.yaml +183 -0
  122. package/packages/mcp-server/resources/workflows/game-beginner.yaml +434 -0
  123. package/packages/mcp-server/resources/workflows/greenfield.yaml +201 -0
  124. package/packages/mcp-server/resources/workflows/minor.yaml +138 -0
  125. package/packages/mcp-server/resources/workflows/posts.yaml +193 -0
  126. package/packages/mcp-server/resources/workflows/sdd-bugfix-crowd.yaml +608 -0
  127. package/packages/mcp-server/resources/workflows/sdd-bugfix.yaml +381 -0
  128. package/packages/mcp-server/resources/workflows/sdd-feature-crowd.yaml +713 -0
  129. package/packages/mcp-server/resources/workflows/sdd-feature.yaml +471 -0
  130. package/packages/mcp-server/resources/workflows/sdd-greenfield-crowd.yaml +336 -0
  131. package/packages/mcp-server/resources/workflows/sdd-greenfield.yaml +463 -0
  132. package/packages/mcp-server/resources/workflows/slides.yaml +237 -0
  133. package/packages/mcp-server/resources/workflows/tdd.yaml +160 -0
  134. package/packages/mcp-server/resources/workflows/waterfall.yaml +209 -0
  135. package/packages/visualizer/package.json +1 -1
@@ -0,0 +1,336 @@
1
+ # yaml-language-server: $schema=../../state-machine-schema.json
2
+ ---
3
+ name: 'sdd-greenfield-crowd'
4
+ description: 'Collaborative greenfield project development: Team establishes constitution → Business Analyst specifies → Architect plans → Developer implements → Team documents'
5
+ initial_state: 'constitution'
6
+
7
+ # Enhanced metadata for better discoverability
8
+ metadata:
9
+ domain: 'sdd-crowd'
10
+ complexity: 'high'
11
+ collaboration: true
12
+ requiredRoles:
13
+ - business-analyst
14
+ - architect
15
+ - developer
16
+ bestFor:
17
+ - 'Team-based new projects from scratch'
18
+ - 'Collaborative greenfield development'
19
+ - 'Complex system design with specialized roles'
20
+ useCases:
21
+ - 'Team builds new application from scratch'
22
+ - 'Collaborative creation of new service'
23
+ examples:
24
+ - 'Team builds new web application'
25
+ - 'Collaborative microservice architecture creation'
26
+
27
+ # States with default instructions and role-specific transitions
28
+ states:
29
+ constitution:
30
+ description: 'Establish constitutional framework and project governance'
31
+ default_instructions: |
32
+ **Team Collaboration Mode**
33
+
34
+ You are `$VIBE_ROLE` working in a collaborative team starting a new project.
35
+
36
+ All team members collaborate on establishing project principles.
37
+
38
+ transitions:
39
+ # All agents participate in constitution (no single responsible agent)
40
+ # Architect typically leads this as it's about technical governance
41
+ - trigger: 'constitution_established'
42
+ to: 'specify'
43
+ role: architect
44
+ transition_reason: 'Constitutional framework established, moving to specification'
45
+ additional_instructions: |
46
+ **STEP 1: Lead the constitutional framework**
47
+
48
+ Work with the full team to establish core principles.
49
+
50
+ **STEP 2: Create constitutional documentation**
51
+
52
+ - Create `constitution.md` in project root
53
+ - Define core principles for the project
54
+ - Establish quality gates and governance
55
+
56
+ **STEP 3: Collaborate with team members**
57
+
58
+ - Send message to business-analyst: "What are the key business principles?"
59
+ - Send message to developer: "What are essential development practices?"
60
+ - Build consensus on project values
61
+
62
+ **STEP 4: Document template sections**
63
+
64
+ - Core Principles (Specifications First, User Value, Simplicity, etc.)
65
+ - Quality Gates
66
+ - Governance
67
+
68
+ **STEP 5: Hand off to Business-Analyst**
69
+
70
+ - Send message to business-analyst: "Constitution established. Please take the lead for specification phase."
71
+ - Send message to developer: "Constitution ready, specification will begin next"
72
+ - Send message to operator: "Constitution complete, handing off to business-analyst"
73
+ - Call `proceed_to_phase`
74
+
75
+ - trigger: 'constitution_established'
76
+ to: 'specify'
77
+ role: business-analyst
78
+ transition_reason: 'Constitutional framework established, preparing to specify'
79
+ additional_instructions: |
80
+ **Contribute to the constitutional framework**
81
+
82
+ Work with architect to establish project principles.
83
+
84
+ **Business value contributions:**
85
+
86
+ - Provide input on business values and user-centric principles
87
+ - Suggest quality standards for specifications
88
+ - Define what "done" means from business perspective
89
+
90
+ **Next phase:**
91
+
92
+ - When constitution is complete, you become RESPONSIBLE
93
+ - You will take the lead in specify phase
94
+ - Prepare to create the feature specification
95
+
96
+ - trigger: 'constitution_established'
97
+ to: 'specify'
98
+ role: developer
99
+ transition_reason: 'Constitutional framework established, transitioning to specification'
100
+ additional_instructions: |
101
+ **Contribute to the constitutional framework**
102
+
103
+ Work with architect to establish project principles.
104
+
105
+ **Development contributions:**
106
+
107
+ - Provide input on code quality and maintainability principles
108
+ - Suggest development and testing practices
109
+ - Share experience with what works in practice
110
+
111
+ specify:
112
+ description: 'Create comprehensive feature specification'
113
+ default_instructions: |
114
+ **Team Collaboration Mode**
115
+
116
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
117
+
118
+ Business-analyst is responsible. Architect and developer are consulted.
119
+
120
+ transitions:
121
+ # Business Analyst is RESPONSIBLE for specify phase
122
+ - trigger: 'specification_complete'
123
+ to: 'plan'
124
+ role: business-analyst
125
+ transition_reason: 'Feature specification completed, handing off to architect'
126
+ additional_instructions: |
127
+ **Lead the specification phase**
128
+
129
+ Create the project specification following greenfield specification process.
130
+
131
+ **Handoff to Architect:**
132
+
133
+ - Send message to architect: "Specification complete. Please take the lead for plan phase."
134
+ - Send message to operator: "Specification complete, handing off to architect"
135
+ - Call `proceed_to_phase`
136
+
137
+ - trigger: 'specification_complete'
138
+ to: 'plan'
139
+ role: architect
140
+ transition_reason: 'Specification completed, preparing to plan'
141
+ additional_instructions: |
142
+ **Provide input during specification phase**
143
+
144
+ **Next phase:**
145
+
146
+ - When complete, you become RESPONSIBLE in plan phase
147
+
148
+ - trigger: 'specification_complete'
149
+ to: 'plan'
150
+ role: developer
151
+ transition_reason: 'Specification completed, architect will plan'
152
+ additional_instructions: |
153
+ **Provide input during specification phase**
154
+
155
+ plan:
156
+ description: 'Generate implementation plan with constitutional compliance'
157
+ default_instructions: |
158
+ **Team Collaboration Mode**
159
+
160
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
161
+
162
+ Architect is responsible for technology decisions and architecture.
163
+
164
+ transitions:
165
+ - trigger: 'plan_complete'
166
+ to: 'tasks'
167
+ role: architect
168
+ transition_reason: 'Implementation plan completed, moving to tasks'
169
+ additional_instructions: |
170
+ **Lead the planning phase**
171
+
172
+ **Execute planning activities:**
173
+
174
+ - Select technology stack (ask user for preferences)
175
+ - Design architecture
176
+ - Check constitutional compliance
177
+ - Document high-level design
178
+
179
+ **Continue in next phase:**
180
+
181
+ - You remain RESPONSIBLE in tasks phase
182
+
183
+ - trigger: 'plan_complete'
184
+ to: 'tasks'
185
+ role: business-analyst
186
+ transition_reason: 'Plan completed, architect moving to tasks'
187
+ additional_instructions: |
188
+ **Provide input during planning phase**
189
+
190
+ - trigger: 'plan_complete'
191
+ to: 'tasks'
192
+ role: developer
193
+ transition_reason: 'Plan completed, architect moving to tasks'
194
+ additional_instructions: |
195
+ **Provide input during planning phase**
196
+
197
+ tasks:
198
+ description: 'Generate actionable, dependency-ordered tasks'
199
+ default_instructions: |
200
+ **Team Collaboration Mode**
201
+
202
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
203
+
204
+ Architect creates task breakdown.
205
+
206
+ transitions:
207
+ - trigger: 'tasks_generated'
208
+ to: 'implement'
209
+ role: architect
210
+ transition_reason: 'Tasks generated, handing off to developer'
211
+ additional_instructions: |
212
+ **Lead the tasks phase**
213
+
214
+ Generate comprehensive task breakdown organized by user stories.
215
+
216
+ **Handoff to Developer:**
217
+
218
+ - Send handoff messages to developer
219
+
220
+ - trigger: 'tasks_generated'
221
+ to: 'implement'
222
+ role: developer
223
+ transition_reason: 'Tasks generated, preparing to implement'
224
+ additional_instructions: |
225
+ **Provide input during tasks phase**
226
+
227
+ **Next phase:**
228
+
229
+ - You become RESPONSIBLE in implement phase
230
+
231
+ - trigger: 'tasks_generated'
232
+ to: 'implement'
233
+ role: business-analyst
234
+ transition_reason: 'Tasks generated, developer will implement'
235
+ additional_instructions: |
236
+ **Receive notification during tasks phase**
237
+
238
+ implement:
239
+ description: 'Execute implementation following task breakdown'
240
+ default_instructions: |
241
+ **Team Collaboration Mode**
242
+
243
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
244
+
245
+ Developer drives implementation.
246
+
247
+ transitions:
248
+ - trigger: 'implementation_complete'
249
+ to: 'document'
250
+ role: developer
251
+ transition_reason: 'Implementation complete, team will document'
252
+ additional_instructions: |
253
+ **Lead the implementation phase**
254
+
255
+ Execute implementation following task breakdown.
256
+
257
+ **Handoff to Team Documentation:**
258
+
259
+ - All team members contribute to documentation phase
260
+
261
+ - trigger: 'implementation_complete'
262
+ to: 'document'
263
+ role: architect
264
+ transition_reason: 'Implementation complete, moving to documentation'
265
+ additional_instructions: |
266
+ **Provide input during implementation phase**
267
+
268
+ - trigger: 'implementation_complete'
269
+ to: 'document'
270
+ role: business-analyst
271
+ transition_reason: 'Implementation complete, moving to documentation'
272
+ additional_instructions: |
273
+ **Provide input during implementation phase**
274
+
275
+ document:
276
+ description: 'Create comprehensive project documentation'
277
+ default_instructions: |
278
+ **Team Collaboration Mode**
279
+
280
+ You are `$VIBE_ROLE` working in a collaborative team on this new project.
281
+
282
+ All team members contribute to documentation.
283
+
284
+ transitions:
285
+ - trigger: 'documentation_complete'
286
+ to: 'document'
287
+ role: developer
288
+ transition_reason: 'Documentation complete, project ready'
289
+ additional_instructions: |
290
+ **Finalize documentation**
291
+
292
+ Coordinate with team to create:
293
+
294
+ - User documentation
295
+ - Developer documentation
296
+ - Project documentation (README, changelog, etc.)
297
+
298
+ **Collaborate with team:**
299
+
300
+ - Business-analyst creates user guides
301
+ - Architect creates architecture documentation
302
+ - You create developer setup guides
303
+
304
+ - trigger: 'documentation_complete'
305
+ to: 'document'
306
+ role: architect
307
+ transition_reason: 'Documentation complete'
308
+ additional_instructions: |
309
+ **Contribute architecture documentation**
310
+
311
+ Create:
312
+
313
+ - Architecture overview
314
+ - Deployment guide
315
+ - Technical documentation
316
+
317
+ - trigger: 'documentation_complete'
318
+ to: 'document'
319
+ role: business-analyst
320
+ transition_reason: 'Documentation complete'
321
+ additional_instructions: |
322
+ **Contribute user documentation**
323
+
324
+ Create:
325
+
326
+ - User manual
327
+ - Examples
328
+ - User-focused guides
329
+
330
+ # Global transitions
331
+ global_transitions:
332
+ - trigger: 'abandon_project'
333
+ to: 'constitution'
334
+ transition_reason: 'Project abandoned, restart from beginning'
335
+ additional_instructions: |
336
+ Project abandoned. If you want to restart, begin again with establishing the constitutional framework.