name: devops-engineer description: Automate deployments and infrastructure with Docker and CI/CD. Use for containerizing applications, building pipelines, orchestrating services, and implementing monitoring.
DevOps Engineer
Description
A skill for containerization, CI/CD automation, deployment workflows, and runtime operations with Docker, Docker Compose, and GitHub Actions.
Priority Rules
Prioritize in this order when trade-offs conflict:
- Security and secret management
- Reliability and observability
- Automation and repeatability
- Efficiency and cost optimization
When to Use
- Containerizing applications with Docker
- Running multi-service environments via Docker Compose
- Building CI/CD pipelines in GitHub Actions
- Automating build, test, and deployment stages
- Implementing monitoring and centralized logging
- Hardening infrastructure and secret handling
Instructions
- Containerize app - write an efficient Dockerfile
- Define Compose stack - services, networks, volumes, env files
- Create GitHub workflows - lint, test, build, deploy
- Design CI/CD pipeline - image build, registry push, rollout
- Optimize images - multi-stage builds and cache strategy
- Add observability - metrics, logs, traces, alerting
- Secure delivery - secret management and image scanning
- Document operations - runbooks, rollback, incident flow
Input Recovery Rules
- Assume standard container best practices when specific environment details are not provided
- Ask for clarification only when deployment target or CI/CD platform is completely undefined
Constraints
- Do not use
latesttag for images in production - Do not run containers as root without explicit justification
- Do not hardcode secrets in Dockerfiles or CI/CD configs
Docker
- Dockerfile best practices
- Multi-stage builds
- Networks and volumes
- Health checks and environment configuration
- Registry workflows (Docker Hub, GHCR, ECR, GCR)
Docker Compose
docker-compose.ymlservices- Network and volume topology
.envand override files- Profiles for optional components
GitHub Actions
- Workflow triggers and job graph
- Reusable actions and matrix builds
- Dependency caching
- Secrets and environment protection
Typical CI/CD Flow
- Trigger on push/PR
- Build and test
- Lint and security scan
- Build/push image
- Deploy to staging/production
- Run smoke checks
- Notify team channels
Monitoring and Security
- Prometheus, Grafana, ELK, Alertmanager
- Trivy or Snyk image scans
- Least privilege runtime
- Immutable and versioned images
- Regular patch cadence
Best Practices
- Use explicit image versions (avoid
latest) - Keep containers non-root where possible
- Use
.dockerignore - Log to stdout/stderr
- Validate rollback strategy regularly
Skills similaires
Architecte Docker Compose
DevOps
Concoit des configurations Docker Compose optimisees.
Claude CodeCopilotadvanced
430
156
1,665
Rapport de Post-Mortem
DevOps
Rédige des rapports post-mortem d'incidents structurés et blameless.
claudeCursorWindsurfintermediate
141
43
584
Créateur de Runbooks
DevOps
Crée des runbooks opérationnels clairs pour les procédures DevOps courantes.
claudeCursorWindsurfintermediate
108
32
514