Skip to main content

gke-alert-configuration

Configures alerting policies in Terraform for Google Kubernetes Engine (GKE) clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Use when writing, analyzing, validating, or deploying Terraform alerting policies to monitor GKE service latency, traffic, error rates using Multi-Window Multi-Burn-Rate SLO alerts, memory saturation, and cluster health such as CrashLoopBackOff and Node NotReady conditions. Don't use for non-GKE compute runtimes such as standalone Compute Engine VMs or standalone Cloud Run services without GKE.

v1.0.4New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install google-cloud-skills-gke-alert-configuration
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/google-cloud-skills-gke-alert-configuration/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
Signed
0Save

Instructions

GKE Alert Configuration

This skill provides guidelines and best practices for creating robust,
high-signal alerting policies for Google Kubernetes Engine workloads using
Google Cloud Managed Service for Prometheus and Terraform. It ensures
comprehensive coverage of the 4 Golden Signals and key cluster health
metrics while minimizing alert noise.


Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-alert-configuration)"
and append agent-skills/1.0 (skill:gke-alert-configuration) to User-Agent headers.

Critical Rules

  • Negative Triggers and Scope Redirection for Non-GKE Standalone Runtimes:

    • This skill is strictly scoped to Google Kubernetes Engine (GKE)
      workloads, clusters, and services using PromQL and Google Cloud Managed
      Service for Prometheus.
    • Do not use for non-GKE compute runtimes, such as standalone Compute
      Engine virtual machines or standalone Cloud Run services without GKE.
    • STOP AND RESPOND DIRECTLY (Do Not Edit Files): When the user
      requests alert configuration for non-GKE compute infrastructure:
      1. Do not write, create, edit, or validate any Terraform files on
        disk
        .
      2. Immediately stop and respond directly to the user in chat:
        • Explicitly Clarify Out-of-Scope: State clearly that
          standalone Compute Engine virtual machine monitoring or
          standalone Cloud Run monitoring is out of scope for this
          GKE-specific PromQL alerting skill, which is designed
          specifically for GKE workloads using Google Cloud Managed
          Service for Prometheus and PromQL.
        • Do Not Generate GKE PromQL Alerts: Do not create or generate
          Kubernetes PromQL alert policies or fabricate Kubernetes
          container, pod, or node resources for non-GKE infrastructure.
        • Redirect the User: Guide and redirect the user to standard
          Google Cloud Monitoring metrics, such as
          compute.googleapis.com/instance/cpu/utilization or
          run.googleapis.com/request_latencies, using standard
          google_monitoring_alert_policy with condition_threshold or
          MQL, or recommend the relevant specialized Cloud observability
          skill.
  • Mandatory kube-state-metrics (KSM) Cost Guardrail:

    • Deploying open-source kube-state-metrics in Google Cloud Managed
      Service for Prometheus incurs billable metric ingestion costs.
    • STOP AND ASK PERMISSION FIRST (Do Not Edit Files): When a requested
      alert rule relies on Tier 2 KSM metrics (such as kube_cronjob_*,
      kube_pod_status_phase, kube_persistentvolume_*, kube_deployment_*,
      kube_statefulset_*, kube_job_*, or kube_daemonset_*), do not
      write, create, edit, or validate any Terraform files or generate alert
      policies before obtaining user approval
      .
    • Instead, you must immediately stop and respond directly to the user
      to:
      1. Alert the user that the requested alert requires
        kube-state-metrics.
      2. Explain the cost impact: Detail that kube-state-metrics incurs
        billable sample ingestion costs in Google Cloud Managed Service for
        Prometheus.
      3. Ask for explicit permission: Ask the user for explicit
        permission before assuming, enabling, or generating KSM-dependent
        alert configurations.
      4. Recommend filtering or allowlisting: Suggest and recommend
        filtering or allowlisting only the specific required metrics, such
        as using a PodMonitoring resource with metricRelabeling
        (action: keep) or KSM --metric-allowlist to minimize ingestion
        costs. Provide a concrete allowlist example.
    • Always prefer Non-KSM Native Alternatives (Tier 1 cAdvisor or native
      GKE metrics documented in
      metrics_and_alerts_catalog.md)
      whenever possible, such as using container_memory_working_set_bytes
      and container_spec_memory_limit_bytes instead of
      kube_pod_container_resource_limits.
    • Explicit Tier and Cost Surcharge Identification in Response: In
      every response where you generate or recommend an alerting policy, you
      must explicitly state its classification tier and cost impact:
      • Tier 1 native or standard metric (GKE built-in metrics, cAdvisor
        container_*, kubelet volume stats, kubelet node conditions, and
        control-plane metrics; see
        metrics_and_alerts_catalog.md):
        State that it is a Tier 1 native or standard metric with zero KSM
        cost surcharge
        .
      • Tier 2 KSM metric: State that it is a Tier 2 KSM-dependent
        metric
        and follow the permission and allowlisting guardrail above.
        (Tip: Generally, metrics with the kube_ prefix that represent
        resource state or metadata belong to Tier 2).
  • Plan-Validate-Execute Loop for Approved File Edits: When modifying,
    adding, or merging approved Terraform files on disk in a workspace, follow
    the three-phase workflow:

    1. Plan: Draft a structured change plan (changes.json) containing
      proposed policy resource names, PromQL expressions, grouping labels, and
      durations.
    2. Validate: Run the pre-edit validation script (python3 scripts/validate_config.py --plan changes.json) to verify PromQL
      grammar, lookback windows, duration rules, and ensure no duplicate
      signals exist.
    3. Execute: After the plan passes validation, apply or merge changes
      in-place into the target Terraform configuration (alerts.tf).
    4. Note: When answering questions or providing Terraform snippets
      directly in chat where no disk modification is requested, output the
      complete, valid Terraform HCL block in your response.
  • Configure the 4 Golden Signals and Cluster Health: Always ensure the
    target Kubernetes workload or service has the following alerting coverage:

    1. Latency (P95 response time)
    2. Errors (Multi-Window Multi-Burn-Rate SLO alerts, such as Fast Burn 1
      hour / 5 minutes with factor 14.4, Slow Burn 6 hours / 30 minutes with
      factor 6.0; do not use simple static ratios)
    3. Traffic (Sudden drop or complete metric disappearance using
      absent() or default 0 syntax, or overload spikes)
    4. Saturation (Memory Limit Utilization Only): When describing or
      configuring alert policies for a cluster or project, include ONLY
      Memory Saturation (container_memory_working_set_bytes /
      container_spec_memory_limit_bytes). Do NOT include CPU saturation
      alerts or list container_cpu_usage_seconds_total as an alert metric
      because CPU is compressible and throttled by CFS quotas rather than
      causing uncompressible fatal termination (OOM).
    5. Cluster Health (Pod CrashLooping, Node NotReady)
  • PromQL Only (Managed Prometheus): You must use
    condition_prometheus_query_language with PromQL. Do NOT use MQL or
    standard condition_threshold unless explicitly requested. Google Cloud
    Managed Service for Prometheus is the standard telemetry ingestion path for
    GKE.

  • Terraform Only: Write the generated observability configuration ONLY as
    Terraform (.tf) files, such as alerts.tf and variables.tf.

  • Dynamic Multi-Resource Alerting (No Hardcoding): You must not hardcode
    specific pod names, node names, or service names in alerting conditions
    unless explicitly requested. Alerting policies must be written to cover
    resources dynamically:

    • Always use grouping aggregations (by (cluster, namespace, service, pod, container)) instead of filtering to a single instance. This allows a
      single alert policy to dynamically track each service or pod separately.
    • Always declare and use Terraform variables for project_id,
      cluster_name, and namespace (var.project_id, var.cluster_name,
      var.namespace) to make the configuration reusable across environments.
      Always define these variables in variables.tf (or within the
      configuration) and reference all three in policies or PromQL label
      matchers.
  • No Redundant Duration Windows on Lookbacks:

    • When PromQL expressions already use an aggregated lookback window (such
      as increase(...[15m]) > 3 or multi-window SLO burn rates), the query
      time window already smooths out transient spikes.
    • Adding a Terraform duration on top of a PromQL lookback window increases
      the Mean Time to Detect (MTTD) without providing additional smoothing
      benefits.
    • In these cases, set Terraform duration = "0s" (or "60s"). Do not
      enforce duration = "300s" on top of [15m], which delays critical
      crashloop alerts by up to 20 minutes total (15 minutes + 5 minutes).
    • Use duration = "300s" only on instantaneous gauge conditions, such as
      kube_node_status_condition == 0.
  • Use SLO Burn Rates Instead of Simple Ratios: For error rate alerting,
    always generate Multi-Window Multi-Burn-Rate (MWMBR) SLO alerts (such as
    14.4x burn rate over 1 hour and 5 minute windows for a 99% SLO) rather than
    simple error rate ratios (rate(5xx)/rate(total) > 0.05), which produce
    excessive false alarms on low traffic.

  • Robust Traffic Drop Detection (absent() / default 0): When
    monitoring for traffic drops to zero, do not use rate(...) == 0 alone
    because Prometheus time series disappear completely when no requests occur
    (evaluating to an empty vector rather than 0). Use default 0 syntax, such
    as sum(rate(...[5m])) default 0 == 0, or absent(...) == 1.

  • Notification Channels: By default, never configure any notification
    channels without user input. If the user explicitly provides a notification
    channel, configure the alerts to use it. Otherwise, you must prompt the user
    in your response to ask if they would like to configure one.

  • Consult GKE Metrics and Open-Source Alerts Catalog: When designing or
    generating evaluation suites or alerting policies, consult
    metrics_and_alerts_catalog.md
    for public GKE metrics (kubernetes.io/) and open-source Kubernetes alerts
    (awesome-prometheus-alerts).

  • Plain English Response: You must include a plain English explanation for
    what the alerts do in your response. Explain what the alert measures, what
    the threshold represents, and what a trigger indicates.

  • User Labels: Include a user_labels block in all
    google_monitoring_alert_policy resources to track policies created by this
    skill:

    user_labels = {
      created-with-google-skill = "gke-alert-configuration"
    }
    

