Tooluck logoTooluck
SKILL.md

devops-infrastructure

Agent skill fromCloudAI-X/claude-workflow-v2

Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure.

How to install devops-infrastructure

install devops-infrastructure
# install the claude-workflow-v2 pack with the skills CLI
npx skills add CloudAI-X/claude-workflow-v2

# or add only this skill to Claude Code: copy the folder

skills/devops-infrastructure/

# into

~/.claude/skills/devops-infrastructure/ (all projects)

.claude/skills/devops-infrastructure/ (one project)

skills/devops-infrastructure/SKILL.md

MITFull file
1# DevOps & Infrastructure
2
3### When to Load
4
5- **Trigger**: Docker, CI/CD pipelines, deployment configuration, monitoring, infrastructure as code
6- **Skip**: Application logic only with no infrastructure or deployment concerns
7
8## DevOps Workflow
9
10Copy this checklist and track progress:
11
12```
13DevOps Setup Progress:
14- [ ] Step 1: Containerize application (Dockerfile)
15- [ ] Step 2: Set up CI/CD pipeline
16- [ ] Step 3: Define deployment strategy
17- [ ] Step 4: Configure monitoring & alerting
18- [ ] Step 5: Set up environment management
19- [ ] Step 6: Document runbooks
20- [ ] Step 7: Validate against anti-patterns checklist
21```
22
23## Docker Best Practices
24
25### Multi-Stage Build
26
27```dockerfile
28# WRONG: Single stage, bloated image
29FROM node:22
30WORKDIR /app
31COPY . .
32RUN npm install
33RUN npm run build
34CMD ["node", "dist/index.js"]
35# Result: 1.2GB image with devDependencies and source code
36
37# CORRECT: Multi-stage build
38FROM node:22-alpine AS builder
39WORKDIR /app
40COPY package*.json ./
41RUN npm ci
42COPY . .
43RUN npm run build
44RUN npm prune --omit=dev
45
46FROM node:22-alpine AS runner
47WORKDIR /app
48ENV NODE_ENV=production
49RUN addgroup -g 1001 appgroup && adduser -u 1001 -G appgroup -s /bin/sh -D appuser
50COPY --from=builder /app/dist ./dist
51COPY --from=builder /app/node_modules ./node_modules
52COPY --from=builder /app/package.json ./
53USER appuser
54EXPOSE 3000
55CMD ["node", "dist/index.js"]
56# Result: ~150MB image, no devDependencies, non-root user
57```
58
59### Python Multi-Stage
60
61```dockerfile
62…

Excerpt shown under the repository's MIT license.

More skills in claude-workflow-v2

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates