All Engineering Roles

AI for DevOps Engineers

Copy-paste prompts for infrastructure, CI/CD, and incident response. Ship reliable systems faster.

Write Dockerfiles and K8s manifests
Debug production incidents faster
Create Terraform modules
Build CI/CD pipelines
Set up monitoring and alerts
Automate runbooks

DevOps Engineering Prompts

Containers

Dockerfile Generator

Create optimized, secure Dockerfiles

Create a production-ready Dockerfile for:
- Application: [language/framework]
- Base image preference: [alpine/debian/distroless]
- Build requirements: [list any]

Include:
1. Multi-stage build for smaller image
2. Non-root user for security
3. Proper layer caching
4. Health check
5. Security best practices
6. Comments explaining each decision
Kubernetes

Kubernetes Manifest Generator

Generate K8s manifests with best practices

Create Kubernetes manifests for deploying:
- Application: [describe app]
- Replicas: [number]
- Resources: [CPU/memory requirements]
- Expose via: [ClusterIP/LoadBalancer/Ingress]

Include:
1. Deployment with proper labels
2. Service configuration
3. Resource limits and requests
4. Liveness and readiness probes
5. ConfigMap/Secret references
6. HPA if applicable
IaC

Terraform Module Builder

Create reusable Terraform modules

Create a Terraform module for:
- Resource: [describe what to provision]
- Cloud: [AWS/GCP/Azure]
- Requirements: [list specific needs]

Include:
1. variables.tf with descriptions and defaults
2. main.tf with resource definitions
3. outputs.tf for important values
4. README with usage example
5. Security best practices
CI/CD

CI/CD Pipeline Generator

Create comprehensive CI/CD pipelines

Create a CI/CD pipeline for:
- Platform: [GitHub Actions/GitLab CI/Jenkins]
- Application: [language/framework]
- Deploy target: [K8s/ECS/Lambda/VM]

Pipeline should include:
1. Lint and test stages
2. Security scanning (SAST/dependencies)
3. Build and push container
4. Deploy to staging
5. Integration tests
6. Production deployment with approval
7. Rollback strategy
Observability

Monitoring & Alerting Setup

Configure comprehensive observability

Design a monitoring setup for:
- Application type: [web app/API/microservices]
- Stack: [Prometheus/Datadog/CloudWatch]
- Key SLOs: [list them]

Provide:
1. Key metrics to collect
2. Dashboard layout recommendations
3. Alert rules with thresholds
4. Runbook template for each alert
5. Log aggregation strategy
Troubleshooting

Incident Response Helper

Debug production issues systematically

I'm experiencing this production issue:
[describe symptoms]

Environment:
- Infrastructure: [describe]
- Recent changes: [list any]
- Error messages: [paste relevant logs]

Help me:
1. Identify likely root causes
2. Suggest diagnostic commands
3. Propose immediate mitigation
4. Outline permanent fix
5. Create post-mortem template

Want More Prompts?

Get access to our full library of 40+ DevOps prompts, plus runbook templates and incident response playbooks.

Get Full Access