/major-ai-skills:helmfrom major-ai-skills
Package Kubernetes apps as Helm charts with lint/template gates, pinned dependencies, and hook-safe upgrades—avoid lookup traps and silent resource deletion on render.
Ships in major-ai-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.
Helm packages Kubernetes manifests as charts: Chart.yaml, values.yaml, and Go templates in templates/. A release is an installed instance with revision history; helm upgrade --install renders templates and applies via the Kubernetes API. Agents enforce local render before cluster, secrets outside values.yaml, and understanding Helm’s render-time lookup semantics— a common production footgun.
┌─────────────────────────────────────────────────────────────┐
│ Helm release lifecycle │
│ │
│ Chart + values (+ values.prod.yaml) │
│ ↓ helm lint / template / schema │
│ Rendered manifest batch → API server │
│ Hooks (pre/post install/upgrade) run weighted jobs │
│ Revision N stored → rollback to N-1 │
└─────────────────────────────────────────────────────────────┘
Use when
Do not use when
@argocd (Helm is render engine, not policy loop).@vault), not committed prod passwords in values.yaml.helm lint + helm template on every change before install/upgrade; pipe to kubeconform in CI.Chart.yaml; commit Chart.lock; run helm dependency build in CI.--set-file, SOPS, or external operators—defaults in values.yaml are public.lookup caution: all templates render before anything is applied—lookup cannot see resources created earlier in the same chart on fresh install; conditional templates vanish on upgrade → Helm deletes resources. Split charts or use operators/CRDs instead of install-time lookup gates.helm.sh/hook-delete-policy.--namespace; --atomic for auto-rollback on failure when appropriate.set -euo pipefail)—empty stdout deletes resources (known incident class).api/
Chart.yaml
values.yaml
values.schema.json
templates/
_helpers.tpl
deployment.yaml
service.yaml
ingress.yaml
charts/
Chart.lock
Chart.yaml dependencies:
apiVersion: v2
name: api
version: 0.4.0
appVersion: "1.5.0"
dependencies:
- name: redis
version: 19.0.2
repository: oci://registry.example.com/charts
condition: redis.enabled
helm dependency update ./api
helm lint ./api
helm template api ./api -f values.prod.yaml > /tmp/render.yaml
helm upgrade --install api ./api -n apps --create-namespace -f values.prod.yaml --atomic --timeout 10m
helm history api -n apps
helm rollback api 3 -n apps
Deployment template excerpt (labels/helpers):
metadata:
labels:
{{- include "api.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
template:
spec:
containers:
- name: api
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
| Symptom | Likely cause | Fix |
|---|---|---|
| YAML parse error at line N | Template indent | helm template and inspect line |
| Hook job never completes | Failed migration job | kubectl logs hook pod; fix command |
| Values “ignored” | Wrong -f or typo in key | helm get values; schema validate |
| Subchart missing | Skipped dependency build | CI must run helm dependency build |
| Resources deleted on upgrade | lookup conditional dropped manifest | Remove lookup pattern; split chart |
| All resources deleted | Post-renderer returned empty | set -euo pipefail in renderer |
upgrade --install hook on first install | Misread .Release.IsUpgrade | Test revision; upgrade Helm if bug on old patch |
values.schema.json for required keys in large teams._helpers.tpl)—no copy-paste label blocks.@argocd.lookup makes charts cluster-dependent and hard to test offline.@kubernetes — raw manifests and pod debugging@argocd — GitOps delivery of Helm releases@docker — image build and digest promotion@github-actions — lint/template in CIMANDATORY: Never ship chart changes without
helm lintandhelm templateoutput reviewed. Do not uselookupto conditionally omit resources unless ownership and upgrade behavior are explicitly designed—prefer two-chart sequential install. Keep production secrets out of Git values. Fail CI if post-render scripts can emit empty manifests.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job