# GitOps with ArgoCD or Flux (/devops--gitops)

/devops--gitops is a Claude Code skill in the Code section. Sets up GitOps for Kubernetes: picks between ArgoCD and Flux, lays out the config repo and defines sync policies and git revert rollbacks.

- Web version: https://skills.sgomez.dev/en/s/devops--gitops
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/devops/gitops.md
- Updated 10 Jul 2026

## How to ask for it

- `/devops--gitops set up GitOps with ArgoCD for my cluster`
- `/devops--gitops structure my repo for a GitOps workflow with Flux`
- `/devops--gitops define a safe rollback policy with ArgoCD`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install devops-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*.yaml`, `**/*.yml`, `apps/**`, `clusters/**`, `environments/**`, `infrastructure/**`, `kustomization.yaml`, `.github/workflows/**`, `README.md`
- Runs: `kubectl`, `kustomize`, `helm`, `argocd`, `flux`, `git`, `yamllint`
- Network: No
- Destructive: No

## Author's description

Set up GitOps with ArgoCD or Flux — repo structure, sync policies, safe rollbacks

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