Alerting Policy Structure in Terraform

Alerting policies must be defined using the google_monitoring_alert_policy
resource with condition_prometheus_query_language. Always declare variables in
variables.tf for project_id, cluster_name, and namespace.

# variables.tf
variable "project_id" {
  type        = string
  description = "Google Cloud Project ID"
}

variable "cluster_name" {
  type        = string
  description = "GKE Cluster Name"
}

variable "namespace" {
  type        = string
  description = "Target Kubernetes Namespace"
  default     = "default"
}

variable "slo_target" {
  type        = number
  description = "SLO Target fraction (for example 0.99 for 99%)"
  default     = 0.99
}
# alerts.tf
# Example: Multi-Window Multi-Burn-Rate (MWMBR) SLO Alert (Fast Burn: 14.4x, 1h & 5m windows)
resource "google_monitoring_alert_policy" "k8s_service_error_rate_slo" {
  project      = var.project_id
  display_name = "[K8s] ${var.cluster_name} - Service Error Rate SLO Fast Burn"
  combiner     = "OR"

  conditions {
    display_name = "Error Budget Fast Burn (14.4x over 1h and 5m)"
    condition_prometheus_query_language {
      query    = <<-EOT
        (
          (
            sum(
              rate(
                http_requests_total{
                  cluster="${var.cluster_name}",
                  namespace="${var.namespace}",
                  status=~"5.."
                }[5m]
              )
            ) by (service, namespace, cluster)
            /
            sum(
              rate(
                http_requests_total{
                  cluster="${var.cluster_name}",
                  namespace="${var.namespace}"
                }[5m]
              )
            ) by (service, namespace, cluster)
          ) > (1 - ${var.slo_target}) * 14.4
        )
        and
        (
          (
            sum(
              rate(
                http_requests_total{
                  cluster="${var.cluster_name}",
                  namespace="${var.namespace}",
                  status=~"5.."
                }[1h]
              )
            ) by (service, namespace, cluster)
            /
            sum(
              rate(
                http_requests_total{
                  cluster="${var.cluster_name}",
                  namespace="${var.namespace}"
                }[1h]
              )
            ) by (service, namespace, cluster)
          ) > (1 - ${var.slo_target}) * 14.4
        )
      EOT
      duration = "0s"
    }
  }
}

