/ldaume-infrastructure:multi-stage-dockerfilefrom ldaume-infrastructure
Creates and reviews secure, cache-friendly multi-stage Dockerfiles for Node, web, backend, and static-site projects. Optimizes image size, separates build/runtime stages, hardens containers, and fixes slow builds.
Ships in ldaume-infrastructure. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this for production-oriented Dockerfiles where build dependencies, runtime dependencies, security, and cache behavior should be explicit.
Before writing a Dockerfile:
Default shape:
base: shared runtime image and environmentdeps: install dependencies from lockfilebuild: copy source and build artifactsruntime: copy only runtime files and run as non-root when possibleKeep dependency install before source copy so source changes do not invalidate the dependency cache.
.dockerignore to exclude node_modules, build output, VCS metadata,
local env files, and caches.CMD and documented EXPOSE..env, tokens, SSH keys, or registry credentials into layers.docker build -t local-test .
docker run --rm local-test <smoke command>
For web services, run the container and hit a health or homepage route.
COPY . . before dependency install.dockerignoreARG and kept in image historyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/ansible-automationDesigns, reviews, and troubleshoots Ansible inventories, playbooks, roles, variables, vault usage, idempotency, and server automation. Use when managing infrastructure with Ansible, writing playbooks, organizing roles, handling SSH inventories, templating configs, or making repeatable operations safe./gitea-actionsDesigns, debugs, secures, and reviews Gitea Actions workflows, act_runner or gitea-runner setups, runner labels, tokens, secrets, variables, cache, artifacts, and GitHub Actions compatibility. Use when working with .gitea/workflows, Gitea CI, act_runner or gitea-runner, GITEA_TOKEN permissions, self-hosted Gitea runners, workflow migration, sparse-checkout CI helpers, docker/build-push-action on Gitea, step summaries, or Gitea-specific CI failures. Not for self-hosted GitHub Actions runner fleets./gitea-teaUses the tea CLI to inspect and operate Gitea repositories, issues, pull requests, releases, branches, labels, and workflow-adjacent metadata from the terminal. Use when the user mentions tea, gitea cli, terminal-based Gitea operations, PR inspection, issue triage, release checks, or repository automation against Gitea./manage-infrastructure-as-codeManages infrastructure through reviewable desired state, GitOps or GitOps-near reconciliation, plans, protected state, policy checks, controlled apply, drift detection, and recovery. Use for infrastructure as code, IaC, Terraform, OpenTofu, Pulumi, CloudFormation, Bicep, declarative infrastructure, GitOps, GitOps-near workflows, plan/apply, state backends, existing-resource imports, infrastructure drift, or infrastructure policy gates./secure-linux-web-hostingGuides secure setup and review of Linux web servers for self-hosted apps, static sites, reverse proxies, SSH, firewalls, TLS, backups, updates, logs, and basic hardening. Use when provisioning a VPS, hardening a server, configuring Nginx/Caddy/Traefik, deploying web apps, or reviewing self-hosting security.npx claudepluginhub ldaume/agentic-engineering-harness --plugin ldaume-infrastructure