@g1joshi/argocd
AArgoCD GitOps continuous delivery for Kubernetes. Use for K8s GitOps.
Install
agr install @g1joshi/argocd --target claudeWrites 1 file into .claude/skills/, pinned to git-47688d6d.
- .claude/skills/argocd/SKILL.md
Document
name: argocd description: ArgoCD GitOps continuous delivery for Kubernetes. Use for K8s GitOps.
ArgoCD
ArgoCD is the industry standard for GitOps. It syncs the state of a Kubernetes cluster with a Git repository. 2025 features: ApplicationSets for multi-tenant management.
When to Use
- Kubernetes CD: Continuous Delivery specifically for K8s.
- GitOps: You want your cluster state (YAML) versioned in Git.
- Drift Detection: ArgoCD alerts you if someone manually hacks
kubectl editin production.
Quick Start
# Application.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: guestbook
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/argoproj/argocd-example-apps.git
targetRevision: HEAD
path: guestbook
destination:
server: https://kubernetes.default.svc
namespace: guestbook
Core Concepts
Application
The link between a Git source and a K8s destination.
ApplicationSet
A generator that spawns multiple Application resources. Example: "Deploy every folder in this repo as an app" or "Deploy this app to every cluster".
Sync Phases
Pre-Sync (Schema migration), Sync (Deployment), Post-Sync (Health check).
Best Practices (2025)
Do:
- Use ApplicationSets: The modern way to manage many apps.
- Separate Config from Code: Keep app source code and K8s manifests in separate repos or at least separate folders.
- Use "App of Apps": A bootstrap pattern where one root Argo app deploys all other apps.
Don't:
- Don't manage Secrets in plain Git: Use Sealed Secrets, External Secrets Operator, or ArgoCD Vault Plugin.
References
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-47688d6d15ef2026-07-31