/major-ai-skills:fluxcdfrom major-ai-skills
Operate Flux GitOps with GitRepository, Kustomization, and HelmRelease pipelines; trace Ready conditions, suspend for incidents, and debug reconcile stalls agents routinely miss.
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.
Flux reconciles Kubernetes from Git (or OCI) using composable controllers: source-controller (GitRepository, OCIRepository, HelmRepository, HelmChart), kustomize-controller, helm-controller, and optional image-reflector / image-automation. Unlike a single Application CR, Flux models sources and appliers as separate objects—debug by walking Ready conditions down the chain. Prefer digests in prod overlays; suspend before manual surgery on managed resources.
┌─────────────────────────────────────────────────────────────┐
│ Flux GitOps reconcile path │
│ │
│ GitRepository / OCIRepository / HelmRepository │
│ └── artifact fetch (auth Secret, ref, interval) │
│ │
│ Kustomization ──SSA apply──► cluster inventory + prune │
│ HelmRelease ──helm-ctrl──► HelmChart → release + wait │
│ │
│ Optional image automation │
│ ImageRepository → ImagePolicy → ImageUpdateAutomation→Git │
│ │
│ Debug: source Ready → applier Ready → workload health │
└─────────────────────────────────────────────────────────────┘
Use when
flux bootstrap) and owning Git → cluster continuous delivery.Do not use when
@argocd may fit better (same GitOps idea, different model).@github-actions); Flux consumes artifacts.flux reconcile … --with-source after Git pushes when intervals are long; do not spam without cause.kubectl get helmcharts.source.toolkit.fluxcd.io (avoid CRD name collisions on k3s).flux bootstrap github \
--owner=example \
--repository=fleet-gitops \
--branch=main \
--path=clusters/prod \
--personal
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: platform
namespace: flux-system
spec:
interval: 1m
url: https://github.com/example/fleet-gitops
ref:
branch: main
secretRef:
name: flux-system # created by bootstrap; do not invent tokens
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: api
namespace: flux-system
spec:
interval: 5m
path: ./apps/api/prod
prune: true
timeout: 3m
sourceRef:
kind: GitRepository
name: platform
targetNamespace: api
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: api
namespace: api
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: redis
namespace: data
spec:
interval: 10m
timeout: 10m
chart:
spec:
chart: redis
version: "19.6.4" # pin; avoid unbounded "19.x" in prod
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
values:
auth:
enabled: true
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
flux check
flux get all -A --status-selector ready=false
flux get sources all -A
flux get kustomizations -A
flux get helmreleases -A
flux get sources chart -A
flux logs --all-namespaces --level=error
flux reconcile source git platform
flux reconcile kustomization api --with-source
flux suspend kustomization api
# … fix Git …
flux resume kustomization api
kubectl get events -n flux-system --field-selector type=Warning
| Signature | Likely cause | Fix path |
|---|---|---|
| Changes never apply | Source not Ready / Suspend=True | flux get sources all -A; unsuspend; fix auth Secret |
| Kustomization build error | Bad kustomization.yaml / missing file / patch target | flux logs --kind=Kustomization --name=…; fix Git path |
| HealthCheckFailed | Workload never Ready; timeout too low | Inspect Deployment events; raise .spec.timeout |
| HelmChart not ready | Bad chart name/version or HelmRepository 404 | flux get sources helm then flux get sources chart |
| install retries exhausted | Resources never healthy (CrashLoop, pull error) | kubectl describe helmrelease; temporarily disableWait only to inspect |
| Ready: Unknown stuck | Long Helm action / failed app health wait | Controller logs; fix app; reconcile; check remediation retries |
webhook does not support dry run | Admission webhook sideEffects | Set sideEffects: None / NoneOnDryRun on webhook |
| Drift event spam | Manifest empty/null optional fields | Remove null/{}/[] fluff from YAML |
Helm Request entity too large | Oversized release Secret | Fix chart .helmignore; shrink umbrella charts |
| Wrong HelmChart via kubectl | CRD name collision (e.g. k3s) | Use fully qualified CRDs or flux get source chart |
clusters/ with clear promotion (dev → staging → prod).kustomize build / helm template before push (@helm, @makefile-automation).@trivy before image-automation bumps tags.@argocd — alternative GitOps Application model / UI@kubernetes — workload-level failure diagnosis after Flux applies@helm — local chart render and values debugging@trivy — scan images before automation bumps tags@docker — build artifacts Flux eventually deploysMANDATORY: Debug by Ready-condition chain (source → applier → workload). Prefer digests and pinned chart versions. Suspend before manual edits to managed resources. Never invent Git or registry credentials. Use fully qualified Flux CRDs when
kubectl get helmchartsis ambiguous.
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