agentic-qe 2.0.0 → 2.1.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 (116) hide show
  1. package/.claude/agents/qx-partner.md +17 -4
  2. package/.claude/skills/accessibility-testing/SKILL.md +144 -692
  3. package/.claude/skills/agentic-quality-engineering/SKILL.md +176 -529
  4. package/.claude/skills/api-testing-patterns/SKILL.md +180 -560
  5. package/.claude/skills/brutal-honesty-review/SKILL.md +113 -603
  6. package/.claude/skills/bug-reporting-excellence/SKILL.md +116 -517
  7. package/.claude/skills/chaos-engineering-resilience/SKILL.md +127 -72
  8. package/.claude/skills/cicd-pipeline-qe-orchestrator/SKILL.md +209 -404
  9. package/.claude/skills/code-review-quality/SKILL.md +158 -608
  10. package/.claude/skills/compatibility-testing/SKILL.md +148 -38
  11. package/.claude/skills/compliance-testing/SKILL.md +132 -63
  12. package/.claude/skills/consultancy-practices/SKILL.md +114 -446
  13. package/.claude/skills/context-driven-testing/SKILL.md +117 -381
  14. package/.claude/skills/contract-testing/SKILL.md +176 -141
  15. package/.claude/skills/database-testing/SKILL.md +137 -130
  16. package/.claude/skills/exploratory-testing-advanced/SKILL.md +160 -629
  17. package/.claude/skills/holistic-testing-pact/SKILL.md +140 -188
  18. package/.claude/skills/localization-testing/SKILL.md +145 -33
  19. package/.claude/skills/mobile-testing/SKILL.md +132 -448
  20. package/.claude/skills/mutation-testing/SKILL.md +147 -41
  21. package/.claude/skills/performance-testing/SKILL.md +200 -546
  22. package/.claude/skills/quality-metrics/SKILL.md +164 -519
  23. package/.claude/skills/refactoring-patterns/SKILL.md +132 -699
  24. package/.claude/skills/regression-testing/SKILL.md +120 -926
  25. package/.claude/skills/risk-based-testing/SKILL.md +157 -660
  26. package/.claude/skills/security-testing/SKILL.md +199 -538
  27. package/.claude/skills/sherlock-review/SKILL.md +163 -699
  28. package/.claude/skills/shift-left-testing/SKILL.md +161 -465
  29. package/.claude/skills/shift-right-testing/SKILL.md +161 -519
  30. package/.claude/skills/six-thinking-hats/SKILL.md +175 -1110
  31. package/.claude/skills/skills-manifest.json +71 -20
  32. package/.claude/skills/tdd-london-chicago/SKILL.md +131 -448
  33. package/.claude/skills/technical-writing/SKILL.md +103 -154
  34. package/.claude/skills/test-automation-strategy/SKILL.md +166 -772
  35. package/.claude/skills/test-data-management/SKILL.md +126 -910
  36. package/.claude/skills/test-design-techniques/SKILL.md +179 -89
  37. package/.claude/skills/test-environment-management/SKILL.md +136 -91
  38. package/.claude/skills/test-reporting-analytics/SKILL.md +169 -92
  39. package/.claude/skills/testability-scoring/SKILL.md +172 -538
  40. package/.claude/skills/testability-scoring/scripts/generate-html-report.js +0 -0
  41. package/.claude/skills/visual-testing-advanced/SKILL.md +155 -78
  42. package/.claude/skills/xp-practices/SKILL.md +151 -587
  43. package/CHANGELOG.md +48 -0
  44. package/README.md +23 -16
  45. package/dist/agents/QXPartnerAgent.d.ts +8 -1
  46. package/dist/agents/QXPartnerAgent.d.ts.map +1 -1
  47. package/dist/agents/QXPartnerAgent.js +1174 -112
  48. package/dist/agents/QXPartnerAgent.js.map +1 -1
  49. package/dist/agents/lifecycle/AgentLifecycleManager.d.ts.map +1 -1
  50. package/dist/agents/lifecycle/AgentLifecycleManager.js +34 -31
  51. package/dist/agents/lifecycle/AgentLifecycleManager.js.map +1 -1
  52. package/dist/cli/commands/init-claude-md-template.d.ts.map +1 -1
  53. package/dist/cli/commands/init-claude-md-template.js +14 -0
  54. package/dist/cli/commands/init-claude-md-template.js.map +1 -1
  55. package/dist/core/SwarmCoordinator.d.ts +180 -0
  56. package/dist/core/SwarmCoordinator.d.ts.map +1 -0
  57. package/dist/core/SwarmCoordinator.js +473 -0
  58. package/dist/core/SwarmCoordinator.js.map +1 -0
  59. package/dist/core/metrics/MetricsAggregator.d.ts +228 -0
  60. package/dist/core/metrics/MetricsAggregator.d.ts.map +1 -0
  61. package/dist/core/metrics/MetricsAggregator.js +482 -0
  62. package/dist/core/metrics/MetricsAggregator.js.map +1 -0
  63. package/dist/core/metrics/index.d.ts +5 -0
  64. package/dist/core/metrics/index.d.ts.map +1 -0
  65. package/dist/core/metrics/index.js +11 -0
  66. package/dist/core/metrics/index.js.map +1 -0
  67. package/dist/core/optimization/SwarmOptimizer.d.ts +5 -0
  68. package/dist/core/optimization/SwarmOptimizer.d.ts.map +1 -1
  69. package/dist/core/optimization/SwarmOptimizer.js +17 -0
  70. package/dist/core/optimization/SwarmOptimizer.js.map +1 -1
  71. package/dist/core/orchestration/AdaptiveScheduler.d.ts +190 -0
  72. package/dist/core/orchestration/AdaptiveScheduler.d.ts.map +1 -0
  73. package/dist/core/orchestration/AdaptiveScheduler.js +460 -0
  74. package/dist/core/orchestration/AdaptiveScheduler.js.map +1 -0
  75. package/dist/core/orchestration/WorkflowOrchestrator.d.ts +13 -0
  76. package/dist/core/orchestration/WorkflowOrchestrator.d.ts.map +1 -1
  77. package/dist/core/orchestration/WorkflowOrchestrator.js +32 -0
  78. package/dist/core/orchestration/WorkflowOrchestrator.js.map +1 -1
  79. package/dist/core/recovery/CircuitBreaker.d.ts +176 -0
  80. package/dist/core/recovery/CircuitBreaker.d.ts.map +1 -0
  81. package/dist/core/recovery/CircuitBreaker.js +382 -0
  82. package/dist/core/recovery/CircuitBreaker.js.map +1 -0
  83. package/dist/core/recovery/RecoveryOrchestrator.d.ts +186 -0
  84. package/dist/core/recovery/RecoveryOrchestrator.d.ts.map +1 -0
  85. package/dist/core/recovery/RecoveryOrchestrator.js +476 -0
  86. package/dist/core/recovery/RecoveryOrchestrator.js.map +1 -0
  87. package/dist/core/recovery/RetryStrategy.d.ts +127 -0
  88. package/dist/core/recovery/RetryStrategy.d.ts.map +1 -0
  89. package/dist/core/recovery/RetryStrategy.js +314 -0
  90. package/dist/core/recovery/RetryStrategy.js.map +1 -0
  91. package/dist/core/recovery/index.d.ts +8 -0
  92. package/dist/core/recovery/index.d.ts.map +1 -0
  93. package/dist/core/recovery/index.js +27 -0
  94. package/dist/core/recovery/index.js.map +1 -0
  95. package/dist/core/skills/DependencyResolver.d.ts +99 -0
  96. package/dist/core/skills/DependencyResolver.d.ts.map +1 -0
  97. package/dist/core/skills/DependencyResolver.js +260 -0
  98. package/dist/core/skills/DependencyResolver.js.map +1 -0
  99. package/dist/core/skills/ManifestGenerator.d.ts +114 -0
  100. package/dist/core/skills/ManifestGenerator.d.ts.map +1 -0
  101. package/dist/core/skills/ManifestGenerator.js +449 -0
  102. package/dist/core/skills/ManifestGenerator.js.map +1 -0
  103. package/dist/core/skills/index.d.ts +9 -0
  104. package/dist/core/skills/index.d.ts.map +1 -0
  105. package/dist/core/skills/index.js +24 -0
  106. package/dist/core/skills/index.js.map +1 -0
  107. package/dist/mcp/server.d.ts +9 -9
  108. package/dist/mcp/server.d.ts.map +1 -1
  109. package/dist/mcp/server.js +1 -2
  110. package/dist/mcp/server.js.map +1 -1
  111. package/dist/types/qx.d.ts +39 -7
  112. package/dist/types/qx.d.ts.map +1 -1
  113. package/dist/types/qx.js.map +1 -1
  114. package/dist/visualization/api/RestEndpoints.js +1 -1
  115. package/dist/visualization/api/RestEndpoints.js.map +1 -1
  116. package/package.json +13 -55
