agentic-qe 1.6.0 → 1.7.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 (117) hide show
  1. package/.claude/skills/brutal-honesty-review/README.md +218 -0
  2. package/.claude/skills/brutal-honesty-review/SKILL.md +725 -0
  3. package/.claude/skills/brutal-honesty-review/resources/assessment-rubrics.md +295 -0
  4. package/.claude/skills/brutal-honesty-review/resources/review-template.md +102 -0
  5. package/.claude/skills/brutal-honesty-review/scripts/assess-code.sh +179 -0
  6. package/.claude/skills/brutal-honesty-review/scripts/assess-tests.sh +223 -0
  7. package/.claude/skills/cicd-pipeline-qe-orchestrator/README.md +301 -0
  8. package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +510 -0
  9. package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/microservice-pipeline.md +239 -0
  10. package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/mobile-pipeline.md +375 -0
  11. package/.claude/skills/cicd-pipeline-qe-orchestrator/resources/workflows/monolith-pipeline.md +268 -0
  12. package/.claude/skills/six-thinking-hats/README.md +190 -0
  13. package/.claude/skills/six-thinking-hats/SKILL.md +1215 -0
  14. package/.claude/skills/six-thinking-hats/resources/examples/api-testing-example.md +345 -0
  15. package/.claude/skills/six-thinking-hats/resources/templates/solo-session-template.md +167 -0
  16. package/.claude/skills/six-thinking-hats/resources/templates/team-session-template.md +336 -0
  17. package/CHANGELOG.md +2359 -2157
  18. package/README.md +41 -7
  19. package/dist/agents/BaseAgent.d.ts +22 -0
  20. package/dist/agents/BaseAgent.d.ts.map +1 -1
  21. package/dist/agents/BaseAgent.js +74 -0
  22. package/dist/agents/BaseAgent.js.map +1 -1
  23. package/dist/agents/FleetCommanderAgent.d.ts +16 -0
  24. package/dist/agents/FleetCommanderAgent.d.ts.map +1 -1
  25. package/dist/agents/FleetCommanderAgent.js +35 -20
  26. package/dist/agents/FleetCommanderAgent.js.map +1 -1
  27. package/dist/agents/index.d.ts.map +1 -1
  28. package/dist/agents/index.js +0 -2
  29. package/dist/agents/index.js.map +1 -1
  30. package/dist/agents/lifecycle/AgentLifecycleManager.d.ts +5 -0
  31. package/dist/agents/lifecycle/AgentLifecycleManager.d.ts.map +1 -1
  32. package/dist/agents/lifecycle/AgentLifecycleManager.js +10 -0
  33. package/dist/agents/lifecycle/AgentLifecycleManager.js.map +1 -1
  34. package/dist/cli/commands/agentdb/learn.d.ts.map +1 -1
  35. package/dist/cli/commands/agentdb/learn.js +190 -71
  36. package/dist/cli/commands/agentdb/learn.js.map +1 -1
  37. package/dist/cli/commands/debug/agent.d.ts.map +1 -1
  38. package/dist/cli/commands/debug/agent.js +40 -13
  39. package/dist/cli/commands/debug/agent.js.map +1 -1
  40. package/dist/cli/commands/debug/diagnostics.js +38 -11
  41. package/dist/cli/commands/debug/diagnostics.js.map +1 -1
  42. package/dist/cli/commands/debug/health-check.js +47 -12
  43. package/dist/cli/commands/debug/health-check.js.map +1 -1
  44. package/dist/cli/commands/debug/profile.js +7 -7
  45. package/dist/cli/commands/debug/profile.js.map +1 -1
  46. package/dist/cli/commands/debug/trace.js +4 -4
  47. package/dist/cli/commands/debug/trace.js.map +1 -1
  48. package/dist/cli/commands/debug/troubleshoot.js +41 -27
  49. package/dist/cli/commands/debug/troubleshoot.js.map +1 -1
  50. package/dist/cli/commands/init-claude-md-template.d.ts +16 -0
  51. package/dist/cli/commands/init-claude-md-template.d.ts.map +1 -0
  52. package/dist/cli/commands/init-claude-md-template.js +69 -0
  53. package/dist/cli/commands/init-claude-md-template.js.map +1 -0
  54. package/dist/cli/commands/init.d.ts +1 -1
  55. package/dist/cli/commands/init.d.ts.map +1 -1
  56. package/dist/cli/commands/init.js +499 -469
  57. package/dist/cli/commands/init.js.map +1 -1
  58. package/dist/cli/commands/test/clean.d.ts.map +1 -1
  59. package/dist/cli/commands/test/clean.js +26 -9
  60. package/dist/cli/commands/test/clean.js.map +1 -1
  61. package/dist/cli/commands/test/debug.js +6 -7
  62. package/dist/cli/commands/test/debug.js.map +1 -1
  63. package/dist/cli/commands/test/diff.js +4 -37
  64. package/dist/cli/commands/test/diff.js.map +1 -1
  65. package/dist/cli/commands/test/profile.js +7 -40
  66. package/dist/cli/commands/test/profile.js.map +1 -1
  67. package/dist/cli/commands/test/trace.js +4 -37
  68. package/dist/cli/commands/test/trace.js.map +1 -1
  69. package/dist/core/ArtifactWorkflow.d.ts +4 -0
  70. package/dist/core/ArtifactWorkflow.d.ts.map +1 -1
  71. package/dist/core/ArtifactWorkflow.js +34 -13
  72. package/dist/core/ArtifactWorkflow.js.map +1 -1
  73. package/dist/core/coordination/BlackboardCoordination.d.ts +4 -0
  74. package/dist/core/coordination/BlackboardCoordination.d.ts.map +1 -1
  75. package/dist/core/coordination/BlackboardCoordination.js +28 -22
  76. package/dist/core/coordination/BlackboardCoordination.js.map +1 -1
  77. package/dist/core/coordination/ConsensusGating.d.ts +4 -0
  78. package/dist/core/coordination/ConsensusGating.d.ts.map +1 -1
  79. package/dist/core/coordination/ConsensusGating.js +25 -18
  80. package/dist/core/coordination/ConsensusGating.js.map +1 -1
  81. package/dist/core/memory/AgentDBService.d.ts.map +1 -1
  82. package/dist/core/memory/AgentDBService.js +6 -3
  83. package/dist/core/memory/AgentDBService.js.map +1 -1
  84. package/dist/learning/LearningEngine.js +1 -1
  85. package/dist/learning/LearningEngine.js.map +1 -1
  86. package/dist/learning/StateExtractor.d.ts +1 -1
  87. package/dist/learning/StateExtractor.d.ts.map +1 -1
  88. package/dist/learning/StateExtractor.js +62 -13
  89. package/dist/learning/StateExtractor.js.map +1 -1
  90. package/dist/utils/Config.d.ts.map +1 -1
  91. package/dist/utils/Config.js +14 -5
  92. package/dist/utils/Config.js.map +1 -1
  93. package/dist/utils/Database.d.ts.map +1 -1
  94. package/dist/utils/Database.js +5 -2
  95. package/dist/utils/Database.js.map +1 -1
  96. package/dist/utils/Logger.d.ts +1 -1
  97. package/dist/utils/Logger.d.ts.map +1 -1
  98. package/dist/utils/Logger.js +4 -4
  99. package/dist/utils/Logger.js.map +1 -1
  100. package/dist/utils/SecurityScanner.js +1 -1
  101. package/dist/utils/SecurityScanner.js.map +1 -1
  102. package/package.json +2 -2
  103. package/.claude/agents/.claude-flow/metrics/agent-metrics.json +0 -1
  104. package/.claude/agents/.claude-flow/metrics/performance.json +0 -87
  105. package/.claude/agents/.claude-flow/metrics/task-metrics.json +0 -10
  106. package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -54
  107. package/.claude/commands/analysis/performance-bottlenecks.md +0 -59
  108. package/.claude/commands/flow-nexus/app-store.md +0 -124
  109. package/.claude/commands/flow-nexus/challenges.md +0 -120
  110. package/.claude/commands/flow-nexus/login-registration.md +0 -65
  111. package/.claude/commands/flow-nexus/neural-network.md +0 -134
  112. package/.claude/commands/flow-nexus/payments.md +0 -116
  113. package/.claude/commands/flow-nexus/sandbox.md +0 -83
  114. package/.claude/commands/flow-nexus/swarm.md +0 -87
  115. package/.claude/commands/flow-nexus/user-tools.md +0 -152
  116. package/.claude/commands/flow-nexus/workflow.md +0 -115
  117. package/.claude/commands/memory/usage.md +0 -46
