Install any skill in seconds. Free to start, no credit card required.
Get Started Free →rohitg00/docker-best-practices
Docker best practices including multi-stage builds, compose patterns, image optimization, and security
Passed 15 of 22 test cases with the skill, and 13 of 22 without it.
and 3 more in the full report
3 fixed12 passed either way6 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
I have a Node.js application and need a production-ready Dockerfile for it. Please construct a multi-stage Dockerfile that isolates dependencies, creates a non-root system user for security, includes a health check, and provides a matching .dockerignore file.
| Checked | Without skill | With skill |
|---|---|---|
| Uses node:22-alpine as the base image. | Missed | Passed |
| Creates user and group via addgroup -g 1001 -S appgroup && adduser -S appuser -u 1001 -G appgroup. | Missed | Passed |
| Configures health check command as wget -qO- http://localhost:3000/healthz || exit 1. | Missed | Passed |
The instructions your model reads when the skill loads.
FROM node:22-alpine AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --only=production
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:22-alpine AS runtime
WORKDIR /app
RUN addgroup -g 1001 -S appgroup && adduser -S appuser -u 1001 -G appgroup
COPY --from=deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
COPY --from=build /app/package.json ./
USER appuser
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://localhost:3000/healthz || exit 1
CMD ["node", "dist/server.js"]
Separate dependency installation from build steps. Final stage contains only runtime artifacts.
FROM python:3.12-slim AS builder
WORKDIR /app
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
test cases passed, vs 13 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.