@@ -1,533 +1,201 @@
1
1
  ---
2
2
  name: consultancy-practices
3
- description: Apply effective software quality consultancy practices. Use when consulting, advising clients, or establishing consultancy workflows.
3
+ description: "Apply effective software quality consultancy practices. Use when consulting, advising clients, or establishing consultancy workflows."
4
+ category: professional-practice
5
+ priority: medium
6
+ tokenEstimate: 950
7
+ agents: [qe-quality-analyzer, qe-regression-risk-analyzer, qe-quality-gate]
8
+ implementation_status: optimized
9
+ optimization_version: 1.0
10
+ last_optimized: 2025-12-03
11
+ dependencies: []
12
+ quick_reference_card: true
13
+ tags: [consulting, advisory, client-engagement, quality-assessment, transformation]
4
14
  ---
5
15
 
6
16
  # Consultancy Practices
7
17
 
8
- ## Core Philosophy
18
+ <default_to_action>
19
+ When consulting on quality:
20
+ 1. LISTEN FIRST: Understand their context before prescribing solutions
21
+ 2. DISCOVER: What's the pain? What have they tried? What are constraints?
22
+ 3. PRIORITIZE: Impact/effort matrix - high impact, low effort first
23
+ 4. TRANSFER KNOWLEDGE: Leave them better, not dependent on you
24
+ 5. MEASURE: Define success metrics upfront, track weekly
9
25
 
