/prometheus-devops-skills:gitops-bootstrapfrom prometheus-devops-skills
Scaffolds a complete multi-cloud GitOps CI/CD system from scratch following the TJ-CICD-001 standard. Detects target cloud environments (GKE, AKS, EKS — any combination), creates the GitOps repository structure (base / cloud / environment Kustomize overlays), generates GitHub Actions workflows with keyless OIDC authentication per cloud, creates ArgoCD Application CRs or ApplicationSets, and registers remote clusters with an ArgoCD control plane on GKE. Use when a project has no existing GitOps pipeline and needs one built from the ground up.
Ships in prometheus-devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill builds a complete multi-cloud GitOps CI/CD system from scratch. It enforces the TJ-CICD-001 three-layer ownership model:
The skill never uses kubectl apply or helm upgrade as deployment mechanisms. All workload
delivery flows through a Git commit to the GitOps repository.
Use this skill when the user says any of:
Run the detection script to identify which clouds are in scope:
scripts/detect-cloud.sh
The script examines:
.tf) for google_container_cluster, azurerm_kubernetes_cluster, aws_eks_cluster~/.kube/config contexts for gke_, aks-, eks- prefixesGOOGLE_PROJECT, AZURE_SUBSCRIPTION_ID, AWS_ACCOUNT_ID.env files and docker-compose.yml for cloud hintsOutput a detection summary before proceeding. Ask the user to confirm the detected clouds or specify which clouds to target if detection is ambiguous.
Create the following directory structure in the current project or a specified path:
gitops/
├── apps/ # ArgoCD Application CRs
│ └── {service-name}/
│ ├── gke-prod.yaml # one per detected cloud/env pair
│ ├── aks-prod.yaml
│ └── eks-prod.yaml
├── services/
│ └── {service-name}/
│ ├── base/ # cloud-agnostic manifests
│ │ ├── deployment.yaml
│ │ ├── service.yaml
│ │ ├── serviceaccount.yaml
│ │ └── kustomization.yaml
│ ├── cloud/ # platform-specific patches
│ │ ├── gke/kustomization.yaml
│ │ ├── aks/kustomization.yaml
│ │ └── eks/kustomization.yaml
│ └── overlays/ # final env overlays
│ ├── gke-staging/kustomization.yaml
│ ├── gke-prod/kustomization.yaml
│ ├── aks-staging/kustomization.yaml
│ ├── aks-prod/kustomization.yaml
│ ├── eks-staging/kustomization.yaml
│ └── eks-prod/kustomization.yaml
├── platform/ # third-party apps (ArgoCD Helm)
│ ├── cert-manager/argocd-app.yaml
│ ├── envoy-gateway/argocd-app.yaml
│ └── external-secrets/argocd-app.yaml
├── clusters/ # ArgoCD cluster registration secrets
│ ├── gke-prod-secret.yaml
│ ├── aks-prod-secret.yaml
│ └── eks-prod-secret.yaml
└── config/
├── namespaces.yaml
└── network-policies.yaml
Use the templates in assets/templates/ for all generated files.
Generate cloud-agnostic base manifests for the service. Prompt the user for:
Generate base/deployment.yaml with:
newTag)serviceAccountName referencing the service's SAlivenessProbe and readinessProbe stubsGenerate base/serviceaccount.yaml with no annotations (cloud patches add those).
For each detected cloud, generate the cloud overlay. Use templates from assets/templates/cloud/.
GKE overlay (cloud/gke/kustomization.yaml):
iam.gke.io/gcp-service-account annotationAKS overlay (cloud/aks/kustomization.yaml):
azure.workload.identity/client-id annotationazure.workload.identity/use: "true" labelEKS overlay (cloud/eks/kustomization.yaml):
eks.amazonaws.com/role-arn annotationGenerate staging and prod overlays for each cloud. Staging sets replicas=1. Prod sets replicas=2 minimum with resource limits. Image tag is a placeholder — GitHub Actions writes the real SHA tag on every deploy.
Generate .github/workflows/deploy.yml in the application repository (not the GitOps repo).
For each detected cloud, generate the appropriate push job:
google-github-actions/auth@v2 with Workload Identity Federationazure/login@v2 with federated credentials (OIDC, no client secret)aws-actions/configure-aws-credentials@v4 with OIDC role assumptionThe promote job depends on ALL push jobs completing successfully before writing to GitOps repo.
Commit message format: deploy({service}): {sha} → staging [{clouds}]
NEVER add kubectl apply, helm upgrade, or any direct cloud deploy command to workflows.
For each cloud/environment pair, generate an Application CR in apps/{service}/.
If the service targets all detected clouds with identical structure, offer to generate an ApplicationSet instead (see references/APPLICATIONSET.md).
The root App-of-Apps CR (apps/root-app.yaml) watches the entire apps/ directory.
If ArgoCD is accessible and remote clusters are detected, offer to register them:
scripts/register-clusters.sh
This script runs argocd cluster add for each non-GKE cluster using kubeconfig contexts.
If ArgoCD is not yet installed, output the installation command for the user to run first.
Run validation checks:
kustomize build on every overlay — must produce valid manifestskubectl apply or helm upgrade as deploy mechanismlatestReport the validation summary. Flag any failures before completing.
After completion, output:
See references/TJ-CICD-001.md for the complete standard.
When surreal-memory MCP server is available, the bootstrap process records:
cluster, observations: context name, cloud provider, region)service, relation: deployed_to → cluster)pipeline, relation: builds → service)This enables cross-session queries like "which services deploy to the EKS prod cluster?" and feeds deployment context to iterative-evolver and KBD assessments.
Detection: check if create_entity tool is available. All surreal-memory
operations are optional — the skill works identically without it.
What SKILL.md sets; muted values are Claude Code's defaults
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026
5 skills in this plugin
/argocd-multicloudInstalls, configures, and manages ArgoCD as a multi-cloud GitOps control plane on GKE, with AKS and EKS registered as remote cluster destinations. Covers: fresh ArgoCD installation with --insecure mode behind Envoy Gateway, wildcard TLS certificate setup, cluster registration via argocd CLI, App-of-Apps root application creation, ArgoCD ApplicationSet authoring for cross-cluster fan-out delivery, ArgoCD project isolation per client/environment, RBAC configuration, and Dex OIDC SSO wiring. Use when setting up ArgoCD for the first time or adding remote clusters to an existing control plane.
/fabric-integrationEnforce the cross-repository fabric version invariants (Loro minor, wasmtime major, iroh floor, WIT world pinning) so a drift that would surface as a merge error, a cache miss, or a component that will not instantiate fails at check time instead.Other plugins' skills for the same job
/gitops-transformDetects and transforms existing GitHub Actions workflows and Kubernetes deployment configurations to the TJ-CICD-001 multi-cloud GitOps standard. Analyzes the current CI stack (registry provider, auth mechanism, deploy strategy, target cloud) and produces a diff-based transformation plan before making any changes. Handles: raw kubectl deploy workflows, Helm-based deploys, single-cloud workflows missing multi-cloud support, static credential auth (service account keys, access key IDs) needing OIDC migration, and workflows that deploy directly instead of committing to a GitOps repo. Use when a project has existing CI/CD that needs upgrading or modernizing.
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-devops-skills