Telemetry Metrics and PromQL Examples

For GKE metrics (kubernetes.io/), community open-source alerts
(awesome-prometheus-alerts), KSM cost guardrails, and non-KSM native
alternatives, you must read and follow:

  • metrics_and_alerts_catalog.md

For specific PromQL queries corresponding to each of the Golden Signals, you
must read and follow:

  • promql_queries.md

For GKE cluster prerequisites, enabling Google Cloud Managed Service for
Prometheus collection, configuring PodMonitoring custom scraping, and enabling
control plane metrics collection (API Server, Controller Manager, Scheduler),
you must read and follow:

  • gke_configuration_prerequisites.md

Tooling Scripts and Validation Loop

Use the validate_config.py script to validate change plans and Terraform
configurations when working in a repository:

  • Pre-Edit Plan Validation: Draft a changes.json plan specifying the
    proposed policies, queries, and durations, and validate it before editing:
    • Command: python3 scripts/validate_config.py --plan changes.json
  • Post-Edit and Directory Validation: Scan existing or modified Terraform
    files in a directory to ensure no duplicates or syntax errors exist:
    • Command: python3 scripts/validate_config.py --directory [TARGET_TF_DIR] --cluster-var "${var.cluster_name}"
    • Single file validation: python3 scripts/validate_config.py --file [PATH_TO_TF_FILE]

