Skip to content

GitOps Workflow Guide

Guides setting up ArgoCD or Flux to deploy Kubernetes apps automatically from Git

Repository
wshobson/agents
Stars
42,095
Licence
MIT
Files
3 files

What it does

This skill gives the agent a structured guide for running Kubernetes deployments through Git: the desired state of your apps is stored in a Git repository, and tools like ArgoCD or Flux automatically pull and apply it to the cluster. Once installed, the agent can walk you through installing these tools, laying out a repository, writing sync policies, setting up canary or blue-green rollouts, and handling secrets without storing them in Git. It is mainly a reference of commands and YAML examples rather than an automated system.

Great for

  • Platform or DevOps engineers setting up GitOps for a Kubernetes cluster
  • Teams moving from manual kubectl deployments to Git-based continuous delivery
  • Engineers who need example ArgoCD Application or Flux Kustomization manifests to adapt

Skip it if

  • Non-technical users with no Kubernetes cluster, since the guidance assumes one exists and is reachable
  • Production clusters changed without review: enabling automated prune and selfHeal can delete or overwrite live resources if the Git repo is wrong

Try asking

  • “Set up ArgoCD on my cluster and create an application that syncs from my gitops-repo”
  • “Write a Flux bootstrap and Kustomization for my production cluster path”
  • “Show me a canary rollout with ArgoCD Rollouts for my web app”
  • “How do I keep database passwords out of Git using External Secrets?”
Step-by-step guide: how to use GitOps Workflow GuideInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 3 original files, the MIT licence and an attribution note.

    gitops-workflow.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip gitops-workflow.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip gitops-workflow.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Review every generated manifest and command before running it against a live cluster, especially prune and force-sync options
  • Start in a staging cluster and test sync policies there before enabling automated sync in production
  • Confirm the cluster context with kubectl config current-context before applying anything

What's inside

  • references/argocd-setup.md
  • references/sync-policies.md
  • SKILL.md

Redistributed unmodified from wshobson/agents under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.