JPeetz/agent-skills / skills/devops-infrastructure/kubernetes-operations
kubernetes-operations
UnverifiedUse this skill when creating or fixing Kubernetes manifests, Helm charts, or GitOps workflows — "create deployment", "review my deployment", "fix pod", "scale cluster", or "deploy to" a cluster. Generates secure manifests with resource limits, probes, security contexts, RBAC, and network policies; diagnoses failure modes and validates compliance to prevent K8s hallucination.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 2.5 KB |
| LICENSE | other | 1.1 KB |
| SKILL.md | skill md | 29.6 KB |
| evals/evals.json | config | 4.4 KB |
| references/helm-patterns.md | markdown | 22.8 KB |
| references/k8s-failure-modes.md | markdown | 19.2 KB |
| references/k8s-security-hardening.md | markdown | 15.2 KB |
| scripts/security-scan-k8s.shexecutable | script | 13.0 KB |
| scripts/validate-k8s-manifest.shexecutable | script | 6.6 KB |
CHANGELOG.md
View on GitHub# Changelog
All notable changes to the kubernetes-operations skill.
## Unreleased
### Changed
- Description rewritten to be trigger-first ("Use this skill when ...") and under 1024 chars per the agentskills.io spec.
## [1.0.0] — 2026-06-18
### Initial Release
Materially improved from [KubeShark](https://github.com/LukasNiessen/kubernetes-skill) (LukasNiessen/kubernetes-skill), the #1 Kubernetes skill in the ecosystem.
#### Expansions Over KubeShark
| Dimension | KubeShark | kubernetes-operations |
|-----------|-----------|----------------------|
| Failure Modes | 6 | **8** (added FM-7 GitOps Divergence, FM-8 Multi-Cloud Skew) |
| Helm Support | Basic | **Full** — chart structure, values patterns, dependency management, multi-environment deployment |
| GitOps | Mentioned | **Deep** — Flux CD, ArgoCD, drift detection patterns |
| Cost Optimization | None | **Full** — right-sizing, spot instances, cluster autoscaler |
| Secret Management | Basic | **Full** — ESO, Sealed Secrets, Vault decision tree |
| Multi-Cloud | EKS-focused | **EKS + GKE + AKS + OpenShift** — provider-specific patterns, taints/tolerations |
| Observability | None | **Full** — Prometheus, structured logging, OpenTelemetry, golden signals |
| Output Contract | None | **Mandatory** — assumptions, tradeoffs, rollback for every response |
| Platform Support | Claude Code | **8 platforms**: claude-code, codex, cursor, gemini-cli, openclaw, copilot, windsurf, opencode |
| Eval Cases | 0 | **7** (5 triggers + 2 near-miss negatives) |
| Reference Docs | 0 | **3** detailed references (security, failure modes, Helm patterns) |
| Validation Scripts | 0 | **2** scripts (manifest validation, security scanning) |
#### Feature Inventory
- **7-Step Failure-Mode Prevention Workflow:** Context → Diagnose → Reference → Design → Validate → Output → Rollback
- **8 Failure Modes with Detection & Remediation:** Insecure Workloads, Resource Starvation, Network Exposure, Privilege Sprawl, Fragile Rollouts, API Drift, GitOps Divergence, Multi-Cloud Skew
- **Security Compliance:** PSS (restricted), OWASP K8s Top 10, NSA/CISA, CIS benchmarks, RBAC least-privilege
- **DO/DON'T Examples:** Rich code snippets showing correct and incorrect patterns
- **Production Checklist:** Minimal production-ready deployment checklist
- **Troubleshooting Quick Commands:** Common diagnostic commands for pod, resource, RBAC, network, and drift issues
- **Trigger Matching:** 30+ kata phrases for reliable agent routing
- **Near-Miss Negatives:** 4 exclusion patterns to prevent misrouting
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |