Skip to content
Back to skills

Deploy

ASecurity

Use when deploying, writing Docker/Kubernetes/Helm/IaC or CI/CD, or a deploy fails.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
ai-agentsrustgonextjsnodeexpressdockerkubernetesawsgcpazure

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add umararshad4/honey-stack --skill deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/umararshad4-deploy/badge)](https://www.skillsdirectory.com/skills/umararshad4-deploy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deploy
description: "Use when deploying, writing Docker/Kubernetes/Helm/IaC or CI/CD, or a deploy fails."
license: MIT
metadata:
  reviewed: "2026-10-18"
  sources: "honey-stack research 2026-10-18 (cloud provider docs, Docker/K8s best practices, GitHub Actions OIDC). Full reports distilled into references/."
---

# deploy

Ship a service to where it runs, write the infra for it, or find out why a deploy failed. Pick the platform from the repo (lockfiles, existing `Dockerfile`, `fly.toml`, `vercel.json`, `.github/workflows`, cloud config) before asking.

**Quality bar (zero-downtime control room):** Engineer every deploy, container, IaC plan, and pipeline as if one bad command takes down critical production with no undo button unless you build one—make it idempotent, fast, deterministic, least-privilege, secret-safe, rollback-ready, and self-verifying. Anticipate cold caches, partial failures, race conditions, arch/OS mismatches, and lock contention before writing a line, then prove it runs clean.

## Confirm before these (never on your own)
- Any deploy to **production** (prod env/branch, `--prod`, a prod cluster or context).
- `destroy`/`delete`/resource replacement in IaC (`terraform destroy`, a plan showing `-/+` or `- destroy`, `pulumi destroy`, `cdk destroy`, `kubectl delete`).
- Provisioning anything **billable** (clusters, NAT gateways, load balancers, databases, GPUs).
- Rotating/overwriting secrets, changing IAM trust, opening a security group to `0.0.0.0/0`.
- Any `kubectl` before you've run `kubectl config current-context` and confirmed the target.

**Refuse:** committing secrets, printing secret values, `--force`/`--auto-approve`/`--yes` on destructive ops, long-lived cloud keys when OIDC is available. Secrets live in a cloud secret manager or the platform's env store, never in git or an image.

## Pick the target

| You have / want | Use | Skip |
|---|---|---|
| Containerized web service on AWS | **ECS Fargate** (or ECS Express Mode for image→URL) | App Runner — closed to new customers since 2026-04-30 |
| Event-driven, bursty, <15 min on AWS | **Lambda** | |
| Any container on GCP, scale-to-zero | **Cloud Run** (`gcloud run deploy --source .`) | App Engine for new work |
| Any container on Azure | **Container Apps** (`az containerapp up`) | |
| Need real Kubernetes | GKE Autopilot / EKS / AKS | hand-rolled nodes |
| Next.js / frontend | **Vercel** (best previews) | |
| Fast "push and it runs" | Railway / Render / Fly.io | |
| Edge compute | Cloudflare Workers (`wrangler deploy`) | Pages for new projects |

Per-platform commands, the top real errors, and their fixes: `references/{aws,gcp,azure,paas}.md`.

## Containers and Kubernetes
Dockerfiles (multi-stage, slim/distroless, non-root, BuildKit cache, `--mount=type=secret`, `.dockerignore`), and Kubernetes (Deployment/Service/Ingress, readiness/liveness/startup probes, resource requests+limits, rolling update + rollback) and Helm: `references/containers.md`. Build images for the right arch (`linux/amd64`, or `arm64` to match Graviton/Fargate).

## Infrastructure as code
Terraform vs OpenTofu vs Pulumi vs CDK, when to pick each, remote state with locking, and plan/apply safety: `references/iac.md`. Always run `plan`/`preview` and read it; confirm before applying a plan that destroys or replaces anything; never commit state.

## CI/CD
GitHub Actions deploy workflows, OIDC to the cloud (no stored keys), and blue/green vs canary vs rolling with a known rollback: `references/cicd.md`.

## Diagnose a failed deploy (the common loop)
1. Read the real error: platform events/activity first (ECS stopped-reason, Cloud Run revision logs, `az containerapp logs show`, `kubectl describe` + `kubectl logs --previous`), then container logs.
2. Classify it: build, image-pull (tag/auth), startup/crash (exit code, missing env, **port mismatch**), health-probe (path/port/timing), permission (IAM/role/registry), or config (missing env/secret).
3. Most "won't go healthy" failures are a **port mismatch** (app listens on a port ≠ the configured one) or a **failing health probe**, not the deploy tool. Fix the cause, redeploy, confirm healthy, and know the rollback command before you start.

Done when: the new version is serving healthy traffic (or the diagnosis names the exact cause and fix), and you've stated what deployed, where, and how to roll back.

Files in this skill

  • SKILL.md4 KB
  • agents/openai.yaml165 B
  • references/aws.md2 KB
  • references/azure.md1.1 KB
  • references/cicd.md1.5 KB
  • references/containers.md2 KB
  • references/gcp.md1.5 KB
  • references/iac.md1 KB
  • references/paas.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.