Kustomize conventions for writing or changing kustomization.yaml and the Kubernetes manifests in a kustomize layout, and the checks to run before applying them to a cluster. Use whenever a task touches kustomize or `kubectl apply -k`.
Ships in killall-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
deployment.yaml, service.yaml, ingress.yaml. Prefer many small manifests over multi-document files that hide resources.base/ plus overlays/<env>/ only when more than one environment exists. With one environment, keep a single flat kustomization directory and add the overlay structure when the second environment shows up.resources for inputs, including other kustomization directories.patches for every patch, strategic-merge or JSON6902. Add target when one patch hits several objects.labels, images (name, tag, digest), replicas, replacements (copy a value from one field to another), configMapGenerator, secretGenerator.images, replicas, generator behavior: merge) instead of a patch that does the same thing.labels leaves selectors alone unless includeSelectors: true. Selectors are immutable on live workloads, so changing them breaks the apply.Put a workload's environment variables in a generated ConfigMap loaded whole through envFrom. Load its Secret whole the same way through envFrom.secretRef. Do not grow env: lists on the Deployment.
The Secret usually comes from a secret manager (for example an operator that syncs it into the cluster). Use secretGenerator only where it helps, such as local or dev values kept out of git, or when you want a content-hash rollout on change.
# kustomization.yaml
configMapGenerator:
- name: app-env
envs: [app.env]
# deployment.yaml (container)
envFrom:
- configMapRef: {name: app-env}
- secretRef: {name: app-secrets}
name and behavior: merge. Its namespace must match the base generator's exactly (omit it if the base omits it); generators run before the namespace transformer, so the overlay's namespace: field does not help.secretGenerator, keep its env files out of git.helm template <release> <chart> --version <v> -f values.yaml > <chart>.yaml, then list it under resources.helmCharts generator with a pinned version. It needs --enable-helm at build time, and kubectl apply -k has no such flag, so render first and pipe the output: kustomize build --enable-helm . | kubectl diff -f -, then kustomize build --enable-helm . | kubectl apply -f -.Always, in this order:
kubectl config current-context. It must be the intended one.namespace: if set, else the manifest's own metadata, else the context default. Read it in the rendered output.kustomize build <dir>. Fix anything it warns about on stderr. To compare environments: diff <(kustomize build overlays/a) <(kustomize build overlays/b).kubectl diff -k <dir>. Exit code 1 means differences, not an error. (With helmCharts: kustomize build --enable-helm <dir> | kubectl diff -f -.)kubectl apply -k <dir>. (With helmCharts: kustomize build --enable-helm <dir> | kubectl apply -f -.)agents/openai.yaml (opens in a new tab)evals/deploy/graders/checks-context.md (opens in a new tab)evals/deploy/graders/confirms-namespace.md (opens in a new tab)evals/deploy/graders/order-context-diff-apply.md (opens in a new tab)evals/deploy/graders/renders-or-diffs.md (opens in a new tab)evals/deploy/graders/runs-kubectl-diff.md (opens in a new tab)evals/deploy/graders/script-exists.md (opens in a new tab)evals/deploy/prompt.md (opens in a new tab)evals/helm-prod/graders/helmcharts-partial.md (opens in a new tab)evals/helm-prod/graders/no-helm-or-kubectl-run.md (opens in a new tab)evals/helm-prod/graders/rendered-manifest.md (opens in a new tab)evals/helm-prod/prompt.md (opens in a new tab)evals/single-env/graders/configmap-generator.md (opens in a new tab)evals/single-env/graders/deployment-file.md (opens in a new tab)evals/single-env/graders/deployment-single-kind.md (opens in a new tab)evals/single-env/graders/envfrom-configmap.md (opens in a new tab)evals/single-env/graders/envfrom-secretref.md (opens in a new tab)evals/single-env/graders/ingress-file.md (opens in a new tab)evals/single-env/graders/no-base.md (opens in a new tab)evals/single-env/graders/no-blanket-labels.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/killall-skills:kustomizefrom killall-skills
npx claudepluginhub killallgit/killall-skills --plugin killall-skills15 skills in this plugin
/architectural-reviewReview a codebase's architecture. Finds hotspots in git history, walks them for friction, writes an HTML report of deepening candidates with before/after diagrams, proposes glossary terms, and suggests beads for the work. Words after the command name a direction (a module, a subsystem, a pain point)./catch-upRebuild a human's lost context on the work in flight after reconciling the current checkout's dangling changes — commit what belongs to an open PR, discard what already landed, sync the branch — then summarize the state of play, decisions, live PRs and tickets, and the single next step. Use when the user says "catch me up", "where were we", "what's the state of this", "get back on track", or invokes `/catch-up` after time away./Other plugins' skills for the same job