Install
$ agentstack add skill-vanducng-skills-devops ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
About
DevOps
Deployment and infrastructure operations across containers, orchestration, IaC, cloud platforms, and CI/CD. SKILL.md dispatches; open the reference that matches the task. Distilled operational guidance — verify exact flags against the current tool docs, and never run a destructive command (terraform apply, kubectl delete, docker system prune) without confirming scope.
When to open which reference
| Task | Open | | --- | --- | | Dockerfile, multi-stage build, docker build/run, docker compose, image size/security, .dockerignore | [references/docker.md](references/docker.md) | | kubectl commands, pod debugging (CrashLoopBackOff, ImagePullBackOff, OOMKilled, Pending), manifests, rollouts, Helm charts, RBAC/secrets | [references/kubernetes.md](references/kubernetes.md) | | terraform/tofu plan/apply/destroy, state, modules, workspaces, remote backends, drift | [references/terraform.md](references/terraform.md) | | GKE/EKS/AKS clusters, Cloud Run, App Engine, gcloud, eksctl, Cloudflare Workers/Pages/R2/D1 | [references/cloud-platforms.md](references/cloud-platforms.md) | | GitHub Actions workflows, GitOps (Argo CD, Flux), deployment strategies, multi-region | [references/cicd-gitops.md](references/cicd-gitops.md) |
Operating principles (apply everywhere)
- Plan before apply. Always
terraform plan/kubectl apply --dry-run=client/docker buildbefore the mutating step. Read the diff. - Least privilege. Non-root containers, scoped RBAC, per-job CI
permissions, per-environment secrets. Never bake credentials into images or commit them. - Everything is code and versioned. Dockerfiles, manifests,
.tf, Helm values, workflows — all in git, reviewed, applied through CI/GitOps rather than by hand. - Pin versions. No
latestimage tags, no@masteractions — pin digests/major versions for reproducibility. - Right-size resources. Set CPU/memory requests and limits; unbounded workloads get OOM-killed or evicted.
- Debug top-down. Overview (
get/ps) → details (describe/inspect/events) → logs. Read the error before changing anything. - Scan and observe. Image scanning (Trivy,
docker scout), health checks/probes, and metrics/logs are part of "done," not extras.
Quick start
# Docker
docker build -t myapp:1.0 . && docker run -d -p 8080:3000 myapp:1.0
# Kubernetes
kubectl apply -f manifests/ --dry-run=client && kubectl apply -f manifests/ && kubectl rollout status deploy/myapp
# Terraform
terraform init && terraform plan -out=tfplan && terraform apply tfplan
# GCP Cloud Run
gcloud run deploy my-service --image gcr.io/PROJECT/img:tag --region us-central1
# Cloudflare Worker
wrangler deploy
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: vanducng
- Source: vanducng/skills
- License: MIT
- Homepage: https://skills.vanducng.dev
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.