Cloud and Infrastructure Pack
Production-grade cloud, platform engineering, and deployment architecture bundle of 28 skills. Spans Kubernetes platform architecture, Docker/OCI contracts, Terraform/OpenTofu modules, GitOps/ArgoCD, blue-green and canary rollouts, service mesh, and autoscaling.
Works with every agent that reads SKILL.md — Claude Code, Cursor, Codex CLI, Gemini CLI, GitHub Copilot, Windsurf, OpenClaw, and more.
One payment, lifetime access. 28 skills unlock instantly in your library.
30-day refund guarantee
Instant unlock in your library
Free updates from the creator
What's included
28 skillsDesigns Argo CD GitOps architectures: Application sets, AppProjects, automated sync, self-healing, and sync-wave sequencing.
Designs blue-green deployments: active/idle environment switch, synthetic qualification gates, and rollback tripwires.
Designs canary releases: progressive traffic steps, statistical metric analysis, automated gates, and rollback tripwires.
Architects cloud landing zones: multi-account topology, Transit Gateway, IAM guardrails, and centralized egress inspection.
Architects container infrastructure: runtime engines, cgroup resource slicing, OCI registry topologies, and isolation.
Architects DevOps delivery systems: CI/CD pipeline governance, artifact provenance, security gates, and promotion.
Designs production Dockerfiles and OCI images: multi-stage builds, non-root execution, minimal bases, and signal reaping.
Architects global edge infrastructure: Anycast routing, CDN caching tiers, edge workers, origin shielding, and sync.
Designs feature flag architectures: evaluation rules, targeting hashing, fallback states, and flag retirement lifecycles.
Architects GitOps delivery models: repo topologies, pull-based reconciliation, drift control, and secret management.
Designs Helm chart APIs: values schema contracts, template modularity, dependency locking, and release testing hooks.
Architects enterprise IaC platforms: state isolation, module taxonomy, drift detection, and policy-as-code governance.
Designs autoscaling architectures: HPA custom metrics, Karpenter node provisioning, scale-in stabilization, and cost caps.
Architects shared infrastructure capability platforms: provider-consumer contracts, tenancy, lifecycle APIs, and quotas.
Designs Kubernetes ingress architectures: Gateway API, TLS termination, host routing, rate limiting, and WAF integration.
Designs Kubernetes workload resources: Deployments, resource QoS classes, disruption budgets, and pod security contexts.
Designs a shared multi-tenant Kubernetes platform: topology, node pools, isolation, upgrades, capacity, recovery.
Architects enterprise cloud networks: hub-and-spoke transit, CIDR IP planning, Direct Connect hybrid links, and firewalls.
Architects platform engineering strategies: platform-as-a-product, DevEx metrics, service scorecards, and operating models.
Designs automated rollback systems: decision tripwires, state unwinding, traffic drainage, and schema compatibility.
Designs rolling deployments: surge/unavailable bounds, step pacing, readiness gates, connection draining, and rollback.
Architects container runtimes: CRI engine selection, kernel isolation, gVisor sandboxing, seccomp, and runtime security.
Architects enterprise serverless systems: FaaS runtimes, cold-start mitigation, event source mappings, and concurrency.
Architects enterprise service mesh platforms: data-plane topology, strict mTLS identity, cross-cluster peering, and egress.
Designs service mesh policies: VirtualServices, AuthorizationPolicies, mTLS enforcement, outlier detection, and retries.
Designs shadow deployments: asynchronous traffic mirroring, diff comparison engines, and zero side-effect safety.
Architects enterprise storage systems: block/object storage tiers, IOPS provisioning, replication, and lifecycle.
Designs Terraform or OpenTofu modules: interfaces, providers, state boundaries, environments and safe planned changes.
See it in action
Argo CD GitOps Architecture Design
Example session with this skill installed
Design the Argo CD GitOps continuous delivery architecture for our Core Banking and Payments EKS platform.
- Subject: argocd-platform v2.11 (run-id: gitops-payments-001) orchestrating deployments across 3 Kubernetes clusters: Hub Management (k8s-mgmt), Staging (https://k8s-staging-01.internal), and Production.
- Deciders: Lead Cloud Platform Architect (Marcus Vance) and CISO SecOps Lead (Sarah Chen).
- Scope & Repos: Managing 35 microservices across 4 engineering domains from Git repository https://git.internal/payments/services.git.
- Tension: Feature teams requested manual sync permissions with auto-prune disabled and admin cluster credentials shared across all projects for easy hotfixing; Sarah Chen strictly forbids shared cluster admin access, mandating isolated AppProject CRDs with restricted destination namespaces, automated self-healing (selfHeal=true) within 3 minutes of out-of-band drift, declarative sync waves (argocd.argoproj.io/sync-wave) ensuring database migrations execute and verify before application pods start, and automated pruning (prune=true) to eliminate orphaned infrastructure.
Write the Argo CD architecture specification under docs/.
- Read your context and instructions
- Compiled the argo cd gitops
- Generated the UI component
Wrote docs/architecture/tasks/gitops-payments-001/argocd-design/argocd-architecture-spec.md. Complete Argo CD GitOps architecture specification establishing hub-and-spoke AppProjects, automated self-healing, sync-wave sequencing, and cluster isolation.
---
skill: argocd-design
---
# Argo CD GitOps Architecture Specification: Core Banking Platform [ARGO-BANK-001]
## Summary
This specification establishes the enterprise GitOps continuous delivery architecture for `argocd-platform v2.11` under run ID `gitops-payments-001`. It orchestrates declarative deployments for 35 banking microservices across a hub-and-spoke multi-cluster topology (management hub `k8s-mgmt`, staging `https://k8s-staging-01.internal`, and production EKS). It decisively rejects shared cluster-admin credentials and manual sync overrides. The design enforces isolated `AppProject` resource boundaries with namespace whitelisting, automated 3-minute self-healing (`selfHeal=true`) against manual drift, declarative sync-wave sequencing (`argocd.argoproj.io/sync-wave`) guaranteeing database migrations complete before workload pods start, and automated orphan pruning (`prune=true`).
## Detailed Description
Imperative manual Kubernetes changes (`kubectl edit`, manual cluster access) create silent configuration drift, audit non-compliance, and irreproducible deployment states. This GitOps architecture establishes Git as the single cryptographic source of truth, where the control plane continuously reconciles cluster state against desired version-controlled manifests.
Git Repository: https://git.internal/payments/services.git
│
▼ (Webhook Trigger & 3-Minute Polling)
[ Argo CD Central Hub: k8s-mgmt ]
├── AppProject: payments-prod (Restricted Destinations & Whitelist)
├── Automated Diff Engine (Detects Manual Out-of-Band Mutations)
└── Sync Wave Controller: Wave -1 (DB Migrate) -> Wave 0 (Workloads)
│
┌───────────────────┴───────────────────┐
▼ ▼
[ Remote Cluster: Staging ] [ Remote Cluster: Production ]
├── Destination: k8s-staging-01 ├── Destination: k8s-prod-useast1
└── Enforces SelfHeal=true └── Enforces Prune=true (Zero Orphans)
### Criteria and weights
| Criterion | Why it matters here | Weight | Source of the weight |
|---|---|---|---|
| Cluster Security Isolation & RBAC | Shared cluster-admin access violates PCI-DSS multi-tenant compliance. | 0.35 | Sarah Chen (CISO SecOps) |
| Configuration Drift Elimination | Manual cluster tweaks must be automatically reverted to match Git truth within 3 minutes. | 0.30 | Marcus Vance (Platform Lead) |
| Deterministic Deployment Sequencing | Database migrations must execute to completion before application pods launch. | 0.20 | Core Banking Engineering Mandate |
| Orphaned Resource Pruning | Deleting services in Git must cleanly remove all underlying K8s resources. | 0.15 | Infrastructure Hygiene Policy |
### Comparison
| Architecture Candidate | Cluster Access Model | Drift Remediation | Deployment Sequencing | Evaluation |
|---|---|---|---|---|
| Option A: Monolithic Default Project | Shared `default` project, cluster-admin tokens | Manual sync only (`selfHeal=false`) | Uncoordinated simultaneous pod rollouts | Rejected: Breaches PCI-DSS; manual changes linger indefinitely. |
| Option B: Decoupled Flux v2 Controllers | In-cluster standalone controllers | Reconciliation loop (no UI) | Kustomize dependsOn | Rejected: Lacks centralized single-pane-of-glass multi-cluster dashboard. |
| Option C: Hub-and-Spoke Argo CD + AppProjects (Chosen) | Central hub with scoped IAM service accounts | Automated `selfHeal=true`, `prune=true` | Declarative sync waves (-1 to 2) | Selected: Centralized governance, deterministic wave sequencing, zero drift. |
### Result
Option C is selected. A centralized management cluster runs Argo CD, dispatching scoped deployments to target clusters via isolated `AppProject` definitions.
---
### Required Mechanisms
#### 1. Task Contract & Repository Topology [MC-TC-01]
- **Target Clusters**:
- Management Hub: `in-cluster` (`k8s-mgmt`).
- Staging Destination: `https://k8s-staging-01.internal` (Namespace: `payments-staging`).
- Production Destination: `https://k8s-prod.internal` (Namespace: `payments-prod`).
- **Source Repository**: `https://git.internal/payments/services.git` (Revision: `main` in prod, `develop` in staging).
#### 2. AppProject Isolation Contract [MC-AP-01]
```yaml
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: payments-production
namespace: argocd
spec:
description: Scoped CD project for PCI payment microservices.
sourceRepos:
- 'https://git.internal/payments/services.git'
destinations:
- server: 'https://k8s-prod.internal'
namespace: 'payments-prod'
clusterResourceWhitelist:
- group: ''
kind: Namespace
namespaceResourceWhitelist:
- group: 'apps'
kind: Deployment
- group: ''
kind: Service
- group: 'batch'
kind: Job
- group: 'networking.k8s.io'
kind: NetworkPolicy
3. Automated Sync, Self-Healing, and Pruning [MC-SP-01]
Every Application manifest enforces automated synchronization:
spec:
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- RespectIgnoreDifferences=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
- Self-Healing SLA: Out-of-band manual changes (
kubectl edit, manual pod deletion) are overwritten by the controller within 180 seconds.
4. Sync-Wave Progression & Hook Ordering [MC-SW-01]
Deployment dependencies execute in strict sequential waves:
- Wave -1 (Database Schema Migration):
Job: payment-db-migrate(Annotated withargocd.argoproj.io/sync-wave: "-1"andhook-delete-policy: BeforeHookCreation).
Blocker: Migration job must reach completion statusCompletedbefore Wave 0 begins. - Wave 0 (Core Workloads):
Deployment: payment-core,Service: payment-core(sync-wave: "0"). - Wave 1 (Ingress & Network Routing):
CiliumNetworkPolicy,Ingressrouting (sync-wave: "1").
Invariants and Contracts
Automated Self-Healing Invariant [INV-ARGO-01]
Production Applications must enforce `selfHeal: true` and `prune: true`. Disabling self-heal
or enabling manual-only sync in production pull requests fails CI manifest validation.
Strict AppProject Destination Scoping [INV-ARGO-02]
Applications belonging to `payments-production` are forbidden from targeting namespaces
other than `payments-prod`. Cross-namespace deployment attempts fail admission.
Synchronous Migration Gate Invariant [INV-ARGO-03]
Wave 0 application deployments must not initialize until Wave -1 database migration jobs
complete with exit code 0. Migration failures immediately abort sync progression.
Explicit Unknowns
- HashiCorp Vault / External Secrets Operator replication lag across secondary AWS regions during secret rotation (G-1).
- Argo CD Redis cache memory growth during simultaneous reconciliation of 350 Application manifests (G-2).
Traceability
| Claim | Classification | Source | Freshness |
|---|---|---|---|
| 35 microservices across 4 domains | provided | Architecture scope intake | Current |
| 3 target clusters (Hub, Staging, Prod) | provided | Infrastructure intake | Current |
| Mandatory selfHeal=true & prune=true | decided | Marcus Vance & Sarah Chen | 2026-09-15 |
| Sync-wave sequencing (-1 migrate -> 0 app) | decided | Architectural invariant INV-ARGO-03 | 2026-09-15 |
| Git repository URI | provided | https://git.internal/payments/services.git | Current |
| Staging API server endpoint | provided | https://k8s-staging-01.internal | Current |
Verification
No validator was supplied, so no command was run.
Reviewer self-check against Argo CD architecture standards:
- Security Boundaries: PASS. AppProject limits destinations to
payments-prodand specific resource kinds. - Drift Protection: PASS.
selfHeal: trueandprune: trueguarantee reconciliation to Git. - Wave Sequencing: PASS. Database migration job isolated in Wave -1 before workload launch.
- Format Integrity: PASS. Follows native Markdown rules from
rule_markdown.md.
Open Decisions
DEC-ARGO-01: Sarah Chen to determine whether Git commit signing (GPG verification) should be enforced at the Argo CD repository certificate level (Owner: Sarah Chen).
Next steps
- Sarah Chen provisions
payments-productionAppProject CRD on thek8s-mgmthub cluster. - Platform team configures cluster credentials in Argo CD using down-scoped Kubernetes ServiceAccount tokens.
- Execute staging deployment test verifying Wave -1 schema migration completion before application pod launch.
argo-cd-gitops-architecture-design.tsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle passes our trust checks.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back