Files
development-gitops-argo-cd-…/README.md
T
oleg-lukasonokandClaude Opus 5 50d746d03f Add gitops-argo-cd agent skill
Consolidates the five cogarchhubgitops-* source skills into one skill with
scope routing: ArgoCD Applications, Copier templates, Helm values, environment
answer files, and the end-to-end resource-addition walkthrough.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 23:48:32 +03:00

2.2 KiB

gitops-argo-cd

Agent Skill for GitOps repositories where ArgoCD syncs cluster state from a Copier-templated Git repo — app-of-apps Application manifests under cluster/argocd/, Helm values.yaml.jinja templates under cluster/resources/, Jinja2 conditional directory names used as feature flags, and per-environment copier-answers.yaml files.

The rules are repo-agnostic; references/cogarchhubgitops-reference.md records CogArchHubGitOps as the concrete reference implementation (bands in use, flag names, global settings, ordering dependencies).

Layout

gitops-argo-cd/
├── SKILL.md                                  # Entry point — scope routing + shared rules
├── references/
│   ├── argocd-applications.md                # Application manifests, sync policy, troubleshooting
│   ├── copier-templates.md                   # copier.yaml, .jinja authoring, render() macro
│   ├── helm-values.md                        # values.yaml.jinja, images, global block, probes
│   ├── environments.md                       # copier-answers.yaml, flags, drift, copier update
│   ├── adding-a-resource.md                  # End-to-end walkthrough across all three layers
│   └── cogarchhubgitops-reference.md         # The CogArchHubGitOps instance
└── assets/
    └── example-cluster-resource/             # Starting templates for a new resource
        ├── argocd/application.yaml.jinja
        ├── resources/values.yaml.jinja
        └── copier-variables.yaml

The three-layer contract

Every managed resource spans three layers that share one feature flag and one conditional directory expression:

copier.yaml                                            → declares the flag + variables
cluster/argocd/{{ 'NNN-name' if flag }}/               → ArgoCD Application
cluster/resources/{{ 'NNN-name' if flag }}/            → Helm values

Deploy

cd ../skill-manager/scripts
task deploy -- --skill-dir="$(cd ../../gitops-argo-cd && pwd)"

Built with the skill-manager skill, following the agentskills.io specification.