@@ -0,0 +1,510 @@
1
+ ---
2
+ name: "CI/CD Pipeline QE Orchestrator"
3
+ description: "Orchestrate comprehensive quality engineering across CI/CD pipeline phases by intelligently selecting QE skills and coordinating specialized agents. Use when designing test strategies, planning quality gates, implementing shift-left/shift-right testing, or ensuring holistic quality coverage throughout the software delivery lifecycle. Integrates all 37 AQE skills and 18 agents for complete pipeline quality assurance."
4
+ ---
5
+
6
+ # CI/CD Pipeline QE Orchestrator
7
+
8
+ ## What This Skill Does
9
+
10
+ The CI/CD Pipeline QE Orchestrator provides intelligent, phase-based quality engineering across the entire software delivery pipeline. It:
11
+
12
+ 1. **Analyzes pipeline phases** (commit, build, test, deploy, production)
13
+ 2. **Selects optimal QE skills** from the 37 available skills based on phase requirements
14
+ 3. **Orchestrates specialized agents** from the 18 QE agents for parallel execution
15
+ 4. **Ensures holistic coverage** with shift-left, shift-right, and continuous quality validation
16
+ 5. **Adapts strategies** based on risk, complexity, and deployment environment
17
+
18
+ ---
19
+
20
+ ## Prerequisites
21
+
22
+ - Agentic QE Fleet initialized (`aqe init` completed)
23
+ - 18 QE agents available in `.claude/agents/`
24
+ - 37 QE skills available in `.claude/skills/`
25
+ - Understanding of your CI/CD pipeline structure
26
+ - Access to Claude Code Task tool for agent coordination
27
+
28
+ ---
29
+
30
+ ## Quick Start (5 Minutes)
31
+
32
+ ### Analyze Your Pipeline
33
+
34
+ ```javascript
35
+ // Use the orchestrator to analyze and plan quality coverage
36
+ Task("Pipeline QE Analysis",
37
+ "Analyze our CI/CD pipeline and recommend quality strategy for: commit, build, test, staging, production phases",
38
+ "qe-fleet-commander")
39
+ ```
40
+
41
+ ### Example Output
42
+ ```
43
+ Pipeline Quality Strategy:
44
+ ├── Commit Phase (Shift-Left)
45
+ │ ├── Skills: tdd-london-chicago, shift-left-testing
46
+ │ ├── Agents: qe-test-generator, qe-code-reviewer
47
+ │ └── Coverage: Unit tests, static analysis, code review
48
+ ├── Build Phase
49
+ │ ├── Skills: test-automation-strategy, mutation-testing
50
+ │ ├── Agents: qe-test-executor, qe-coverage-analyzer
51
+ │ └── Coverage: Integration tests, mutation testing, coverage gates
52
+ ├── Test Phase
53
+ │ ├── Skills: api-testing-patterns, performance-testing, security-testing
54
+ │ ├── Agents: qe-api-contract-validator, qe-performance-tester, qe-security-scanner
55
+ │ └── Coverage: API contracts, load tests, security scans
56
+ ├── Staging Phase
57
+ │ ├── Skills: shift-right-testing, chaos-engineering-resilience
58
+ │ ├── Agents: qe-visual-tester, qe-chaos-engineer
59
+ │ └── Coverage: Visual regression, chaos testing, smoke tests
60
+ └── Production Phase (Shift-Right)
61
+ ├── Skills: shift-right-testing, compliance-testing
62
+ ├── Agents: qe-production-intelligence, qe-deployment-readiness
63
+ └── Coverage: Synthetic monitoring, canary analysis, compliance validation
64
+ ```
65
+
66
+ ---
67
+
68
+ ## CI/CD Pipeline Phases
69
+
70
+ ### Phase 1: Commit / Pre-Build (Shift-Left)
71
+
72
+ **Goal**: Catch defects early, ensure testability, validate code quality
73
+
74
+ **Recommended Skills**:
75
+ - `shift-left-testing` - TDD, BDD, design for testability
76
+ - `tdd-london-chicago` - Test-first development approaches
77
+ - `code-review-quality` - Context-driven code reviews
78
+ - `refactoring-patterns` - Safe refactoring techniques
79
+
80
+ **Recommended Agents**:
81
+ - `qe-test-generator` - Generate unit tests for new code
82
+ - `qe-requirements-validator` - Validate INVEST criteria, BDD scenarios
83
+ - `qe-code-reviewer` (via code-review-swarm) - Automated code review
84
+
85
+ **Quality Gates**:
86
+ - [ ] Unit test coverage > 80%
87
+ - [ ] No critical static analysis violations
88
+ - [ ] Code review approved
89
+ - [ ] Testability score > 85%
90
+
91
+ **Example Orchestration**:
92
+ ```javascript
93
+ // Parallel execution for commit phase
94
+ Task("Generate Tests", "Create unit tests for new UserService methods", "qe-test-generator")
95
+ Task("Validate Requirements", "Check BDD scenarios for user stories", "qe-requirements-validator")
96
+ Task("Code Review", "Review code quality and testability", "code-review-swarm")
97
+ ```
98
+
99
+ ---
100
+
101
+ ### Phase 2: Build Phase
102
+
103
+ **Goal**: Validate integration, ensure coverage, detect test quality issues
104
+
105
+ **Recommended Skills**:
106
+ - `test-automation-strategy` - Test pyramid optimization
107
+ - `mutation-testing` - Test quality validation
108
+ - `risk-based-testing` - Prioritize test execution
109
+ - `regression-testing` - Smart test selection
110
+
111
+ **Recommended Agents**:
112
+ - `qe-test-executor` - Run test suites in parallel
113
+ - `qe-coverage-analyzer` - Analyze coverage gaps
114
+ - `qe-regression-risk-analyzer` - Select minimal regression suite
115
+ - `qe-flaky-test-hunter` - Detect and stabilize flaky tests
116
+
117
+ **Quality Gates**:
118
+ - [ ] All tests passing
119
+ - [ ] Coverage > 90% on critical paths
120
+ - [ ] Mutation score > 70%
121
+ - [ ] No flaky tests detected
122
+
123
+ **Example Orchestration**:
124
+ ```javascript
125
+ // Sequential workflow with memory coordination
126
+ Task("Execute Tests", "Run full test suite and store results in aqe/test-results/*", "qe-test-executor")
127
+
128
+ // Wait for execution, then analyze in parallel
129
+ Task("Coverage Analysis", "Read aqe/test-results/* and identify gaps", "qe-coverage-analyzer")
130
+ Task("Flaky Detection", "Analyze test history for flakiness patterns", "qe-flaky-test-hunter")
131
+ Task("Regression Analysis", "Select minimal suite for code changes", "qe-regression-risk-analyzer")
132
+ ```
133
+
134
+ ---
135
+
136
+ ### Phase 3: Integration / Test Phase
137
+
138
+ **Goal**: Validate contracts, test performance, scan security, verify data
139
+
140
+ **Recommended Skills**:
141
+ - `api-testing-patterns` - REST/GraphQL contract testing
142
+ - `contract-testing` - Consumer-driven contracts (Pact)
143
+ - `performance-testing` - Load, stress, spike testing
144
+ - `security-testing` - OWASP Top 10 validation
145
+ - `database-testing` - Schema and data integrity
146
+ - `test-data-management` - Realistic test data generation
147
+
148
+ **Recommended Agents**:
149
+ - `qe-api-contract-validator` - Validate API contracts
150
+ - `qe-performance-tester` - Load test critical paths
151
+ - `qe-security-scanner` - SAST/DAST security scans
152
+ - `qe-test-data-architect` - Generate test data (10k+ records/sec)
153
+
154
+ **Quality Gates**:
155
+ - [ ] API contracts validated (no breaking changes)
156
+ - [ ] Performance SLAs met (p95 < 200ms)
157
+ - [ ] No critical security vulnerabilities
158
+ - [ ] Data integrity validated
159
+
160
+ **Example Orchestration**:
161
+ ```javascript
162
+ // Parallel execution for comprehensive testing
163
+ Task("API Contracts", "Validate API contracts for breaking changes", "qe-api-contract-validator")
164
+ Task("Performance Test", "Load test with 1000 concurrent users", "qe-performance-tester")
165
+ Task("Security Scan", "Run SAST/DAST security checks", "qe-security-scanner")
166
+ Task("Data Generation", "Generate 10k realistic user records", "qe-test-data-architect")
167
+ ```
168
+
169
+ ---
170
+
171
+ ### Phase 4: Staging / Pre-Production Phase
172
+
173
+ **Goal**: Validate production-like environment, test resilience, verify accessibility
174
+
175
+ **Recommended Skills**:
176
+ - `shift-right-testing` - Feature flags, canary deployments
177
+ - `chaos-engineering-resilience` - Fault injection, blast radius
178
+ - `exploratory-testing-advanced` - SBTM, test tours
179
+ - `accessibility-testing` - WCAG 2.2 compliance
180
+ - `compatibility-testing` - Cross-browser/device testing
181
+ - `visual-testing-advanced` - Visual regression with AI
182
+
183
+ **Recommended Agents**:
184
+ - `qe-chaos-engineer` - Resilience testing with controlled failures
185
+ - `qe-visual-tester` - Visual regression testing
186
+ - `qe-deployment-readiness` - Multi-factor risk assessment
187
+
188
+ **Quality Gates**:
189
+ - [ ] Chaos testing passed (system recovers from failures)
190
+ - [ ] Visual regression tests clean
191
+ - [ ] Accessibility score > 95 (WCAG AA)
192
+ - [ ] Deployment readiness score > 85%
193
+
194
+ **Example Orchestration**:
195
+ ```javascript
196
+ // Staging validation workflow
197
+ Task("Chaos Testing", "Test system resilience with controlled failures", "qe-chaos-engineer")
198
+ Task("Visual Testing", "Run visual regression tests", "qe-visual-tester")
199
+ Task("Deployment Check", "Assess deployment readiness", "qe-deployment-readiness")
200
+ ```
201
+
202
+ ---
203
+
204
+ ### Phase 5: Production / Post-Deploy (Shift-Right)
205
+
206
+ **Goal**: Monitor real usage, validate compliance, collect production intelligence
207
+
208
+ **Recommended Skills**:
209
+ - `shift-right-testing` - Synthetic monitoring, RUM analysis
210
+ - `compliance-testing` - GDPR, HIPAA, SOC2 validation
211
+ - `localization-testing` - i18n/l10n for global markets
212
+ - `mobile-testing` - iOS/Android production validation
213
+
214
+ **Recommended Agents**:
215
+ - `qe-production-intelligence` - Convert incidents to test scenarios
216
+ - `qe-deployment-readiness` - Production health assessment
217
+ - `qe-quality-analyzer` - Quality metrics and trends
218
+
219
+ **Quality Gates**:
220
+ - [ ] Synthetic monitors passing
221
+ - [ ] No critical production incidents
222
+ - [ ] Compliance validated (GDPR, etc.)
223
+ - [ ] Error rate < 0.1%
224
+
225
+ **Example Orchestration**:
226
+ ```javascript
227
+ // Production monitoring and intelligence
228
+ Task("Production Intelligence", "Convert production incidents to test scenarios", "qe-production-intelligence")
229
+ Task("Quality Analysis", "Analyze production quality metrics", "qe-quality-analyzer")
230
+ ```
231
+
232
+ ---
233
+
234
+ ## Phase-Based Skill Selection Matrix
235
+
236
+ Use this matrix to select optimal skills for each pipeline phase:
237
+
238
+ | Pipeline Phase | Primary Skills | Secondary Skills | Agent Coordination |
239
+ |----------------|----------------|------------------|-------------------|
240
+ | **Commit** | shift-left-testing, tdd-london-chicago | code-review-quality, refactoring-patterns | qe-test-generator, qe-requirements-validator |
241
+ | **Build** | test-automation-strategy, mutation-testing | regression-testing, risk-based-testing | qe-test-executor, qe-coverage-analyzer, qe-flaky-test-hunter |
242
+ | **Integration** | api-testing-patterns, contract-testing | performance-testing, security-testing | qe-api-contract-validator, qe-performance-tester, qe-security-scanner |
243
+ | **Staging** | shift-right-testing, chaos-engineering-resilience | accessibility-testing, visual-testing-advanced | qe-chaos-engineer, qe-visual-tester, qe-deployment-readiness |
244
+ | **Production** | shift-right-testing, compliance-testing | localization-testing, mobile-testing | qe-production-intelligence, qe-quality-analyzer |
245
+
246
+ ---
247
+
248
+ ## Complete Pipeline Orchestration Example
249
+
250
+ ### Scenario: Full-Stack Web Application Deployment
251
+
252
+ ```javascript
253
+ // Phase 1: Commit (Shift-Left)
254
+ Task("TDD Test Generation", "Generate tests for new features using TDD", "qe-test-generator")
255
+ Task("Requirements Validation", "Validate user stories with BDD scenarios", "qe-requirements-validator")
256
+
257
+ // Phase 2: Build
258
+ Task("Test Execution", "Run full test suite with coverage tracking", "qe-test-executor")
259
+ Task("Coverage Analysis", "Analyze coverage and identify gaps", "qe-coverage-analyzer")
260
+ Task("Flaky Detection", "Hunt and stabilize flaky tests", "qe-flaky-test-hunter")
261
+
262
+ // Phase 3: Integration
263
+ Task("API Contract Validation", "Check for breaking changes in API", "qe-api-contract-validator")
264
+ Task("Performance Testing", "Load test with 1000 users", "qe-performance-tester")
265
+ Task("Security Scanning", "Run SAST/DAST security checks", "qe-security-scanner")
266
+
267
+ // Phase 4: Staging
268
+ Task("Chaos Engineering", "Test resilience with fault injection", "qe-chaos-engineer")
269
+ Task("Visual Regression", "Validate UI with visual tests", "qe-visual-tester")
270
+ Task("Deployment Readiness", "Assess go/no-go for production", "qe-deployment-readiness")
271
+
272
+ // Phase 5: Production
273
+ Task("Production Intelligence", "Monitor and convert incidents to tests", "qe-production-intelligence")
274
+ Task("Quality Gate", "Validate against quality thresholds", "qe-quality-gate")
275
+ ```
276
+
277
+ ---
278
+
279
+ ## Adaptive Strategy Selection
280
+
281
+ The orchestrator adapts based on:
282
+
283
+ ### Risk Level
284
+ - **Critical**: Use all phases, maximum coverage, manual gates
285
+ - **High**: Use automated gates, comprehensive testing
286
+ - **Medium**: Use smart test selection, risk-based prioritization
287
+ - **Low**: Use minimal regression suite, fast feedback
288
+
289
+ ### Application Type
290
+ - **API**: Focus on contract-testing, api-testing-patterns, performance-testing
291
+ - **Web UI**: Focus on visual-testing-advanced, accessibility-testing, compatibility-testing
292
+ - **Mobile**: Focus on mobile-testing, performance-testing, compatibility-testing
293
+ - **Backend**: Focus on database-testing, performance-testing, security-testing
294
+
295
+ ### Deployment Frequency
296
+ - **Continuous (hourly)**: Minimal regression, fast feedback, shift-right monitoring
297
+ - **Daily**: Smart test selection, parallel execution, automated gates
298
+ - **Weekly**: Comprehensive testing, exploratory sessions, manual validation
299
+ - **Monthly**: Full regression, compliance checks, extensive validation
300
+
301
+ ---
302
+
303
+ ## Integration with Existing QE Fleet
304
+
305
+ ### Memory Coordination
306
+
307
+ All agents coordinate through the `aqe/*` namespace:
308
+
309
+ ```
310
+ aqe/
311
+ ├── pipeline/
312
+ │ ├── phase-results/ # Results from each phase
313
+ │ ├── quality-gates/ # Gate validation results
314
+ │ └── orchestration-plan/ # Selected skills and agents
315
+ ├── test-plan/generated # Test plans from generators
316
+ ├── coverage/gaps # Coverage analysis results
317
+ ├── security/findings # Security scan results
318
+ └── performance/results # Performance test results
319
+ ```
320
+
321
+ ### Skill Invocation
322
+
323
+ Invoke individual QE skills as needed:
324
+
325
+ ```javascript
326
+ // Use specific QE skills
327
+ Skill("shift-left-testing") // Learn shift-left practices
328
+ Skill("chaos-engineering-resilience") // Apply chaos engineering
329
+ Skill("api-testing-patterns") // Implement API testing
330
+ ```
331
+
332
+ ### Agent Coordination
333
+
334
+ Use the `qe-fleet-commander` for complex multi-agent orchestration:
335
+
336
+ ```javascript
337
+ Task("Fleet Orchestration",
338
+ "Coordinate 10 agents across pipeline phases: commit (2 agents), build (3 agents), test (3 agents), staging (2 agents)",
339
+ "qe-fleet-commander")
340
+ ```
341
+
342
+ ---
343
+
344
+ ## Quality Gates Configuration
345
+
346
+ ### Gate Templates
347
+
348
+ **Commit Gate**:
349
+ ```json
350
+ {
351
+ "phase": "commit",
352
+ "gates": [
353
+ { "metric": "unit_coverage", "threshold": 80, "blocking": true },
354
+ { "metric": "static_analysis", "severity": "critical", "max_violations": 0 },
355
+ { "metric": "code_review", "status": "approved", "blocking": true }
356
+ ]
357
+ }
358
+ ```
359
+
360
+ **Build Gate**:
361
+ ```json
362
+ {
363
+ "phase": "build",
364
+ "gates": [
365
+ { "metric": "all_tests_passed", "threshold": 100, "blocking": true },
366
+ { "metric": "coverage", "threshold": 90, "blocking": true },
367
+ { "metric": "mutation_score", "threshold": 70, "blocking": false }
368
+ ]
369
+ }
370
+ ```
371
+
372
+ **Integration Gate**:
373
+ ```json
374
+ {
375
+ "phase": "integration",
376
+ "gates": [
377
+ { "metric": "api_contracts", "breaking_changes": 0, "blocking": true },
378
+ { "metric": "performance_p95", "threshold_ms": 200, "blocking": true },
379
+ { "metric": "security_critical", "max_vulnerabilities": 0, "blocking": true }
380
+ ]
381
+ }
382
+ ```
383
+
384
+ ### Gate Execution
385
+
386
+ ```javascript
387
+ // Validate quality gates
388
+ Task("Quality Gate Validation",
389
+ "Validate all gates for integration phase: API contracts, performance SLAs, security scans",
390
+ "qe-quality-gate")
391
+ ```
392
+
393
+ ---
394
+
395
+ ## Advanced Orchestration Patterns
396
+
397
+ ### Pattern 1: Parallel Phase Execution
398
+
399
+ ```javascript
400
+ // Execute multiple phases in parallel (for microservices)
401
+ Task("Service A Pipeline", "Run full pipeline for service A", "qe-fleet-commander")
402
+ Task("Service B Pipeline", "Run full pipeline for service B", "qe-fleet-commander")
403
+ Task("Service C Pipeline", "Run full pipeline for service C", "qe-fleet-commander")
404
+ ```
405
+
406
+ ### Pattern 2: Sequential with Gates
407
+
408
+ ```javascript
409
+ // Sequential execution with quality gates
410
+ Task("Commit Phase", "Shift-left testing and validation", "qe-test-generator")
411
+ // Check gate before proceeding
412
+ Task("Build Phase", "Run tests if commit gate passes", "qe-test-executor")
413
+ // Check gate before proceeding
414
+ Task("Integration Phase", "API and performance tests if build gate passes", "qe-api-contract-validator")
415
+ ```
416
+
417
+ ### Pattern 3: Adaptive Selection
418
+
419
+ ```javascript
420
+ // Adaptive strategy based on code changes
421
+ Task("Risk Analysis", "Analyze code changes and select minimal test suite", "qe-regression-risk-analyzer")
422
+ // Execute only selected tests
423
+ Task("Targeted Testing", "Run minimal test suite based on risk analysis", "qe-test-executor")
424
+ ```
425
+
426
+ ---
427
+
428
+ ## Troubleshooting
429
+
430
+ ### Issue: Too Many Tests Running (OOM)
431
+
432
+ **Symptoms**: Build fails with out-of-memory errors
433
+ **Cause**: Running all tests in parallel without batching
434
+ **Solution**: Use batched execution
435
+
436
+ ```javascript
437
+ // Use batched test execution
438
+ Task("Batched Tests", "Run tests in batches of 10 with memory limits", "qe-test-executor")
439
+ ```
440
+
441
+ See [Test Execution Policy](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/policies/test-execution.md)
442
+
443
+ ### Issue: Pipeline Takes Too Long
444
+
445
+ **Symptoms**: Pipeline exceeds time budget
446
+ **Cause**: Running comprehensive testing on every commit
447
+ **Solution**: Use smart test selection
448
+
449
+ ```javascript
450
+ // Use regression risk analysis
451
+ Task("Smart Selection", "Select minimal test suite based on code changes", "qe-regression-risk-analyzer")
452
+ ```
453
+
454
+ ### Issue: Quality Gates Failing
455
+
456
+ **Symptoms**: Deployment blocked by quality gates
457
+ **Cause**: Thresholds too strict or tests not comprehensive
458
+ **Solution**: Review and adjust gates
459
+
460
+ ```javascript
461
+ // Analyze quality metrics
462
+ Task("Quality Analysis", "Analyze trends and recommend threshold adjustments", "qe-quality-analyzer")
463
+ ```
464
+
465
+ ---
466
+
467
+ ## Complete Workflow Templates
468
+
469
+ ### Template 1: Microservice Pipeline
470
+
471
+ See [resources/workflows/microservice-pipeline.md](resources/workflows/microservice-pipeline.md)
472
+
473
+ ### Template 2: Monolith Pipeline
474
+
475
+ See [resources/workflows/monolith-pipeline.md](resources/workflows/monolith-pipeline.md)
476
+
477
+ ### Template 3: Mobile App Pipeline
478
+
479
+ See [resources/workflows/mobile-pipeline.md](resources/workflows/mobile-pipeline.md)
480
+
481
+ ---
482
+
483
+ ## Resources
484
+
485
+ ### Skills Reference
486
+ - [All 37 QE Skills](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/reference/skills.md)
487
+ - [Shift-Left Testing](../shift-left-testing/SKILL.md)
488
+ - [Shift-Right Testing](../shift-right-testing/SKILL.md)
489
+ - [Chaos Engineering](../chaos-engineering-resilience/SKILL.md)
490
+
491
+ ### Agent Reference
492
+ - [All 18 QE Agents](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/reference/agents.md)
493
+ - [Fleet Commander](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/reference/agents.md#qe-fleet-commander)
494
+
495
+ ### Policies
496
+ - [Test Execution Policy](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/policies/test-execution.md)
497
+ - [Release Verification Policy](https://github.com/ruvnet/agentic-qe-cf/blob/main/docs/policies/release-verification.md)
498
+
499
+ ### External Resources
500
+ - [Continuous Testing in DevOps](https://www.atlassian.com/continuous-delivery/principles/continuous-integration-vs-delivery-vs-deployment)
501
+ - [Shift-Left vs Shift-Right](https://www.dynatrace.com/news/blog/what-is-shift-left-and-shift-right/)
502
+ - [Quality Gates in CI/CD](https://docs.sonarqube.org/latest/user-guide/quality-gates/)
503
+
504
+ ---
505
+
506
+ **Created**: 2025-11-13
507
+ **Category**: Quality Engineering Orchestration
508
+ **Difficulty**: Advanced
509
+ **Estimated Time**: 30-60 minutes for full pipeline setup
510
+ **Integrations**: All 37 QE skills, 18 QE agents, CI/CD platforms (GitHub Actions, Jenkins, GitLab CI)