Technical Considerations and Gotchas

  • Lookback Windows versus Duration Buffers:
    • Do not add large duration = "300s" buffers to alerts that already use
      aggregated lookback windows like increase(...[15m]) or multi-window
      SLO rates.
    • The [15m] window in increase(...[15m]) > 3 already smooths spikes.
      Adding duration = "300s" increases MTTD by forcing the restart count
      to remain above 3 for an extra 5 continuous minutes, delaying alerts by
      up to 20 minutes total.
    • Use duration = "0s" or "60s" when using lookback window functions.
      Reserve duration = "300s" for raw instantaneous gauge conditions, such
      as kube_node_status_condition == 0.
  • Memory Saturation Only for Cluster Alerting:
    • Do not configure CPU saturation alerts for cluster or workload
      monitoring. CPU is compressible (throttled by the CFS scheduler), while
      memory is uncompressible (triggers OOMKills).
    • Configure Memory Saturation using container_memory_working_set_bytes /
      container_spec_memory_limit_bytes.
  • Missing Resource Limits Blind Spot (Mandatory Explanation): Saturation
    alerts that compare usage to limits (such as
    container_spec_memory_limit_bytes) will fail to resolve or return
    NaN if workloads do not have explicit Memory limits configured in their
    Kubernetes manifests.
    • Mandatory Instruction: Whenever you generate, discuss, or recommend
      any memory saturation alert comparing usage against limits (including
      non-KSM cAdvisor alternatives using
      container_spec_memory_limit_bytes), you must explicitly explain and
      warn the user in your response
      that container memory limits must be
      explicitly configured in the Kubernetes pod specs or manifests
      (resources.limits.memory) for the saturation query to resolve (and not
      return NaN or fail to resolve).
  • Linear Disk Predictions (predict_linear): When forecasting volume
    exhaustion using
    predict_linear(kubelet_volume_stats_available_bytes[6h:5m], 4 * 24 * 3600) < 0, explain that predict_linear uses linear regression over the recent
    lookback window (for example, 6 hours) to project when available disk will
    drop below 0 (for example, within 4 days). Identify
    kubelet_volume_stats_available_bytes as a Tier 1 native kubelet metric
    with zero KSM surcharge.
  • API Server Error and Client Metrics:
    • apiserver_request_total and rest_client_requests_total are Tier 1
      Control Plane metrics with zero KSM cost surcharge. Explain that
      apiserver_request_total monitors 5xx HTTP error rates across API
      server endpoints, while rest_client_requests_total monitors 4xx and
      5xx requests sent by REST clients communicating with the API server.
  • Traffic Disappearance Gotcha (absent() / default 0):
    • When traffic drops completely to zero, Prometheus and GMP stop emitting
      the http_requests_total time series.
    • sum(rate(...[5m])) == 0 evaluates to an empty vector, preventing the
      alert from triggering.
    • Always use sum(rate(...[5m])) default 0 == 0 or absent(...) == 1 to
      reliably detect total traffic loss.
  • CrashLooping versus Normal Restarts: A container restarting occasionally
    might be normal, for example job completion or a minor rolling update. Alert
    on frequent restarts (such as more than 3 restarts in 15 minutes with
    duration = "0s") using kube_pod_container_status_restarts_total rather
    than a single restart to avoid noise.
  • Node Upgrades: During GKE cluster upgrades, nodes are drained and
    restarted, which can trigger "Node NotReady" alerts. Warn the user that
    these alerts might fire during maintenance windows, or suggest configuring
    maintenance windows if supported.