10
- You're not there to impose your process. You're there to help them solve their specific problems in their specific context. Listen first, prescribe second.
11
-
12
- **Key principle:** Leave them better than you found them - not dependent on you.
13
-
14
- ## Types of Engagements
15
-
16
- ### Assessment / Discovery
17
- **Duration:** 1-4 weeks
18
- **Goal:** Understand current state, identify problems, recommend improvements
19
- **Deliverable:** Report with findings and recommendations
20
-
21
- ### Transformation / Implementation
22
- **Duration:** 3-12 months
23
- **Goal:** Help team implement new practices, tools, or processes
24
- **Deliverable:** Working system, trained team, documented practices
25
-
26
- ### Advisory / Coaching
27
- **Duration:** Ongoing (monthly/quarterly)
28
- **Goal:** Provide strategic guidance, review progress, course-correct
29
- **Deliverable:** Regular advice, problem-solving sessions
30
-
31
- ### Crisis / Fire-Fighting
32
- **Duration:** 1-4 weeks
33
- **Goal:** Fix critical quality issues blocking production
34
- **Deliverable:** Stabilized system, action plan
35
-
36
- ## The Consulting Process
37
-
38
- ### Phase 1: Discovery (Week 1-2)
39
-
40
- **Understand the Context**
41
- - What's the business goal?
42
- - What's the current pain?
43
- - What have they tried?
44
- - What are the constraints?
45
-
46
- **Talk to Everyone**
47
- - Leadership (strategy, budget, expectations)
48
- - Developers (daily reality, technical debt)
49
- - QA/QE (testing challenges, tooling gaps)
50
- - Product (priorities, customer impact)
51
- - Operations (deployment, monitoring)
52
-
53
- **Observe, Don't Judge (Yet)**
54
- - Shadow team members
55
- - Review code, tests, processes
56
- - Check metrics and dashboards
57
- - Look at recent incidents
26
+ **Engagement Types:**
27
+ - **Assessment (1-4 weeks)**: Discover, analyze, recommend
28
+ - **Transformation (3-12 months)**: Implement new practices
29
+ - **Advisory (ongoing)**: Strategic guidance, course-correct
30
+ - **Crisis (1-4 weeks)**: Fix critical issues blocking production
58
31
 
59
32
  **Key Questions:**
60
33
  - "Walk me through your last deployment"
61
34
  - "Tell me about a recent bug that escaped to production"
62
- - "What's the hardest part of your job?"
63
35
  - "If you could fix one thing, what would it be?"
