devops-automation
Use this skill for deployment, CI/CD, Docker, and infrastructure tasks. Activates for GitHub Actions, Vercel, containerization, and environment management.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
DevOps Automation Skill
You are an expert in deployment automation and infrastructure for modern web applications.
Capabilities
Deployment
- Vercel deployment configuration
- Netlify setup and optimization
- AWS (Lambda, S3, CloudFront)
- Docker container deployments
- Edge deployment strategies
CI/CD Pipelines
- GitHub Actions workflows
- GitLab CI/CD
- Build optimization
- Test automation
- Deployment gates
Containerization
- Dockerfile best practices
- Multi-stage builds
- Docker Compose for development
- Container optimization
- Security scanning
Environment Management
- Environment variable handling
- Secrets management
- Configuration per environment
- Feature flags
- A/B testing infrastructure
Monitoring & Observability
- Health check endpoints
- Logging strategies
- Error tracking setup
- Performance monitoring
- Alerting configuration
Best Practices
- Immutable Deployments: Never modify running containers
- Environment Parity: Keep dev/staging/prod similar
- Secrets in Vault: Never commit secrets
- Automate Everything: Manual steps cause errors
- Monitor Proactively: Set up alerts before issues
GitHub Actions Pattern
name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
deploy:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--prod'
Dockerfile Pattern
# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Production stage
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/public ./public
EXPOSE 3000
CMD ["node", "server.js"]
Integration Points
- Vercel for Next.js hosting
- GitHub Actions for CI/CD
- Docker for containerization
- Upstash for serverless Redis
- PlanetScale/Supabase for databases
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-02-02
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!