ci-cd-devops-architect
Skill129 starsChanged 11 days agoMITView on GitHub
CI/CD deployment pipelines, Docker, Kubernetes, and IaC architectures / Pipeline deploy CI/CD, Docker, Kubernetes, dan arsitektur IaC.
- Installs packages
In this repository372 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-anti-slop.mdcCursor rule
- .cursor/rules/vibes-plug-backend.mdcCursor rule
- .cursor/rules/vibes-plug-core.mdcCursor rule
- .cursor/rules/vibes-plug-devops.mdcCursor rule
- .cursor/rules/vibes-plug-frontend.mdcCursor rule
- .cursor/rules/vibes-plug-mcp.mdcCursor rule
- .cursor/rules/vibes-plug-skills.mdcCursor rule
- .cursor/rules/vibes-plug-testing.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- showcase/llms-full.txtllms.txt
- showcase/llms.txtllms.txt
- a2a-agent-protocol-expertSkill
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-m2m-settlementSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- browser-extension-mv3-proSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- cloudflare-workers-expertSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- computer-use-os-agent-expertSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 234
Non-Root Runtime: Never run Docker containers as root.
- Very specific: line 236
Frozen Lockfile & Pinned Action Versions: Every CI workflow must install dependencies with --frozen-lockfile (npm ci) and pin third-party …
- Very specific: line 240
Mandatory Blue-Ocean Pairing: Always compose ci-cd-devops-architect with sbom-supply-chain-security-expert, …
- Very specific: line 242
Pre-Disk Gate: Run vibes verify-gate and vibes skill auto-diff --json to inject <350-token slices and eliminate placeholder slop.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI/CD & DevOps Architect (Production Standard 2026)
English | Bahasa Indonesia
<a name="english"></a>
English
Orchestration & Integration
- Upstream Pipelines:
zero-to-prod-orchestrator(Phase 7 CI/CD release),brainstorming. - Infrastructure & Containerization:
docker-container-expert(multi-stage distroless images),cloud-hosting-expert(Vercel, Cloudflare, Railway targets). - Security & Secrets:
zero-trust-secret-vault(OIDC federated auth, short-lived tokens),production-ready-hardener(container & SBOM security audits). - Test Automation & Quality Gates:
autonomous-tdd-debugger(CI test runner execution),e2e-testing-expert(Playwright regression runs). - Proactive Health & Self-Healing:
self-healing-cloud-orchestrator(auto-patch failed deployments),proactive-background-watcher(pipeline build monitoring),feature-flag-analytics-expert(progressive canary rollouts),dependency-upgrade-migrator(automated Renovate/package audits),agentic-coding-workflow-expert(autonomous PR & CI workflows). - Cross-Domain Synergy & Subagent Swarm Integration:
kubernetes-gitops-platform-expert,sbom-supply-chain-security-expert,github-actions-expert,biome-linter-formatter-expert
Description
Enterprise guide for modern Continuous Integration & Continuous Delivery (CI/CD) pipelines, immutable container workflows (Docker & Kubernetes 1.30+), and Infrastructure as Code (Terraform / OpenTofu). Covers parallelized GitHub Actions workflows with dependency caching (pnpm/bun), multi-stage non-root distroless Docker builds, Trivy container vulnerability scanning, zero-downtime rolling/canary deployments, and zero-trust secret injection via OIDC.
Trigger Conditions
- Scaffolding new GitHub Actions or GitLab CI/CD pipelines (Phase 7).
- Writing hardened multi-stage Dockerfiles for Node.js, Bun, Go, or Rust applications.
- Setting up automated PR status checks and branch protection rules.
- Implementing container vulnerability scanning and SBOM generation.
- Configuring Infrastructure as Code (OpenTofu/Terraform) for cloud providers.
Production Multi-Stage Dockerfile (Node.js 24 / Distroless)
# syntax=docker/dockerfile:1.7
# Stage 1: Dependency resolution and compilation
FROM node:24-alpine AS builder
WORKDIR /app
# Enable pnpm via corepack
RUN corepack enable && corepack prepare pnpm@latest --activate
# Copy manifest files first to maximize layer caching
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
# Copy source code and build production bundle
COPY . .
RUN pnpm run build && pnpm prune --prod
# Stage 2: Minimal, hardened production runtime
FROM gcr.io/distroless/nodejs24-debian12:nonroot AS runner
WORKDIR /app
# Run strictly as non-root user (UID 65532 in distroless)
USER nonroot
# Copy only production artifacts
COPY --from=builder --chown=nonroot:nonroot /app/node_modules ./node_modules
COPY --from=builder --chown=nonroot:nonroot /app/dist ./dist
COPY --from=builder --chown=nonroot:nonroot /app/package.json ./package.json
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
CMD ["dist/index.js"]Production GitHub Actions Workflow (.github/workflows/ci.yml)
name: Production CI Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Setup Node.js 24
uses: actions/setup-node@v4
with:
node-version: 24
cache: 'pnpm'
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Lint and Format Check (Biome)
run: npx @biomejs/biome ci .
- name: Type Check (TypeScript)
run: pnpm exec tsc --noEmit
- name: Run Test Suite (Vitest)
run: pnpm test
security-scan:
needs: validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Trivy Vulnerability Scanner
uses: aquasecurity/trivy-action@0.28.0
with:
scan-type: 'fs'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'Keyless OIDC Cloud Deployment & Canary Smoke-Test Gate (.github/workflows/deploy-prod.yml)
Authenticate to AWS/GCP/Azure via short-lived OIDC tokens (id-token: write) with zero static IAM keys stored in GitHub Secrets, followed by an automated post-deploy smoke test:
name: Keyless OIDC Production Release
on:
push:
tags:
- 'v*.*.*'
permissions:
id-token: write
contents: read
attestations: write
concurrency:
group: production-release
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: production
url: https://api.vibesplug.com
steps:
- uses: actions/checkout@v4
- name: Configure Keyless AWS OIDC Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::123456789012:role/github-actions-prod-deployer
aws-region: ap-southeast-1
- name: Build and Push Immutable Digest Image
id: build_image
run: |
IMAGE_URI="123456789012.dkr.ecr.ap-southeast-1.amazonaws.com/vibes-api:${GITHUB_SHA}"
docker build --pull -t "${IMAGE_URI}" .
docker push "${IMAGE_URI}"
- name: Verify Post-Deploy Canary Health & Rollback on Failure
run: |
for attempt in 1 2 3 4 5; do
STATUS=$(curl -s -o /dev/null -w "%{http_code}" https://api.vibesplug.com/api/health)
if [ "$STATUS" = "200" ]; then
echo "Canary health check passed."
exit 0
fi
sleep 5
done
echo "Canary health check failed; triggering automatic rollback."
exit 1OpenTofu / Terraform Plan Destructive Change Gate (TypeScript)
Block CI/CD auto-apply pipelines if an OpenTofu/Terraform plan (tofu show -json tfplan) attempts to destroy stateful production database or storage resources without manual approval:
// scripts/ci/verify-terraform-plan.ts
export interface TerraformResourceChange {
readonly address: string;
readonly type: string;
readonly change: {
readonly actions: readonly ('no-op' | 'create' | 'read' | 'update' | 'delete')[];
};
}
export interface TerraformPlanJson {
readonly resource_changes?: readonly TerraformResourceChange[];
}
const PROTECTED_STATEFUL_TYPES = new Set([
'aws_db_instance',
'aws_rds_cluster',
'aws_s3_bucket',
'google_sql_database_instance',
'azurerm_postgresql_flexible_server',
]);
export function auditTerraformPlanSafety(plan: TerraformPlanJson): {
safe: boolean;
blockedDeletions: string[];
} {
const blockedDeletions: string[] = [];
for (const rc of plan.resource_changes ?? []) {
const isDeleting = rc.change.actions.includes('delete');
if (isDeleting && PROTECTED_STATEFUL_TYPES.has(rc.type)) {
blockedDeletions.push(`${rc.address} (${rc.type})`);
}
}
return {
safe: blockedDeletions.length === 0,
blockedDeletions,
};
}Key DevOps Invariants
- Immutable Artifacts: Build the container image exactly once in CI. The identical binary is promoted across Staging and Production; only environment variables change.
- Non-Root Runtime: Never run Docker containers as
root. Always use unprivileged users (nonrootornode) to minimize container breakout vulnerabilities. - No Hardcoded Secrets: Secrets must never be stored in GitHub Secrets as plaintext strings. Use GitHub OIDC tokens to fetch short-lived credentials from AWS IAM or Vault (
zero-trust-secret-vault). - Frozen Lockfile & Pinned Action Versions: Every CI workflow must install dependencies with
--frozen-lockfile(npm ci) and pin third-party GitHub Actions to immutable commit SHAs or explicit release tags—never@masteror@main. - Stateful IaC Deletion Gate: Automated OpenTofu/Terraform pipelines must inspect
tfplanJSON and halt if any stateful database or storage bucket is scheduled fordelete.
Blue-Ocean Synergy & Anti-Commodity Protocol
- Mandatory Blue-Ocean Pairing: Always compose
ci-cd-devops-architectwithsbom-supply-chain-security-expert,self-healing-cloud-orchestrator,zero-trust-secret-vault,adaptive-model-cascadeso commodity boilerplate is elevated into verified, self-healing production architecture. - Anti-Commodity Mandate: Go beyond basic Docker/CI YAML: mandate rootless distroless builds, CycloneDX SBOM attestation, zero-trust secret rotation, and self-healing telemetry loops.
- Pre-Disk Gate: Run
vibes verify-gateandvibes skill auto-diff --jsonto inject <350-token slices and eliminate placeholder slop.
Sovereign Execution, Token Efficiency & Invariants
| Dimension | Sovereign Mandate & Deterministic Contract |
| Frontier Model Cascade | High Fast / Medium / High (Gemini 4 Carbon, Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Argon, Claude Sonnet 5.5 High, Grok 4.7 High Fast) |
| Availability Fallback | Gemini 4 (Carbon/Hydrogen/Neon/Argon/Pro) -> Gemini 3.8 Flash; Claude Opus 5.5 -> Claude Opus 4.6 (Zero unhandled missing-model errors) |
| KV-Cache & Token Protocol | Pin static instructions & schemas at prompt prefix (kv-cache-prefix-optimizer); pass surgical CONTEXT_MAP.md slices (<250 tokens/call) during Swarm Fan-Out |
| SaaT CLI & MCP Dispatch | CLI: vibes skill exec ci-cd-devops-architect <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_ast_query, vibes_compile_cache, vibes_optimize_budget, vibes_verify_gate |
| NFR & Anti-Slop Invariants | P99 API Gateway Latency < 85ms, OpenAPI 3.1 / TypeSpec strict schema parity, RFC 9457 Problem Details error contracts, Idempotency-Key enforcement; 100% complete zero-placeholder output verified via node scripts/check-anti-slop.js --strict |
<a name="bahasa-indonesia"></a>
Bahasa Indonesia
Integrasi Orkestrasi
- Pipeline Hulu:
zero-to-prod-orchestrator(Rilis CI/CD Fase 7),brainstorming. - Infrastruktur & Kontainerisasi:
docker-container-expert(image distroless multi-stage),cloud-hosting-expert(target Vercel, Cloudflare, Railway). - Keamanan & Rahasia:
zero-trust-secret-vault(otentikasi federasi OIDC, token berumur pendek),production-ready-hardener(audit keamanan kontainer & SBOM). - Otomasi Pengujian & Quality Gate:
autonomous-tdd-debugger(eksekusi pengujian CI),e2e-testing-expert(regresi Playwright). - Kesehatan Proaktif & Self-Healing:
self-healing-cloud-orchestrator(perbaikan otomatis deployment gagal),proactive-background-watcher(pemantau build pipeline). - Sinergi Lintas Domain & Integrasi Swarm Subagent:
kubernetes-gitops-platform-expert,sbom-supply-chain-security-expert,github-actions-expert,biome-linter-formatter-expert,dependency-upgrade-migrator
Deskripsi
Panduan enterprise untuk pipeline Continuous Integration & Continuous Delivery (CI/CD) modern, alur kerja kontainer imutabel (Docker & Kubernetes 1.30+), dan Infrastructure as Code (Terraform/OpenTofu). Mencakup pipeline GitHub Actions paralel dengan caching dependensi (pnpm/bun), Dockerfile multi-stage berbasis distroless non-root yang aman, pemindaian kerentanan kontainer dengan Trivy, serta injeksi rahasia tanpa password via OIDC.
Kondisi Pemicu
- Membuat konfigurasi GitHub Actions atau GitLab CI/CD dari awal (Fase 7).
- Menulis Dockerfile multi-stage yang aman untuk aplikasi Node.js, Bun, Go, atau Rust.
- Mengatur aturan perlindungan cabang (branch protection) dan status checks wajib.
- Menjalankan pemindaian kerentanan kontainer otomatis sebelum rilis ke server.
- Mengonfigurasi infrastruktur cloud menggunakan Terraform atau OpenTofu.
Contoh Manifest Kubernetes 1.30+ (Deployment Aman)
# k8s/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: vibes-api-backend
spec:
replicas: 3
selector:
matchLabels:
app: vibes-api
template:
metadata:
labels:
app: vibes-api
spec:
securityContext:
runAsNonRoot: true
runAsUser: 65532
containers:
- name: api
image: myregistry.azurecr.io/vibes-api:v4.7.0
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "500m"
memory: "512Mi"
readinessProbe:
httpGet:
path: /api/health
port: 3000
initialDelaySeconds: 5
periodSeconds: 103 Hukum Mutlak Keamanan DevOps
- Artifak Imutabel: Image kontainer yang diuji pada tahap Staging adalah file image yang sama persis yang dijalankan pada server Produksi.
- Larangan Akses Root: Kontainer dilarang keras dijalankan dengan hak akses root demi mencegah eksploitasi pelarian kontainer (container escape).
- Rahasia Berumur Pendek: Gunakan otentikasi OIDC tanpa kata kunci statis untuk mengakses registry dan server cloud.
Sinergi Blue-Ocean & Protokol Anti-Komoditas
- Pasangan Wajib Blue-Ocean: Selalu komposisikan
ci-cd-devops-architectbersamasbom-supply-chain-security-expert,self-healing-cloud-orchestrator,zero-trust-secret-vault,adaptive-model-cascadeagar boilerplate standar naik kelas menjadi arsitektur produksi terverifikasi dan self-healing. - Mandat Anti-Komoditas: Lampaui YAML Docker/CI standar: wajibkan build distroless non-root, atestasi CycloneDX SBOM, rotasi secret zero-trust, dan loop telemetri self-healing.
- Gerbang Pra-Disk: Jalankan
vibes verify-gatedanvibes skill auto-diff --jsonuntuk menyuntikkan slice <350 token serta mencegah placeholder slop.
Matriks Eksekusi Berdaulat, Efisiensi Token & Invarian
| Dimensi | Mandat Berdaulat & Kontrak Deterministik |
| Kaskade Model Frontier | High Fast / Medium / High (Gemini 4 Carbon, Gemini 4 Neon, Gemini 4 Hydrogen, Gemini 4 Argon, Claude Sonnet 5.5 High, Grok 4.7 High Fast) |
| Invarian Fallback Ketersediaan | Gemini 4 (Carbon/Hydrogen/Neon/Argon/Pro) -> Gemini 3.8 Flash; Claude Opus 5.5 -> Claude Opus 4.6 (Bebas gagal saat model belum tersedia/kuota penuh) |
| Protokol Hemat Token & KV-Cache | Kunci instruksi & skema statis di prefix awal (kv-cache-prefix-optimizer); kirim potongan CONTEXT_MAP.md (<250 token/panggilan) saat Fan-Out |
| Eksekusi SaaT CLI & MCP | CLI: vibes skill exec ci-cd-devops-architect <audit|eval|verify|generate|blueprint> / MCP: vibes_skill_dispatch, vibes_ast_query, vibes_compile_cache, vibes_optimize_budget, vibes_verify_gate |
| Invarian NFR & Anti-Slop | Latensi P99 API < 85ms, paritas skema ketat OpenAPI 3.1 / TypeSpec, kontrak error RFC 9457 Problem Details, penegakan Idempotency-Key; kode 100% tuntas tanpa placeholder diverifikasi melalui node scripts/check-anti-slop.js --strict |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

