/devops-skills:argocd-operationsfrom devops-skills
Covers day-to-day Argo CD operations: structuring app-of-apps, choosing sync policies and waves, distinguishing health from sync status, and unsticking degraded or hung Applications.
Ships in devops-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 is the reconciler that makes gitops real, but knowing the GitOps model doesn't tell you
how to structure hundreds of Applications, order their rollout, or figure out why one has been
"Progressing" for twenty minutes. Most Argo CD pain is operational, not conceptual: a bad sync wave
ordering, a health check that will never pass, or a manual sync habit that defeats the point of
having a reconciler at all.
Sync status tells you if the repo and cluster match; health status tells you if what's running actually works — treat them as two separate questions.
For stuck-sync states, sync waves, and the argocd app command reference, read
references/argocd-troubleshooting.md.
Once you have more than a handful of Applications, don't create and wire each one by hand. A root "app of apps" Application whose only job is to manage child Application manifests gives you one commit to add a new service everywhere it belongs. ApplicationSets go further, generating Applications from a template plus a generator (a Git directory list, a cluster list, a pull request list) — use them when the same shape of Application needs to exist per-cluster or per-environment. Reserve hand-written Applications for the genuinely one-off cases.
Done when: onboarding a new service to an existing environment pattern is one small commit, not
a manual argocd app create.
Argo CD syncs everything in an Application concurrently by default, which breaks when a Deployment
needs a CRD, ConfigMap, or Secret to exist first. Sync waves (argocd.argoproj.io/sync-wave
annotations) give you explicit, numbered ordering — negative waves for CRDs and namespaces, zero for
core resources, positive for anything that depends on them. Resource hooks (PreSync, PostSync,
SyncFail) exist for genuinely imperative steps like a database migration, but every hook is a small
admission that the desired state isn't fully declarative, so keep them rare and idempotent.
metadata:
annotations:
argocd.argoproj.io/sync-wave: "-1" # applied before wave 0 resources
Done when: a full sync from empty succeeds in one pass with no manual re-sync required.
"Synced" means the live manifests match Git — it says nothing about whether the Pod is crash-
looping. "Healthy" means Argo CD's health check for that resource type passed — a Deployment is
healthy when its replicas are available, a Job when it completed. An Application can be Synced and
Degraded simultaneously, which is normal right after a bad rollout, not a bug in Argo CD. For custom
resources (operators, CRDs) with no built-in health check, Argo CD reports them as "Healthy" by
default whether or not they actually are — write a Lua health check for anything that matters. See
operators-and-crds for what those resources are and kubernetes-operations for reading the
underlying workload state directly.
Done when: you can explain a Degraded-but-Synced Application without treating it as a sync bug.
Manual sync is a reasonable default for a first rollout to a sensitive environment, but leaving
Applications on manual sync long-term reintroduces the human-in-the-loop step GitOps exists to
remove. Turn on automated sync with prune: true (delete resources removed from Git) and
selfHeal: true (revert manual cluster edits) once you trust the pipeline, and stage that trust by
environment — automated in dev and staging, a deliberate promotion gate for prod via
release-management rather than disabling automation outright.
Done when: merging to the tracked branch deploys without anyone touching the Argo CD UI or CLI.
A hung "Progressing" Application is usually one of: a health check waiting on a condition that will
never be true (wrong readiness probe, missing dependency), a resource stuck in a PreSync hook that
errored, or a webhook/admission controller silently rejecting part of the manifest. Re-running sync
without diagnosing just repeats the same failure. Check argocd app get <name> --show-operation and
the resource tree for the specific resource that isn't healthy, then look at its own events —
Argo CD is reporting the Kubernetes-level problem, not causing it. See kubernetes-operations for
digging into pod-level failures once you've located the stuck resource.
Done when: the stuck resource and its root cause are identified before any retry is attempted.
AppProjects restrict which repos, clusters, and namespaces an Application is allowed to target, and
which resource kinds it can create — use one per team or tenant boundary rather than letting every
Application use the default project with unrestricted scope. This is what turns "anyone can commit
an Application manifest" from a security risk into a bounded one. See multi-tenancy for the
broader cluster-sharing model and iam-access-management for tying projects to real identities.
Done when: a compromised or misconfigured Application in one project cannot deploy into another team's namespace or cluster.
State how Applications are organized (app-of-apps, ApplicationSet generators, or flat), which environments run automated sync with prune/self-heal versus manual, and how AppProjects bound access. Call out any Application still relying on a custom or missing health check, or still on manual sync out of caution rather than design — that's the honest gap in how much you can trust the green checkmark.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./artifact-managementVersions, stores, and promotes build outputs — registries, immutability, build-once-promote-many, retention and garbage collection, and provenance metadata. Use this whenever the user sets up an artifact or container registry, asks how to promote a build between environments without rebuilding, needs a retention or cleanup policy, or wants to trace where an artifact came from. For an image's contents and size use `image-optimization`; for vulnerability scanning use `image-scanning`.