36
+ </default_to_action>
64
37
 
65
- ### Phase 2: Analysis (Week 2-3)
66
-
67
- **Identify Root Causes**
68
- Don't stop at symptoms. Five Whys technique:
69
-
70
- ```
71
- Problem: "Tests are too slow"
72
- Why? → Test suite takes 2 hours
73
- Why? → Too many E2E tests
74
- Why? → No confidence in unit tests
75
- Why? → Unit tests don't catch real bugs
76
- Why? → Tests don't reflect actual use cases
77
-
78
- Root cause: Test strategy doesn't match risk profile
79
- ```
80
-
81
- **Prioritize Issues**
82
- Not everything can be fixed at once. Use impact/effort matrix:
38
+ ## Quick Reference Card
83
39
 
84
- ```
85
- High Impact, Low Effort: Do First
86
- High Impact, High Effort: Plan Carefully
87
- Low Impact, Low Effort: Quick Wins
88
- Low Impact, High Effort: Skip
89
- ```
40
+ ### The Consulting Process
90
41
 
91
- **Consider Constraints**
92
- - Budget limitations
93
- - Skill gaps
94
- - Political dynamics
95
- - Technical debt
96
- - Timeline pressure
42
+ | Phase | Duration | Goal | Deliverable |
43
+ |-------|----------|------|-------------|
44
+ | **Discovery** | Week 1-2 | Understand context | Interview notes, observations |
45
+ | **Analysis** | Week 2-3 | Identify root causes | Impact/effort matrix |
46
+ | **Recommendations** | Week 3-4 | Present findings | Report with roadmap |
47
+ | **Implementation** | Month 2-6+ | Execute changes | Working system, trained team |
48
+ | **Transition** | Final month | Ensure self-sufficiency | Handover docs |
97
49
 
98
- ### Phase 3: Recommendations (Week 3-4)
50
+ ### Impact/Effort Matrix
99
51
 
100
- **Present Findings**
101
- - Current state (what you observed)
102
- - Impact (cost of not fixing)
103
- - Recommendations (specific, actionable)
104
- - Roadmap (phased approach)
52
+ | Priority | What | Action |
53
+ |----------|------|--------|
54
+ | High Impact, Low Effort | Quick wins | Do first |
55
+ | High Impact, High Effort | Major initiatives | Plan carefully |
56
+ | Low Impact, Low Effort | Nice-to-haves | If time permits |
57
+ | Low Impact, High Effort | Distractions | Skip |
105
58
 
106
- **Format:**
107
- ```
108
- Executive Summary (1 page)
109
- - Key findings
110
- - Critical recommendations
111
- - Expected outcomes
112
-
113
- Detailed Findings (10-20 pages)
114
- - Each finding with evidence
115
- - Impact assessment
116
- - Specific recommendations
117
- - Implementation approach
118
-
119
- Appendices
120
- - Metrics and data
121
- - Interview notes
122
- - Technical details
123
- ```
124
-
125
- **Present in Layers**
126
- - Leadership: Business impact, ROI, timeline
127
- - Technical team: Implementation details, tools, practices
128
- - Everyone: Clear next steps
129
-
130
- ### Phase 4: Implementation (Month 2-6+)
131
-
132
- **Start Small**
133
- Don't boil the ocean. Pick one high-impact change:
134
-
135
- **Example:** "Let's get your deployment time from 4 hours to 30 minutes"
136
- - Faster feedback
137
- - Visible improvement
138
- - Builds trust for bigger changes
139
-
140
- **Work Alongside the Team**
141
- - Pair programming
142
- - Ensemble testing
143
- - Workshop facilitation
144
- - Code/test reviews
145
-
146
- **Transfer Knowledge**
147
- - Document as you go
148
- - Explain your reasoning
149
- - Teach, don't just do
150
- - Create repeatable practices
151
-
152
- **Measure Progress**
153
- - Define success metrics upfront
154
- - Track weekly
155
- - Celebrate wins
156
- - Course-correct quickly
157
-
158
- ### Phase 5: Transition (Final Month)
159
-
160
- **Ensure Self-Sufficiency**
161
- - Team can maintain practices without you
162
- - Documentation is current
163
- - Knowledge is spread (not siloed)
164
- - Clear ownership defined
165
-
166
- **Set Up for Long-Term Success**
167
- - Quarterly health checks (optional follow-up)
168
- - Open door for questions
169
- - Community of practice established
59
+ ---
170
60
 
