Skip to content

JPeetz/agent-skills / skills/devops-infrastructure/kubernetes-operations

kubernetes-operations

Unverified

Use 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.

FileKindSize
CHANGELOG.mdmarkdown2.5 KB
LICENSEother1.1 KB
SKILL.mdskill md29.6 KB
evals/evals.jsonconfig4.4 KB
references/helm-patterns.mdmarkdown22.8 KB
references/k8s-failure-modes.mdmarkdown19.2 KB
references/k8s-security-hardening.mdmarkdown15.2 KB
scripts/security-scan-k8s.shexecutablescript13.0 KB
scripts/validate-k8s-manifest.shexecutablescript6.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
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall