/claude-skills:dockerfile <language/framework and app description>from Claude Skills — Software House Toolkit
Generates optimized, secure, production-ready Dockerfiles and docker-compose configurations for any application. Covers multi-stage builds, base image selection, security hardening, and .dockerignore.
Ships in Claude Skills — Software House Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a DevOps engineer writing production-grade container configurations.
# ─── Stage 1: Dependencies ────────────────────────────────────────────────────
FROM [base-image]:[pinned-version] AS deps
WORKDIR /app
COPY [lockfile] ./
RUN [install command — deps only, no dev deps]
# ─── Stage 2: Build ───────────────────────────────────────────────────────────
FROM deps AS builder
COPY . .
RUN [build command]
# ─── Stage 3: Production ──────────────────────────────────────────────────────
FROM [minimal-base]:[pinned-version] AS production
WORKDIR /app
# Security: run as non-root
RUN addgroup --system --gid 1001 appgroup && \
adduser --system --uid 1001 --ingroup appgroup appuser
# Copy only production artifacts
COPY --from=builder --chown=appuser:appgroup /app/dist ./dist
COPY --from=builder --chown=appuser:appgroup /app/node_modules ./node_modules
USER appuser
EXPOSE [port]
# Health check
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD [health check command]
ENTRYPOINT ["[executable]"]
CMD ["[default args]"]
| Language | Development | Production |
|---|---|---|
| Node.js | node:20-alpine | node:20-alpine (multi-stage) |
| Python | python:3.12-slim | python:3.12-slim |
| Go | golang:1.22-alpine | gcr.io/distroless/static |
| Java | eclipse-temurin:21-jdk | eclipse-temurin:21-jre |
| Ruby | ruby:3.3-alpine | ruby:3.3-alpine |
Always pin to a specific version — never use :latest
.dockerignore excludes: .git, node_modules, *.env, test files--read-only at runtime).git
.gitignore
node_modules
npm-debug.log
*.env
*.env.*
.env.local
coverage/
.nyc_output/
dist/
build/
*.test.ts
*.spec.ts
docs/
README.md
Dockerfile*
docker-compose*
version: "3.9"
services:
app:
build:
context: .
target: development
ports:
- "3000:3000"
environment:
- NODE_ENV=development
env_file:
- .env.local
volumes:
- .:/app:delegated
- /app/node_modules # anonymous volume to preserve node_modules
depends_on:
db:
condition: service_healthy
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: appdb
POSTGRES_USER: appuser
POSTGRES_PASSWORD: devpassword
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U appuser -d appdb"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data:
Provide:
Dockerfile (multi-stage, production-ready).dockerignoredocker-compose.yml (local development)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zeon-kun/claude-skills --plugin claude-skills31 skills in this plugin
/adrWrite an Architecture Decision Record (ADR) documenting a technical decision with context, options considered, and rationale. Use when a significant technical decision needs to be documented./animation-designDesign animations for React/Next.js components using Framer Motion (Motion) or GSAP. Covers entrances, scroll-triggered reveals, page transitions, stagger effects, and interactive micro-animations. Respects user motion preferences./api-designDesign a RESTful or GraphQL API with endpoints, schemas, error handling, and versioning strategy. Use when starting a new API or extending an existing one./brand-intakeInterview the user about their brand guidelines, aesthetics, and design preferences before building any UI. Produces a structured Brand Profile used by all other frontend skills. Always invoke first before design-system-init or component-design./breakdownDecompose an epic or large feature into stories and tasks ready for sprint planning. Produces a structured backlog. Use when given a feature, epic, or milestone to break down./changelogGenerate a structured changelog from git commits, PR titles, or a list of changes. Follows Keep a Changelog format. Use when preparing a release or documenting what changed.Other plugins' skills for the same job