kiro-agent-team 1.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.
Files changed (155) hide show
  1. package/.kiro/README.md +228 -0
  2. package/.kiro/agents/backend-engineer.json +6 -0
  3. package/.kiro/agents/backend-engineer.md +643 -0
  4. package/.kiro/agents/database-specialist.json +6 -0
  5. package/.kiro/agents/database-specialist.md +390 -0
  6. package/.kiro/agents/development-logger.json +6 -0
  7. package/.kiro/agents/development-logger.md +265 -0
  8. package/.kiro/agents/devops-engineer.json +6 -0
  9. package/.kiro/agents/devops-engineer.md +287 -0
  10. package/.kiro/agents/frontend-architect.json +6 -0
  11. package/.kiro/agents/frontend-architect.md +1032 -0
  12. package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
  13. package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
  14. package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
  15. package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
  16. package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
  17. package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
  18. package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
  19. package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
  20. package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
  21. package/.kiro/agents/project-manager.json +6 -0
  22. package/.kiro/agents/project-manager.md +344 -0
  23. package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
  24. package/.kiro/agents/prompts/database-specialist-system.md +332 -0
  25. package/.kiro/agents/prompts/development-logger-system.md +232 -0
  26. package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
  27. package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
  28. package/.kiro/agents/prompts/project-manager-system.md +285 -0
  29. package/.kiro/agents/prompts/security-specialist-system.md +231 -0
  30. package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
  31. package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
  32. package/.kiro/agents/security-specialist.json +6 -0
  33. package/.kiro/agents/security-specialist.md +277 -0
  34. package/.kiro/agents/test-orchestrator.json +6 -0
  35. package/.kiro/agents/test-orchestrator.md +266 -0
  36. package/.kiro/agents/ui-ux-designer.json +6 -0
  37. package/.kiro/agents/ui-ux-designer.md +284 -0
  38. package/.kiro/devlog/00-START-HERE.md +444 -0
  39. package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
  40. package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
  41. package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
  42. package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
  43. package/.kiro/devlog/DEVLOG.md +22 -0
  44. package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
  45. package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
  46. package/.kiro/devlog/README.md +363 -0
  47. package/.kiro/devlog/devlog-update.bat +136 -0
  48. package/.kiro/devlog/devlog-update.sh +275 -0
  49. package/.kiro/devlog/feature-completion-hook.bat +78 -0
  50. package/.kiro/devlog/feature-completion-hook.sh +84 -0
  51. package/.kiro/documentation/cli.md +31 -0
  52. package/.kiro/documentation/docs_cli.md +41 -0
  53. package/.kiro/documentation/docs_cli_authentication.md +43 -0
  54. package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
  55. package/.kiro/documentation/docs_cli_billing.md +31 -0
  56. package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
  57. package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
  58. package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
  59. package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
  60. package/.kiro/documentation/docs_cli_chat.md +84 -0
  61. package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
  62. package/.kiro/documentation/docs_cli_chat_context.md +258 -0
  63. package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
  64. package/.kiro/documentation/docs_cli_chat_images.md +53 -0
  65. package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
  66. package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
  67. package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
  68. package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
  69. package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
  70. package/.kiro/documentation/docs_cli_chat_security.md +87 -0
  71. package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
  72. package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
  73. package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
  74. package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
  75. package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
  76. package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
  77. package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
  78. package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
  79. package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
  80. package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
  81. package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
  82. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
  83. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
  84. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
  85. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
  86. package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
  87. package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
  88. package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
  89. package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
  90. package/.kiro/documentation/docs_cli_experimental.md +282 -0
  91. package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
  92. package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
  93. package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
  94. package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
  95. package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
  96. package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
  97. package/.kiro/documentation/docs_cli_hooks.md +207 -0
  98. package/.kiro/documentation/docs_cli_installation.md +235 -0
  99. package/.kiro/documentation/docs_cli_mcp.md +106 -0
  100. package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
  101. package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
  102. package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
  103. package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
  104. package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
  105. package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
  106. package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
  107. package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
  108. package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
  109. package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
  110. package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
  111. package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
  112. package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
  113. package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
  114. package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
  115. package/.kiro/documentation/docs_cli_steering.md +84 -0
  116. package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
  117. package/.kiro/guides/DEVLOG.md +882 -0
  118. package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
  119. package/.kiro/guides/PIV Loop.md +122 -0
  120. package/.kiro/guides/PIV Loop.png +0 -0
  121. package/.kiro/guides/PIVLoop.png +0 -0
  122. package/.kiro/guides/QUICK_REFERENCE.md +202 -0
  123. package/.kiro/guides/README.md +149 -0
  124. package/.kiro/guides/advanced-patterns.md +514 -0
  125. package/.kiro/guides/agent-coordination.md +434 -0
  126. package/.kiro/guides/core-workflows.md +409 -0
  127. package/.kiro/guides/emergency-procedures.md +414 -0
  128. package/.kiro/guides/project-evaluation.md +534 -0
  129. package/.kiro/guides/quality-assurance.md +431 -0
  130. package/.kiro/guides/quick-start.md +235 -0
  131. package/.kiro/guides/troubleshooting.md +575 -0
  132. package/.kiro/guides/walkthroughs.md +711 -0
  133. package/.kiro/prompts/add-to-devlog.md +263 -0
  134. package/.kiro/prompts/code-review-fix.md +18 -0
  135. package/.kiro/prompts/code-review-hackathon.md +167 -0
  136. package/.kiro/prompts/code-review-security.md +454 -0
  137. package/.kiro/prompts/code-review.md +113 -0
  138. package/.kiro/prompts/create-prd.md +151 -0
  139. package/.kiro/prompts/execute-backend.md +257 -0
  140. package/.kiro/prompts/execute-frontend.md +438 -0
  141. package/.kiro/prompts/execute-logging.md +491 -0
  142. package/.kiro/prompts/execute-security.md +482 -0
  143. package/.kiro/prompts/execute-testing.md +528 -0
  144. package/.kiro/prompts/execute.md +101 -0
  145. package/.kiro/prompts/execution-report.md +72 -0
  146. package/.kiro/prompts/implement-fix.md +228 -0
  147. package/.kiro/prompts/plan-feature.md +433 -0
  148. package/.kiro/prompts/prime.md +73 -0
  149. package/.kiro/prompts/quality-metrics.md +622 -0
  150. package/.kiro/prompts/quickstart.md +318 -0
  151. package/.kiro/prompts/rca.md +220 -0
  152. package/.kiro/prompts/system-review.md +189 -0
  153. package/README.md +32 -0
  154. package/bin/cli.js +97 -0
  155. package/package.json +33 -0
