From devops-engineer
Optimizes CI/CD pipelines using parallel GitHub Actions jobs, dependency caching, Docker best practices, and blue-green/canary Kubernetes deployments for faster builds and reliable releases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/devops-engineer:ci-cd-optimizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Optimize CI/CD pipelines for faster builds and reliable deployments.
Optimize CI/CD pipelines for faster builds and reliable deployments.
Parallelize jobs, cache dependencies, use smaller images, implement health checks, automate rollbacks.
Parallel execution:
# GitHub Actions
jobs:
test:
strategy:
matrix:
node: [14, 16, 18]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm test
Caching dependencies:
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Docker layer caching:
# Order layers by change frequency
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
Blue-green deployment:
deploy:
steps:
- name: Deploy to green
run: kubectl set image deployment/app app=myapp:${{ github.sha }} --record
- name: Wait for rollout
run: kubectl rollout status deployment/app
- name: Run smoke tests
run: ./smoke-tests.sh
- name: Switch traffic
run: kubectl patch service app -p '{"spec":{"selector":{"version":"green"}}}'
Canary deployment:
- name: Deploy canary (10%)
run: kubectl set image deployment/app-canary app=myapp:${{ github.sha }}
- name: Monitor metrics
run: ./check-metrics.sh
- name: Promote to 100%
run: kubectl set image deployment/app app=myapp:${{ github.sha }}
npx claudepluginhub p/armanzeroeight-devops-engineer-plugins-devops-engineerDesigns and optimizes CI/CD pipelines: stage structure, test parallelization, artifact management, and performance tuning. Useful when building or improving a pipeline.
Design and implement CI/CD pipelines with GitHub Actions, GitLab CI, Jenkins, or CircleCI for automated testing, building, and deployment.