What problem does it solve? Writing correct, low-noise alerting policies for Google Kubernetes Engine is hard: PromQL queries have subtle failure modes (empty vectors on traffic loss, redundant duration windows inflating MTTD), and kube-state-metrics ingestion can silently drive up Google Cloud Managed Service for Prometheus bills. This Skill produces validated Terraform alert policies that follow SRE best practices while enforcing cost guardrails. ## Core Features & Use Cases - Golden Signals Coverage: Generates alerts for latency (P95), errors (Multi-Window Multi-Burn-Rate SLO), traffic (absent()/default 0 outage detection), and memory saturation, plus cluster health signals like CrashLoopBackOff and Node NotReady. - KSM Cost Guardrails: Classifies every metric as Tier 1 (native/cAdvisor, zero surcharge) or Tier 2 (kube-state-metrics), requires explicit user consent before KSM-dependent alerts, and provides filtered PodMonitoring allowlists. - Plan-Validate-Execute Workflow: Drafts a changes.json plan, validates PromQL syntax, lookback windows, durations, and duplicate signals via scripts/validate_config.py, then merges approved policies into alerts.tf. - Use Case: Ask for an alerting suite for a GKE service and receive a complete alerts.tf and variables.tf with MWMBR SLO burn-rate alerts, dynamic grouping by cluster/namespace/service, and plain-English explanations of each threshold. ## Quick Start Generate Terraform alerting policies covering the four Golden Signals for my GKE service in the production namespace of cluster main-cluster.