171
- ## Common Engagement Patterns
61
+ ## Common Patterns
172
62
 
173
- ### Pattern 1: "We Need Test Automation"
63
+ ### "We Need Test Automation"
174
64
 
175
65
  **What they say:** "We need test automation"
176
66
  **What they mean:** "Manual testing is too slow/expensive"
177
67
 
178
- **Discovery Questions:**
179
- - What are you testing manually now?
180
- - How long does a full regression take?
181
- - What's your deployment frequency?
182
- - What's your biggest quality pain?
68
+ **Discovery:** How long is regression? What's deployment frequency?
183
69
 
184
- **Typical Finding:**
185
- They don't need "test automation." They need:
186
- - Faster feedback on changes
187
- - Confidence to deploy more often
188
- - Better test strategy (automation where it helps)
70
+ **Typical Finding:** They need faster feedback, not "automation"
189
71
 
190
72
  **Recommendation:**
191
- 1. Start with unit tests for new code (TDD)
192
- 2. Automate smoke tests for critical paths
193
- 3. Keep exploratory testing for discovery
194
- 4. Build automation incrementally, not big-bang
73
+ 1. Unit tests for new code (TDD)
74
+ 2. Smoke tests for critical paths
75
+ 3. Keep exploratory for discovery
76
+ 4. Build automation incrementally
195
77
 
196
- ### Pattern 2: "Fix Our Quality Problem"
78
+ ### "Fix Our Quality Problem"
197
79
 
198
80
  **What they say:** "We have too many bugs"
199
81
  **What they mean:** "Something is broken but we don't know what"
200
82
 
201
- **Discovery Questions:**
202
- - Where are bugs being found? (testing, staging, production)
203
- - What types of bugs? (functional, performance, security)
204
- - When were they introduced? (recent changes, old code)
205
- - What's the impact? (revenue loss, customer complaints)
206
-
207
- **Typical Finding:**
208
- "Quality problem" is usually one of:
209
- - No test strategy (testing randomly)
210
- - Testing too late (after code complete)
211
- - No feedback loops (bugs found weeks later)
212
- - Poor communication (requirements unclear)
83
+ **Discovery:** Where found? What types? When introduced?
213
84
 
214
- **Recommendation:**
215
- Depends on root cause, but often:
216
- - Shift testing left (involve QE earlier)
217
- - Improve test coverage on critical paths
218
- - Speed up feedback (CI/CD improvements)
219
- - Better requirements/acceptance criteria
220
-
221
- ### Pattern 3: "We Want to Scale Quality"
222
-
223
- **What they say:** "We're growing fast, quality can't keep up"
224
- **What they mean:** "We can't hire enough QA fast enough"
225
-
226
- **Discovery Questions:**
227
- - What's your current QA:Dev ratio?
228
- - Where are QA resources spending time?
229
- - What bottlenecks exist?
230
- - What's your deployment process?
231
-
232
- **Typical Finding:**
233
- QA is a bottleneck because:
234
- - Manual regression testing before every deploy
235
- - QA as gatekeepers, not enablers
236
- - Developers don't write tests
237
- - Quality isn't a whole-team responsibility
85
+ **Typical Finding:** No test strategy, testing too late, poor feedback loops
238
86
 
239
87
  **Recommendation:**
