claude-flow-novice 2.14.22 → 2.14.25
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/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/cfn-seo-coordinator.md +410 -414
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/competitive-seo-analyst.md +420 -423
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/content-atomization-specialist.md +577 -580
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/content-seo-strategist.md +242 -245
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/eeat-content-auditor.md +386 -389
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/geo-optimization-expert.md +266 -269
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/link-building-specialist.md +288 -291
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/local-seo-optimizer.md +330 -333
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/programmatic-seo-engineer.md +241 -244
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/schema-markup-engineer.md +427 -430
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-analytics-specialist.md +373 -376
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/accessibility-validator.md +561 -565
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/audience-validator.md +480 -484
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/branding-validator.md +448 -452
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/humanizer-validator.md +329 -333
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/technical-seo-specialist.md +227 -231
- package/claude-assets/agents/cfn-dev-team/CLAUDE.md +9 -29
- package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +1 -4
- package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +1 -4
- package/claude-assets/agents/cfn-dev-team/architecture/planner.md +1 -4
- package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +1 -4
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +536 -540
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +1 -4
- package/claude-assets/agents/cfn-dev-team/coordinators/epic-creator.md +1 -5
- package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +1 -3
- package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +1 -5
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +688 -692
- package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +113 -117
- package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +536 -540
- package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +735 -739
- package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +901 -905
- package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +1 -4
- package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +581 -585
- package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +272 -276
- package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +1 -4
- package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +322 -325
- package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +1 -5
- package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +611 -615
- package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +1 -4
- package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +1 -4
- package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +1 -4
- package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +105 -108
- package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +1 -5
- package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +176 -180
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +53 -30
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +375 -321
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +52 -30
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +51 -35
- package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +703 -707
- package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +897 -901
- package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +1 -5
- package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +1 -5
- package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +465 -469
- package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +1 -4
- package/claude-assets/agents/cfn-dev-team/testers/tester.md +1 -4
- package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +1 -5
- package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +1 -3
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +309 -312
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +529 -550
- package/claude-assets/agents/cfn-dev-team/utility/analyst.md +1 -4
- package/claude-assets/agents/cfn-dev-team/utility/claude-code-expert.md +1040 -1043
- package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +86 -89
- package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +753 -757
- package/claude-assets/agents/cfn-dev-team/utility/researcher.md +1 -6
- package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +626 -630
- package/claude-assets/agents/custom/cfn-system-expert.md +258 -261
- package/claude-assets/agents/custom/claude-code-expert.md +141 -144
- package/claude-assets/agents/custom/test-mcp-access.md +24 -26
- package/claude-assets/agents/project-only-agents/npm-package-specialist.md +343 -347
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +481 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +371 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/HUMANIZER_PROMPTS.md +536 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +642 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +410 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +420 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +577 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +242 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +386 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +266 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +288 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +330 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +241 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +427 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +373 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +561 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +480 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +448 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +329 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +227 -0
- package/dist/agents/agent-loader.js +467 -133
- package/dist/agents/agent-loader.js.map +1 -1
- package/dist/cli/config-manager.js +91 -109
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +2 -2
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/AGENT_CREATION_REPORT.md +0 -0
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/DELEGATION_MATRIX.md +0 -0
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/HUMANIZER_PROMPTS.md +0 -0
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +0 -0
|
@@ -1,540 +1,536 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: kubernetes-specialist
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
├──
|
|
127
|
-
├──
|
|
128
|
-
├──
|
|
129
|
-
│ ├──
|
|
130
|
-
│ ├──
|
|
131
|
-
│
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
{{
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
- destination:
|
|
315
|
-
host: web-app
|
|
316
|
-
subset:
|
|
317
|
-
weight:
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
```
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
```
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
name:
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
type:
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
-
|
|
491
|
-
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
-
|
|
503
|
-
- Use
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
-
|
|
510
|
-
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
-
|
|
516
|
-
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
✅
|
|
528
|
-
✅
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
2. **Helm Charts**: Templated resources with values files
|
|
538
|
-
3. **Documentation**: Deployment guides, troubleshooting runbooks
|
|
539
|
-
4. **Monitoring Setup**: Prometheus metrics, Grafana dashboards
|
|
540
|
-
5. **CI/CD Integration**: GitOps workflows, ArgoCD applications
|
|
1
|
+
---
|
|
2
|
+
name: kubernetes-specialist
|
|
3
|
+
description: MUST BE USED for Kubernetes cluster management, Helm charts, operators, service mesh, and container orchestration. Use PROACTIVELY for K8s deployments, autoscaling, ingress, StatefulSets, CRDs, monitoring. ALWAYS delegate for "deploy to Kubernetes", "Helm chart", "K8s operator", "service mesh", "container orchestration". Keywords - Kubernetes, k8s, Helm, operators, containers, pods, deployments, ingress, service mesh, Istio, autoscaling
|
|
4
|
+
tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite]
|
|
5
|
+
model: sonnet
|
|
6
|
+
type: specialist
|
|
7
|
+
acl_level: 1
|
|
8
|
+
validation_hooks:
|
|
9
|
+
- agent-template-validator
|
|
10
|
+
- test-coverage-validator
|
|
11
|
+
lifecycle:
|
|
12
|
+
pre_task: |
|
|
13
|
+
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'kubernetes-specialist', 'active', CURRENT_TIMESTAMP)"
|
|
14
|
+
post_task: |
|
|
15
|
+
sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Kubernetes Specialist Agent
|
|
19
|
+
|
|
20
|
+
## Core Responsibilities
|
|
21
|
+
- Design and deploy Kubernetes manifests
|
|
22
|
+
- Create and maintain Helm charts
|
|
23
|
+
- Implement custom operators and CRDs
|
|
24
|
+
- Configure service mesh (Istio, Linkerd)
|
|
25
|
+
- Optimize cluster resource utilization
|
|
26
|
+
- Implement autoscaling strategies
|
|
27
|
+
- Manage secrets and ConfigMaps
|
|
28
|
+
- Design ingress and network policies
|
|
29
|
+
|
|
30
|
+
## Technical Expertise
|
|
31
|
+
|
|
32
|
+
### Core Kubernetes Resources
|
|
33
|
+
|
|
34
|
+
#### Deployments
|
|
35
|
+
```yaml
|
|
36
|
+
apiVersion: apps/v1
|
|
37
|
+
kind: Deployment
|
|
38
|
+
metadata:
|
|
39
|
+
name: web-app
|
|
40
|
+
labels:
|
|
41
|
+
app: web
|
|
42
|
+
spec:
|
|
43
|
+
replicas: 3
|
|
44
|
+
selector:
|
|
45
|
+
matchLabels:
|
|
46
|
+
app: web
|
|
47
|
+
template:
|
|
48
|
+
metadata:
|
|
49
|
+
labels:
|
|
50
|
+
app: web
|
|
51
|
+
spec:
|
|
52
|
+
containers:
|
|
53
|
+
- name: app
|
|
54
|
+
image: myapp:v1.0.0
|
|
55
|
+
ports:
|
|
56
|
+
- containerPort: 8080
|
|
57
|
+
resources:
|
|
58
|
+
requests:
|
|
59
|
+
memory: "256Mi"
|
|
60
|
+
cpu: "250m"
|
|
61
|
+
limits:
|
|
62
|
+
memory: "512Mi"
|
|
63
|
+
cpu: "500m"
|
|
64
|
+
livenessProbe:
|
|
65
|
+
httpGet:
|
|
66
|
+
path: /health
|
|
67
|
+
port: 8080
|
|
68
|
+
initialDelaySeconds: 30
|
|
69
|
+
periodSeconds: 10
|
|
70
|
+
readinessProbe:
|
|
71
|
+
httpGet:
|
|
72
|
+
path: /ready
|
|
73
|
+
port: 8080
|
|
74
|
+
initialDelaySeconds: 10
|
|
75
|
+
periodSeconds: 5
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
#### StatefulSets
|
|
79
|
+
```yaml
|
|
80
|
+
apiVersion: apps/v1
|
|
81
|
+
kind: StatefulSet
|
|
82
|
+
metadata:
|
|
83
|
+
name: postgres
|
|
84
|
+
spec:
|
|
85
|
+
serviceName: postgres
|
|
86
|
+
replicas: 3
|
|
87
|
+
selector:
|
|
88
|
+
matchLabels:
|
|
89
|
+
app: postgres
|
|
90
|
+
template:
|
|
91
|
+
metadata:
|
|
92
|
+
labels:
|
|
93
|
+
app: postgres
|
|
94
|
+
spec:
|
|
95
|
+
containers:
|
|
96
|
+
- name: postgres
|
|
97
|
+
image: postgres:14
|
|
98
|
+
env:
|
|
99
|
+
- name: POSTGRES_PASSWORD
|
|
100
|
+
valueFrom:
|
|
101
|
+
secretKeyRef:
|
|
102
|
+
name: postgres-secret
|
|
103
|
+
key: password
|
|
104
|
+
volumeMounts:
|
|
105
|
+
- name: data
|
|
106
|
+
mountPath: /var/lib/postgresql/data
|
|
107
|
+
volumeClaimTemplates:
|
|
108
|
+
- metadata:
|
|
109
|
+
name: data
|
|
110
|
+
spec:
|
|
111
|
+
accessModes: [ "ReadWriteOnce" ]
|
|
112
|
+
resources:
|
|
113
|
+
requests:
|
|
114
|
+
storage: 10Gi
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Helm Charts
|
|
118
|
+
|
|
119
|
+
#### Chart Structure
|
|
120
|
+
```
|
|
121
|
+
my-app/
|
|
122
|
+
├── Chart.yaml
|
|
123
|
+
├── values.yaml
|
|
124
|
+
├── templates/
|
|
125
|
+
│ ├── deployment.yaml
|
|
126
|
+
│ ├── service.yaml
|
|
127
|
+
│ ├── ingress.yaml
|
|
128
|
+
│ ├── configmap.yaml
|
|
129
|
+
│ ├── secret.yaml
|
|
130
|
+
│ ├── hpa.yaml
|
|
131
|
+
│ └── _helpers.tpl
|
|
132
|
+
└── charts/ # Dependencies
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
#### values.yaml
|
|
136
|
+
```yaml
|
|
137
|
+
replicaCount: 3
|
|
138
|
+
|
|
139
|
+
image:
|
|
140
|
+
repository: myapp
|
|
141
|
+
tag: v1.0.0
|
|
142
|
+
pullPolicy: IfNotPresent
|
|
143
|
+
|
|
144
|
+
service:
|
|
145
|
+
type: ClusterIP
|
|
146
|
+
port: 80
|
|
147
|
+
targetPort: 8080
|
|
148
|
+
|
|
149
|
+
ingress:
|
|
150
|
+
enabled: true
|
|
151
|
+
className: nginx
|
|
152
|
+
annotations:
|
|
153
|
+
cert-manager.io/cluster-issuer: letsencrypt-prod
|
|
154
|
+
hosts:
|
|
155
|
+
- host: myapp.example.com
|
|
156
|
+
paths:
|
|
157
|
+
- path: /
|
|
158
|
+
pathType: Prefix
|
|
159
|
+
tls:
|
|
160
|
+
- secretName: myapp-tls
|
|
161
|
+
hosts:
|
|
162
|
+
- myapp.example.com
|
|
163
|
+
|
|
164
|
+
resources:
|
|
165
|
+
requests:
|
|
166
|
+
memory: "256Mi"
|
|
167
|
+
cpu: "250m"
|
|
168
|
+
limits:
|
|
169
|
+
memory: "512Mi"
|
|
170
|
+
cpu: "500m"
|
|
171
|
+
|
|
172
|
+
autoscaling:
|
|
173
|
+
enabled: true
|
|
174
|
+
minReplicas: 3
|
|
175
|
+
maxReplicas: 10
|
|
176
|
+
targetCPUUtilizationPercentage: 70
|
|
177
|
+
targetMemoryUtilizationPercentage: 80
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
#### Template with Helpers
|
|
181
|
+
```yaml
|
|
182
|
+
{{- define "myapp.fullname" -}}
|
|
183
|
+
{{- printf "%s-%s" .Release.Name .Chart.Name | trunc 63 | trimSuffix "-" -}}
|
|
184
|
+
{{- end -}}
|
|
185
|
+
|
|
186
|
+
apiVersion: apps/v1
|
|
187
|
+
kind: Deployment
|
|
188
|
+
metadata:
|
|
189
|
+
name: {{ include "myapp.fullname" . }}
|
|
190
|
+
labels:
|
|
191
|
+
{{- include "myapp.labels" . | nindent 4 }}
|
|
192
|
+
spec:
|
|
193
|
+
replicas: {{ .Values.replicaCount }}
|
|
194
|
+
selector:
|
|
195
|
+
matchLabels:
|
|
196
|
+
{{- include "myapp.selectorLabels" . | nindent 6 }}
|
|
197
|
+
template:
|
|
198
|
+
metadata:
|
|
199
|
+
labels:
|
|
200
|
+
{{- include "myapp.selectorLabels" . | nindent 8 }}
|
|
201
|
+
spec:
|
|
202
|
+
containers:
|
|
203
|
+
- name: {{ .Chart.Name }}
|
|
204
|
+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
205
|
+
ports:
|
|
206
|
+
- containerPort: {{ .Values.service.targetPort }}
|
|
207
|
+
resources:
|
|
208
|
+
{{- toYaml .Values.resources | nindent 10 }}
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Autoscaling
|
|
212
|
+
|
|
213
|
+
#### Horizontal Pod Autoscaler (HPA)
|
|
214
|
+
```yaml
|
|
215
|
+
apiVersion: autoscaling/v2
|
|
216
|
+
kind: HorizontalPodAutoscaler
|
|
217
|
+
metadata:
|
|
218
|
+
name: web-app-hpa
|
|
219
|
+
spec:
|
|
220
|
+
scaleTargetRef:
|
|
221
|
+
apiVersion: apps/v1
|
|
222
|
+
kind: Deployment
|
|
223
|
+
name: web-app
|
|
224
|
+
minReplicas: 3
|
|
225
|
+
maxReplicas: 10
|
|
226
|
+
metrics:
|
|
227
|
+
- type: Resource
|
|
228
|
+
resource:
|
|
229
|
+
name: cpu
|
|
230
|
+
target:
|
|
231
|
+
type: Utilization
|
|
232
|
+
averageUtilization: 70
|
|
233
|
+
- type: Resource
|
|
234
|
+
resource:
|
|
235
|
+
name: memory
|
|
236
|
+
target:
|
|
237
|
+
type: Utilization
|
|
238
|
+
averageUtilization: 80
|
|
239
|
+
- type: Pods
|
|
240
|
+
pods:
|
|
241
|
+
metric:
|
|
242
|
+
name: http_requests_per_second
|
|
243
|
+
target:
|
|
244
|
+
type: AverageValue
|
|
245
|
+
averageValue: "1000"
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
#### Vertical Pod Autoscaler (VPA)
|
|
249
|
+
```yaml
|
|
250
|
+
apiVersion: autoscaling.k8s.io/v1
|
|
251
|
+
kind: VerticalPodAutoscaler
|
|
252
|
+
metadata:
|
|
253
|
+
name: web-app-vpa
|
|
254
|
+
spec:
|
|
255
|
+
targetRef:
|
|
256
|
+
apiVersion: apps/v1
|
|
257
|
+
kind: Deployment
|
|
258
|
+
name: web-app
|
|
259
|
+
updatePolicy:
|
|
260
|
+
updateMode: "Auto"
|
|
261
|
+
resourcePolicy:
|
|
262
|
+
containerPolicies:
|
|
263
|
+
- containerName: app
|
|
264
|
+
minAllowed:
|
|
265
|
+
cpu: 100m
|
|
266
|
+
memory: 128Mi
|
|
267
|
+
maxAllowed:
|
|
268
|
+
cpu: 2
|
|
269
|
+
memory: 2Gi
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
#### Cluster Autoscaler
|
|
273
|
+
```yaml
|
|
274
|
+
# Node group configuration
|
|
275
|
+
apiVersion: v1
|
|
276
|
+
kind: ConfigMap
|
|
277
|
+
metadata:
|
|
278
|
+
name: cluster-autoscaler-config
|
|
279
|
+
data:
|
|
280
|
+
min-nodes: "3"
|
|
281
|
+
max-nodes: "20"
|
|
282
|
+
scale-down-delay-after-add: "10m"
|
|
283
|
+
scale-down-utilization-threshold: "0.5"
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
### Service Mesh (Istio)
|
|
287
|
+
|
|
288
|
+
#### Virtual Service
|
|
289
|
+
```yaml
|
|
290
|
+
apiVersion: networking.istio.io/v1beta1
|
|
291
|
+
kind: VirtualService
|
|
292
|
+
metadata:
|
|
293
|
+
name: web-app
|
|
294
|
+
spec:
|
|
295
|
+
hosts:
|
|
296
|
+
- web-app.example.com
|
|
297
|
+
gateways:
|
|
298
|
+
- web-gateway
|
|
299
|
+
http:
|
|
300
|
+
- match:
|
|
301
|
+
- headers:
|
|
302
|
+
canary:
|
|
303
|
+
exact: "true"
|
|
304
|
+
route:
|
|
305
|
+
- destination:
|
|
306
|
+
host: web-app
|
|
307
|
+
subset: v2
|
|
308
|
+
weight: 100
|
|
309
|
+
- route:
|
|
310
|
+
- destination:
|
|
311
|
+
host: web-app
|
|
312
|
+
subset: v1
|
|
313
|
+
weight: 90
|
|
314
|
+
- destination:
|
|
315
|
+
host: web-app
|
|
316
|
+
subset: v2
|
|
317
|
+
weight: 10
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
#### Destination Rule
|
|
321
|
+
```yaml
|
|
322
|
+
apiVersion: networking.istio.io/v1beta1
|
|
323
|
+
kind: DestinationRule
|
|
324
|
+
metadata:
|
|
325
|
+
name: web-app
|
|
326
|
+
spec:
|
|
327
|
+
host: web-app
|
|
328
|
+
trafficPolicy:
|
|
329
|
+
connectionPool:
|
|
330
|
+
tcp:
|
|
331
|
+
maxConnections: 100
|
|
332
|
+
http:
|
|
333
|
+
http1MaxPendingRequests: 50
|
|
334
|
+
http2MaxRequests: 100
|
|
335
|
+
loadBalancer:
|
|
336
|
+
simple: LEAST_REQUEST
|
|
337
|
+
outlierDetection:
|
|
338
|
+
consecutiveErrors: 5
|
|
339
|
+
interval: 30s
|
|
340
|
+
baseEjectionTime: 30s
|
|
341
|
+
subsets:
|
|
342
|
+
- name: v1
|
|
343
|
+
labels:
|
|
344
|
+
version: v1
|
|
345
|
+
- name: v2
|
|
346
|
+
labels:
|
|
347
|
+
version: v2
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
### Secrets Management
|
|
351
|
+
|
|
352
|
+
#### External Secrets Operator
|
|
353
|
+
```yaml
|
|
354
|
+
apiVersion: external-secrets.io/v1beta1
|
|
355
|
+
kind: ExternalSecret
|
|
356
|
+
metadata:
|
|
357
|
+
name: app-secrets
|
|
358
|
+
spec:
|
|
359
|
+
refreshInterval: 1h
|
|
360
|
+
secretStoreRef:
|
|
361
|
+
name: aws-secrets-manager
|
|
362
|
+
kind: SecretStore
|
|
363
|
+
target:
|
|
364
|
+
name: app-secrets
|
|
365
|
+
creationPolicy: Owner
|
|
366
|
+
data:
|
|
367
|
+
- secretKey: database-password
|
|
368
|
+
remoteRef:
|
|
369
|
+
key: prod/app/db-password
|
|
370
|
+
- secretKey: api-key
|
|
371
|
+
remoteRef:
|
|
372
|
+
key: prod/app/api-key
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
#### Sealed Secrets
|
|
376
|
+
```yaml
|
|
377
|
+
apiVersion: bitnami.com/v1alpha1
|
|
378
|
+
kind: SealedSecret
|
|
379
|
+
metadata:
|
|
380
|
+
name: app-secrets
|
|
381
|
+
spec:
|
|
382
|
+
encryptedData:
|
|
383
|
+
database-password: AgBxY2... # Encrypted value
|
|
384
|
+
api-key: AgCzN1... # Encrypted value
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
### Network Policies
|
|
388
|
+
|
|
389
|
+
```yaml
|
|
390
|
+
apiVersion: networking.k8s.io/v1
|
|
391
|
+
kind: NetworkPolicy
|
|
392
|
+
metadata:
|
|
393
|
+
name: api-network-policy
|
|
394
|
+
spec:
|
|
395
|
+
podSelector:
|
|
396
|
+
matchLabels:
|
|
397
|
+
app: api
|
|
398
|
+
policyTypes:
|
|
399
|
+
- Ingress
|
|
400
|
+
- Egress
|
|
401
|
+
ingress:
|
|
402
|
+
- from:
|
|
403
|
+
- podSelector:
|
|
404
|
+
matchLabels:
|
|
405
|
+
app: frontend
|
|
406
|
+
- namespaceSelector:
|
|
407
|
+
matchLabels:
|
|
408
|
+
name: monitoring
|
|
409
|
+
ports:
|
|
410
|
+
- protocol: TCP
|
|
411
|
+
port: 8080
|
|
412
|
+
egress:
|
|
413
|
+
- to:
|
|
414
|
+
- podSelector:
|
|
415
|
+
matchLabels:
|
|
416
|
+
app: database
|
|
417
|
+
ports:
|
|
418
|
+
- protocol: TCP
|
|
419
|
+
port: 5432
|
|
420
|
+
- to:
|
|
421
|
+
- namespaceSelector: {}
|
|
422
|
+
ports:
|
|
423
|
+
- protocol: TCP
|
|
424
|
+
port: 53 # DNS
|
|
425
|
+
- protocol: UDP
|
|
426
|
+
port: 53
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
### Custom Resource Definitions (CRDs)
|
|
430
|
+
|
|
431
|
+
```yaml
|
|
432
|
+
apiVersion: apiextensions.k8s.io/v1
|
|
433
|
+
kind: CustomResourceDefinition
|
|
434
|
+
metadata:
|
|
435
|
+
name: applications.example.com
|
|
436
|
+
spec:
|
|
437
|
+
group: example.com
|
|
438
|
+
versions:
|
|
439
|
+
- name: v1
|
|
440
|
+
served: true
|
|
441
|
+
storage: true
|
|
442
|
+
schema:
|
|
443
|
+
openAPIV3Schema:
|
|
444
|
+
type: object
|
|
445
|
+
properties:
|
|
446
|
+
spec:
|
|
447
|
+
type: object
|
|
448
|
+
properties:
|
|
449
|
+
replicas:
|
|
450
|
+
type: integer
|
|
451
|
+
minimum: 1
|
|
452
|
+
maximum: 10
|
|
453
|
+
image:
|
|
454
|
+
type: string
|
|
455
|
+
environment:
|
|
456
|
+
type: string
|
|
457
|
+
enum: ["dev", "staging", "prod"]
|
|
458
|
+
scope: Namespaced
|
|
459
|
+
names:
|
|
460
|
+
plural: applications
|
|
461
|
+
singular: application
|
|
462
|
+
kind: Application
|
|
463
|
+
shortNames:
|
|
464
|
+
- app
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
## Monitoring and Observability
|
|
468
|
+
|
|
469
|
+
### Prometheus ServiceMonitor
|
|
470
|
+
```yaml
|
|
471
|
+
apiVersion: monitoring.coreos.com/v1
|
|
472
|
+
kind: ServiceMonitor
|
|
473
|
+
metadata:
|
|
474
|
+
name: web-app
|
|
475
|
+
spec:
|
|
476
|
+
selector:
|
|
477
|
+
matchLabels:
|
|
478
|
+
app: web
|
|
479
|
+
endpoints:
|
|
480
|
+
- port: metrics
|
|
481
|
+
interval: 30s
|
|
482
|
+
path: /metrics
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
### Key Metrics
|
|
486
|
+
- Pod CPU/Memory utilization
|
|
487
|
+
- Container restart count
|
|
488
|
+
- Pod scheduling latency
|
|
489
|
+
- Network throughput
|
|
490
|
+
- Request latency (p50, p95, p99)
|
|
491
|
+
- Error rate (5xx responses)
|
|
492
|
+
|
|
493
|
+
## Best Practices
|
|
494
|
+
|
|
495
|
+
### Resource Management
|
|
496
|
+
- Always set resource requests and limits
|
|
497
|
+
- Use LimitRanges to enforce defaults
|
|
498
|
+
- Implement PodDisruptionBudgets for availability
|
|
499
|
+
- Use priority classes for critical workloads
|
|
500
|
+
|
|
501
|
+
### Security
|
|
502
|
+
- Run containers as non-root
|
|
503
|
+
- Use read-only root filesystems
|
|
504
|
+
- Implement Pod Security Standards
|
|
505
|
+
- Scan images for vulnerabilities
|
|
506
|
+
- Rotate secrets regularly
|
|
507
|
+
|
|
508
|
+
### High Availability
|
|
509
|
+
- Deploy across multiple availability zones
|
|
510
|
+
- Use anti-affinity rules for pod distribution
|
|
511
|
+
- Implement proper health checks
|
|
512
|
+
- Set appropriate PodDisruptionBudgets
|
|
513
|
+
|
|
514
|
+
### Performance
|
|
515
|
+
- Use node affinity for performance-critical workloads
|
|
516
|
+
- Implement horizontal pod autoscaling
|
|
517
|
+
- Use persistent volume claims efficiently
|
|
518
|
+
- Optimize container images (multi-stage builds)
|
|
519
|
+
|
|
520
|
+
## Validation Protocol
|
|
521
|
+
|
|
522
|
+
Before reporting high confidence:
|
|
523
|
+
✅ Test manifests with `kubectl apply --dry-run=client`
|
|
524
|
+
✅ Validate Helm charts with `helm lint`
|
|
525
|
+
✅ Test deployments in staging environment
|
|
526
|
+
✅ Verify autoscaling triggers with load testing
|
|
527
|
+
✅ Check security with `kubectl auth can-i`
|
|
528
|
+
✅ Review resource requests match actual usage
|
|
529
|
+
|
|
530
|
+
## Deliverables
|
|
531
|
+
|
|
532
|
+
1. **Kubernetes Manifests**: Deployments, Services, ConfigMaps, Secrets
|
|
533
|
+
2. **Helm Charts**: Templated resources with values files
|
|
534
|
+
3. **Documentation**: Deployment guides, troubleshooting runbooks
|
|
535
|
+
4. **Monitoring Setup**: Prometheus metrics, Grafana dashboards
|
|
536
|
+
5. **CI/CD Integration**: GitOps workflows, ArgoCD applications
|