agentleFS
LeostrukaLeostruka/devin-bundle/skills/docker/SKILL.md

docker

Skill0 starsChanged 3 months agoMITView on GitHub

Use when the user wants to build, run, compose, or deploy containers. Covers Dockerfiles, docker compose, images, volumes, networks, and basic Kubernetes manifests.

55 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ml-training-recipe, replication and 10 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.
  • getcompanion-aiSkill

    ml-training-recipe

    Find implementable ML training recipes from papers, datasets, docs, and code. Use when the user wants to fine-tune, train, reproduce, or choose a practical ML method, dataset, hyperparameter setup, or benchmark recipe.

    Also in 3 projects that use this

  • getcompanion-aiSkill

    replication

    Plan a replication of a paper, claim, or benchmark, and execute only after an explicit environment choice. Use when the user asks to replicate results, reproduce an experiment, verify a claim empirically, or build a replication package.

    Also in 3 projects that use this

  • Sorcha-PlatformSkill

    scalar

    Generates and configures Scalar OpenAPI UI for API documentation. Use when: Adding API documentation to services, configuring OpenAPI endpoints, customizing documentation themes

    Also in 3 projects that use this

  • brainbytes-devSkill

    alpha-research

    Also in 3 projects that use this

  • JaimeParkerSkill

    paper-code-audit

    Perform three-way cross-validation of a research paper by comparing the original paper text (via Zotero), official code implementation (via Git), and personal Obsidian notes. Use this skill whenever the user wants to "audit a paper", "verify paper claims against code", "cross-check notes with implementation", "triangulate paper + code + notes", "find discrepancies between paper and code", or mentions wanting a deep, structured comparison of a paper's claims against its implementation and their own notes. Also trigger when the user asks to "analyze this paper thoroughly" with code available, or when they want to systematically reconcile what the paper says, what the code does, and what their notes claim.

    Also in 3 projects that use this

  • Sorcha-PlatformSkill

    redis

    Implements Redis caching, session management, and distributed coordination for the Sorcha platform. Use when: Adding caching layers, token revocation, rate limiting, SignalR backplane, or distributed state.

    Also in 5 projects that use this

  • +1 more from getcompanion-ai

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 47 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Distinctive:

    Run container: Verify ports, env vars, volumes.

    line 23
  2. Distinctive:

    Scan image: Check for known CVEs if a scanner is available.

    line 25
  3. Distinctive:

    Run the agent with the project mounted read-only or inside the container.

    line 33
  4. Very specific:

    After changes, run docker build and docker compose up (or docker run) and report status.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 47 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Docker

Container build, run, and compose workflows.

When to use

  • Adding or fixing a Dockerfile.
  • Running the stack with docker compose.
  • Image is too large or has security issues.
  • Need a basic Kubernetes manifest.
  • Running a destructive or risky task that should be isolated from the host.

Core protocol

  1. Read existing setup. Dockerfile, compose files, .dockerignore.
  2. Build image. docker build -t <tag> .
  3. Run container. Verify ports, env vars, volumes.
  4. Optimize. Multi-stage builds, layer caching, non-root user.
  5. Scan image. Check for known CVEs if a scanner is available.
  6. Compose stack. Bring up services and run integration tests.

Dev container for destructive work

For tasks that could be destructive (file system, DB, network, credentials), run the agent inside a container or dev container rather than directly on the host:

  • Build the project image with docker build or use an existing .devcontainer/devcontainer.json.
  • Run the agent with the project mounted read-only or inside the container.
  • This limits blast radius and prevents accidental host modification.

See also

  • deploy — release and rollback orchestration.
  • docker — container build, run, and compose.

Output rule

  • After changes, run docker build and docker compose up (or docker run) and report status.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

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.