agentleFS
XData-siXData-si/xdata-agenthub/skills/kubernetes-review/SKILL.md

kubernetes-review

Skill1 starsChanged 34 days agoMITView on GitHub

Review Kubernetes workload and cluster manifests for security, resilience and operability — resources, probes, security context, network policies and RBAC. Use when writing or reviewing manifests, Helm charts or Kustomize overlays.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check RBAC for namespace and verb scope.

    line 20
  2. Distinctive:

    Check NetworkPolicies for expected ingress and egress, DNS and external dependencies.

    line 23
  3. Distinctive:

    No claim of running cluster checks unless they actually ran.

    line 42
  4. Distinctive:

    Read-only by default. Never run kubectl apply, helm upgrade, delete or modify live clusters without explicit approval and a rollback plan.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kubernetes Review

Goal

Produce an evidence-based review of Kubernetes YAML, Helm values or rendered resources without assuming cluster access.

Inputs

  • Manifest files or rendered Helm output and Kubernetes version
  • Namespace, workload criticality, expected traffic, SLOs and storage needs
  • Cluster policy, admission controls, ingress and network architecture

Review procedure

  1. Inventory workloads, service accounts, Secrets references, Services, Ingress/Gateway, storage and dependencies. Distinguish declared from defaulted behavior.
  2. Evaluate pod/container security contexts: non-root identity, privilege escalation, capabilities, seccomp, host namespaces, hostPath and writable root filesystems. Note when compatibility must be tested.
  3. Check RBAC for namespace and verb scope. Avoid wildcard permissions; identify default service account use and unnecessary token mounts.
  4. Review readiness, liveness and startup probes. Ensure probe timing and endpoints reflect startup behavior; distinguish readiness from process health.
  5. Review CPU/memory requests and limits, eviction risk, autoscaling signals, PodDisruptionBudgets and topology spread. Do not recommend limits without workload evidence.
  6. Check NetworkPolicies for expected ingress and egress, DNS and external dependencies. Note that enforcement depends on the cluster CNI.
  7. Review image provenance, pinned versions or digests, pull policy, imagePullSecrets and vulnerability scanning evidence. Never claim an image is safe based on a tag.
  8. Review Secret handling, ConfigMaps, service exposure, TLS termination and certificate rotation.
  9. Evaluate persistent volume access modes, backup/restore, StatefulSet identity, rolling update strategy and rollback procedures.
  10. Produce prioritized findings with exact resource and field locations. Suggest offline schema checks, policy checks and staged deployment tests where available.

Sample finding

Resource: Deployment/api (namespace: demo)
Field: spec.template.spec.containers[0].securityContext
Observation: allowPrivilegeEscalation is not specified
Risk: Effective behavior depends on admission and runtime policy
Recommendation: Set false if application compatibility permits
Validation: Inspect rendered manifest and run workload in staging
Status: REVIEW - runtime behavior not verified

Acceptance criteria

  • Findings cite concrete manifest fields or explicitly state missing evidence.
  • No claim of running cluster checks unless they actually ran.
  • Recommendations include operational trade-offs and safe rollout validation.
  • Missing cluster policy, runtime metrics and CNI behavior remain unknown.

Output

Resource inventory, findings ranked by impact, suggested patches, offline/staging test plan and residual risks.

Safety

Read-only by default. Never run kubectl apply, helm upgrade, delete or modify live clusters without explicit approval and a rollback plan.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.