/major-ai-skills:argocdfrom major-ai-skills
Operate Argo CD GitOps with AppProjects, safe automated sync/prune, and RespectIgnoreDifferences—debug OutOfSync/Degraded without kubectl drift that fights the controller.
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.
Argo CD continuously reconciles cluster state to Git-defined desired state (plain YAML, Helm, Kustomize, Jsonnet). An Application binds repo path + revision to a cluster/namespace; AppProject enforces allowlists. The controller diff-computes live vs desired, sync applies patches, and health assesses resource readiness. Agents treat Git as source of truth—no kubectl edit on managed objects—and respect prune/selfHeal blast radius.
┌─────────────────────────────────────────────────────────────┐
│ Argo CD reconciliation │
│ │
│ Git repo (main) → Application controller │
│ ↓ compare + hydrate (helm/kustomize) │
│ Cluster API ← sync (hooks, waves, replace options) │
│ UI/CLI: Synced/OutOfSync, Healthy/Degraded/Progressing │
└─────────────────────────────────────────────────────────────┘
Use when
OutOfSync, Degraded, sync hooks, or HPA/replica drift.Do not use when
@docker, @github-actions).@terraform; raw pod debug—@kubernetes.prune + selfHeal only after nonprod dry-runs; understand prune deletes resources removed from Git.ignoreDifferences alone does not skip fields at sync time—add syncOptions: [RespectIgnoreDifferences=true] so ignored fields (e.g. /spec/replicas under HPA) are not overwritten during apply.https://kubernetes.default.svc or registered clusters with RBAC.apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: platform
namespace: argocd
spec:
sourceRepos:
- https://github.com/example/platform-gitops
destinations:
- namespace: apps-*
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: ""
kind: Namespace
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: api
namespace: argocd
spec:
project: platform
source:
repoURL: https://github.com/example/platform-gitops
targetRevision: main
path: apps/api/overlays/prod
helm:
valueFiles: [values.yaml]
destination:
server: https://kubernetes.default.svc
namespace: api
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers: [/spec/replicas]
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- RespectIgnoreDifferences=true
CLI diagnostics:
argocd app get api
argocd app diff api
argocd app sync api --dry-run
argocd app history api
argocd app rollback api <id>
| Status | Meaning | Next step |
|---|---|---|
| OutOfSync | Git ≠ live | app diff; commit fix or sync if Git intended |
| Degraded | Unhealthy resource | Pod events/logs; fix manifest health checks |
| Progressing | Rollout in flight | Wait; check RS; surge limits |
| SyncFailed hook | PreSync/PostSync job failed | Logs for hook Job |
| Repeated replica fights | HPA vs Git replicas | ignoreDifferences + RespectIgnoreDifferences |
| Prune deleted prod NS | prune+removed manifest | Restore from Git; use Prune=confirm for critical kinds |
| Mass pod restart after sync | Probe storm / resource surge | Stagger apps; @kubernetes probe tuning |
main with PR checks; Argo tracks reviewed SHAs only.argocd.argoproj.io/compare-options/ignore-differences annotation for resource-level rules when App spec locked down.Degraded duration; link @grafana panels.@trivy in CI before tag bumps land in Git.RespectIgnoreDifferences applies only after resource exists; first create uses full desired manifest.@kubernetes — workload failure analysis@helm — chart rendering inside Application source@fluxcd — alternative GitOps engine comparison@github-actions — CI that commits image digest bumps@docker — image build and digest pinningMANDATORY: Do not recommend kubectl edits for Argo-managed production objects—fix Git and sync. When using
ignoreDifferencesfor controller-owned fields, always addRespectIgnoreDifferences=true. Treat automated prune as destructive capability requiring nonprod validation. For fork/untrusted flows, keep deploy credentials out of PR workflows (@github-actions).
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