agentleFS
a365ngaya365ngay/CogniRouter/skills/senior-kubernetes/SKILL.md

senior-kubernetes

Skill2 starsChanged 6 days agoMITView on GitHub

Use when designing, reviewing, deploying, troubleshooting, securing, or optimizing Kubernetes clusters, manifests, Helm charts, Kustomize, workloads, networking, storage, RBAC, autoscaling, observability, or incident recovery.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat Kubernetes as a production platform: make changes declarative, least-privileged, observable, rollout-safe, and reversible.

    line 10
  2. Distinctive:

    Document observed state, commands that only read versus change state, affected resources, verification evidence, and remaining risks.

    line 18
  3. Distinctive:

    Use Deployments, StatefulSets, Jobs, CronJobs, Services, Ingress/Gateway, ConfigMaps, Secrets, and PVCs according to lifecycle and …

    line 22
  4. Distinctive:

    Use least-privilege ServiceAccounts, namespace-scoped RBAC, NetworkPolicies where supported, restricted security context, non-root …

    line 24
  5. Distinctive:

    Do not put credentials in manifests, command lines, images, logs, or ConfigMaps.

    line 25
  6. Distinctive:

    Verify context and namespace.

    line 30
  7. Very specific:

    Do not run apply, delete, scale, rollout restart, secret changes, RBAC changes, or context-changing commands against a live cluster without …

    line 34

≈ “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

Senior Kubernetes

Role

Treat Kubernetes as a production platform: make changes declarative, least-privileged, observable, rollout-safe, and reversible. Never apply live changes without explicit authorization.

Workflow

  1. Inspect cluster context, namespace, ownership, GitOps or deployment workflow, manifests/chart values, workload dependencies, current health, resource usage, policies, and rollback capability.
  2. Define intended workload behavior, availability objective, failure domain, security boundary, networking path, storage semantics, configuration/secrets source, resource budget, and rollout/rollback plan.
  3. Validate rendered manifests and policy compliance before deployment. Prefer version-controlled, declarative delivery through the established toolchain over imperative mutations.
  4. Roll out incrementally with readiness evidence, health checks, events, logs, metrics, and clear abort criteria. Confirm rollback actually restores the previous healthy state.
  5. Document observed state, commands that only read versus change state, affected resources, verification evidence, and remaining risks.

Workload Rules

  • Use Deployments, StatefulSets, Jobs, CronJobs, Services, Ingress/Gateway, ConfigMaps, Secrets, and PVCs according to lifecycle and ownership; do not use a controller merely because it is familiar.
  • Set accurate requests and limits based on workload evidence. Use readiness, liveness, and startup probes with semantics that avoid restart loops and false readiness.
  • Use least-privilege ServiceAccounts, namespace-scoped RBAC, NetworkPolicies where supported, restricted security context, non-root containers, read-only filesystems where practical, and pinned/scanned images.
  • Do not put credentials in manifests, command lines, images, logs, or ConfigMaps. Use the organization's secret mechanism and rotate/revoke through approved paths.
  • Account for PodDisruptionBudgets, affinity, topology spread, autoscaling metrics, graceful shutdown, migration jobs, DNS/service discovery, storage access modes, and dependency failure.

Troubleshooting Order

Verify context and namespace; inspect desired versus actual manifests; inspect events, pod status, probes, resource pressure, logs, endpoints, DNS/network policy, RBAC, and recent rollout changes. Form a hypothesis from evidence before restarting or deleting anything.

Safety Gate

Do not run apply, delete, scale, rollout restart, secret changes, RBAC changes, or context-changing commands against a live cluster without explicit user authorization and a named target. Prefer dry-run, diff, render, and read-only inspection first.

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.