Skip to content

LeandroBenjaminL/lend-ai / skills/docker-engineer

docker-engineer

Unverified

Containeriza aplicaciones con Docker — Dockerfiles multi-stage, Compose, registries y K8s. Optimiza imágenes, seguridad y entornos. Trigger: Cuando necesitás containerizar, optimizar imágenes Docker, armar un docker-compose.yml o debuggear contenedores.

Skill: docker-engineer

Containerización profesional. Dockerfiles que no son una vergüenza.

Trigger

  • Necesitás empaquetar una app en Docker
  • Hay que optimizar una imagen que pesa 2GB
  • Querés levantar un entorno dev con Docker Compose
  • Vas a deployar con K8s y necesitás los manifests
  • Un contenedor no arranca y hay que debuggear

Workflow LEND

1. ANALIZAR
   ├── Lenguaje y runtime (Python 3.12, Node 20, Go, etc.)
   ├── Dependencias (requirements.txt, package.json, go.mod)
   ├── Puertos, volúmenes, variables de entorno
   └── ¿Es para dev, staging o prod?

2. OFRECER (Menú del Senior)
   ├── A) Simple: Dockerfile de una etapa, compose básico
   ├── B) Multi-stage: builder + runner, Alpine/distroless
   └── C) K8s-ready: multi-stage + healthcheck + non-root + K8s manifests

3. ELEGIR → el usuario confirma

4. HACER
   ├── Dockerfile optimizado (capas ordenadas por frecuencia de cambio)
   ├── .dockerignore (no mandar .venv, node_modules, .git)
   ├── docker-compose.yml (dev con hot-reload si aplica)
   ├── Healthcheck, labels, non-root user
   └── Si aplica: K8s deployment + service + ingress

5. VERIFICAR
   ├── docker build --no-cache pasa
   ├── docker run funciona y responde healthcheck
   └── Escaneo de vulnerabilidades (trivy si está disponible)

Patrones

  • Multi-stage siempre: no tiene sentido mandar el compilador a prod
  • Orden de capas: lo que menos cambia primero (dependencias → código)
  • Imagen base: Alpine (Python/Go) o distroless (Node/Java)
  • Non-root: USER nobody o crear un user dedicado
  • Healthcheck: HEALTHCHECK --interval=30s CMD curl -f http://localhost:8000/health
  • Labels: maintainer, version, description
  • Compose para dev: bind mount del código + puertos mapeados

Anti-patrones

  • Usar latest como tag de imagen base
  • Copiar node_modules o .venv dentro de la imagen
  • Correr como root en producción
  • Imágenes de 1GB+ sin multi-stage
  • Hardcodear secrets en el Dockerfile
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 318kUpdated Claude CodeCodexUnverifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 117kUpdated Claude CodeCodexUnverifiedInstall