-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path12Prompts
More file actions
167 lines (120 loc) Β· 4.39 KB
/
12Prompts
File metadata and controls
167 lines (120 loc) Β· 4.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
1. π§© Ansible Playbook β Infra Audit & Explanation
You are a senior DevOps engineer with 10+ years of experience.
Your job is to review and explain this Ansible playbook for a junior engineer onboarding to our infrastructure.
Deliver:
- Executive Summary
- Step-by-Step Explanation
- Potential Risks (Idempotency, Service Restarts)
- Suggestions for Scalability or Security
Playbook:
<YOUR ANSIBLE CODE>
2. π³ Dockerfile β Deep Analysis & Best Practices
You are a senior DevOps engineer with deep containerization knowledge.
Your task is to document and audit the following Dockerfile:
Include:
- Image Purpose Summary
- Each Line Breakdown
- Performance or Security Concerns (e.g., root user, caching)
- Suggestions for Multi-stage Builds or Image Slimming
Dockerfile:
<YOUR DOCKERFILE>
3. βΈοΈ Kubernetes YAML β Manifest Breakdown
You are a senior Kubernetes engineer.
Analyze this Kubernetes manifest and produce documentation suitable for internal runbooks.
Deliver:
- Resource Types and Roles (e.g., Deployment, ConfigMap)
- Image and Volume Usage
- Startup Behavior, Ports, Readiness/Liveness Probes
- RBAC/Networking/Anti-Pattern Alerts
YAML:
<YOUR K8S YAML>
4. βοΈ CI/CD Pipeline β Optimization Review
You are a DevOps lead specializing in CI/CD systems (GitHub Actions, GitLab CI/CD).
Audit and document this pipeline configuration for maintainability and performance.
Deliver:
- Overview of Pipeline Purpose and Trigger Logic
- Per-Job Breakdown
- Caching, Parallelization, Retry Logic
- Suggestions for Speed, Security, and Reusability
Pipeline:
<YOUR PIPELINE YAML>
5. π Terraform β Resource Documentation
You are an infrastructure-as-code expert.
Review this Terraform code to generate documentation for handoff to a junior engineer.
Deliver:
- Provider Overview
- Resource Map (VPCs, Instances, Volumes, Outputs)
- Tagging and Naming Convention Check
- Suggestions for Reusability with Modules
Terraform Code:
<YOUR .tf FILE>
6. π Bash Script β Automation Review
You are a DevOps automation expert.
Review this bash script and create clear inline documentation.
Deliver:
- Script Purpose Summary
- Step-by-Step Commentary
- Security/Idempotency Issues (e.g., unquoted vars, `rm -rf`)
- Suggestions for Refactor (e.g., use Ansible instead)
Script:
<YOUR BASH SCRIPT>
7. π§· systemd Service File β Startup Behavior
You are a Linux infrastructure expert.
Document this systemd unit file for inclusion in our internal wiki.
Deliver:
- Service Purpose & Description
- ExecStart, RestartPolicy, Environment Usage
- Dependency Tree (Before/After)
- Hardening & Logging Options
Unit File:
<YOUR .service FILE>
8. π Prometheus Alerting Rule β Monitoring Audit
You are a monitoring engineer with experience in SRE-grade alerting.
Audit and explain this Prometheus alert rule for the ops team.
Deliver:
- What Metric is Being Monitored
- Alert Triggers & Severity Mapping
- Runbook or Dashboard Links (if any)
- Tuning Suggestions for False Positives
Alert Rule:
<YOUR ALERT RULE>
9. π Web Server Config β Security-Focused Review
You are a DevSecOps engineer.
Review this Nginx/Apache config file and produce documentation with a security lens.
Deliver:
- Purpose of Configuration Blocks
- Ports, SSL/TLS, Headers (e.g., HSTS, CSP)
- Performance (gzip, cache) Checks
- Suggestions to Harden or Simplify
Config:
<YOUR CONFIG>
10. π PostgreSQL Backup Script β DR Documentation
You are a DevOps engineer specializing in backup & disaster recovery.
Document this PostgreSQL backup script for production environments.
Deliver:
- Backup Scope (All DBs? One Schema?)
- Location & Retention Strategy
- Compression/Encryption Checks
- Suggestions for Cron, Rotation, or pgBackRest
Script:
<YOUR BACKUP SCRIPT>
11. π§° Docker Compose β Multi-Service Breakdown
You are a senior container orchestration expert.
Document this Docker Compose file as part of microservice architecture documentation.
Deliver:
- Service-by-Service Breakdown
- Volumes, Networks, Dependencies
- Inter-Service Communication
- Suggestions for Scaling or Breaking into K8s
Compose:
<docker-compose.yml>
12. π§ͺ Helm Chart Values β Config Guide
You are a Helm chart maintainer.
Document the values.yaml file to help engineers customize deployments.
Deliver:
- Each Value Purpose and Default
- Conditional Flags (enabled: true/false)
- Resource Requests/Limits
- Security & Access Parameters
values.yaml:
<YOUR VALUES>