container-engineering
Skill11 starsChanged 9 days agoMITView on GitHub
Implement, change, review, or test Dockerfile, Containerfile, .dockerignore, BuildKit/OCI image, and Docker Compose configuration, including build contexts and stages, caches, runtime users, entrypoints, health checks, ports, networks, volumes, secrets, lifecycle, and resource or privilege controls. Do not use for routine command execution or log inspection, Kubernetes/Helm/ECS/Nomad/cloud deployment, application-only changes, supply-chain-only or security-review-only audits, hosted CI pipelines, final ship decisions, or unexplained container failures.
In this repository70 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adversarial-reviewSkill
- api-designSkill
- architecture-reviewSkill
- behavior-driven-developmentSkill
- brainstormingSkill
- ci-release-engineeringSkill
- clean-architectureSkill
- code-reviewSkill
- create-agent-skillSkill
- csharp-dotnet-engineeringSkill
- css-scss-stylingSkill
- data-platform-engineeringSkill
- dependency-supply-chain-reviewSkill
- digital-asset-managementSkill
- documentation-engineeringSkill
- domain-driven-designSkill
- domain-modelingSkill
- donsetch-web-researchSkill
- gherkinSkill
- git-commitSkill
- git-workflowsSkill
- hexagonal-architectureSkill
- impeccableSkill
- internationalization-localizationSkill
- javascript-typescript-engineeringSkill
- justfilesSkill
- mcp-server-engineeringSkill
- mysql-mariadb-sql-engineeringSkill
- observability-engineeringSkill
- onion-architectureSkill
- parallelism-engineeringSkill
- performance-reviewSkill
- playwright-e2eSkill
- postgresql-sql-engineeringSkill
- prompt-engineering-reviewSkill
- python-antipatternsSkill
- python-design-patternsSkill
- python-engineeringSkill
- random-data-identifiersSkill
- release-readinessSkill
- review-verification-protocolSkill
- root-cause-analysisSkill
- ruby-engineeringSkill
- rust-antipatternsSkill
- rust-async-webSkill
- rust-code-reviewSkill
- rust-design-patternsSkill
- rust-desktop-guiSkill
- rust-engineeringSkill
- rust-persistence-sqlSkill
- rust-testing-qualitySkill
- script-engineeringSkill
- security-review-evidenceSkill
- security-reviewSkill
- semantic-versioningSkill
- sql-engineeringSkill
- sqlite-sql-engineeringSkill
- suggest-lucide-iconsSkill
- svelte-sveltekit-engineeringSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Use this skill for container build and Docker Compose configuration.
- Very specific: line 21
Keep build contexts minimal with .dockerignore.
- Distinctive: line 37
Do not embed, print, or commit secrets in images, build arguments, layers, compose files, logs, or test artifacts.
- Distinctive: line 49
Prefer least privilege, explicit writable paths, scoped networks, and narrowly exposed ports.
- Distinctive: line 73
Use repository-owned checks first, then container build and composition checks that do not expose credentials or alter shared state.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Container Engineering
Use this skill for container build and Docker Compose configuration. Inspect the repository's application, runtime, and existing container conventions before changing images or service topology.
Workflow
- Inspect container files, ignore rules, compose files, referenced scripts, application build output, runtime assumptions, environment/config sources, and existing validation commands. Identify the build context, target platforms, image consumers, and service lifecycle.
- Define build and runtime contracts: context boundaries, multi-stage artifact transfer, cache inputs, base/runtime separation, required writable paths, runtime user, entrypoint and arguments, exposed ports, and health semantics.
- Keep build contexts minimal with
.dockerignore; copy only required inputs; make cache invalidation intentional; and transfer only the needed artifacts between stages. Do not rely on host state or untracked files for a build. - Configure runtime behavior explicitly: non-root user where compatible, ownership and writable locations, signal-aware entrypoint behavior, health checks that reflect readiness, and bounded resources or privileges.
- For Compose, model services, ports, networks, volumes, secrets/config, dependency ordering, health-gated startup where supported, shutdown behavior, and persistent-data lifecycle. Avoid coupling unrelated services by default.
- Build and run the narrowest safe container validation available. Verify image build, intended target/stage, runtime user, entrypoint, health check, network reachability, volume behavior, and service lifecycle; broaden to integration checks when the change crosses service boundaries.
Security and Supply Chain Guardrails
- Do not embed, print, or commit secrets in images, build arguments, layers, compose files, logs, or test artifacts. Keep secrets out of build contexts and image history.
- Load
security-reviewandsecurity-review-evidencefor secrets, mounts, ports, capabilities, privileged mode, host sockets, user namespaces, or trust boundaries introduced by the container configuration. - Load
dependency-supply-chain-reviewfor base images, packages, downloaded tools, image digests, registries, attestations, SBOMs, or provenance trust. Do not use this skill alone for a supply-chain-only audit. - Prefer least privilege, explicit writable paths, scoped networks, and narrowly exposed ports. Treat host mounts, Docker sockets, privileged containers, and build-time network access as high-risk exceptions requiring evidence.
Routing
- Language skills own application build commands, dependency behavior, and runtime code; this skill owns their image and Compose integration.
justfilesowns local container command wrappers.ci-release-engineeringowns hosted pipeline configuration that builds, tests, or publishes images.- Consult current official Docker, BuildKit, OCI, and Compose syntax documentation after identifying the configured versions.
systematic-debuggingstarts active, unexplained build, startup, networking, or runtime failures.release-readinessowns final ship decisions.- For a requested review, load
code-reviewandreview-verification-protocol. - Exclude routine command execution or log inspection, Kubernetes, Helm, ECS, Nomad, cloud deployment systems, application-only changes, and supply-chain-only audits.
Validation and Reporting
- Use repository-owned checks first, then container build and composition checks that do not expose credentials or alter shared state. State platform, target, and whether caches, volumes, or external services affected the result.
- Report the files changed, image or service behavior changed, validation run and results, skipped checks, security-sensitive assumptions, and residual runtime or deployment risk.
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.

