[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6995YQJBKJAD15ZKQV6HAG7":3,"skill-same:01M6995YQJBKJAD15ZKQV6HAG7":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":17,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6995YQJBKJAD15ZKQV6HAG7","google-cloud-slo-alert-configuration","SLO 告警策略配置","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.","在 Google Cloud 上为已在 App Hub 注册或单独指定的资源配置基于 Cloud Monitoring PromQL 的服务级别目标（SLO）告警策略。生成 Terraform 输出。当用户要求配置 SLO 或服务级别目标时使用。不用于标准告警策略。","google\u002Fskills","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M698WR0H76ENHE587T9EJT89",24235,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD3B3T8FK02S5JVCZA1M","运维监控与告警","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",[31,32,33,34,35,36,10,37,38,39,40,41,42,43,44,45,46,47,48,49],"google cloud","configuration","alert","slo","cloud","google cloud slo alert configuration","monitoring","configure","use","alerting","cloud monitoring","app","resources","output","for","promql","objective","standard","when","2026-11-10 10:12:30",false,"---\nname: google-cloud-slo-alert-configuration\nmetadata:\n  version: \"1.0.2\"\n  category: CloudObservabilityAndMonitoring\ndescription: >-\n  Configures Cloud Monitoring PromQL-based Service Level Objective (SLO)\n  alerting policies on Google Cloud for resources registered in App Hub or\n  individually specified. Generates Terraform output.\n  Use when the user asks to configure an SLO or Service Level Objective.\n  Don't use for standard alerting policies.\n---\n\n# SLO Alert Configuration Setup Wizard\n\nThis skill guides the user through a structured conversation to configure Cloud\nMonitoring PromQL-based Service Level Objective (SLO) alerting policies on\nGoogle Cloud in Terraform. Your\nrole is to act as a setup wizard that conceptually models the 4 key components\nof an SLO API (Service Scope, Service Level, SLI, and Alert Condition), gathers\nthe requirements, and outputs a Terraform configuration.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:google-cloud-slo-alert-configuration)\"`\nand append `agent-skills\u002F1.0 (skill:google-cloud-slo-alert-configuration)` to `User-Agent` headers.\n\n## CRITICAL RULES\n\n*   **Structured Conversation**: You **MUST** follow the 4-step wizard workflow\n    below.\n\n*   **Gather Missing Information**: Evaluate all 4 steps below first. Ask the\n    user for all missing information across all steps in a single response.\n\n    -   **DO NOT** stop after finding the first missing piece of information.\n\n    -   **DO NOT** use the `ask_question` tool. You must ask questions using\n        plain text in your response and end your turn to wait for the user to\n        reply.\n\n    -   **DO NOT** write the Terraform configuration if information is missing.\n\n*   **Skip What Is Known**: If the user has already provided information for a\n    step in their previous messages or initial prompt **DO NOT** ask them for\n    it. Move to the next missing piece of information. If ALL information for\n    Steps 1-4 is provided, call `write_to_file` to generate the Terraform\n    configuration without asking for permission to proceed.\n\n*   **Provide Best Practices**: Whenever you ask the user a question, you\n    **MUST** explicitly state the recommended \"Best Practice\".\n\n*   **Best Practice Shortcut**: If the user asks for \"best practices\" or\n    similar, do not overwrite their explicit inputs. **SKIP** all remaining data\n    gathering and keep any specific targets or custom metrics they provided. For\n    all fields left blank, apply the recommended defaults defined in the \"SRE\n    Best Practice Suggestion\" of each step.\n\n*   **User Labels**: Include a `user_labels` block in all\n    `google_monitoring_alert_policy` resources to track policies created by this\n    skill:\n\n    ```terraform\n    user_labels = {\n      created-with-google-skill = \"google-cloud-slo-alert-configuration\"\n    }\n    ```\n\n*   **Terraform Output**: Write the generated observability configuration ONLY\n    as Terraform (`.tf`) files using the `google_monitoring_alert_policy`\n    resource and `condition_prometheus_query_language` resources.\n\n*   **Alert Strategy**: **ALWAYS** include an `alert_strategy` block with an\n    `auto_close` setting. Leave `notification_channels` empty unless the user\n    provides one. Provide plain-English explanations of the PromQL math before\n    finalizing the conversation.\n\n--------------------------------------------------------------------------------\n\n## SETUP WIZARD WORKFLOW\n\n### Step 1: Define `ServiceScope`\n\n1.  **Check Context**: Identify target resource, service, workload, or\n    application the user wants to monitor. If you already know, proceed.\n    Otherwise ask the user to identify it.\n\n2.  **Autonomous Investigation**: If the user specified a project or general\n    service name without providing specifics, autonomously use `gcloud` to\n    discover the target services in their environment. If multiple services or\n    workloads are discovered, list all of them and suggest applying SLO **ONLY**\n    to the most critical backend services as a best practice.\n\n    If you struggle to identify potential resources, ask the user to specify.\n\n3.  **Identify Underlying Infrastructure**: To resolve the correct PromQL\n    metric, you **MUST** know the underlying Google Cloud resource type.\n\n    *   If the user only provides a logical name or an App Hub Service\u002FWorkload\n        name such as `projects\u002F...\u002Fservices\u002Ffrontend` or\n        `projects\u002F...\u002Fworkloads\u002Fbackend`, you still need to know the underlying\n        infrastructure.\n    *   If the prompt provides the underlying infrastructure, use that\n        information. Do **NOT** attempt to discover it.\n    *   If you don't know the underlying infrastructure but have a resource\n        identified, you **MUST** proactively use `gcloud` to discover the\n        infrastructure. If you struggle to identify the resource type, ask the\n        user to specify.\n\n4.  **Label Scoping**:\n\n    *   If the user explicitly mentions the resource is in App Hub or provides\n        an App Hub URI like `projects\u002F...\u002Flocations\u002F...\u002Fapplications\u002F...`, use\n        App Hub labels and consult `references\u002Fapp_hub_labels.md` to identify\n        the correct group-by fields.\n    *   Otherwise, assume it is a standard Google Cloud resource and use\n        standard grouping labels such as `project_id, location, service_name`\n        for Cloud Run.\n\n    Example gcloud commands:\n\n    -   `gcloud --quiet apphub applications services list --application=-\n        --location=-`\n    -   `gcloud --quiet apphub applications workloads list --application=-\n        --location=-`\n    -   `gcloud --quiet asset search-all-resources`\n    -   `gcloud --quiet run services list`\n    -   `gcloud --quiet apphub applications services describe \u003Cservice>\n        --application=\u003Capp> --location=\u003Cloc>`\n    -   `gcloud --quiet apphub applications workloads describe \u003Cworkload>\n        --application=\u003Capp> --location=\u003Cloc>`\n    -   `gcloud --quiet asset search-all-resources --query=\u003Cname>`\n\n    **Graceful Fallback:** If a command exits with an error such as API not\n    enabled or permission denied, **DO NOT** try to troubleshoot it and **DO\n    NOT** use the schedule tool to wait. Immediately fall back to asking the\n    user to provide the missing information.\n\n### Step 2: Define `ServiceLevel` Target\n\n1.  **Check Context**: If the user has already provided a Service Level Target\n    percentage, an SLI condition\u002Fthreshold, and a measurement period proceed to\n    the next step. Otherwise, if any are missing, you **MUST** ask for them.\n    -   Service level target percentages include P-values such as PXX, decimals\n        such as 0.XX, and percentages like XX%.\n\n    -   Example SLI conditions and thresholds include `latency \u003C 500ms` or\n        `non-5XX responses`.\n\n*   **Prompt**: Ask the user for their target reliability, condition\u002Fthreshold\n    (if applicable), measurement period, and evaluation intervals **ONLY** if\n    they are missing.\n\n*   **SRE Best Practice Suggestion**: \"SRE Best Practice recommends starting\n    with a 99.9% (3 nines) `slo_target` measured over a rolling 28-day\n    `rolling_period`, as this aligns well with typical release cycles and\n    provides a reasonable error budget.\"\n\n### Step 3: Define `ServiceLevelIndicator` \u002F SLI\n\n1.  **Check Context**: Has the user specified the exact metric name such as\n    `run.googleapis.com\u002Frequest_count`? If yes, proceed to the next step.\n    Otherwise, if the user only says \"availability\" or \"latency\" without\n    specifying the **EXACT** metric name, you may infer the name from the\n    service type provided a metric for that type is defined in the references.\n    If the user provides a custom metric and a threshold, assume it is a\n    Distribution metric and do not ask for further metric details.\n\n    -   You **MUST** output valid metrics defined in\n        `references\u002Fservice_metrics.md`. If the exact resource type and metric\n        is not listed, check the public documentation in\n        `references\u002Fservice_metrics.md` to find the exact metric. If you still\n        cannot find it, you **MUST** stop and ask the user to provide the custom\n        metric.\n\n2.  **Prompt**: Ask the user what specific metric they want to use. You **MUST**\n    suggest the inferred standard metric as the recommended best practice. When\n    interpreting incomplete requests, you **MUST** explicitly propose the\n    specific metric string and describe the ratio-based or window-based\n    definition to the user for confirmation before proceeding.\n\n3.  **Metric Mapping**: Consult `references\u002Fservice_metrics.md` to find the\n    exact PromQL metric string for the Resource Type identified in Step 1\n    section 3. If the requested metric type does not exist for the resource in\n    the references or the primary public documentation, you **MUST** explicitly\n    inform the user that there is no default metric and ask them to provide the\n    specific custom metric name. You **MUST** provide guidance on how a custom\n    latency metric might be structured.\n\n    -   **CRITICAL:** If the primary documentation does not list a default\n        metric, you **MUST NOT** try to piece together advanced metrics. Ask the\n        user to provide the custom metric.\n\n4.  **Evaluation Method**: Default the `EvaluationType` to `REQUEST_BASED`\n    unless the user specifically describes a `window-based` requirement,\n    typically denoted by \"good minutes\" or \"bad minutes\".\n\n    *   **Window-Based Lookback Period**: If the user indicates a window-based\n        evaluation, you need to know the duration of the lookback windows and\n        the evaluation interval for each window. You **MUST** ask the user to\n        specify both the lookback duration and the evaluation interval if they\n        have not already provided them. You **CANNOT** generate an alerting\n        policy without this configuration.\n\n5.  **SRE Best Practice Suggestion**: SRE Best Practice recommends starting with\n    two SLIs:\n\n    -   **Availability**: a `Ratio SLI` comparing successful requests typically\n        defined as `non-5XX` responses, to total requests evaluated as\n        `REQUEST_BASED`.\n    -   **Latency**: a `Distribution SLI` evaluated as `WINDOW_BASED` such as\n        99% of 5-minute windows must meet a 300ms threshold.\n\n### Step 4: Define Alerting Policy\n\n1.  **Check Context**: Has the user specified burn rates? If yes, proceed to the\n    next step. Otherwise, ask the user to specify a burn rate strategy and\n    provide a best practice suggestion.\n\n2.  **SRE Best Practice Suggestion**: SRE Best Practice recommends both a\n    multi-window fast burn and multi-window slow burn.\n\n    -   **Multi-Window Fast Burn**: Factor 14.4 over 1h and 5m windows, catching\n        severe outages quickly without false positives.\n\n    -   **Multi-Window Slow Burn**: Factor 1 over 3d and 6h windows, catching\n        system degradation.\n\n### Step 5: Generate Configuration\n\n1.  Look up the corresponding PromQL template from\n    `references\u002Fpromql_templates.md` based on the user's choices. Use a\n    `Window-Based` template for window-based SLOs.\n2.  Populate the template with the `ServiceScope` labels, `ServiceLevel`\n    targets, and `ServiceLevelIndicator` metrics.\n3.  Wrap it in Terraform (`google_monitoring_alert_policy`), ensuring the\n    `user_labels` block includes `created-with-google-skill =\n    \"google-cloud-slo-alert-configuration\"`.\n4.  Present the `.tf` block with a plain English explanation of the math.\n5.  In the final summary, inform the user that the alert policies have been\n    tagged with the `created-with-google-skill =\n    \"google-cloud-slo-alert-configuration\"` user label to track policies created\n    by this skill.\n6.  **CRITICAL:** Explicitly warn the user in the final summary if no\n    notification channels are configured. Inform them that you can assist with\n    setting those up if they would like.\n\n--------------------------------------------------------------------------------\n\n## Supporting Links\n\n*   [Google SRE Workbook: Alerting on SLOs](https:\u002F\u002Fsre.google\u002Fworkbook\u002Falerting-on-slos\u002F)\n*   [Google Cloud Operations: SLO Monitoring](https:\u002F\u002Fdocs.cloud.google.com\u002Fstackdriver\u002Fdocs\u002Fsolutions\u002Fslo-monitoring.md.txt)\n*   [Prometheus: PromQL Basics](https:\u002F\u002Fprometheus.io\u002Fdocs\u002Fprometheus\u002Flatest\u002Fquerying\u002Fbasics\u002F)\n\n## Reporting Issues\n\nReport bugs or improvements for this skill at\n[Google Skills Issues](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fissues).\n","# SLO Alert Configuration Setup Wizard\n\nThis skill guides the user through a structured conversation to configure Cloud\nMonitoring PromQL-based Service Level Objective (SLO) alerting policies on\nGoogle Cloud in Terraform. Your\nrole is to act as a setup wizard that conceptually models the 4 key components\nof an SLO API (Service Scope, Service Level, SLI, and Alert Condition), gathers\nthe requirements, and outputs a Terraform configuration.\n\n## Attribution\n\n**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you\nMUST read [Usage Attribution](references\u002Fattribution.md). For commands executed\ndirectly in the terminal (never in generated scripts, Terraform, or user code),\nprefix `gcloud` with\n`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION=\"agent-skills\u002F1.0 (skill:google-cloud-slo-alert-configuration)\"`\nand append `agent-skills\u002F1.0 (skill:google-cloud-slo-alert-configuration)` to `User-Agent` headers.\n\n## CRITICAL RULES\n\n*   **Structured Conversation**: You **MUST** follow the 4-step wizard workflow\n    below.\n\n*   **Gather Missing Information**: Evaluate all 4 steps below first. Ask the\n    user for all missing information across all steps in a single response.\n\n    -   **DO NOT** stop after finding the first missing piece of information.\n\n    -   **DO NOT** use the `ask_question` tool. You must ask questions using\n        plain text in your response and end your turn to wait for the user to\n        reply.\n\n    -   **DO NOT** write the Terraform configuration if information is missing.\n\n*   **Skip What Is Known**: If the user has already provided information for a\n    step in their previous messages or initial prompt **DO NOT** ask them for\n    it. Move to the next missing piece of information. If ALL information for\n    Steps 1-4 is provided, call `write_to_file` to generate the Terraform\n    configuration without asking for permission to proceed.\n\n*   **Provide Best Practices**: Whenever you ask the user a question, you\n    **MUST** explicitly state the recommended \"Best Practice\".\n\n*   **Best Practice Shortcut**: If the user asks for \"best practices\" or\n    similar, do not overwrite their explicit inputs. **SKIP** all remaining data\n    gathering and keep any specific targets or custom metrics they provided. For\n    all fields left blank, apply the recommended defaults defined in the \"SRE\n    Best Practice Suggestion\" of each step.\n\n*   **User Labels**: Include a `user_labels` block in all\n    `google_monitoring_alert_policy` resources to track policies created by this\n    skill:\n\n    ```terraform\n    user_labels = {\n      created-with-google-skill = \"google-cloud-slo-alert-configuration\"\n    }\n    ```\n\n*   **Terraform Output**: Write the generated observability configuration ONLY\n    as Terraform (`.tf`) files using the `google_monitoring_alert_policy`\n    resource and `condition_prometheus_query_language` resources.\n\n*   **Alert Strategy**: **ALWAYS** include an `alert_strategy` block with an\n    `auto_close` setting. Leave `notification_channels` empty unless the user\n    provides one. Provide plain-English explanations of the PromQL math before\n    finalizing the conversation.\n\n--------------------------------------------------------------------------------\n\n## SETUP WIZARD WORKFLOW\n\n### Step 1: Define `ServiceScope`\n\n1.  **Check Context**: Identify target resource, service, workload, or\n    application the user wants to monitor. If you already know, proceed.\n    Otherwise ask the user to identify it.\n\n2.  **Autonomous Investigation**: If the user specified a project or general\n    service name without providing specifics, autonomously use `gcloud` to\n    discover the target services in their environment. If multiple services or\n    workloads are discovered, list all of them and suggest applying SLO **ONLY**\n    to the most critical backend services as a best practice.\n\n    If you struggle to identify potential resources, ask the user to specify.\n\n3.  **Identify Underlying Infrastructure**: To resolve the correct PromQL\n    metric, you **MUST** know the underlying Google Cloud resource type.\n\n    *   If the user only provides a logical name or an App Hub Service\u002FWorkload\n        name such as `projects\u002F...\u002Fservices\u002Ffrontend` or\n        `projects\u002F...\u002Fworkloads\u002Fbackend`, you still need to know the underlying\n        infrastructure.\n    *   If the prompt provides the underlying infrastructure, use that\n        information. Do **NOT** attempt to discover it.\n    *   If you don't know the underlying infrastructure but have a resource\n        identified, you **MUST** proactively use `gcloud` to discover the\n        infrastructure. If you struggle to identify the resource type, ask the\n        user to specify.\n\n4.  **Label Scoping**:\n\n    *   If the user explicitly mentions the resource is in App Hub or provides\n        an App Hub URI like `projects\u002F...\u002Flocations\u002F...\u002Fapplications\u002F...`, use\n        App Hub labels and consult `references\u002Fapp_hub_labels.md` to identify\n        the correct group-by fields.\n    *   Otherwise, assume it is a standard Google Cloud resource and use\n        standard grouping labels such as `project_id, location, service_name`\n        for Cloud Run.\n\n    Example gcloud commands:\n\n    -   `gcloud --quiet apphub applications services list --application=-\n        --location=-`\n    -   `gcloud --quiet apphub applications workloads list --application=-\n        --location=-`\n    -   `gcloud --quiet asset search-all-resources`\n    -   `gcloud --quiet run services list`\n    -   `gcloud --quiet apphub applications services describe \u003Cservice>\n        --application=\u003Capp> --location=\u003Cloc>`\n    -   `gcloud --quiet apphub applications workloads describe \u003Cworkload>\n        --application=\u003Capp> --location=\u003Cloc>`\n    -   `gcloud --quiet asset search-all-resources --query=\u003Cname>`\n\n    **Graceful Fallback:** If a command exits with an error such as API not\n    enabled or permission denied, **DO NOT** try to troubleshoot it and **DO\n    NOT** use the schedule tool to wait. Immediately fall back to asking the\n    user to provide the missing information.\n\n### Step 2: Define `ServiceLevel` Target\n\n1.  **Check Context**: If the user has already provided a Service Level Target\n    percentage, an SLI condition\u002Fthreshold, and a measurement period proceed to\n    the next step. Otherwise, if any are missing, you **MUST** ask for them.\n    -   Service level target percentages include P-values such as PXX, decimals\n        such as 0.XX, and percentages like XX%.\n\n    -   Example SLI conditions and thresholds include `latency \u003C 500ms` or\n        `non-5XX responses`.\n\n*   **Prompt**: Ask the user for their target reliability, condition\u002Fthreshold\n    (if applicable), measurement period, and evaluation intervals **ONLY** if\n    they are missing.\n\n*   **SRE Best Practice Suggestion**: \"SRE Best Practice recommends starting\n    with a 99.9% (3 nines) `slo_target` measured over a rolling 28-day\n    `rolling_period`, as this aligns well with typical release cycles and\n    provides a reasonable error budget.\"\n\n### Step 3: Define `ServiceLevelIndicator` \u002F SLI\n\n1.  **Check Context**: Has the user specified the exact metric name such as\n    `run.googleapis.com\u002Frequest_count`? If yes, proceed to the next step.\n    Otherwise, if the user only says \"availability\" or \"latency\" without\n    specifying the **EXACT** metric name, you may infer the name from the\n    service type provided a metric for that type is defined in the references.\n    If the user provides a custom metric and a threshold, assume it is a\n    Distribution metric and do not ask for further metric details.\n\n    -   You **MUST** output valid metrics defined in\n        `references\u002Fservice_metrics.md`. If the exact resource type and metric\n        is not listed, check the public documentation in\n        `references\u002Fservice_metrics.md` to find the exact metric. If you still\n        cannot find it, you **MUST** stop and ask the user to provide the custom\n        metric.\n\n2.  **Prompt**: Ask the user what specific metric they want to use. You **MUST**\n    suggest the inferred standard metric as the recommended best practice. When\n    interpreting incomplete requests, you **MUST** explicitly propose the\n    specific metric string and describe the ratio-based or window-based\n    definition to the user for confirmation before proceeding.\n\n3.  **Metric Mapping**: Consult `references\u002Fservice_metrics.md` to find the\n    exact PromQL metric string for the Resource Type identified in Step 1\n    section 3. If the requested metric type does not exist for the resource in\n    the references or the primary public documentation, you **MUST** explicitly\n    inform the user that there is no default metric and ask them to provide the\n    specific custom metric name. You **MUST** provide guidance on how a custom\n    latency metric might be structured.\n\n    -   **CRITICAL:** If the primary documentation does not list a default\n        metric, you **MUST NOT** try to piece together advanced metrics. Ask the\n        user to provide the custom metric.\n\n4.  **Evaluation Method**: Default the `EvaluationType` to `REQUEST_BASED`\n    unless the user specifically describes a `window-based` requirement,\n    typically denoted by \"good minutes\" or \"bad minutes\".\n\n    *   **Window-Based Lookback Period**: If the user indicates a window-based\n        evaluation, you need to know the duration of the lookback windows and\n        the evaluation interval for each window. You **MUST** ask the user to\n        specify both the lookback duration and the evaluation interval if they\n        have not already provided them. You **CANNOT** generate an alerting\n        policy without this configuration.\n\n5.  **SRE Best Practice Suggestion**: SRE Best Practice recommends starting with\n    two SLIs:\n\n    -   **Availability**: a `Ratio SLI` comparing successful requests typically\n        defined as `non-5XX` responses, to total requests evaluated as\n        `REQUEST_BASED`.\n    -   **Latency**: a `Distribution SLI` evaluated as `WINDOW_BASED` such as\n        99% of 5-minute windows must meet a 300ms threshold.\n\n### Step 4: Define Alerting Policy\n\n1.  **Check Context**: Has the user specified burn rates? If yes, proceed to the\n    next step. Otherwise, ask the user to specify a burn rate strategy and\n    provide a best practice suggestion.\n\n2.  **SRE Best Practice Suggestion**: SRE Best Practice recommends both a\n    multi-window fast burn and multi-window slow burn.\n\n    -   **Multi-Window Fast Burn**: Factor 14.4 over 1h and 5m windows, catching\n        severe outages quickly without false positives.\n\n    -   **Multi-Window Slow Burn**: Factor 1 over 3d and 6h windows, catching\n        system degradation.\n\n### Step 5: Generate Configuration\n\n1.  Look up the corresponding PromQL template from\n    `references\u002Fpromql_templates.md` based on the user's choices. Use a\n    `Window-Based` template for window-based SLOs.\n2.  Populate the template with the `ServiceScope` labels, `ServiceLevel`\n    targets, and `ServiceLevelIndicator` metrics.\n3.  Wrap it in Terraform (`google_monitoring_alert_policy`), ensuring the\n    `user_labels` block includes `created-with-google-skill =\n    \"google-cloud-slo-alert-configuration\"`.\n4.  Present the `.tf` block with a plain English explanation of the math.\n5.  In the final summary, inform the user that the alert policies have been\n    tagged with the `created-with-google-skill =\n    \"google-cloud-slo-alert-configuration\"` user label to track policies created\n    by this skill.\n6.  **CRITICAL:** Explicitly warn the user in the final summary if no\n    notification channels are configured. Inform them that you can assist with\n    setting those up if they would like.\n\n--------------------------------------------------------------------------------\n\n## Supporting Links\n\n*   [Google SRE Workbook: Alerting on SLOs](https:\u002F\u002Fsre.google\u002Fworkbook\u002Falerting-on-slos\u002F)\n*   [Google Cloud Operations: SLO Monitoring](https:\u002F\u002Fdocs.cloud.google.com\u002Fstackdriver\u002Fdocs\u002Fsolutions\u002Fslo-monitoring.md.txt)\n*   [Prometheus: PromQL Basics](https:\u002F\u002Fprometheus.io\u002Fdocs\u002Fprometheus\u002Flatest\u002Fquerying\u002Fbasics\u002F)\n\n## Reporting Issues\n\nReport bugs or improvements for this skill at\n[Google Skills Issues](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fissues).\n",{"name":5,"metadata":55,"description":7},{"version":56,"category":57},"1.0.2","CloudObservabilityAndMonitoring","main","bb9b3f464aae37af360d079c1d863524955b0363","skills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration",2014,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 23:31:00",{"source":9,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add google\u002Fskills --skill google-cloud-slo-alert-configuration",{"tool":73,"command":74},"bunx","bunx skills add google\u002Fskills --skill google-cloud-slo-alert-configuration",{"tool":76,"command":77},"pnpm","pnpm dlx skills add google\u002Fskills --skill google-cloud-slo-alert-configuration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration\u002FSKILL.md",true,[81,87,91,95],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fapp_hub_labels.md","REFERENCE","参考文档",2131,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration\u002Freferences\u002Fapp_hub_labels.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fattribution.md",1948,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration\u002Freferences\u002Fattribution.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fpromql_templates.md",10713,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration\u002Freferences\u002Fpromql_templates.md",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fservice_metrics.md",2052,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fgoogle-cloud-slo-alert-configuration\u002Freferences\u002Fservice_metrics.md",[100,108,115,122,129,136],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":107},"01M7DQ9K7JF4T7NJZ2K1MQZ44Q","cloud-operator-share-context","Shares Google Cloud operating context the user or their team already have — environments, projects, services and regions, product preferences, best practices, architecture guidance, runbooks — found in agent instruction files, local memory, skills and workflows, and the repository's GCP docs, with the operator agent's memory after the user reviews the list. Use when the user runs this skill, accepts the cloud-operator or cloud-operator-setup skill's offer to share their existing Google Cloud context, or asks to share, import or save that context or a GCP fact for the operator agent. Don't use for ordinary GCP requests, which go to the cloud-operator skill.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-share-context\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":109,"name":110,"nameZh":17,"description":111,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":107},"01M7DQ9ERFGGQCFAWQW0KRKYBY","cloud-operator-setup","Sets up the operator agent in a Google Cloud project via the autocloud MCP server: picks the operator project, creates or checks the user's operator agent, saves the project, and offers to share the user's existing Google Cloud operating context with the operator agent's memory. Use when the user runs this skill, asks to set up the operator or create their operator agent, or chooses setup when the cloud-operator skill asks. Don't use for ordinary GCP requests or installing gcloud.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcloud-operator-setup\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":17,"description":118,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":107},"01M7B4RHQCM0DK2XQ7S7ZXVN8D","developer-device-platform-device-run","Runs automated, non-interactive jobs on remote Android devices with Developer Device Platform (DDP) Device Run using `gcloud beta device-run sessions`: native Android executables or shell scripts (for example CLI tools, custom runners, test harnesses or benchmarks) and Android instrumentation tests, on one or many devices, then waits for completion and collects per-device outputs and logs. Use when running a binary or test suite on remote devices without an interactive connection. Don't use it for interactive device reservations, adb tunnels or screen streaming (use developer-device-platform-basics), or for local devices.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fdeveloper-device-platform-device-run\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":107},"01M7B4R9YXMRW7RZP9Q9FMZJ2P","compute-vm-creation","Guides the planning, configuration, and provisioning of standalone Google Compute Engine virtual machines (VMs) and bare metal (-metal) instances using gcloud CLI commands or direct MCP tool execution. Use ONLY when the user wants to create, configure, or provision a new standalone Compute Engine VM or bare metal instance from conversational intents (hardware sizing, region selection, OS image, networking, security defaults). DO NOT read or use for Google Kubernetes Engine (GKE) Autopilot or Standard clusters, Kubernetes node pools or Pods, container orchestration, managing existing VMs, Managed Instance Groups (MIGs), or Instance Templates.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fcompute-vm-creation\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":107},"01M7B4QD02N0YBVT0838Z5K5VC","agent-platform-autorater-customization","Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent wrong, or wants an autorater to agree with human labels (autorater hillclimbing, judge calibration). Don't use for quick evals with built-in metrics or for improving the agent itself (use agent-platform-eval-flywheel).","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fagent-platform-autorater-customization\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":17,"description":139,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":107},"01M78JP22K73KK96JH0JNDT5C4","iap-agent-platform-troubleshooting","Diagnoses Identity-Aware Proxy (IAP) denials of outbound requests from Gemini Enterprise Agent Platform agents that run on Agent Runtime and send traffic through Agent Gateway. Use when an agent request fails with \"Egress request is not authorized\", when Cloud Audit Logs show an IAP egressViaIAP decision with granted false, when IAP audit entries are missing while debugging agent egress, or when Access policies, IAP allow policies, policy bindings, or Agent Registry entries might block agent egress. Don't use for Gemini model IAM permission errors (such as aiplatform.endpoints.predict), Agent Platform API errors, or Agent Runtime deployment or 500 errors (use agent-platform-troubleshooting instead). Don't use for setting up, creating, or connecting an Agent Gateway, or for IAP web apps, IAP TCP forwarding, or SSH.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Fiap-agent-platform-troubleshooting\u002FSKILL.md",[],[]]