.agents/skills/docker-container-pro/SKILL.md
Production-grade Docker/OCI image creation. Enforces security (non-root, SBOM), minimalism (multi-stage), and reproducibility (pinned versions).
npx skillsauth add thesammykins/dotfiles docker-container-proInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Dockerfiles using multi-stage builds.Dockerfile or docker-compose.yml.base: Install dependencies.builder: Compile/Build code.runner: Minimal runtime (distroless or alpine) with ONLY artifacts.# Stage 1: Dep Install
FROM node:20-alpine AS deps
WORKDIR /app
COPY package*.json ./
RUN npm ci
# Stage 2: Build
FROM node:20-alpine AS builder
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npm run build
# Stage 3: Run
FROM gcr.io/distroless/nodejs20-debian11 AS runner
COPY --from=builder /app/dist ./dist
USER nonroot
CMD ["dist/index.js"]
node user).COPY .env into the image. Use secret mounts or environment variables at runtime.apk update && apk upgrade (or apt equivalent) in the build stage to patch vulnerabilities.FROM node:latestFROM node:20.12.0-alpine3.19 (SHA digest is even better for high security).package-lock.json / pnpm-lock.yaml and use npm ci / pnpm install --frozen-lockfile.version: '3.8'. It's obsolete in the new Compose spec.restart: always or unless-stopped for production services.development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Autonomous feature development - setup and execution. Triggers on: ralph, set up ralph, run ralph, run the loop, implement tasks. Two phases: (1) Setup - chat through feature, create tasks with dependencies (2) Loop - pick ready tasks, implement, commit, repeat until done.
tools
Enforces the 2025 Python stack. Replaces legacy tools (pip, flake8, isort) with modern, fast equivalents (uv, ruff). Mandates strict type hints.
documentation
Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.