google-cloud-slo-alert-configuration
Was er macht
Dieser Skill hilft, Alarme für Service-Level-Objectives auf Google Cloud einzurichten. Gedacht ist das für Teams, die benachrichtigt werden wollen, wenn ein Dienst seine Zuverlässigkeitsziele verfehlt.
Wann du ihn nutzt
- ✓Wenn du ein Service-Level-Objective, kurz SLO, auf Google Cloud einrichten willst.
- ✓Wenn du einen SLO-Alarm für einen in App Hub registrierten Dienst oder eine benannte Ressource brauchst.
- ✓Wenn du Terraform-Code für SLO-basierte Alarmrichtlinien willst.
Link zum Skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-slo-alert-configuration/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Richte einen SLO-Alarm für meinen Checkout-Dienst ein, damit das Team gewarnt wird, wenn die Zuverlässigkeit unter das Ziel fällt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Er führt dich durch einen vierstufigen Assistenten, der Dienstbereich, Service-Level, zu messende Metrik und Alarmbedingung abdeckt. Danach schreibt er die Terraform-Konfiguration.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
SLO Alert Configuration Setup Wizard
This skill guides the user through a structured conversation to configure Cloud Monitoring PromQL-based Service Level Objective (SLO) alerting policies on Google Cloud in Terraform. Your role is to act as a setup wizard that conceptually models the 4 key components of an SLO API (Service Scope, Service Level, SLI, and Alert Condition), gathers the requirements, and outputs a Terraform configuration.
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:google-cloud-slo-alert-configuration)"
and append agent-skills/1.0 (skill:google-cloud-slo-alert-configuration) to User-Agent headers.
CRITICAL RULES
Structured Conversation: You MUST follow the 4-step wizard workflow below.
Gather Missing Information: Evaluate all 4 steps below first. Ask the user for all missing information across all steps in a single response.
DO NOT stop after finding the first missing piece of information.
DO NOT use the
ask_questiontool. You must ask questions using plain text in your response and end your turn to wait for the user to reply.DO NOT write the Terraform configuration if information is missing.
Skip What Is Known: If the user has already provided information for a step in their previous messages or initial prompt DO NOT ask them for it. Move to the next missing piece of information. If ALL information for Steps 1-4 is provided, call
write_to_fileto generate the Terraform configuration without asking for permission to proceed.Provide Best Practices: Whenever you ask the user a question, you MUST explicitly state the recommended "Best Practice".
Best Practice Shortcut: If the user asks for "best practices" or similar, do not overwrite their explicit inputs. SKIP all remaining data gathering and keep any specific targets or custom metrics they provided. For all fields left blank, apply the recommended defaults defined in the "SRE Best Practice Suggestion" of each step.
User Labels: Include a
user_labelsblock in allgoogle_monitoring_alert_policyresources to track policies created by this skill:user_labels = { created-with-google-skill = "google-cloud-slo-alert-configuration" }Terraform Output: Write the generated observability configuration ONLY as Terraform (
.tf) files using thegoogle_monitoring_alert_policyresource andcondition_prometheus_query_languageresources.Alert Strategy: ALWAYS include an
alert_strategyblock with anauto_closesetting. Leavenotification_channelsempty unless the user provides one. Provide plain-English explanations of the PromQL math before finalizing the conversation.
SETUP WIZARD WORKFLOW
Step 1: Define ServiceScope
Check Context: Identify target resource, service, workload, or application the user wants to monitor. If you already know, proceed. Otherwise ask the user to identify it.
Autonomous Investigation: If the user specified a project or general service name without providing specifics, autonomously use
gcloudto discover the target services in their environment. If multiple services or workloads are discovered, list all of them and suggest applying SLO ONLY to the most critical backend services as a best practice.If you struggle to identify potential resources, ask the user to specify.
Identify Underlying Infrastructure: To resolve the correct PromQL metric, you MUST know the underlying Google Cloud resource type.
- If the user only provides a logical name or an App Hub Service/Workload
name such as
projects/.../services/frontendorprojects/.../workloads/backend, you still need to know the underlying infrastructure. - If the prompt provides the underlying infrastructure, use that information. Do NOT attempt to discover it.
- If you don't know the underlying infrastruc
- If the user only provides a logical name or an App Hub Service/Workload
name such as
Häufige Fragen
Deckt er normale Alarmrichtlinien ab?
Nein. Er ist nur für SLO-Alarme gedacht, für normale Alarme nutzt du einen anderen Skill.
Wie sammelt er Informationen?
Er fragt alle fehlenden Details in einer einzigen Nachricht statt Frage für Frage.
Was ist das Ergebnis?
Die Terraform-Konfiguration für die SLO-Alarmrichtlinie.
Details
Originalbeschreibung des Autors
Configures Cloud Monitoring PromQL-based Service Level Objective (SLO) alerting policies on Google Cloud for resources registered in App Hub or individually specified. Generates Terraform output. Use when the user asks to configure an SLO or Service Level Objective. Don't use for standard alerting policies.
repo: google/skills
Beliebtheit
- GitHub-Sterne
- 22k
- Platz im Ranking
- #10316
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
finding-google-skills
22kHilft deinem Agenten, die richtigen Google-Anleitungen für eine Einrichtungsaufgabe zu finden, etwa für Hosting, Datenbanken, Speicher, Anmeldung oder das Bereitstellen von KI-Modellen.
gcloud
22kHilft deinem Agenten, gcloud-Befehle für Google Cloud zu schreiben und zu prüfen, und schlägt die genaue Syntax nach, bevor etwas ausgeführt wird, damit keine Flags geraten werden.
google-cloud-recipe-auth
22kFührt deinen Agenten durch Identität und Zugriff in Google Cloud, einschließlich Anmeldung von Personen und Diensten und der Berechtigungen, die sie erhalten.
google-cloud-recipe-onboarding
22kFührt einen neuen Entwickler durch die ersten Schritte in Google Cloud, darunter Projektauswahl, Verknüpfung der Abrechnung und die Bereitstellung einer ersten Ressource.
Ähnliche Skills
openclaw-update
394kHilft deinem Agenten, ein bestehendes OpenClaw-Gateway zu aktualisieren, mit der Methode, die zu deiner Installation passt, während deine Sitzung weiterläuft.
diagnose-gateway
394kHilft deinem Agenten herauszufinden, warum dein OpenClaw-Gateway fehlschlägt, indem er Einstellungen, Kanäle und Ports prüft, ohne etwas zu ändern.
crabbox-apps
394kHilft deinem Agenten, eine App auf einer temporären Cloud-Maschine zu öffnen und auszuführen und ihre Ansicht in deinem Chat-Seitenpanel zu zeigen.