docker
Skill2 starsChanged 4 months agoMITView on GitHub
Use to containerize an app with a Dockerfile — small, secure, cache-friendly images via multi-stage builds — and build/run/push them.
- Reads credentials
- Deletes or force-pushes
- Installs packages
47 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dottheir own version, first seen Oct 5, 2026
- Quad4-Software/skillstheir own version, first seen Oct 3, 2026
- vekzz-dev/opencode-skillstheir own version, first seen Oct 3, 2026
- fworks-tech/agenthoodtheir own version, first seen Sep 28, 2026
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
Used with
Projects with it also use ansible, kubernetes and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
KubementatSkillansible
Ansible automation reference for playbooks, roles, inventory, variables, and modules. Includes Proxmox VE and Docker integration via community.general and community.docker collections. Use when writing playbooks, troubleshooting Ansible runs, or designing automation workflows. Triggers: ansible, playbook, inventory, role, task, handler, vars, jinja2, galaxy, proxmox_kvm, proxmox_lxc, docker_container, docker_compose.
Also in 3 projects that use this
mjunaidcaSkillkubernetes
Production-grade Kubernetes manifests and debugging for containerized applications. This skill should be used when users ask to deploy to Kubernetes, create K8s manifests, containerize for K8s, set up Deployments/Services/Jobs/StatefulSets/CronJobs, create namespaces with resource quotas, set up multi-team isolation, configure ResourceQuota/ LimitRange, secure with RBAC (ServiceAccount, Role, RoleBinding), configure init containers (model download, db wait, migrations), set up sidecars (logging, metrics), or debug pods (CrashLoopBackOff, logs, exec, describe, events). Auto-detects from Dockerfile/code, generates hardened manifests with educational comments. CKAD-aligned.
Also in 6 projects that use this
mjunaidcaSkillhelm
Production-grade Helm 4 chart development, release management, and debugging. This skill should be used when users ask to create Helm charts, deploy with Helm, manage releases (install/upgrade/rollback), push charts to OCI registries, debug failed deployments, configure chart dependencies, create umbrella charts, set up GitOps with ArgoCD/Flux, or troubleshoot Helm issues. Auto-detects from Dockerfile/code, generates production-hardened charts with library patterns. Complements kubernetes skill.
Also in 3 projects that use this
LangChainSkilllangchain
Build agents with a prebuilt architecture and integrations for any model or tool. Use when creating tool-calling agents, switching model providers, or adding structured output.
Also in 3 projects that use this
diego-tobalinaSkilllogging
Logging best practices for Java (SLF4J/Logback) and Node.js (Winston/Pino). Use for structured logging, log levels, and avoiding sensitive data exposure.
Also in 4 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 4 projects that use this
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- codewithmukesh/dotnet-claude-kit★ 750same name
- nth5693/gemini-kit★ 373same name
- TheDecipherist/claude-code-mastery-project-starter-kit★ 338same name
- Mindrally/skills★ 266same name
- avibebuilder/claude-prime★ 120same name
- nahid-sparktales/agent-dispatcher★ 59same name
- kumaran-is/claude-code-onboarding★ 36same name
- neuron-one/GODMODE★ 33same name
- mjunaidca/mjs-agent-skills★ 27same name
- sordi-ai/skill-everything★ 20same name
37 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- anthropicSkill
- clerkSkill
- cloudflare-workersSkill
- fly-ioSkill
- github-actionsSkill
- neonSkill
- netlifySkill
- nextjsSkill
- openaiSkill
- prismaSkill
- railwaySkill
- renderSkill
- resendSkill
- sentrySkill
- stripeSkill
- supabaseSkill
- tailwindcssSkill
- terraformSkill
- upstash-redisSkill
- vercelSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Use when: you need reproducible builds/deploys across machines, CI, and hosts (Fly/Railway/Render/K8s).
- Distinctive: line 20
Use when: your app has native deps or a specific runtime you want to pin.
- Distinctive: line 21
Don't use for: static frontends that a CDN host builds for you (usually unnecessary overhead).
- Very specific: line 103
Never COPY .env or hardcode credentials — they persist in image layers even if later "removed".
- Distinctive: line 104
Prefer official/verified minimal base images.
“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Docker — Skillship
Package an app and its dependencies into a portable image that runs the same everywhere. The goal is a small, secure, cache-friendly image via multi-stage builds and a slim runtime base.
🧭 When to use this skill
- Use when: you need reproducible builds/deploys across machines, CI, and hosts (Fly/Railway/Render/K8s).
- Use when: your app has native deps or a specific runtime you want to pin.
- Don't use for: static frontends that a CDN host builds for you (usually unnecessary overhead).
⚡ Quickstart
1. Multi-stage Dockerfile (Node example)
# syntax=docker/dockerfile:1
# ---- build stage (has dev deps + toolchain) ----
FROM node:22-slim AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci # copy manifests first so this layer caches until deps change
COPY . .
RUN npm run build
# ---- runtime stage (slim, prod-only) ----
FROM node:22-slim AS runtime
ENV NODE_ENV=production
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev && npm cache clean --force
COPY --from=build /app/dist ./dist
USER node # run as non-root
EXPOSE 3000
CMD ["node", "dist/server.js"] # exec form so the app is PID 1 and receives signals2. .dockerignore (keep the build context small)
node_modules
.git
.env
dist
**/*.md3. Build & run
docker build -t my-app:1.0.0 .
docker run --rm -p 3000:3000 --env-file .env my-app:1.0.0🧩 Common recipes
Recipe: Pin the base image (reproducible builds)
FROM alpine:3.21@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88cRecipe: Install OS packages cleanly (Debian/Ubuntu)
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/*Recipe: Pass build-time secrets without baking them in
RUN --mount=type=secret,id=npmtoken \
NPM_TOKEN=$(cat /run/secrets/npmtoken) npm cidocker build --secret id=npmtoken,src=./.npmtoken -t my-app .Recipe: Fresh build (bypass cache / pull latest base)
docker build --pull --no-cache -t my-app:1.0.0 .🚀 Ship to production
- Multi-stage build; final image uses a slim base with no compilers/build tools.
- Runs as a non-root
USER. - Base image pinned (tag + ideally digest); rebuilt regularly for security patches.
- No secrets baked into layers — inject at runtime (env/secrets), or use
--mount=type=secretat build. .dockerignoreexcludes.env,.git,node_modules, build artifacts.CMD/ENTRYPOINTin exec form; container is ephemeral/stateless (state on volumes).- Image scanned (e.g.
docker scout/Trivy) before publishing.
🔐 Security & secrets
- Never
COPY .envor hardcode credentials — they persist in image layers even if later "removed". - Prefer official/verified minimal base images; smaller image = smaller attack surface.
- Drop privileges with
USER; avoidsudoinside images.
🐛 Common errors & fixes
| Symptom | Likely cause | Fix |
| Every build reinstalls deps | COPY . . before installing | Copy package*.json first, then RUN npm ci, then copy source |
| Huge image size | Build tools in final stage | Use multi-stage; copy only artifacts into a slim runtime |
| App ignores Ctrl+C / SIGTERM | Shell-form CMD (not PID 1) | Use exec form: CMD ["node","server.js"] |
| Secret leaked in image | COPY/ENV of secret | Inject at runtime or use build secrets mount |
| Stale packages after edit | apt-get update cached separately | Combine update && install in one RUN |
📚 Sources
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.

