Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Dockerfile & Container Build Sanity Gate

    1

    The Dockerfile & Container Build Sanity Gate is an adversarial reviewer for Dockerfiles and container build files.

    $14

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    2 installsSecurity scanned
    Dockerfile & Container Build Sanity Gate

    Dockerfile & Container Build Sanity Gate

    Example session with this skill installed

    Review this Dockerfile: FROM node:latest
    COPY . .
    RUN npm install && npm run build
    ENV API_TOKEN=sk-live-abc123
    CMD ["node", "server.js"]

    • Read your context and instructions
    • Compiled the dockerfile & container

    VERDICT: BLOCK
    PRIVILEGE: risk - no USER directive, so the container runs as root.
    SIZE: bloated - single stage leaves npm and build tools in the final image.
    LAYERS: fragile - FROM node:latest is unpinned; COPY . . before install busts the cache on every code change.
    SECRETS: API_TOKEN in ENV is baked into a layer and visible to anyone who pulls the image - highest risk.
    HARDENING: no .dockerignore, no HEALTHCHECK, packages not minimized.
    TOP 3 FIXES: remove API_TOKEN from ENV and pass it at runtime; pin the base image and move COPY after dependency install; add a non-root USER plus a multi-stage build.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Reviewing a Dockerfile for root users and leaked secrets before building the imageChecking a teammate's Dockerfile in a pull request for bloat and fragile layersAuditing an oversized or slow-building image for missing hardening before it ships

    About this skill

    The Dockerfile & Container Build Sanity Gate is an adversarial reviewer for Dockerfiles and container build files. You paste a Dockerfile and it reads it the way a security-minded platform engineer would in code review — then returns a structured verdict. It does not rewrite your Dockerfile or generate one. It runs five passes — privilege and user, image size and bloat, layer order and pinning, secret and data leakage, and hardening best practices — and returns a structured PASS / FIX / BLOCK verdict with the highest-impact fixes first. It is built to be the last read before an image is built or pushed, when the author is too close to the file to spot a root process, a baked-in token, or a cache-busting layer.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    2 installs

    Downloaded by developers to date

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    • Passed all security checks, Safe to install

    Listed3 months ago
    Updated2 days ago

    What's inside

    Frequently Asked Questions