@exaudeus/workrail 0.0.13 → 0.0.15
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/package.json +1 -1
- package/spec/examples/coding-task-workflow.json +126 -107
- package/spec/examples/conditional-workflow-example.json +251 -212
- package/spec/examples/valid-workflow.json +118 -115
- package/spec/workflow.schema.json +62 -2
- package/workflows/adaptive-ticket-creation.json +272 -245
- package/workflows/coding-task-workflow.json +317 -138
- package/workflows/learner-centered-course-workflow.json +267 -265
- package/workflows/personal-learning-materials-creation-branched.json +195 -175
- package/workflows/presentation-creation.json +244 -237
- package/workflows/systemic-bug-investigation.json +175 -174
- package/workflows/workflow-for-workflows.json +296 -262
|
@@ -1,229 +1,268 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{
|
|
20
|
-
"id": "basic-setup",
|
|
21
|
-
"title": "Basic Project Setup",
|
|
22
|
-
"prompt": "**PREP**: Review the project structure and requirements.\n\n**IMPLEMENT**: Set up the basic project structure, dependencies, and configuration files.\n\n**VERIFY**: Confirm all basic setup is complete and ready for development.",
|
|
23
|
-
"agentRole": "You are a project setup specialist with expertise in development environment configuration. Focus on creating a solid foundation with proper dependency management, consistent project structure, and necessary configuration files. Ensure the setup follows industry best practices and team conventions.",
|
|
24
|
-
"requireConfirmation": true
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"id": "detailed-analysis",
|
|
28
|
-
"title": "Detailed Requirements Analysis",
|
|
29
|
-
"prompt": "**PREP**: Gather all available documentation and requirements.\n\n**IMPLEMENT**: Perform comprehensive analysis of requirements, edge cases, and potential challenges.\n\n**VERIFY**: Document findings and confirm understanding with stakeholders.",
|
|
30
|
-
"agentRole": "You are a senior business analyst and technical architect specializing in complex requirement analysis. Your role is to uncover hidden requirements, identify potential risks and edge cases, and create comprehensive documentation that will guide the entire development process. Be thorough and methodical in your approach.",
|
|
31
|
-
"runCondition": {
|
|
32
|
-
"or": [
|
|
33
|
-
{"var": "taskScope", "equals": "large"},
|
|
34
|
-
{"var": "complexity", "gte": 0.7}
|
|
35
|
-
]
|
|
36
|
-
},
|
|
37
|
-
"askForFiles": true,
|
|
38
|
-
"requireConfirmation": true,
|
|
39
|
-
"validationCriteria": [
|
|
2
|
+
"id": "adaptive-development-workflow",
|
|
3
|
+
"name": "Adaptive Development Workflow",
|
|
4
|
+
"description": "A dynamic workflow that adapts steps based on task complexity, user expertise, and project scope. Demonstrates agentRole usage with conditional logic.",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"preconditions": [
|
|
7
|
+
"Development environment is set up",
|
|
8
|
+
"Task requirements are understood",
|
|
9
|
+
"User has provided scope and expertise level"
|
|
10
|
+
],
|
|
11
|
+
"clarificationPrompts": [
|
|
12
|
+
"What is the scope of this task? (small/medium/large)",
|
|
13
|
+
"What is your expertise level? (novice/intermediate/expert)",
|
|
14
|
+
"How complex is this task on a scale of 0.1 to 1.0?",
|
|
15
|
+
"Do you prefer detailed guidance or minimal steps?",
|
|
16
|
+
"Are there specific constraints or requirements?"
|
|
17
|
+
],
|
|
18
|
+
"steps": [
|
|
40
19
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
20
|
+
"id": "basic-setup",
|
|
21
|
+
"title": "Basic Project Setup",
|
|
22
|
+
"prompt": "**PREP**: Review the project structure and requirements.\n\n**IMPLEMENT**: Set up the basic project structure, dependencies, and configuration files.\n\n**VERIFY**: Confirm all basic setup is complete and ready for development.",
|
|
23
|
+
"agentRole": "You are a project setup specialist with expertise in development environment configuration. Focus on creating a solid foundation with proper dependency management, consistent project structure, and necessary configuration files. Ensure the setup follows industry best practices and team conventions.",
|
|
24
|
+
"requireConfirmation": true
|
|
44
25
|
},
|
|
45
26
|
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
27
|
+
"id": "detailed-analysis",
|
|
28
|
+
"title": "Detailed Requirements Analysis",
|
|
29
|
+
"prompt": "**PREP**: Gather all available documentation and requirements.\n\n**IMPLEMENT**: Perform comprehensive analysis of requirements, edge cases, and potential challenges.\n\n**VERIFY**: Document findings and confirm understanding with stakeholders.",
|
|
30
|
+
"agentRole": "You are a senior business analyst and technical architect specializing in complex requirement analysis. Your role is to uncover hidden requirements, identify potential risks and edge cases, and create comprehensive documentation that will guide the entire development process. Be thorough and methodical in your approach.",
|
|
31
|
+
"runCondition": {
|
|
32
|
+
"or": [
|
|
33
|
+
{
|
|
34
|
+
"var": "taskScope",
|
|
35
|
+
"equals": "large"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"var": "complexity",
|
|
39
|
+
"gte": 0.7
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"askForFiles": true,
|
|
44
|
+
"requireConfirmation": true,
|
|
45
|
+
"validationCriteria": [
|
|
46
|
+
{
|
|
47
|
+
"type": "contains",
|
|
48
|
+
"value": "requirements",
|
|
49
|
+
"message": "Should include requirements analysis"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "contains",
|
|
53
|
+
"value": "edge cases",
|
|
54
|
+
"condition": {
|
|
55
|
+
"var": "complexity",
|
|
56
|
+
"gte": 0.8
|
|
57
|
+
},
|
|
58
|
+
"message": "Should analyze edge cases for complex tasks"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "length",
|
|
62
|
+
"min": 200,
|
|
63
|
+
"condition": {
|
|
64
|
+
"var": "taskScope",
|
|
65
|
+
"equals": "large"
|
|
66
|
+
},
|
|
67
|
+
"message": "Large tasks require detailed analysis"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"hasValidation": true
|
|
53
71
|
},
|
|
54
72
|
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
{"var": "taskScope", "equals": "small"},
|
|
73
|
-
{"var": "complexity", "lt": 0.5}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"id": "architecture-design",
|
|
79
|
-
"title": "Architecture Design",
|
|
80
|
-
"prompt": "**PREP**: Analyze the system architecture and design patterns.\n\n**IMPLEMENT**: Design the architecture for the new feature, considering scalability and maintainability.\n\n**VERIFY**: Review the design for completeness and alignment with system architecture.",
|
|
81
|
-
"agentRole": "You are a principal software architect with deep expertise in system design and scalable architecture patterns. Your role is to create robust, maintainable designs that align with existing system architecture while considering future scalability and maintainability requirements.",
|
|
82
|
-
"runCondition": {
|
|
83
|
-
"and": [
|
|
84
|
-
{"var": "taskScope", "not_equals": "small"},
|
|
85
|
-
{"var": "userExpertise", "not_equals": "novice"}
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"askForFiles": true,
|
|
89
|
-
"requireConfirmation": true
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"id": "novice-guided-implementation",
|
|
93
|
-
"title": "Step-by-Step Guided Implementation",
|
|
94
|
-
"prompt": "**PREP**: Break down the implementation into small, manageable steps.\n\n**IMPLEMENT**: Follow the detailed implementation guide with explanations for each step.\n\n**VERIFY**: Confirm each step is completed correctly before proceeding.",
|
|
95
|
-
"agentRole": "You are a patient and thorough mentor specializing in teaching software development to beginners. Your approach is to break down complex tasks into simple, understandable steps with clear explanations for why each step is necessary. Provide educational context and encourage learning through guided practice.",
|
|
96
|
-
"runCondition": {
|
|
97
|
-
"var": "userExpertise",
|
|
98
|
-
"equals": "novice"
|
|
99
|
-
},
|
|
100
|
-
"askForFiles": true,
|
|
101
|
-
"requireConfirmation": true
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"id": "expert-implementation",
|
|
105
|
-
"title": "Expert Implementation",
|
|
106
|
-
"prompt": "**PREP**: Review the requirements and architecture.\n\n**IMPLEMENT**: Implement the feature using advanced patterns and optimizations as appropriate.\n\n**VERIFY**: Ensure implementation follows best practices and is production-ready.",
|
|
107
|
-
"agentRole": "You are a senior software engineer with expertise in advanced development patterns and optimization techniques. Your implementation should demonstrate mastery of design patterns, performance optimization, and production-ready code. Focus on elegant, efficient solutions that showcase technical excellence.",
|
|
108
|
-
"runCondition": {
|
|
109
|
-
"var": "userExpertise",
|
|
110
|
-
"equals": "expert"
|
|
111
|
-
},
|
|
112
|
-
"askForFiles": true,
|
|
113
|
-
"validationCriteria": [
|
|
73
|
+
"id": "quick-implementation",
|
|
74
|
+
"title": "Quick Implementation",
|
|
75
|
+
"prompt": "**PREP**: Review the straightforward requirements.\n\n**IMPLEMENT**: Implement the feature using standard patterns and best practices.\n\n**VERIFY**: Test the implementation and ensure it meets requirements.",
|
|
76
|
+
"agentRole": "You are an efficient developer focused on rapid delivery of simple features. Your approach emphasizes clean, straightforward code using established patterns. Prioritize speed and simplicity while maintaining code quality and following team conventions.",
|
|
77
|
+
"runCondition": {
|
|
78
|
+
"and": [
|
|
79
|
+
{
|
|
80
|
+
"var": "taskScope",
|
|
81
|
+
"equals": "small"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"var": "complexity",
|
|
85
|
+
"lt": 0.5
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
114
90
|
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
91
|
+
"id": "architecture-design",
|
|
92
|
+
"title": "Architecture Design",
|
|
93
|
+
"prompt": "**PREP**: Analyze the system architecture and design patterns.\n\n**IMPLEMENT**: Design the architecture for the new feature, considering scalability and maintainability.\n\n**VERIFY**: Review the design for completeness and alignment with system architecture.",
|
|
94
|
+
"agentRole": "You are a principal software architect with deep expertise in system design and scalable architecture patterns. Your role is to create robust, maintainable designs that align with existing system architecture while considering future scalability and maintainability requirements.",
|
|
95
|
+
"runCondition": {
|
|
96
|
+
"and": [
|
|
97
|
+
{
|
|
98
|
+
"var": "taskScope",
|
|
99
|
+
"not_equals": "small"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"var": "userExpertise",
|
|
103
|
+
"not_equals": "novice"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"askForFiles": true,
|
|
108
|
+
"requireConfirmation": true
|
|
122
109
|
},
|
|
123
110
|
{
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
111
|
+
"id": "novice-guided-implementation",
|
|
112
|
+
"title": "Step-by-Step Guided Implementation",
|
|
113
|
+
"prompt": "**PREP**: Break down the implementation into small, manageable steps.\n\n**IMPLEMENT**: Follow the detailed implementation guide with explanations for each step.\n\n**VERIFY**: Confirm each step is completed correctly before proceeding.",
|
|
114
|
+
"agentRole": "You are a patient and thorough mentor specializing in teaching software development to beginners. Your approach is to break down complex tasks into simple, understandable steps with clear explanations for why each step is necessary. Provide educational context and encourage learning through guided practice.",
|
|
115
|
+
"runCondition": {
|
|
116
|
+
"var": "userExpertise",
|
|
117
|
+
"equals": "novice"
|
|
118
|
+
},
|
|
119
|
+
"askForFiles": true,
|
|
120
|
+
"requireConfirmation": true
|
|
131
121
|
},
|
|
132
122
|
{
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
123
|
+
"id": "expert-implementation",
|
|
124
|
+
"title": "Expert Implementation",
|
|
125
|
+
"prompt": "**PREP**: Review the requirements and architecture.\n\n**IMPLEMENT**: Implement the feature using advanced patterns and optimizations as appropriate.\n\n**VERIFY**: Ensure implementation follows best practices and is production-ready.",
|
|
126
|
+
"agentRole": "You are a senior software engineer with expertise in advanced development patterns and optimization techniques. Your implementation should demonstrate mastery of design patterns, performance optimization, and production-ready code. Focus on elegant, efficient solutions that showcase technical excellence.",
|
|
127
|
+
"runCondition": {
|
|
128
|
+
"var": "userExpertise",
|
|
129
|
+
"equals": "expert"
|
|
130
|
+
},
|
|
131
|
+
"askForFiles": true,
|
|
132
|
+
"validationCriteria": [
|
|
133
|
+
{
|
|
134
|
+
"type": "regex",
|
|
135
|
+
"pattern": "\\b(pattern|design|architecture)\\b",
|
|
136
|
+
"condition": {
|
|
137
|
+
"var": "userExpertise",
|
|
138
|
+
"equals": "expert"
|
|
139
|
+
},
|
|
140
|
+
"message": "Expert implementation should use advanced patterns"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "contains",
|
|
144
|
+
"value": "optimization",
|
|
145
|
+
"condition": {
|
|
146
|
+
"var": "complexity",
|
|
147
|
+
"gte": 0.6
|
|
148
|
+
},
|
|
149
|
+
"message": "Should include optimizations for complex features"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"type": "regex",
|
|
153
|
+
"pattern": "(?!.*TODO)",
|
|
154
|
+
"message": "Should not contain TODO items"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"hasValidation": true
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"id": "comprehensive-testing",
|
|
161
|
+
"title": "Comprehensive Testing",
|
|
162
|
+
"prompt": "**PREP**: Identify all test scenarios including edge cases.\n\n**IMPLEMENT**: Create comprehensive test suite covering unit, integration, and end-to-end tests.\n\n**VERIFY**: Run all tests and ensure coverage meets quality standards.",
|
|
163
|
+
"agentRole": "You are a quality assurance engineer and testing specialist with expertise in comprehensive test strategy design. Your approach includes test-driven development principles, thorough edge case coverage, and automated testing best practices. Focus on creating maintainable, reliable test suites that provide confidence in the implementation.",
|
|
164
|
+
"runCondition": {
|
|
165
|
+
"or": [
|
|
166
|
+
{
|
|
167
|
+
"var": "taskScope",
|
|
168
|
+
"equals": "large"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"var": "userExpertise",
|
|
172
|
+
"equals": "expert"
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"requireConfirmation": true,
|
|
177
|
+
"validationCriteria": [
|
|
178
|
+
{
|
|
179
|
+
"type": "regex",
|
|
180
|
+
"pattern": "\\b(unit test|integration test|end-to-end)\\b",
|
|
181
|
+
"message": "Should include comprehensive test types"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"type": "regex",
|
|
185
|
+
"pattern": "\\b(describe|it|test|spec)\\b",
|
|
186
|
+
"message": "Should include proper test structure"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "contains",
|
|
190
|
+
"value": "coverage",
|
|
191
|
+
"condition": {
|
|
192
|
+
"var": "taskScope",
|
|
193
|
+
"equals": "large"
|
|
194
|
+
},
|
|
195
|
+
"message": "Large tasks should include coverage analysis"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"hasValidation": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "basic-testing",
|
|
202
|
+
"title": "Basic Testing",
|
|
203
|
+
"prompt": "**PREP**: Identify core functionality to test.\n\n**IMPLEMENT**: Create basic tests for the main functionality.\n\n**VERIFY**: Run tests and fix any issues found.",
|
|
204
|
+
"agentRole": "You are a practical developer focused on essential testing for medium-complexity features. Your approach emphasizes testing the core functionality thoroughly while being efficient with time and resources. Focus on the most important test cases that provide maximum confidence in the implementation.",
|
|
205
|
+
"runCondition": {
|
|
206
|
+
"and": [
|
|
207
|
+
{
|
|
208
|
+
"var": "taskScope",
|
|
209
|
+
"not_equals": "large"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"var": "userExpertise",
|
|
213
|
+
"not_equals": "expert"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
152
218
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
219
|
+
"id": "performance-optimization",
|
|
220
|
+
"title": "Performance Optimization",
|
|
221
|
+
"prompt": "**PREP**: Profile the implementation and identify bottlenecks.\n\n**IMPLEMENT**: Optimize performance using appropriate techniques and patterns.\n\n**VERIFY**: Measure performance improvements and ensure they meet requirements.",
|
|
222
|
+
"agentRole": "You are a performance engineering specialist with deep expertise in profiling, optimization techniques, and scalable system design. Your approach combines data-driven analysis with proven optimization strategies to achieve measurable performance improvements while maintaining code quality and maintainability.",
|
|
223
|
+
"runCondition": {
|
|
224
|
+
"and": [
|
|
225
|
+
{
|
|
226
|
+
"var": "taskScope",
|
|
227
|
+
"equals": "large"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"var": "complexity",
|
|
231
|
+
"gte": 0.8
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
"askForFiles": true,
|
|
236
|
+
"requireConfirmation": true
|
|
156
237
|
},
|
|
157
238
|
{
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
239
|
+
"id": "documentation",
|
|
240
|
+
"title": "Documentation",
|
|
241
|
+
"prompt": "**PREP**: Review all implemented features and changes.\n\n**IMPLEMENT**: Create comprehensive documentation for the new feature.\n\n**VERIFY**: Ensure documentation is clear, complete, and helpful for future maintenance.",
|
|
242
|
+
"agentRole": "You are a technical writer and documentation specialist with expertise in creating clear, comprehensive documentation for software features. Your focus is on creating documentation that serves both current team members and future maintainers, with appropriate detail for the complexity and scope of the implementation.",
|
|
243
|
+
"runCondition": {
|
|
244
|
+
"var": "taskScope",
|
|
245
|
+
"not_equals": "small"
|
|
246
|
+
}
|
|
161
247
|
},
|
|
162
248
|
{
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
},
|
|
169
|
-
"message": "Large tasks should include coverage analysis"
|
|
249
|
+
"id": "final-review",
|
|
250
|
+
"title": "Final Review and Cleanup",
|
|
251
|
+
"prompt": "**PREP**: Review all changes and ensure completeness.\n\n**IMPLEMENT**: Perform final cleanup, code review, and quality checks.\n\n**VERIFY**: Confirm all requirements are met and the implementation is ready for deployment.",
|
|
252
|
+
"agentRole": "You are a senior technical lead responsible for final quality assurance and deployment readiness. Your review should be comprehensive, covering code quality, security, performance, and compliance with team standards. Ensure the implementation is production-ready and properly documented.",
|
|
253
|
+
"requireConfirmation": true
|
|
170
254
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
"and"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
{
|
|
186
|
-
"id": "performance-optimization",
|
|
187
|
-
"title": "Performance Optimization",
|
|
188
|
-
"prompt": "**PREP**: Profile the implementation and identify bottlenecks.\n\n**IMPLEMENT**: Optimize performance using appropriate techniques and patterns.\n\n**VERIFY**: Measure performance improvements and ensure they meet requirements.",
|
|
189
|
-
"agentRole": "You are a performance engineering specialist with deep expertise in profiling, optimization techniques, and scalable system design. Your approach combines data-driven analysis with proven optimization strategies to achieve measurable performance improvements while maintaining code quality and maintainability.",
|
|
190
|
-
"runCondition": {
|
|
191
|
-
"and": [
|
|
192
|
-
{"var": "taskScope", "equals": "large"},
|
|
193
|
-
{"var": "complexity", "gte": 0.8}
|
|
194
|
-
]
|
|
195
|
-
},
|
|
196
|
-
"askForFiles": true,
|
|
197
|
-
"requireConfirmation": true
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"id": "documentation",
|
|
201
|
-
"title": "Documentation",
|
|
202
|
-
"prompt": "**PREP**: Review all implemented features and changes.\n\n**IMPLEMENT**: Create comprehensive documentation for the new feature.\n\n**VERIFY**: Ensure documentation is clear, complete, and helpful for future maintenance.",
|
|
203
|
-
"agentRole": "You are a technical writer and documentation specialist with expertise in creating clear, comprehensive documentation for software features. Your focus is on creating documentation that serves both current team members and future maintainers, with appropriate detail for the complexity and scope of the implementation.",
|
|
204
|
-
"runCondition": {
|
|
205
|
-
"var": "taskScope",
|
|
206
|
-
"not_equals": "small"
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"id": "final-review",
|
|
211
|
-
"title": "Final Review and Cleanup",
|
|
212
|
-
"prompt": "**PREP**: Review all changes and ensure completeness.\n\n**IMPLEMENT**: Perform final cleanup, code review, and quality checks.\n\n**VERIFY**: Confirm all requirements are met and the implementation is ready for deployment.",
|
|
213
|
-
"agentRole": "You are a senior technical lead responsible for final quality assurance and deployment readiness. Your review should be comprehensive, covering code quality, security, performance, and compliance with team standards. Ensure the implementation is production-ready and properly documented.",
|
|
214
|
-
"requireConfirmation": true
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
"metaGuidance": [
|
|
218
|
-
"Always follow the prep/implement/verify pattern for each step",
|
|
219
|
-
"Adapt the level of detail based on user expertise",
|
|
220
|
-
"Skip steps that don't apply to the current task scope",
|
|
221
|
-
"Focus on quality over speed for complex tasks",
|
|
222
|
-
"Provide more guidance for novice users",
|
|
223
|
-
"Allow expert users to work with minimal constraints",
|
|
224
|
-
"Test thoroughly based on the complexity and scope",
|
|
225
|
-
"Document appropriately for the task size",
|
|
226
|
-
"Each step uses agentRole to provide specialized expertise based on conditions",
|
|
227
|
-
"Agent roles adapt to user expertise level and task complexity automatically"
|
|
228
|
-
]
|
|
229
|
-
}
|
|
255
|
+
],
|
|
256
|
+
"metaGuidance": [
|
|
257
|
+
"Always follow the prep/implement/verify pattern for each step",
|
|
258
|
+
"Adapt the level of detail based on user expertise",
|
|
259
|
+
"Skip steps that don't apply to the current task scope",
|
|
260
|
+
"Focus on quality over speed for complex tasks",
|
|
261
|
+
"Provide more guidance for novice users",
|
|
262
|
+
"Allow expert users to work with minimal constraints",
|
|
263
|
+
"Test thoroughly based on the complexity and scope",
|
|
264
|
+
"Document appropriately for the task size",
|
|
265
|
+
"Each step uses agentRole to provide specialized expertise based on conditions",
|
|
266
|
+
"Agent roles adapt to user expertise level and task complexity automatically"
|
|
267
|
+
]
|
|
268
|
+
}
|