Additional Resources

  • Google Cloud Managed Service for Prometheus Documentation
  • GKE Observability and Monitoring Concepts
  • Google Cloud Alerting Policies in Terraform
  • Google Cloud Monitoring Pricing
  • Google SRE Workbook: Alerting on SLOs
  • Awesome Prometheus Alerts Repository
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
google-cloud-storage-bucket-architectCreates Cloud Storage on Google Cloud (also known colloquially as GCS) buckets. Analyzes the workload (sensitive data, media hosting, ingestion, web hosting, archiving, backup, logging, analytics, AI/ML, or general-purpose), validates project-level security settings, and designs a secure-by-default, cost-effective configuration (location, storage class, uniform bucket-level access, public access prevention, soft delete, lifecycle) before creating it. Use whenever a user wants to create, make, set up, provision, or spin up a bucket, or needs object storage for an app, service, pipeline, or dataset — even a "simple" or "default" bucket, or when bucket creation is one step in a larger workflow. Outputs or executes the creation via gcloud, the JSON/REST API, Terraform, or SDK client libraries (C++, Java, Python, Go). Don't use for anything other than creating new buckets — for uploads, downloads, access changes, or reconfiguring existing buckets, use google-cloud-storage-basics.1 installsgke-cost-analysisAnswer natural language questions and perform analysis on GKE cluster and workload costs using BigQuery billing exports, cost allocation data, and live cluster monitoring metrics. Use when querying GKE costs across projects, namespaces, or workloads, analyzing billing reports in BigQuery (`bq`), checking cluster cost budgets (`gcloud billing`), or diagnosing cost drivers like pod requests vs. actual utilization (`kubectl top`). Don't use for applying cost optimization changes, creating rightsizing manifests (VPA/MPA), or selecting ComputeClasses (use gke-cost-optimization instead).1 installsmanaged-airflow-migrationsProvides guidance for migrating Apache Airflow DAGs in Managed Service for Apache Airflow (MSAA; formerly Cloud Composer). Covers migration to Airflow 2.11.1 (MSAA Gen 2 and 3) and Airflow 3 (MSAA Gen 3), including environment inspection, GCS download/upload and scanning patterns for breaking changes. Use when migrating the DAG code to newer Airflow version. Don't use when checking DAG run failures unrelated to code migration.1 installsfirebase-basicsProvides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`, `GoogleService-Info.plist`). Use ONLY for CLI login, project creation/switching, or downloading app config files. Don't use for Firebase Hosting deploy, Firestore, Auth, App Hosting, Data Connect, Crashlytics, or Remote Config.1 installsgoogle-cloud-solution-rag-enterprise-search-gke-sqldbDiscovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing framework, and Kubernetes containers to host all the application components. DON'T use this skill for fully-managed RAG, or SaaS search services, or when a non-SQL vector database is required.1 installsbigtable-basicsAssists in provisioning instances/tables, designing performant schemas, and querying data in Bigtable. Use when designing Bigtable row keys, configuring column families, writing SQL queries or client library code (Java, Go, Python) for Bigtable, or diagnosing performance/hotspotting issues. Also use when provisioning Bigtable clusters using gcloud or cbt CLIs. Don't use for generic Cloud SQL administration.1 installs