240
- - Make QA role strategic, not tactical
241
- - Developers own test automation
242
- - QA focuses on exploratory testing, risk analysis
243
- - Build quality into development process
244
- - Use agentic approaches for scale
245
-
246
- ## Consulting Anti-Patterns
247
-
248
- ### ❌ The Cookie-Cutter
249
- **Problem:** Apply same solution everywhere
250
- **Example:** "Everyone should use Selenium for E2E"
251
- **Better:** Understand their context, recommend fit-for-purpose solutions
252
-
253
- ### ❌ The Tool Pusher
254
- **Problem:** Recommend expensive tools (often for kickbacks)
255
- **Example:** "You need this $100k test management platform"
256
- **Better:** Recommend tools that solve actual problems, regardless of cost
257
-
258
- ### ❌ The Process Nazi
259
- **Problem:** Impose rigid process
260
- **Example:** "You must follow these 47 steps for every release"
261
- **Better:** Lightweight process that fits their culture
262
-
263
- ### ❌ The Permanent Fixture
264
- **Problem:** Never actually leave, create dependency
265
- **Example:** "I'll just stay on retainer... indefinitely"
266
- **Better:** Explicitly work toward them not needing you
267
-
268
- ### ❌ The Blame Game
269
- **Problem:** Point fingers at people instead of fixing systems
270
- **Example:** "Your developers are terrible at testing"
271
- **Better:** "Your developers lack test infrastructure and training"
272
-
273
- ## Difficult Situations
274
-
275
- ### "We Already Tried That"
276
-
277
- **Response:** "Tell me more about what you tried and what didn't work."
278
-
279
- Often they tried a poor implementation or in the wrong context. Learn from their experience.
280
-
281
- ### "Our Context is Special"
88
+ 1. Shift testing left
89
+ 2. Improve coverage on critical paths
90
+ 3. Speed up CI/CD feedback
91
+ 4. Better requirements/acceptance criteria
282
92
 
283
- **Response:** "You're right, every context is unique. Help me understand what makes yours special."
93
+ ### "We Want to Scale Quality"
284
94
 
285
- They might be right. Or they might be making excuses. Listen first, then challenge assumptions gently.
95
+ **What they say:** "Growing fast, quality can't keep up"
96
+ **What they mean:** "Can't hire enough QA fast enough"
286
97
 
287
- ### "We Don't Have Budget/Time"
98
+ **Discovery:** Current QA:Dev ratio? Where's QA spending time?
288
99
 
289
- **Response:** "What's the cost of not fixing this? Let's start with something small that delivers value quickly."
100
+ **Typical Finding:** QA is bottleneck - manual regression, gatekeeping
290
101
 
291
- Show ROI, start with quick wins, build momentum.
292
-
293
- ### "That Won't Work Here"
294
-
295
- **Response:** "What specific constraints make this challenging? Let's adapt the approach."
296
-
297
- Acknowledge their concerns, adjust recommendations, find what WILL work.
298
-
299
- ### "We Need Certification/Compliance"
300
-
301
- **Response:** "What are the actual requirements vs. what's nice to have?"
302
-
303
- Often "compliance" is over-interpreted. Find the minimum viable compliance.
304
-
305
- ## Pricing Models
306
-
307
- ### Time & Materials
308
- **Good for:** Discovery, unclear scope
309
- **Risk:** Client bears cost uncertainty
310
- **Rate:** Daily or hourly
311
-
312
- ### Fixed Price
313
- **Good for:** Well-defined deliverables
314
- **Risk:** You bear scope creep risk
315
- **Rate:** Project-based
316
-
317
- ### Retainer
318
- **Good for:** Ongoing advisory
319
- **Risk:** Scope creep if not managed
320
- **Rate:** Monthly fee for X hours/month
321
-
322
- ### Value-Based
323
- **Good for:** Clear ROI metrics
324
- **Risk:** Requires trust and metrics
325
- **Rate:** % of value delivered
326
-
327
- **Example:** "If we reduce your deployment time from 4 hours to 30 minutes, saving your team 200 hours/month, my fee is $X based on that value."
328
-
329
- ## Building Your Practice
330
-
331
- ### Start Small
332
- - 1-2 clients initially
333
- - Focus on referrals
334
- - Build case studies
335
- - Learn from each engagement
336
-
337
- ### Specialize
338
- - Pick a niche (fintech, healthcare, e-commerce)
339
- - Or a practice area (test automation, CI/CD, agentic QE)
340
- - Become known for something specific
102
+ **Recommendation:**
103
+ 1. Make QA strategic, not tactical
104
+ 2. Developers own test automation
105
+ 3. QA focuses on exploratory, risk analysis
106
+ 4. Use agentic approaches for scale
341
107
 
342
- ### Network
343
- - Speak at conferences
344
- - Write blog posts
345
- - Contribute to communities
346
- - Help people generously (leads to referrals)
108
+ ---
347
109
 
348
- ### Learn Continuously
349
- - Every client teaches you something
350
- - Study other consultants
351
- - Read business/consulting books
352
- - Practice your craft
110
+ ## Anti-Patterns
353
111
 
