agentleFS
greedychipmunkgreedychipmunk/agent-skills/argocd/SKILL.md

argocd

Skill19 starsChanged 6 months agoMITView on GitHub

Deploy Kubernetes apps declaratively with Argo CD applications and projects. Use when tasks mention argocd, Argo CD, argocd app sync, Application CRD, AppProject, or GitOps with Argo CD.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 1 is distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to manage GitOps deployments with Argo CD declaratively and safely.

    line 12
  2. Very specific:

    Run argocd app list to see all applications and their sync status.

    line 16
  3. Very specific:

    Run argocd app diff <name> before any sync to preview what will change.

    line 17
  4. Very specific:

    Use argocd app sync <name> to trigger a deployment.

    line 18
  5. Very specific:

    Check argocd app get <name> for health and sync state after deploying.

    line 19
  6. Very specific:

    Always run argocd app diff <name> before argocd app sync to preview what will change in production.

    line 64
  7. Very specific:

    Use --dry-run when creating or modifying Applications to validate configuration before committing.

    line 65
  8. Very specific:

    Never share the argocd-initial-admin-secret — rotate the admin password immediately after first login.

    line 67
  9. Very specific:

    Use AppProject sourceRepos and destinations to restrict what repositories and clusters each team can deploy to.

    line 68
  10. Very specific:

    Use argocd app sync --resource <group:kind:name> to sync specific resources rather than triggering a full sync unnecessarily.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Argo CD

Use this skill to manage GitOps deployments with Argo CD declaratively and safely.

Quick Start

  1. Run argocd app list to see all applications and their sync status.
  2. Run argocd app diff <name> before any sync to preview what will change.
  3. Use argocd app sync <name> to trigger a deployment.
  4. Check argocd app get <name> for health and sync state after deploying.

Intent Router

  • resources/install-and-setup.md — install argocd CLI, login, env vars, initial setup
  • resources/command-cookbook.md — argocd app list/get/create/sync/diff/history/rollback commands
  • resources/application-management.md — Application CRD, sync policies, waves, hooks, health status
  • resources/rbac-and-projects.md — AppProject CRD, RBAC policies, SSO, multi-tenancy

Workflow

Deploy an Application

# Preview changes before syncing
argocd app diff my-app

# Sync a specific application
argocd app sync my-app

# Sync only specific resources
argocd app sync my-app --resource apps:Deployment:my-deployment

Create an Application

argocd app create my-app \
  --repo https://github.com/org/repo \
  --path k8s/overlays/production \
  --dest-server https://kubernetes.default.svc \
  --dest-namespace production \
  --sync-policy automated

Monitor Health

argocd app get my-app
argocd app history my-app
argocd app rollback my-app 3

Safety Guardrails

  • Always run argocd app diff <name> before argocd app sync to preview what will change in production.
  • Use --dry-run when creating or modifying Applications to validate configuration before committing.
  • Set syncPolicy.automated.prune: false initially; enable pruning only after verifying the resource list is correct.
  • Never share the argocd-initial-admin-secret — rotate the admin password immediately after first login.
  • Use AppProject sourceRepos and destinations to restrict what repositories and clusters each team can deploy to.
  • Use argocd app sync --resource <group:kind:name> to sync specific resources rather than triggering a full sync unnecessarily.
  • Store repository credentials as Kubernetes secrets, not as plain-text in Application manifests.

Related Skills

kubectl, helm

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.