@@ -0,0 +1,409 @@
1
+ # Core Workflows
2
+
3
+ ## 🎯 **The 4 Fundamental Development Patterns**
4
+
5
+ These are the essential workflows that form the foundation of systematic development with our agent team. Master these patterns and you'll handle 90% of development scenarios effectively.
6
+
7
+ ## 🚀 **Workflow 1: New Project Setup**
8
+
9
+ ### **When to Use**
10
+ - Starting a new project or major feature area
11
+ - Onboarding new team members
12
+ - Establishing development baseline
13
+
14
+ ### **Step-by-Step Process**
15
+
16
+ #### **Phase 1: Context Establishment**
17
+ ```bash
18
+ @prime
19
+ ```
20
+ **What Happens:**
21
+ - Project Manager analyzes codebase structure
22
+ - Identifies existing patterns and architecture
23
+ - Establishes shared context for all agents
24
+ - Documents current state and capabilities
25
+
26
+ **Expected Output:**
27
+ ```
28
+ 🎯 Project Context Loaded
29
+ - Technology Stack: Node.js/React/PostgreSQL
30
+ - Architecture: RESTful API + SPA frontend
31
+ - Current Features: [list of existing functionality]
32
+ - Development Patterns: [identified patterns]
33
+ - Next Steps: Ready for feature planning
34
+ ```
35
+
36
+ #### **Phase 2: Project Structure**
37
+ ```bash
38
+ # Project Manager creates project in Archon
39
+ "Create new project [ProjectName] with initial structure"
40
+ ```
41
+ **What Happens:**
42
+ - Project created in Archon knowledge base
43
+ - Initial task framework established
44
+ - Agent coordination protocols set up
45
+ - Documentation templates prepared
46
+
47
+ #### **Phase 3: First Feature Planning**
48
+ ```bash
49
+ @plan-feature "Core Application Setup"
50
+ ```
51
+ **What Happens:**
52
+ - Comprehensive feature breakdown
53
+ - Task assignment to appropriate agents
54
+ - Timeline and dependency mapping
55
+ - Quality standards establishment
56
+
57
+ ### **Success Criteria**
58
+ - ✅ All agents have shared project understanding
59
+ - ✅ Project structure exists in Archon
60
+ - ✅ First feature plan is comprehensive and actionable
61
+ - ✅ Team coordination protocols are established
62
+
63
+ ---
64
+
65
+ ## 🔧 **Workflow 2: Feature Development Cycle**
66
+
67
+ ### **When to Use**
68
+ - Implementing any new feature or enhancement
69
+ - Making significant changes to existing functionality
70
+ - Adding new capabilities to the application
71
+
72
+ ### **Step-by-Step Process**
73
+
74
+ #### **Phase 1: Feature Planning**
75
+ ```bash
76
+ @plan-feature "User Authentication System"
77
+ ```
78
+ **What Happens:**
79
+ - Project Manager analyzes feature requirements
80
+ - Creates detailed implementation plan
81
+ - Breaks down into granular tasks (30min-4hr each)
82
+ - Assigns tasks to appropriate specialist agents
83
+ - Establishes dependencies and timeline
84
+
85
+ **Expected Output:**
86
+ ```
87
+ 📋 Feature Plan: User Authentication System
88
+ - Architecture Decisions: JWT + refresh tokens
89
+ - Task Breakdown: 8 tasks across 4 agents
90
+ - Timeline: 2 weeks with parallel development
91
+ - Dependencies: Database → Backend → Frontend → Testing
92
+ - Quality Standards: 80% test coverage, security review
93
+ ```
94
+
95
+ #### **Phase 2: Systematic Implementation**
96
+ ```bash
97
+ # Each assigned agent executes their tasks
98
+ @execute
99
+ ```
100
+ **What Happens:**
101
+ - Database Specialist: Schema and migrations
102
+ - Backend Engineer: API endpoints and services
103
+ - Frontend Architect: UI components and state management
104
+ - Security Specialist: Security review and validation
105
+
106
+ **Agent Coordination:**
107
+ - Clear handoff protocols between agents
108
+ - Regular progress updates through Project Manager
109
+ - Issue escalation and resolution procedures
110
+ - Quality checkpoints at each phase
111
+
112
+ #### **Phase 3: Quality Assurance**
113
+ ```bash
114
+ @code-review
115
+ ```
116
+ **What Happens:**
117
+ - Test Orchestrator performs comprehensive review
118
+ - Security, performance, and code quality assessment
119
+ - Test coverage and quality gate validation
120
+ - Deployment readiness evaluation
121
+
122
+ **Expected Output:**
123
+ ```
124
+ 🔍 Code Review Results: APPROVED
125
+ - Security: ✅ No vulnerabilities found
126
+ - Performance: ✅ All benchmarks met
127
+ - Code Quality: ✅ Meets project standards
128
+ - Test Coverage: ✅ 87% (exceeds 80% target)
129
+ - Recommendation: READY FOR DEPLOYMENT
130
+ ```
131
+
132
+ #### **Phase 4: Implementation Documentation**
133
+ ```bash
134
+ @execution-report
135
+ ```
136
+ **What Happens:**
137
+ - Test Orchestrator documents implementation details
138
+ - Captures what was built vs. what was planned
139
+ - Records challenges overcome and solutions applied
140
+ - Identifies lessons learned and process improvements
141
+
142
+ #### **Phase 5: Process Improvement**
143
+ ```bash
144
+ @system-review [plan-file] [execution-report]
145
+ ```
146
+ **What Happens:**
147
+ - Development Logger analyzes implementation effectiveness
148
+ - Compares actual vs. planned outcomes
149
+ - Identifies process optimization opportunities
150
+ - Updates workflows and agent coordination patterns
151
+
152
+ ### **Success Criteria**
153
+ - ✅ Feature implemented according to plan
154
+ - ✅ All quality gates passed
155
+ - ✅ Comprehensive documentation generated
156
+ - ✅ Process improvements identified and applied
157
+
158
+ ---
159
+
160
+ ## 🐛 **Workflow 3: Bug Investigation and Resolution**
161
+
162
+ ### **When to Use**
163
+ - Critical production issues
164
+ - Security vulnerabilities
165
+ - Performance problems
166
+ - Any systematic problem requiring analysis
167
+
168
+ ### **Step-by-Step Process**
169
+
170
+ #### **Phase 1: Root Cause Analysis**
171
+ ```bash
172
+ @rca [github-issue-id]
173
+ ```
174
+ **What Happens:**
175
+ - Security Specialist (or appropriate agent) investigates issue
176
+ - Systematic analysis of problem scope and impact
177
+ - Identification of root cause and contributing factors
178
+ - Documentation of findings and proposed solution
179
+
180
+ **Expected Output:**
181
+ ```
182
+ 🚨 RCA: SQL Injection Vulnerability #247
183
+ - Root Cause: Unsanitized input in user search
184
+ - Impact: Potential full database access
185
+ - Affected Systems: User search API, admin functions
186
+ - Proposed Fix: Parameterized queries + input validation
187
+ - Timeline: 6 hours for complete resolution
188
+ ```
189
+
190
+ #### **Phase 2: Systematic Fix Implementation**
191
+ ```bash
192
+ @implement-fix [github-issue-id]
193
+ ```
194
+ **What Happens:**
195
+ - Appropriate specialist implements fix based on RCA
196
+ - Follows systematic implementation approach
197
+ - Includes comprehensive testing and validation
198
+ - Documents fix details and verification steps
199
+
200
+ **Expected Output:**
201
+ ```
202
+ 🔧 Fix Implemented: Issue #247
203
+ - Changes: Parameterized queries, input validation
204
+ - Testing: All security tests passing
205
+ - Performance: 15% improvement in query time
206
+ - Validation: Zero vulnerabilities detected
207
+ - Status: READY FOR DEPLOYMENT
208
+ ```
209
+
210
+ #### **Phase 3: Quality Validation**
211
+ ```bash
212
+ @code-review
213
+ ```
214
+ **What Happens:**
215
+ - Test Orchestrator validates fix quality
216
+ - Ensures no new issues introduced
217
+ - Confirms original problem resolved
218
+ - Approves for deployment
219
+
220
+ #### **Phase 4: Process Learning**
221
+ ```bash
222
+ @system-review [rca-document] [fix-implementation]
223
+ ```
224
+ **What Happens:**
225
+ - Development Logger analyzes incident response
226
+ - Identifies prevention measures
227
+ - Updates processes to avoid similar issues
228
+ - Documents lessons learned
229
+
230
+ ### **Success Criteria**
231
+ - ✅ Root cause identified and documented
232
+ - ✅ Fix implemented and validated
233
+ - ✅ No new issues introduced
234
+ - ✅ Prevention measures established
235
+
236
+ ---
237
+
238
+ ## 🏆 **Workflow 4: Project Evaluation and Quality Assessment**
239
+
240
+ ### **When to Use**
241
+ - Before major releases or deployments
242
+ - Hackathon submissions or project evaluations
243
+ - Comprehensive quality audits
244
+ - Milestone assessments
245
+
246
+ ### **Step-by-Step Process**
247
+
248
+ #### **Phase 1: Comprehensive Evaluation**
249
+ ```bash
250
+ @code-review-hackathon
251
+ ```
252
+ **What Happens:**
253
+ - Test Orchestrator evaluates against multiple criteria
254
+ - Application quality, documentation, innovation assessment
255
+ - Scoring against established standards
256
+ - Detailed feedback and improvement recommendations
257
+
258
+ **Expected Output:**
259
+ ```
260
+ 🏆 Project Evaluation: 87/100 Points
261
+ - Application Quality: 35/40 (Excellent functionality)
262
+ - Documentation: 17/20 (Comprehensive guides)
263
+ - Innovation: 12/15 (Creative workflow integration)
264
+ - Kiro CLI Usage: 18/20 (Exceptional agent coordination)
265
+ - Presentation: 5/5 (Clear demonstration)
266
+ - Status: READY FOR SUBMISSION
267
+ ```
268
+
269
+ #### **Phase 2: Requirements Documentation**
270
+ ```bash
271
+ @create-prd "Complete Project Specification"
272
+ ```
273
+ **What Happens:**
274
+ - Project Manager creates comprehensive documentation
275
+ - Feature specifications and acceptance criteria
276
+ - Technical architecture and implementation details
277
+ - Success metrics and evaluation criteria
278
+
279
+ #### **Phase 3: Process Effectiveness Analysis**
280
+ ```bash
281
+ @system-review [project-plan] [evaluation-results]
282
+ ```
283
+ **What Happens:**
284
+ - Development Logger analyzes overall development process
285
+ - Identifies successful patterns and improvement opportunities
286
+ - Documents best practices for future projects
287
+ - Creates recommendations for process optimization
288
+
289
+ ### **Success Criteria**
290
+ - ✅ Comprehensive project evaluation completed
291
+ - ✅ Complete documentation generated
292
+ - ✅ Process insights captured and documented
293
+ - ✅ Improvement recommendations established
294
+
295
+ ---
296
+
297
+ ## 🔄 **Workflow Integration Patterns**
298
+
299
+ ### **Sequential Pattern**
300
+ ```
301
+ Project Manager → Specialist Agent → Test Orchestrator → Development Logger
302
+ ```
303
+ **Best For:** Complex features requiring careful coordination
304
+
305
+ ### **Parallel Pattern**
306
+ ```
307
+ Project Manager → Multiple Agents (simultaneous) → Test Orchestrator
308
+ ```
309
+ **Best For:** Independent components that can be developed simultaneously
310
+
311
+ ### **Iterative Pattern**
312
+ ```
313
+ Plan → Implement → Review → Fix → Improve → Repeat
314
+ ```
315
+ **Best For:** Experimental features or complex problem-solving
316
+
317
+ ### **Emergency Pattern**
318
+ ```
319
+ RCA → Fix → Review → Deploy → Learn
320
+ ```
321
+ **Best For:** Critical issues requiring rapid but systematic response
322
+
323
+ ## 🎯 **Quality Gates Integration**
324
+
325
+ ### **Mandatory Gates for All Workflows**
326
+
327
+ 1. **Planning Gate**: No implementation without `@prime` + `@plan-feature`
328
+ 2. **Implementation Gate**: All agents must use `@execute` framework
329
+ 3. **Quality Gate**: No deployment without `@code-review` approval
330
+ 4. **Documentation Gate**: Major features require `@execution-report`
331
+ 5. **Improvement Gate**: Regular `@system-review` for optimization
332
+
333
+ ### **Gate Enforcement**
334
+ - **Automated**: Hooks trigger appropriate prompts at workflow stages
335
+ - **Manual**: Team discipline in following established patterns
336
+ - **Validation**: Regular process reviews ensure gate compliance
337
+
338
+ ## 🚀 **Advanced Workflow Combinations**
339
+
340
+ ### **Full Development Cycle**
341
+ ```bash
342
+ # Setup and Planning
343
+ @prime
344
+ @plan-feature "Complete Feature"
345
+
346
+ # Implementation Phase
347
+ @execute (by assigned agents)
348
+
349
+ # Quality Assurance
350
+ @code-review
351
+ @execution-report
352
+
353
+ # Process Improvement
354
+ @system-review [plan] [report]
355
+
356
+ # Project Evaluation
357
+ @code-review-hackathon
358
+ @create-prd "Final Documentation"
359
+ ```
360
+
361
+ ### **Emergency Response with Learning**
362
+ ```bash
363
+ # Crisis Response
364
+ @rca [issue-id]
365
+ @implement-fix [issue-id]
366
+ @code-review
367
+
368
+ # Process Improvement
369
+ @system-review [rca] [fix-report]
370
+ # Update procedures based on learnings
371
+ ```
372
+
373
+ ## 📊 **Workflow Success Metrics**
374
+
375
+ ### **Velocity Metrics**
376
+ - Time from feature request to deployment
377
+ - Number of workflow cycles completed per sprint
378
+ - Reduction in rework and bug fixes
379
+
380
+ ### **Quality Metrics**
381
+ - Percentage of workflows passing quality gates on first attempt
382
+ - Test coverage and security compliance rates
383
+ - Production incident reduction
384
+
385
+ ### **Process Metrics**
386
+ - Agent coordination efficiency
387
+ - Knowledge retention and reuse
388
+ - Process improvement implementation rate
389
+
390
+ ## 🎓 **Mastery Checklist**
391
+
392
+ ### **Beginner Level**
393
+ - [ ] Can execute all 4 core workflows
394
+ - [ ] Understands when to use each pattern
395
+ - [ ] Follows quality gates consistently
396
+
397
+ ### **Intermediate Level**
398
+ - [ ] Can combine workflows effectively
399
+ - [ ] Adapts patterns to specific project needs
400
+ - [ ] Contributes to process improvements
401
+
402
+ ### **Advanced Level**
403
+ - [ ] Creates custom workflow variations
404
+ - [ ] Mentors others in workflow adoption
405
+ - [ ] Drives systematic process optimization
406
+
407
+ ---
408
+
409
+ **Ready for more advanced patterns? Check out [Agent Coordination](agent-coordination.md) for multi-agent collaboration techniques!**