354
- ## Success Metrics
112
+ | Anti-Pattern | Problem | Better |
113
+ |--------------|---------|--------|
114
+ | **Cookie-Cutter** | Same solution everywhere | Context-specific recommendations |
115
+ | **Tool Pusher** | Recommend expensive tools | Tools that solve actual problems |
116
+ | **Process Nazi** | Impose rigid process | Lightweight, fits their culture |
117
+ | **Permanent Fixture** | Never leave, create dependency | Work toward them not needing you |
118
+ | **Blame Game** | Point fingers at people | Fix systems, not blame people |
355
119
 
356
- **For You:**
357
- - Client satisfaction (would they hire you again?)
358
- - Referrals generated
359
- - Project profitability
360
- - Learning and growth
120
+ ---
361
121
 
362
- **For Client:**
363
- - Problem actually solved (not just "we hired a consultant")
364
- - Team is self-sufficient
365
- - Measurable improvement in metrics
366
- - Would recommend you to others
122
+ ## Difficult Situations
367
123
 
368
- ## Essential Skills
124
+ **"We already tried that"**
125
+ → "Tell me what you tried and what didn't work" (learn from their experience)
369
126
 
370
- ### Technical Excellence
371
- - Deep expertise in your domain
372
- - Hands-on capability (not just theory)
373
- - Up to date with practices and tools
127
+ **"Our context is special"**
128
+ "Help me understand what makes yours special" (they might be right, or making excuses)
374
129
 
375
- ### Communication
376
- - Listen more than you talk
377
- - Adjust message for audience
378
- - Written and verbal clarity
379
- - Facilitation skills
130
+ **"We don't have budget/time"**
131
+ "What's the cost of not fixing this? Let's start small" (show ROI)
380
132
 
381
- ### Business Acumen
382
- - Understand ROI and costs
383
- - Speak to business outcomes
384
- - Navigate organizational politics
385
- - Negotiation skills
133
+ **"That won't work here"**
134
+ "What specific constraints? Let's adapt" (find what WILL work)
386
135
 
387
- ### Teaching
388
- - Transfer knowledge effectively
389
- - Create "aha" moments
390
- - Patience with learning curves
391
- - Adapt to different learning styles
136
+ ---
392
137
 
393
- ## Your Consulting Toolkit
138
+ ## Agent Integration
394
139
 
395
- ### Assessment Tools
396
- - Maturity models (adapted to context)
397
- - Interview scripts
398
- - Observation checklists
399
- - Metrics to gather
400
-
401
- ### Workshop Formats
402
- - Example mapping
403
- - Risk storming
404
- - Retrospective facilitation
405
- - Technical training
406
-
407
- ### Documentation Templates
408
- - Assessment reports
409
- - Implementation roadmaps
410
- - Practice guides
411
- - Handover documents
412
-
413
- ### Follow-Up
414
- - Monthly check-ins (first 3 months)
415
- - Quarterly health checks
416
- - Open door for questions
417
- - Community of practice
418
-
419
- ## Using with QE Agents
420
-
421
- ### Automated Codebase Assessment
422
-
423
- **qe-quality-analyzer** performs comprehensive client codebase analysis:
424
140
  ```typescript
425
- // Agent analyzes client codebase for improvement areas
426
- const assessment = await agent.assessCodebase({
141
+ // Automated codebase assessment
142
+ const assessment = await Task("Assess Codebase", {
427
143
  scope: 'client-project/',
428
144
  depth: 'comprehensive',
429
- reportFormat: 'executive-summary',
430
- includeMetrics: true,
431
- includeRecommendations: true
432
- });
145
+ reportFormat: 'executive-summary'
146
+ }, "qe-quality-analyzer");
433
147
 
434
- // Returns:
435
- // {
436
- // qualityScore: 0.67,
437
- // testCoverage: 45,
438
- // technicalDebt: 'high',
439
- // securityRisk: 'medium',
440
- // maintainabilityIndex: 62,
441
- // recommendations: [...]
442
- // }
443
- ```
148
+ // Returns: { qualityScore, testCoverage, technicalDebt, recommendations }
444
149
 