More from Google Cloud Skills

View source →
google-ads-api-mcp-setupGuides developers through downloading, configuring, and installing the official open-source Google Ads MCP Server. Use this skill when a user wants to connect their AI assistant (such as Gemini, Claude Code, or Cursor) to their Google Ads account to query campaigns or retrieve reporting metrics using natural language.4 installsspanner-basicsAssists in provisioning instances and databases, designing performant schemas, and querying data in Cloud Spanner on Google Cloud. Use when designing primary keys, writing SQL queries or client library code, or diagnosing performance issues.4 installsgke-workload-securityAudits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (`audit_cluster.sh`), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (`gVisor`), enforcing Pod Security Standards (`restricted` labeling) and pod securityContext, and mounting Secret Manager secrets via CSI (`SecretProviderClass`). Use when auditing workload security posture, isolating namespaces, applying pod security standards, or configuring network policies and secret volume mounts. Don't use for Workload Identity (use gke-workload-identity), cluster-wide control plane security, RBAC hardening, Binary Authorization, Shielded Nodes, or enabling platform-level GKE add-ons (use gke-platform-security instead).3 installsgke-manifest-generationGenerates and updates secure, production-ready Kubernetes YAML manifests optimized for GKE Autopilot and GKE Standard clusters. Use when creating or modifying GKE deployment manifests, configuring container security contexts, setting CPU/memory resource limits, defining readiness/liveness/startup probes, mounting secrets and volumes, configuring GKE Gateway API routes, targeting Spot VMs, or deploying AI model inference workloads (vLLM, TGI, Gemma). Don't use for live cluster operations, pod troubleshooting (use gke-workload-troubleshooting), or cluster infrastructure provisioning (use gke-cluster-creation).2 installsgke-upgradesPlans, executes, and validates Google Kubernetes Engine (GKE) cluster upgrades and maintenance operations for both Standard and Autopilot clusters. Produces upgrade plans, pre/post-upgrade checklists, maintenance runbooks with gcloud commands, release channel strategy, and troubleshooting guides. Handles node pool upgrade strategies (surge, blue-green), version compatibility, PDB management, and workload-specific concerns (stateful, GPU, operators). Use this skill whenever the user mentions GKE upgrades, Kubernetes version bumps, node pool maintenance, GKE patching, cluster version management, release channel selection, maintenance windows, surge upgrades, stuck upgrades, or any GKE lifecycle management task — even casual mentions like "we need to upgrade our clusters" or "plan our next GKE maintenance" or "our upgrade is stuck." Don't use for GKE cluster creation, application onboarding, general networking/routing setup, or security policy configurations (use gke-basics or relevant GK2 installsgoogle-cloud-recipe-networking-observabilityInvestigates Google Cloud networking issues by analyzing logs, metrics, and diagnostics. Use when investigating VPC Flow Logs, NAT, firewall, or threat logs, querying latency and throughput metrics, or running Connectivity Tests for path diagnostics.2 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.634 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.534 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.345 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.246 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.173 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions145 installs

Frequently asked questions about gke-alert-configuration

What does the gke-alert-configuration skill do?

Configures alerting policies in Terraform for Google Kubernetes Engine (GKE) clusters, workloads, and services using PromQL and Google Cloud Managed Service for Prometheus. Use when writing, analyzing, validating, or deploying Terraform alerting policies to monitor GKE service latency, traffic, error rates using Multi-Window Multi-Burn-Rate SLO alerts, memory saturation, and cluster health such as CrashLoopBackOff and Node NotReady conditions. Don't use for non-GKE compute runtimes such as standalone Compute Engine VMs or standalone Cloud Run services without GKE. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the gke-alert-configuration skill?

Run `npx @skills-hub-ai/cli install google-cloud-skills-gke-alert-configuration` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/google-cloud-skills-gke-alert-configuration/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does gke-alert-configuration work with?

gke-alert-configuration runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the gke-alert-configuration skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use gke-alert-configuration after installing it?

In Claude Code, type `/google-cloud-skills-gke-alert-configuration` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the gke-alert-configuration skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.