445
- ### Prioritized Recommendations
446
-
447
- ```typescript
448
- // Agent generates prioritized improvement roadmap
449
- const recommendations = await qe-quality-analyzer.generateRecommendations({
450
- assessment,
451
- prioritize: 'high-impact-low-effort',
452
- timeline: '3-months',
453
- budget: 'medium',
454
- teamSize: 5
455
- });
150
+ // ROI analysis for quality initiatives
151
+ const roi = await Task("Calculate ROI", {
152
+ currentState: { defectEscapeRate: 0.15, mttr: 48 },
153
+ proposedImprovements: ['test-automation', 'ci-cd-pipeline'],
154
+ timeframe: '6-months'
155
+ }, "qe-quality-analyzer");
456
156
 
457
- // Returns phased improvement plan:
458
- // Phase 1 (Month 1): Critical security fixes, test automation setup
459
- // Phase 2 (Month 2): Improve test coverage, refactor hotspots
460
- // Phase 3 (Month 3): Performance optimization, monitoring
157
+ // Returns: { estimatedCost, estimatedSavings, paybackPeriod }
461
158
  ```
462
159
 
463
- ### ROI Analysis for Quality Improvements
160
+ ---
464
161
 
465
- ```typescript
466
- // Agent calculates ROI for quality initiatives
467
- const roiAnalysis = await qe-quality-analyzer.calculateQualityROI({
468
- currentState: {
469
- defectEscapeRate: 0.15,
470
- mttr: 48, // hours
471
- deploymentFrequency: 'weekly'
472
- },
473
- proposedImprovements: [
474
- 'test-automation',
475
- 'ci-cd-pipeline',
476
- 'code-review-process'
477
- ],
478
- timeframe: '6-months'
479
- });
162
+ ## Agent Coordination Hints
480
163
 
481
- // Returns:
482
- // {
483
- // estimatedCost: '$50,000',
484
- // estimatedSavings: '$120,000/year',
485
- // paybackPeriod: '3 months',
486
- // qualityImprovement: '40% fewer production bugs'
487
- // }
164
+ ### Memory Namespace
165
+ ```
166
+ aqe/consultancy/
167
+ ├── assessments/* - Client assessments
168
+ ├── recommendations/* - Prioritized recommendations
169
+ ├── roi-analysis/* - ROI calculations
170
+ └── progress/* - Implementation tracking
488
171
  ```
489
172
 
490
- ### Client Engagement Fleet
491
-
173
+ ### Fleet Coordination
492
174
  ```typescript
493
175
  const consultingFleet = await FleetManager.coordinate({
494
176
  strategy: 'client-engagement',
495
177
  agents: [
496
- 'qe-quality-analyzer', // Assess current state
178
+ 'qe-quality-analyzer', // Assess current state
497
179
  'qe-regression-risk-analyzer', // Risk assessment
498
- 'qe-quality-gate', // Define quality gates
499
- 'qe-deployment-readiness' // Deployment maturity
180
+ 'qe-quality-gate', // Define quality gates
181
+ 'qe-deployment-readiness' // Deployment maturity
500
182
  ],
501
183
  topology: 'hierarchical'
502
184
  });
503
-
504
- await consultingFleet.execute({
505
- clientProject: 'enterprise-saas',
506
- deliverable: 'comprehensive-quality-assessment'
507
- });
508
185
  ```
509
186
 
510
187
  ---
511
188
 
512
189
  ## Related Skills
513
-
514
- **Core Quality:**
515
- - [agentic-quality-engineering](../agentic-quality-engineering/) - Agent-driven consulting workflows
516
190
  - [quality-metrics](../quality-metrics/) - Metrics for client reporting
517
-
518
- **Testing:**
519
191
  - [risk-based-testing](../risk-based-testing/) - Client risk assessment
520
- - [holistic-testing-pact](../holistic-testing-pact/) - Comprehensive testing strategy
521
-
522
- **Communication:**
523
- - [technical-writing](../technical-writing/) - Client deliverables
524
- - [code-review-quality](../code-review-quality/) - Code quality consulting
192
+ - [holistic-testing-pact](../holistic-testing-pact/) - Comprehensive strategy
525
193
 
526
194
  ---
527
195
 
528
196
  ## Remember
529
197
 
530
- Good consulting is about empowering teams, not creating dependency. Your success is measured by them not needing you anymore - while still wanting to work with you again.
198
+ **Good consulting is about empowering teams, not creating dependency.** Your success is measured by them not needing you anymore - while still wanting to work with you again.
531
199
 
532
200
  **Best compliment:** "We've got this now, but when we tackle X next year, we're calling you."
533
201