[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A589294WE8VMM6P7C4BY34":3,"skill-same:01M7A589294WE8VMM6P7C4BY34":134},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M7A589294WE8VMM6P7C4BY34","cloudwatch-alarm-notification-automator",null,"Designs CloudWatch alarm notification and escalation automation across six surfaces: SNS-to-Lambda forwarders for Slack \u002F Teams \u002F PagerDuty \u002F Opsgenie; EventBridge rules on CloudWatch Alarm State Change; alarm-to-Jira \u002F ServiceNow ticket auto-create with idempotency; composite alarm correlation to deduplicate noisy children into one escalation; tiered escalation (primary -> secondary -> manager) via SNS + Step Functions; and 2024-2026 surfaces — AWS User Notifications chat delivery (Slack \u002F Chime \u002F Teams without Lambda), SNS SMS \u002F phone, and Amazon Q for natural-language triage. Enforces safety: subscription-confirmation, kill-switch, dry-run test publish, IAM least-privilege, secrets in Parameter Store \u002F Secrets Manager, ticket idempotency. Emits AUTOMATED with the workflow OR MANUAL_STEP_REQUIRED with the gap. Use when wiring alarm-to-Slack, alarm-to-ticket, escalation tiers, composite-correlation fatigue reduction, or adopting User Notifications \u002F Amazon Q.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloudwatch-alarm-notification-automator\ndescription: 'Designs CloudWatch alarm notification and escalation automation across six surfaces: SNS-to-Lambda forwarders for Slack \u002F Teams \u002F PagerDuty \u002F Opsgenie; EventBridge rules on CloudWatch Alarm State Change; alarm-to-Jira \u002F ServiceNow ticket auto-create with idempotency; composite alarm correlation to deduplicate noisy children into one escalation; tiered escalation (primary -> secondary -> manager) via SNS + Step Functions; and 2024-2026 surfaces — AWS User Notifications chat delivery (Slack \u002F Chime \u002F Teams without Lambda), SNS SMS \u002F phone, and Amazon Q for natural-language triage. Enforces safety: subscription-confirmation, kill-switch, dry-run test publish, IAM least-privilege, secrets in Parameter Store \u002F Secrets Manager, ticket idempotency. Emits AUTOMATED with the workflow OR MANUAL_STEP_REQUIRED with the gap. Use when wiring alarm-to-Slack, alarm-to-ticket, escalation tiers, composite-correlation fatigue reduction, or adopting User Notifications \u002F Amazon Q.'\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live deployment uses aws sns create-topic \u002F subscribe \u002F publish, aws lambda create-function \u002F update-function-code, aws events put-rule \u002F put-targets, aws sqs create-queue, aws stepfunctions create-state-machine, aws ssm put-parameter, aws secretsmanager create-secret, aws cloudwatch put-metric-alarm \u002F put-composite-alarm, aws notifications \u002F...\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '4'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Management\n  task_type: automate\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: AUTOMATED | MANUAL_STEP_REQUIRED\n  when_to_use: Designing CloudWatch alarm notification or escalation automation — wiring alarms to Slack\u002FTeams\u002FPagerDuty via SNS+Lambda, building EventBridge-driven alarm-to-ticket (Jira\u002FServiceNow) workflows, creating composite alarm correlation to deduplicate child alarms, designing tiered escalation policies, adopting AWS User Notifications for native chat-based delivery, configuring SNS SMS\u002Fphone for page-the-human alerts, or using Amazon Q for natural-language alarm triage. Do NOT invoke for creating\u002Ftuning the underlying alarm threshold itself (use cloudwatch-alarm-operator) or for security-incident containment automation (use incident-response-automator).\n  activation_triggers: alarm to Slack, alarm to Teams, alarm to PagerDuty, alarm notification Lambda, alarm SNS fan-out, CloudWatch alarm EventBridge, alarm state change, alarm to Jira ticket, alarm to ServiceNow, composite alarm correlation, alarm escalation policy, tiered escalation, AWS User Notifications, SNS phone number, SNS SMS alarm, Amazon Q alarm analysis, reduce alarm fatigue\n  invocation_schema: 'Input: either (a) a notification design intent with target channel(s) and source alarms, OR (b) an existing workflow (EventBridge rule + SNS topic ARN + Lambda forwarder ARN) for validation against the safety baseline. Output: deterministic NOTIFICATION_SOURCE \u002F SCOPE \u002F VERDICT \u002F WORKFLOW \u002F SAFETY \u002F FINDINGS \u002F REMEDIATION block where VERDICT is one of AUTOMATED | MANUAL_STEP_REQUIRED.'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: CloudWatch alarm, alarm notification, SNS, Lambda forwarder, Slack, Microsoft Teams, PagerDuty, Opsgenie, EventBridge, alarm state change, Jira, ServiceNow, ticket automation, composite alarm, alarm correlation, escalation policy, tiered escalation, Step Functions, AWS User Notifications, SNS SMS, Amazon Q, alarm triage, alarm fatigue, kill-switch\n  tags: cloudwatch, monitoring, alarms, notifications, automation, sns, eventbridge, slack, pagerduty, escalate\n---\n\n# CloudWatch Alarm Notification Automator\n\n## What this skill does\n\nDesigns the notification and escalation layer that sits on top of\nCloudWatch alarms — the wiring that turns an alarm state transition into\nthe right human action on the right channel at the right time. Covers six\nsurfaces: SNS-to-Lambda forwarders (Slack\u002FTeams\u002FPagerDuty\u002FOpsgenie),\nEventBridge rules on the `CloudWatch Alarm State Change` event,\nalarm-to-ticket automation (Jira\u002FServiceNow), composite alarm correlation\nfor fatigue reduction, tiered escalation via Step Functions, and the\n2024-2026 native surfaces (AWS User Notifications chat delivery, SNS\nSMS\u002Fphone, Amazon Q operational analysis).\n\nThe verdict is binary: **AUTOMATED** when the workflow is complete, every\nsubscription is confirmed, the Lambda forwarder has a kill-switch, IAM is\nleast-privilege, secrets are stored, and the workflow has been dry-run on\na test alarm; **MANUAL_STEP_REQUIRED** when any safety or coverage gate\nfails, with the specific gap enumerated in FINDINGS.\n\n## Quick navigation\n\n| # | Section | Jump when |\n|---|---|---|\n| 1 | [Pre-flight gate](#pre-flight-notification-spec-gate) | Starting any workflow — blocks unsafe specs |\n| 2 | [Decision tree](#decision-tree--notification-surface-selection) | Picking Lambda forwarder vs User Notifications vs Q |\n| 3 | [SNS fan-out + Lambda](#sns-fan-out--lambda-forwarders) | Slack \u002F Teams \u002F PagerDuty \u002F Opsgenie wiring |\n| 4 | [EventBridge on alarm state change](#eventbridge-on-alarm-state-change) | The trigger pattern that drives everything |\n| 5 | [Alarm-to-ticket automation](#alarm-to-ticket-automation-jira--servicenow) | Auto-create Jira \u002F ServiceNow tickets |\n| 6 | [Composite correlation](#composite-alarm-correlation--fatigue-reduction) | Roll up noisy children into one escalation |\n| 7 | [Tiered escalation](#tiered-escalation-via-step-functions) | Primary -> secondary -> manager |\n| 8 | [2024-2026 native surfaces](#2024-2026-native-surfaces) | User Notifications, SNS phone, Amazon Q |\n| 9 | [Safety + kill-switch](#safety--kill-switch-mandatory) | The non-negotiable safety baseline |\n| 10 | [STRICT output contract](#strict-output-contract) | The exact VERDICT block the skill emits |\n| 11 | [NEVER anti-patterns](#never-these-things) | The hardcoded taboos |\n| 12 | [Recent AWS features](#recent-aws-features-2024-2026) | What changed in 24 months |\n\n## Mindset\n\n**One-line takeaway:** alarm notification is a human-attention routing\nproblem, not a message-delivery problem. Delivering the message is easy;\ngetting the right human to act on it at 03:00 without burning them out is\nthe hard part. Three realities shape every notification workflow:\n\n- **An alarm firing is a hypothesis, not a fact.** CloudWatch evaluates\n  metric math over a window and emits a state-change event. The metric\n  may be noisy, the threshold may be wrong, or the system may have\n  self-recovered by the time the page reaches on-call. The notification\n  layer's job is to add context (runbook link, related alarms, recent\n  deploy) so the human can triage in seconds.\n\n- **Subscription confirmation is the silent failure mode.** SNS\n  email\u002FHTTPS subscriptions require explicit confirmation; an unconfirmed\n  subscription silently drops every message. Lambda subscriptions\n  auto-confirm but STILL need `lambda:add-permission` for SNS to invoke\n  them. This is the #1 root cause of \"the alarm was firing but nobody\n  was paged\" post-incidents.\n\n- **Alarm fatigue is the long-term failure mode.** A single EC2 instance\n  flapping between OK and ALARM every 60 seconds generates 60 pages per\n  hour. Within an hour, on-call stops reading the pages. Within a day,\n  on-call mutes the channel. Composite correlation and tiered escalation\n  are not optional polish — they are the difference between a\n  notification system that works and one that gets ignored.\n\n## Pre-flight: notification spec gate (run before generation)\n\nValidate the input before producing any workflow. Several requirements\nblock generation — proceeding with an invalid spec produces a workflow\nthat silently drops messages or pages the wrong human.\n\n| Attribute | Required | Effect on plan |\n|---|---|---|\n| `source_alarms` | YES | The alarm name(s) or composite rule to wire |\n| `target_channels` | YES | Slack \u002F Teams \u002F PagerDuty \u002F Opsgenie \u002F SMS \u002F email \u002F Jira \u002F ServiceNow |\n| `region` | YES | SNS topics, Lambda, EventBridge rules are regional |\n| `account_id` | YES | For ARN construction and cross-account checks |\n| `escalation_tiers` | Recommended | 1 (single page) \u002F 2 (primary + secondary) \u002F 3 (+ manager) |\n| `kill_switch_type` | RECOMMENDED | parameter-store \u002F eventbridge-disable \u002F lambda-guard |\n| `existing_workflow` | For validation mode | Rule name + SNS topic ARN + Lambda ARN to validate |\n\n**If the spec is incomplete** (missing source_alarms or target_channels),\noutput:\n\n```text\nNOTIFICATION_SOURCE: \u003Cunknown>\nSCOPE: \u003Cunknown>\nVERDICT: MANUAL_STEP_REQUIRED\nREASON: Spec is missing required fields (\u003Clist>).\nREQUIRED:\n  - source_alarms (alarm name(s) or composite rule)\n  - target_channels (slack | teams | pagerduty | opsgenie | sms | email | jira | servicenow)\n  - region, account_id\nREMEDIATION: Provide all four. Example: \"wire prod-checkout-critical\ncomposite to Slack #ops-alerts and PagerDuty PXYZ\" maps to\nsource_alarms=prod-checkout-critical-rollup,\ntarget_channels=[slack,pagerduty].\n```\n\n**Live-account pre-flight checks (skip for offline authoring):**\n1. `aws sns list-topics` — confirm topics exist or will be created.\n2. `aws lambda list-functions` — confirm forwarder exists or will be created.\n3. `aws events list-rules --name-prefix alarm-` — check for existing rules.\n4. `aws ssm get-parameter --name \u002Fnotifications\u002Fkill-switch` — verify\n   kill-switch parameter exists (create if not).\n5. For AWS User Notifications: `aws notifications list-notification-hubs`\n   — confirm the hub exists in the region.\n\n## Decision tree — notification surface selection\n\nApply top-to-bottom. First matching rule wins.\n\n```\nSTART\n  ├─ target = Slack \u002F Chime \u002F Teams AND org uses AWS Chatbot? ─► AWS User Notifications\n  │                                                              (native chat, no Lambda)\n  ├─ target = Slack \u002F Teams \u002F PagerDuty (custom format)? ─────► SNS -> Lambda forwarder\n  ├─ target = SMS \u002F phone (page-the-human)? ─────────────────► SNS SMS \u002F phone subscription\n  ├─ target = Jira \u002F ServiceNow ticket? ──────────────────────► EventBridge -> Lambda (ticket API)\n  ├─ need natural-language \"why did this fire\" triage? ───────► Amazon Q operational analysis\n  ├─ need tiered escalation (primary -> secondary -> manager)? ─► Step Functions (SNS + Wait + Choice)\n  └─ need to deduplicate N noisy child alarms? ───────────────► Composite alarm correlation\n```\n\n**Why two paths for Slack\u002FTeams:** AWS User Notifications (2024-2025)\ndelivers natively via AWS Chatbot without Lambda glue. SNS-to-Lambda\ngives full control over message formatting (rich blocks, interactive\nbuttons, thread replies) but adds a component to maintain. Choose User\nNotifications for speed-of-setup; choose Lambda forwarder for custom\nformatting or interactive workflows.\n\n## SNS fan-out + Lambda forwarders\n\nThe canonical pattern for alarm-to-Slack\u002FTeams\u002FPagerDuty. SNS provides\nfan-out (one alarm publishes to one topic; the topic fans out to N\nsubscribers). Lambda subscribes to the topic, formats the message, and\nPOSTs to the target webhook.\n\n```bash\naws sns create-topic --name alarm-notifications-prod\n```\n\nAlways use a dedicated topic per alarm severity or per service — do NOT\nreuse a topic that carries application events. Mixing alarm and\napplication traffic causes subscription confusion and makes access-policy\nscoping impossible.\n\n### Lambda forwarder (Slack incoming webhook)\n\nHandler code moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — \"Lambda forwarder handler\": full Python handler (kill-switch check, SSM-fetched webhook, Slack blocks) + secret-storage rule (Parameter Store for webhooks, Secrets Manager for OAuth; never env vars).\nLoad before writing or reviewing a forwarder.\n\n### PagerDuty via Events API v2\n\nHandler code moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — \"PagerDuty Events API v2\": trigger\u002Fresolve logic and the mandatory `dedup_key = AlarmName:Region` rule.\nLoad before wiring PagerDuty; a missing stable dedup key is the #1 integration bug.\n\n### Subscription + confirmation (MANDATORY verification)\n\nExact CLI sequence moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — subscribe, the commonly-missed `lambda add-permission`, and the `list-subscriptions-by-topic` verification.\nLambda subscriptions auto-confirm but STILL need add-permission; HTTPS\u002Femail\u002FSMS need endpoint confirmation.\n\n### Test publish (run after every subscription change)\n\nTest-publish command and 30-second delivery rule moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md).\nIf the test does not arrive, the subscription is unconfirmed OR the Lambda errored — check CloudWatch Logs.\n\n## EventBridge on alarm state change\n\nEvery CloudWatch alarm state transition emits an event to the default\nEventBridge bus. The pattern below matches any ALARM transition.\n\n```bash\naws events put-rule \\\n  --name alarm-state-change-to-sns \\\n  --event-pattern '{\n    \"source\": [\"aws.cloudwatch\"],\n    \"detail-type\": [\"CloudWatch Alarm State Change\"],\n    \"detail\": {\"stateName\": [\"ALARM\"]}\n  }' \\\n  --state ENABLED\n\naws events put-targets \\\n  --rule alarm-state-change-to-sns \\\n  --targets '[{\"Id\":\"sns-target\",\"Arn\":\"arn:aws:sns:us-east-1:111111111111:alarm-notifications-prod\"}]'\n```\n\n**Why use EventBridge in addition to alarm actions:** alarm actions\n(`--alarm-actions`) call SNS directly but ONLY on the ALARM transition.\nEventBridge sees ALL state changes (OK -> ALARM, ALARM -> OK,\nALARM -> INSUFFICIENT_DATA), enabling richer workflows: auto-resolve\ntickets when alarm clears, alert on INSUFFICIENT_DATA (sensor failure),\nfan to multiple targets with different filters (`alarmName.prefix`).\n\n| Need | Alarm actions | EventBridge |\n|---|---|---|\n| Notify SNS on ALARM only | Yes (simpler) | Also works |\n| Notify on OK (auto-resolve ticket) | OK actions | Yes (only way for ticket) |\n| Notify on INSUFFICIENT_DATA | InsufficientData actions | Yes (only way for ticket) |\n| Filter by alarm-name prefix | No | Yes (`alarmName.prefix`) |\n| Fan to multiple targets with different filters | No (max 5 ARNs) | Yes (unlimited targets) |\n\n## Alarm-to-ticket automation (Jira \u002F ServiceNow)\n\nAuto-create a ticket when an alarm fires, auto-resolve when it clears.\nPattern: EventBridge rule -> Lambda -> Jira\u002FServiceNow REST API.\n\nHandler code moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — full Jira Lambda with the MANDATORY DynamoDB idempotency check, plus the ServiceNow equivalent.\nWithout dedup, alarm flapping creates dozens of tickets per hour.\n\n## Composite alarm correlation + fatigue reduction\n\nWhen N child alarms fire on the same underlying incident, do NOT page\non-call N times. Build a composite rollup that fires once.\n\n```bash\naws cloudwatch put-composite-alarm \\\n  --alarm-name prod-checkout-critical-rollup \\\n  --alarm-description \"Correlated: any of {5xx, latency, lambda errors}\" \\\n  --actions-enabled \\\n  --alarm-actions arn:aws:sns:us-east-1:111111111111:on-call-escalation \\\n  --alarm-rule \"ALARM(alb-error-ratio-prod) OR ALARM(alb-latency-anomaly-prod) OR ALARM(lambda-errors-high-prod-checkout)\" \\\n  --treat-missing-data notBreaching\n```\n\n**Wire the notification to the COMPOSITE, not the children.** Child\nalarms should have empty (or InsufficientData-only) actions; only the\ncomposite pages on-call. This is the #1 alarm-fatigue fix.\n\n**AND vs OR for correlation:**\n- `OR` — escalation: any child triggers the composite. Use for \"any\n  signal that this service is degraded.\"\n- `AND` — high-confidence correlation: requires multiple symptoms.\n  Fragile — children with different detection latencies may not overlap.\n\n**Deduplication heuristic:** if the same on-call would receive pages from\nN alarms within a 5-minute window for the same service, build a composite.\n\n## Tiered escalation via Step Functions\n\nFor 2-tier or 3-tier escalation (primary -> secondary -> manager), use a\nStep Functions state machine with `Wait` + `Choice` + SNS targets.\n\nState-machine JSON, ack URL mechanism, and tier timing baselines moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md).\nStandard: 5 min between tiers; SEV-1: 2 min then simultaneous secondary + manager.\n\n## 2024-2026 native surfaces\n\nImplementation detail moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — User Notifications setup CLI + comparison matrix, SNS SMS\u002Fphone caveats (confirmation, best-effort delivery, cost), Amazon Q operational analysis setup and what Q adds.\nThe decision tree above already encodes WHEN to pick each surface; load the reference for the HOW.\n\n## Safety & kill-switch (MANDATORY)\n\nEvery alarm-notification workflow MUST include:\n\n1. **A kill-switch checked BEFORE any action.** Parameter Store:\n   Lambda reads `\u002Fnotifications\u002Fkill-switch` first; if \"disabled\",\n   returns without sending. EventBridge rule disable is a global\n   kill-switch: `aws events disable-rule --name alarm-state-change-to-sns`.\n\n2. **Subscription confirmation verified.** Every SNS subscription must\n   have a `SubscriptionArn` (not `PendingConfirmation`). Verify after\n   every change with `list-subscriptions-by-topic`.\n\n3. **Test publish after every change.** Publish a test message and\n   confirm delivery to the target channel within 30 seconds.\n\n4. **IAM least-privilege on the Lambda forwarder.** The Lambda needs\n   only: `ssm:GetParameter` on the webhook\u002Ftoken parameter,\n   `sns:Publish` (if fanning out further). It does NOT need `sqs:*`,\n   broad `dynamodb:*` (only the dedup table), or `*` permissions.\n\n5. **Secrets in Parameter Store or Secrets Manager.** Webhook URLs,\n   API tokens, and credentials MUST be stored encrypted — never\n   hardcoded in Lambda environment variables in plain text.\n\n6. **Idempotency for ticket creation.** The ticket-creation Lambda must\n   check for an existing open ticket before creating a new one. Alarm\n   flapping without dedup creates dozens of tickets per hour.\n\n```bash\naws ssm put-parameter --name \u002Fnotifications\u002Fkill-switch --value \"enabled\" --type String\n# Disable ALL alarm notifications in one command:\naws ssm put-parameter --name \u002Fnotifications\u002Fkill-switch --value \"disabled\" --type String --overwrite\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nNOTIFICATION_SOURCE: \u003Calarm-name(s) or composite rule>\nSCOPE: \u003Cchannels and tiers>\nVERDICT: AUTOMATED | MANUAL_STEP_REQUIRED\nWORKFLOW:\n  EventBridge rule: \u003Cname>\n  SNS topic: \u003Carn>\n  Lambda forwarder(s): \u003Carns>\n  Subscription status: \u003Cconfirmed | pending>\n  Escalation state machine: \u003Carn or N\u002FA>\n  Ticket integration: \u003CJira project \u002F ServiceNow table or N\u002FA>\n  AWS User Notifications hub: \u003Carn or N\u002FA>\nSAFETY:\n  - [PASS] Kill-switch implemented (Parameter Store: \u002Fnotifications\u002Fkill-switch)\n  - [PASS] All subscriptions confirmed (verified via list-subscriptions-by-topic)\n  - [PASS] Test publish delivered to all targets within 30s\n  - [PASS] Lambda IAM least-privilege\n  - [PASS] Secrets stored in Parameter Store \u002F Secrets Manager\n  - [PASS] Idempotency check for ticket creation\nFINDINGS:\n  - [INFO] \u003Cobservation>\n  - [WARN] \u003Cobservation>\nREMEDIATION:\n  1. \u003Cstep 1 if MANUAL_STEP_REQUIRED>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with conversational preamble (\"Let me design…\") — the\n  VERDICT block is the FIRST line, always. Use uppercase verdict values\n  only (`AUTOMATED`, `MANUAL_STEP_REQUIRED`).\n- NEVER omit SAFETY — every gate must appear with `[PASS]` or `[FAIL]`\n  and a specific reason for each failure.\n- NEVER emit a workflow with placeholder ARNs in an AUTOMATED verdict —\n  every ARN must be populated with actual values from the input data.\n- NEVER claim AUTOMATED without every SAFETY line showing `[PASS]`.\n- NEVER recommend a notification path without confirming subscription\n  status and running a test publish.\n\n## NEVER (these things)\n\n- NEVER rely on an unconfirmed SNS subscription. Email\u002FHTTPS\u002FSMS\n  subscriptions require explicit confirmation. Lambda subscriptions\n  auto-confirm but STILL need `lambda:add-permission` for SNS to invoke.\n  Verify every subscription with `list-subscriptions-by-topic` and a\n  test publish.\n\n- NEVER hardcode webhook URLs or API tokens in Lambda environment\n  variables. Environment variables are visible in CloudTrail\n  `GetFunctionConfiguration` and the console. Store in Parameter Store\n  (free) or Secrets Manager (paid, rotation).\n\n- NEVER wire notifications to child alarms when a composite rollup\n  exists. The composite is the escalation signal; child alarms should\n  have empty or InsufficientData-only actions. Wiring both = N+1 pages\n  per incident (alarm fatigue).\n\n- NEVER deploy a notification workflow without a kill-switch. A\n  flapping alarm without a kill-switch generates pages every 60 seconds,\n  burns out on-call, and triggers PagerDuty\u002FSMS cost alerts.\n\n- NEVER create tickets without idempotency. Alarm flapping\n  (OK -> ALARM -> OK -> ALARM) without a dedup check creates dozens of\n  Jira\u002FServiceNow tickets per hour. Use DynamoDB keyed by `alarmName`;\n  auto-resolve when the alarm clears.\n\n## Expert heuristic: \"alarm fired but nobody was paged\" diagnostic\n\nThe #1 post-incident finding for notification workflows. Apply in order:\n\n```\nAlarm fired (describe-alarm-history confirms ALARM transition)\n   |\n   ├─ Did the alarm action fire? (describe-alarms: AlarmActions populated + ActionsEnabled: true)\n   |    └─ NO -> ActionsEnabled false OR AlarmActions empty. Fix the alarm config.\n   |\n   ├─ Did SNS publish? (CloudTrail: sns:Publish by cloudwatch.amazonaws.com within 60s)\n   |    └─ NO -> IAM permission missing on CloudWatch service-linked role.\n   |\n   ├─ Did SNS deliver? (CloudWatch SNS metrics: NumberOfMessagesPublished > 0, NumberOfNotificationsDelivered > 0)\n   |    └─ NO, NumberOfNotificationsFailed > 0 -> subscription broken (Lambda errored, HTTPS 4xx, email bounced)\n   |\n   ├─ Did the Lambda forwarder succeed? (CloudWatch Logs: errors within 60s of publish?)\n   |    └─ ERROR -> SSM access denied, webhook URL wrong, target API rate-limited, timeout\n   |\n   └─ Did the target receive it? (Slack message visible? PagerDuty incident created? Ticket in Jira?)\n        └─ NO but Lambda succeeded -> webhook points to wrong channel, routing key wrong, project key wrong\n```\n\n**Most common root cause:** unconfirmed subscription or missing\n`lambda:add-permission`. Always verify with a test publish BEFORE\nrelying on the workflow.\n\n## Pre-flight safety checks (run before any deploy)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation\n  (`cloudformation deploy`, `lambda update-function-code`,\n  `events put-rule`, `sns subscribe`), the automator MUST emit\n  `CONFIRM:` and wait for explicit `yes`.\n- **Dry-run on a test alarm.** Before enabling the EventBridge rule,\n  publish a synthetic alarm event via `aws events put-events` and verify\n  the full chain (EventBridge -> SNS -> Lambda -> Slack\u002FPagerDuty) works.\n- **Verify subscription ARNs.** After every subscription change, run\n  `aws sns list-subscriptions-by-topic` and confirm every\n  `SubscriptionArn` is populated.\n- **Validate the kill-switch.** Set `\u002Fnotifications\u002Fkill-switch` to\n  `disabled`, publish a test message, verify the Lambda returns without\n  sending. Then re-enable.\n- **Check for Chatbot double-subscription.** If both the Lambda\n  forwarder and AWS Chatbot subscribe to the same SNS topic, every alarm\n  produces two Slack messages. Verify Chatbot subscribes to a separate\n  `aws-chatbot` topic.\n\n## Edge-case handling\n\nEdge-case catalog moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — flapping, cross-region topics, Lambda timeout, PagerDuty\u002FSlack rate limits, Chatbot double-notify.\nLoad when a deployed workflow misbehaves under load or across regions.\n\n## Recent AWS features (2024-2026)\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — User Notifications, Amazon Q triage, SNS SMS sandbox lift, cross-account composite alarms, EventBridge global endpoints.\nLoad when adopting 2024-2026 surfaces.\n\n## References (load on demand)\n\n- [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — deployment reference + moved inline code: Slack\u002FPagerDuty forwarder handlers, subscription + confirmation commands, test publish, alarm-to-ticket Lambda (Jira\u002FServiceNow, idempotency), tiered-escalation Step Functions JSON with ack + timing.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — 2024-2026 native surfaces detail (User Notifications setup, SNS SMS\u002Fphone caveats, Amazon Q triage), the edge-case catalog (flapping, cross-region, rate limits, double-notify), and recent AWS features (2024-2026).\n\n## Domain\n\nAWS CloudOps \u002F CloudWatch Alarm Notification, Escalation, and Triage\nAutomation.\n\n## AWS documentation\n\n- **Amazon CloudWatch User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FWhatIsCloudWatch.html\n- **CloudWatch Alarms** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FAlarmThatSendsEmail.html\n- **Using Composite Alarms** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FCreate_Composite_Alarm.html\n- **Amazon SNS Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fwelcome.html\n- **AWS Lambda Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html\n- **Amazon EventBridge User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002F\n- **AWS Chatbot Administrator Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fchatbot\u002Flatest\u002Fadminguide\u002F\n- **AWS User Notifications** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fnotifications\u002F\n- **Amazon Q Developer** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazonq\u002Flatest\u002Fqdeveloper-ug\u002F\n","# CloudWatch Alarm Notification Automator\n\n## What this skill does\n\nDesigns the notification and escalation layer that sits on top of\nCloudWatch alarms — the wiring that turns an alarm state transition into\nthe right human action on the right channel at the right time. Covers six\nsurfaces: SNS-to-Lambda forwarders (Slack\u002FTeams\u002FPagerDuty\u002FOpsgenie),\nEventBridge rules on the `CloudWatch Alarm State Change` event,\nalarm-to-ticket automation (Jira\u002FServiceNow), composite alarm correlation\nfor fatigue reduction, tiered escalation via Step Functions, and the\n2024-2026 native surfaces (AWS User Notifications chat delivery, SNS\nSMS\u002Fphone, Amazon Q operational analysis).\n\nThe verdict is binary: **AUTOMATED** when the workflow is complete, every\nsubscription is confirmed, the Lambda forwarder has a kill-switch, IAM is\nleast-privilege, secrets are stored, and the workflow has been dry-run on\na test alarm; **MANUAL_STEP_REQUIRED** when any safety or coverage gate\nfails, with the specific gap enumerated in FINDINGS.\n\n## Quick navigation\n\n| # | Section | Jump when |\n|---|---|---|\n| 1 | [Pre-flight gate](#pre-flight-notification-spec-gate) | Starting any workflow — blocks unsafe specs |\n| 2 | [Decision tree](#decision-tree--notification-surface-selection) | Picking Lambda forwarder vs User Notifications vs Q |\n| 3 | [SNS fan-out + Lambda](#sns-fan-out--lambda-forwarders) | Slack \u002F Teams \u002F PagerDuty \u002F Opsgenie wiring |\n| 4 | [EventBridge on alarm state change](#eventbridge-on-alarm-state-change) | The trigger pattern that drives everything |\n| 5 | [Alarm-to-ticket automation](#alarm-to-ticket-automation-jira--servicenow) | Auto-create Jira \u002F ServiceNow tickets |\n| 6 | [Composite correlation](#composite-alarm-correlation--fatigue-reduction) | Roll up noisy children into one escalation |\n| 7 | [Tiered escalation](#tiered-escalation-via-step-functions) | Primary -> secondary -> manager |\n| 8 | [2024-2026 native surfaces](#2024-2026-native-surfaces) | User Notifications, SNS phone, Amazon Q |\n| 9 | [Safety + kill-switch](#safety--kill-switch-mandatory) | The non-negotiable safety baseline |\n| 10 | [STRICT output contract](#strict-output-contract) | The exact VERDICT block the skill emits |\n| 11 | [NEVER anti-patterns](#never-these-things) | The hardcoded taboos |\n| 12 | [Recent AWS features](#recent-aws-features-2024-2026) | What changed in 24 months |\n\n## Mindset\n\n**One-line takeaway:** alarm notification is a human-attention routing\nproblem, not a message-delivery problem. Delivering the message is easy;\ngetting the right human to act on it at 03:00 without burning them out is\nthe hard part. Three realities shape every notification workflow:\n\n- **An alarm firing is a hypothesis, not a fact.** CloudWatch evaluates\n  metric math over a window and emits a state-change event. The metric\n  may be noisy, the threshold may be wrong, or the system may have\n  self-recovered by the time the page reaches on-call. The notification\n  layer's job is to add context (runbook link, related alarms, recent\n  deploy) so the human can triage in seconds.\n\n- **Subscription confirmation is the silent failure mode.** SNS\n  email\u002FHTTPS subscriptions require explicit confirmation; an unconfirmed\n  subscription silently drops every message. Lambda subscriptions\n  auto-confirm but STILL need `lambda:add-permission` for SNS to invoke\n  them. This is the #1 root cause of \"the alarm was firing but nobody\n  was paged\" post-incidents.\n\n- **Alarm fatigue is the long-term failure mode.** A single EC2 instance\n  flapping between OK and ALARM every 60 seconds generates 60 pages per\n  hour. Within an hour, on-call stops reading the pages. Within a day,\n  on-call mutes the channel. Composite correlation and tiered escalation\n  are not optional polish — they are the difference between a\n  notification system that works and one that gets ignored.\n\n## Pre-flight: notification spec gate (run before generation)\n\nValidate the input before producing any workflow. Several requirements\nblock generation — proceeding with an invalid spec produces a workflow\nthat silently drops messages or pages the wrong human.\n\n| Attribute | Required | Effect on plan |\n|---|---|---|\n| `source_alarms` | YES | The alarm name(s) or composite rule to wire |\n| `target_channels` | YES | Slack \u002F Teams \u002F PagerDuty \u002F Opsgenie \u002F SMS \u002F email \u002F Jira \u002F ServiceNow |\n| `region` | YES | SNS topics, Lambda, EventBridge rules are regional |\n| `account_id` | YES | For ARN construction and cross-account checks |\n| `escalation_tiers` | Recommended | 1 (single page) \u002F 2 (primary + secondary) \u002F 3 (+ manager) |\n| `kill_switch_type` | RECOMMENDED | parameter-store \u002F eventbridge-disable \u002F lambda-guard |\n| `existing_workflow` | For validation mode | Rule name + SNS topic ARN + Lambda ARN to validate |\n\n**If the spec is incomplete** (missing source_alarms or target_channels),\noutput:\n\n```text\nNOTIFICATION_SOURCE: \u003Cunknown>\nSCOPE: \u003Cunknown>\nVERDICT: MANUAL_STEP_REQUIRED\nREASON: Spec is missing required fields (\u003Clist>).\nREQUIRED:\n  - source_alarms (alarm name(s) or composite rule)\n  - target_channels (slack | teams | pagerduty | opsgenie | sms | email | jira | servicenow)\n  - region, account_id\nREMEDIATION: Provide all four. Example: \"wire prod-checkout-critical\ncomposite to Slack #ops-alerts and PagerDuty PXYZ\" maps to\nsource_alarms=prod-checkout-critical-rollup,\ntarget_channels=[slack,pagerduty].\n```\n\n**Live-account pre-flight checks (skip for offline authoring):**\n1. `aws sns list-topics` — confirm topics exist or will be created.\n2. `aws lambda list-functions` — confirm forwarder exists or will be created.\n3. `aws events list-rules --name-prefix alarm-` — check for existing rules.\n4. `aws ssm get-parameter --name \u002Fnotifications\u002Fkill-switch` — verify\n   kill-switch parameter exists (create if not).\n5. For AWS User Notifications: `aws notifications list-notification-hubs`\n   — confirm the hub exists in the region.\n\n## Decision tree — notification surface selection\n\nApply top-to-bottom. First matching rule wins.\n\n```\nSTART\n  ├─ target = Slack \u002F Chime \u002F Teams AND org uses AWS Chatbot? ─► AWS User Notifications\n  │                                                              (native chat, no Lambda)\n  ├─ target = Slack \u002F Teams \u002F PagerDuty (custom format)? ─────► SNS -> Lambda forwarder\n  ├─ target = SMS \u002F phone (page-the-human)? ─────────────────► SNS SMS \u002F phone subscription\n  ├─ target = Jira \u002F ServiceNow ticket? ──────────────────────► EventBridge -> Lambda (ticket API)\n  ├─ need natural-language \"why did this fire\" triage? ───────► Amazon Q operational analysis\n  ├─ need tiered escalation (primary -> secondary -> manager)? ─► Step Functions (SNS + Wait + Choice)\n  └─ need to deduplicate N noisy child alarms? ───────────────► Composite alarm correlation\n```\n\n**Why two paths for Slack\u002FTeams:** AWS User Notifications (2024-2025)\ndelivers natively via AWS Chatbot without Lambda glue. SNS-to-Lambda\ngives full control over message formatting (rich blocks, interactive\nbuttons, thread replies) but adds a component to maintain. Choose User\nNotifications for speed-of-setup; choose Lambda forwarder for custom\nformatting or interactive workflows.\n\n## SNS fan-out + Lambda forwarders\n\nThe canonical pattern for alarm-to-Slack\u002FTeams\u002FPagerDuty. SNS provides\nfan-out (one alarm publishes to one topic; the topic fans out to N\nsubscribers). Lambda subscribes to the topic, formats the message, and\nPOSTs to the target webhook.\n\n```bash\naws sns create-topic --name alarm-notifications-prod\n```\n\nAlways use a dedicated topic per alarm severity or per service — do NOT\nreuse a topic that carries application events. Mixing alarm and\napplication traffic causes subscription confusion and makes access-policy\nscoping impossible.\n\n### Lambda forwarder (Slack incoming webhook)\n\nHandler code moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — \"Lambda forwarder handler\": full Python handler (kill-switch check, SSM-fetched webhook, Slack blocks) + secret-storage rule (Parameter Store for webhooks, Secrets Manager for OAuth; never env vars).\nLoad before writing or reviewing a forwarder.\n\n### PagerDuty via Events API v2\n\nHandler code moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — \"PagerDuty Events API v2\": trigger\u002Fresolve logic and the mandatory `dedup_key = AlarmName:Region` rule.\nLoad before wiring PagerDuty; a missing stable dedup key is the #1 integration bug.\n\n### Subscription + confirmation (MANDATORY verification)\n\nExact CLI sequence moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — subscribe, the commonly-missed `lambda add-permission`, and the `list-subscriptions-by-topic` verification.\nLambda subscriptions auto-confirm but STILL need add-permission; HTTPS\u002Femail\u002FSMS need endpoint confirmation.\n\n### Test publish (run after every subscription change)\n\nTest-publish command and 30-second delivery rule moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md).\nIf the test does not arrive, the subscription is unconfirmed OR the Lambda errored — check CloudWatch Logs.\n\n## EventBridge on alarm state change\n\nEvery CloudWatch alarm state transition emits an event to the default\nEventBridge bus. The pattern below matches any ALARM transition.\n\n```bash\naws events put-rule \\\n  --name alarm-state-change-to-sns \\\n  --event-pattern '{\n    \"source\": [\"aws.cloudwatch\"],\n    \"detail-type\": [\"CloudWatch Alarm State Change\"],\n    \"detail\": {\"stateName\": [\"ALARM\"]}\n  }' \\\n  --state ENABLED\n\naws events put-targets \\\n  --rule alarm-state-change-to-sns \\\n  --targets '[{\"Id\":\"sns-target\",\"Arn\":\"arn:aws:sns:us-east-1:111111111111:alarm-notifications-prod\"}]'\n```\n\n**Why use EventBridge in addition to alarm actions:** alarm actions\n(`--alarm-actions`) call SNS directly but ONLY on the ALARM transition.\nEventBridge sees ALL state changes (OK -> ALARM, ALARM -> OK,\nALARM -> INSUFFICIENT_DATA), enabling richer workflows: auto-resolve\ntickets when alarm clears, alert on INSUFFICIENT_DATA (sensor failure),\nfan to multiple targets with different filters (`alarmName.prefix`).\n\n| Need | Alarm actions | EventBridge |\n|---|---|---|\n| Notify SNS on ALARM only | Yes (simpler) | Also works |\n| Notify on OK (auto-resolve ticket) | OK actions | Yes (only way for ticket) |\n| Notify on INSUFFICIENT_DATA | InsufficientData actions | Yes (only way for ticket) |\n| Filter by alarm-name prefix | No | Yes (`alarmName.prefix`) |\n| Fan to multiple targets with different filters | No (max 5 ARNs) | Yes (unlimited targets) |\n\n## Alarm-to-ticket automation (Jira \u002F ServiceNow)\n\nAuto-create a ticket when an alarm fires, auto-resolve when it clears.\nPattern: EventBridge rule -> Lambda -> Jira\u002FServiceNow REST API.\n\nHandler code moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — full Jira Lambda with the MANDATORY DynamoDB idempotency check, plus the ServiceNow equivalent.\nWithout dedup, alarm flapping creates dozens of tickets per hour.\n\n## Composite alarm correlation + fatigue reduction\n\nWhen N child alarms fire on the same underlying incident, do NOT page\non-call N times. Build a composite rollup that fires once.\n\n```bash\naws cloudwatch put-composite-alarm \\\n  --alarm-name prod-checkout-critical-rollup \\\n  --alarm-description \"Correlated: any of {5xx, latency, lambda errors}\" \\\n  --actions-enabled \\\n  --alarm-actions arn:aws:sns:us-east-1:111111111111:on-call-escalation \\\n  --alarm-rule \"ALARM(alb-error-ratio-prod) OR ALARM(alb-latency-anomaly-prod) OR ALARM(lambda-errors-high-prod-checkout)\" \\\n  --treat-missing-data notBreaching\n```\n\n**Wire the notification to the COMPOSITE, not the children.** Child\nalarms should have empty (or InsufficientData-only) actions; only the\ncomposite pages on-call. This is the #1 alarm-fatigue fix.\n\n**AND vs OR for correlation:**\n- `OR` — escalation: any child triggers the composite. Use for \"any\n  signal that this service is degraded.\"\n- `AND` — high-confidence correlation: requires multiple symptoms.\n  Fragile — children with different detection latencies may not overlap.\n\n**Deduplication heuristic:** if the same on-call would receive pages from\nN alarms within a 5-minute window for the same service, build a composite.\n\n## Tiered escalation via Step Functions\n\nFor 2-tier or 3-tier escalation (primary -> secondary -> manager), use a\nStep Functions state machine with `Wait` + `Choice` + SNS targets.\n\nState-machine JSON, ack URL mechanism, and tier timing baselines moved verbatim to [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md).\nStandard: 5 min between tiers; SEV-1: 2 min then simultaneous secondary + manager.\n\n## 2024-2026 native surfaces\n\nImplementation detail moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — User Notifications setup CLI + comparison matrix, SNS SMS\u002Fphone caveats (confirmation, best-effort delivery, cost), Amazon Q operational analysis setup and what Q adds.\nThe decision tree above already encodes WHEN to pick each surface; load the reference for the HOW.\n\n## Safety & kill-switch (MANDATORY)\n\nEvery alarm-notification workflow MUST include:\n\n1. **A kill-switch checked BEFORE any action.** Parameter Store:\n   Lambda reads `\u002Fnotifications\u002Fkill-switch` first; if \"disabled\",\n   returns without sending. EventBridge rule disable is a global\n   kill-switch: `aws events disable-rule --name alarm-state-change-to-sns`.\n\n2. **Subscription confirmation verified.** Every SNS subscription must\n   have a `SubscriptionArn` (not `PendingConfirmation`). Verify after\n   every change with `list-subscriptions-by-topic`.\n\n3. **Test publish after every change.** Publish a test message and\n   confirm delivery to the target channel within 30 seconds.\n\n4. **IAM least-privilege on the Lambda forwarder.** The Lambda needs\n   only: `ssm:GetParameter` on the webhook\u002Ftoken parameter,\n   `sns:Publish` (if fanning out further). It does NOT need `sqs:*`,\n   broad `dynamodb:*` (only the dedup table), or `*` permissions.\n\n5. **Secrets in Parameter Store or Secrets Manager.** Webhook URLs,\n   API tokens, and credentials MUST be stored encrypted — never\n   hardcoded in Lambda environment variables in plain text.\n\n6. **Idempotency for ticket creation.** The ticket-creation Lambda must\n   check for an existing open ticket before creating a new one. Alarm\n   flapping without dedup creates dozens of tickets per hour.\n\n```bash\naws ssm put-parameter --name \u002Fnotifications\u002Fkill-switch --value \"enabled\" --type String\n# Disable ALL alarm notifications in one command:\naws ssm put-parameter --name \u002Fnotifications\u002Fkill-switch --value \"disabled\" --type String --overwrite\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no\nconversational opening:\n\n```text\nNOTIFICATION_SOURCE: \u003Calarm-name(s) or composite rule>\nSCOPE: \u003Cchannels and tiers>\nVERDICT: AUTOMATED | MANUAL_STEP_REQUIRED\nWORKFLOW:\n  EventBridge rule: \u003Cname>\n  SNS topic: \u003Carn>\n  Lambda forwarder(s): \u003Carns>\n  Subscription status: \u003Cconfirmed | pending>\n  Escalation state machine: \u003Carn or N\u002FA>\n  Ticket integration: \u003CJira project \u002F ServiceNow table or N\u002FA>\n  AWS User Notifications hub: \u003Carn or N\u002FA>\nSAFETY:\n  - [PASS] Kill-switch implemented (Parameter Store: \u002Fnotifications\u002Fkill-switch)\n  - [PASS] All subscriptions confirmed (verified via list-subscriptions-by-topic)\n  - [PASS] Test publish delivered to all targets within 30s\n  - [PASS] Lambda IAM least-privilege\n  - [PASS] Secrets stored in Parameter Store \u002F Secrets Manager\n  - [PASS] Idempotency check for ticket creation\nFINDINGS:\n  - [INFO] \u003Cobservation>\n  - [WARN] \u003Cobservation>\nREMEDIATION:\n  1. \u003Cstep 1 if MANUAL_STEP_REQUIRED>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with conversational preamble (\"Let me design…\") — the\n  VERDICT block is the FIRST line, always. Use uppercase verdict values\n  only (`AUTOMATED`, `MANUAL_STEP_REQUIRED`).\n- NEVER omit SAFETY — every gate must appear with `[PASS]` or `[FAIL]`\n  and a specific reason for each failure.\n- NEVER emit a workflow with placeholder ARNs in an AUTOMATED verdict —\n  every ARN must be populated with actual values from the input data.\n- NEVER claim AUTOMATED without every SAFETY line showing `[PASS]`.\n- NEVER recommend a notification path without confirming subscription\n  status and running a test publish.\n\n## NEVER (these things)\n\n- NEVER rely on an unconfirmed SNS subscription. Email\u002FHTTPS\u002FSMS\n  subscriptions require explicit confirmation. Lambda subscriptions\n  auto-confirm but STILL need `lambda:add-permission` for SNS to invoke.\n  Verify every subscription with `list-subscriptions-by-topic` and a\n  test publish.\n\n- NEVER hardcode webhook URLs or API tokens in Lambda environment\n  variables. Environment variables are visible in CloudTrail\n  `GetFunctionConfiguration` and the console. Store in Parameter Store\n  (free) or Secrets Manager (paid, rotation).\n\n- NEVER wire notifications to child alarms when a composite rollup\n  exists. The composite is the escalation signal; child alarms should\n  have empty or InsufficientData-only actions. Wiring both = N+1 pages\n  per incident (alarm fatigue).\n\n- NEVER deploy a notification workflow without a kill-switch. A\n  flapping alarm without a kill-switch generates pages every 60 seconds,\n  burns out on-call, and triggers PagerDuty\u002FSMS cost alerts.\n\n- NEVER create tickets without idempotency. Alarm flapping\n  (OK -> ALARM -> OK -> ALARM) without a dedup check creates dozens of\n  Jira\u002FServiceNow tickets per hour. Use DynamoDB keyed by `alarmName`;\n  auto-resolve when the alarm clears.\n\n## Expert heuristic: \"alarm fired but nobody was paged\" diagnostic\n\nThe #1 post-incident finding for notification workflows. Apply in order:\n\n```\nAlarm fired (describe-alarm-history confirms ALARM transition)\n   |\n   ├─ Did the alarm action fire? (describe-alarms: AlarmActions populated + ActionsEnabled: true)\n   |    └─ NO -> ActionsEnabled false OR AlarmActions empty. Fix the alarm config.\n   |\n   ├─ Did SNS publish? (CloudTrail: sns:Publish by cloudwatch.amazonaws.com within 60s)\n   |    └─ NO -> IAM permission missing on CloudWatch service-linked role.\n   |\n   ├─ Did SNS deliver? (CloudWatch SNS metrics: NumberOfMessagesPublished > 0, NumberOfNotificationsDelivered > 0)\n   |    └─ NO, NumberOfNotificationsFailed > 0 -> subscription broken (Lambda errored, HTTPS 4xx, email bounced)\n   |\n   ├─ Did the Lambda forwarder succeed? (CloudWatch Logs: errors within 60s of publish?)\n   |    └─ ERROR -> SSM access denied, webhook URL wrong, target API rate-limited, timeout\n   |\n   └─ Did the target receive it? (Slack message visible? PagerDuty incident created? Ticket in Jira?)\n        └─ NO but Lambda succeeded -> webhook points to wrong channel, routing key wrong, project key wrong\n```\n\n**Most common root cause:** unconfirmed subscription or missing\n`lambda:add-permission`. Always verify with a test publish BEFORE\nrelying on the workflow.\n\n## Pre-flight safety checks (run before any deploy)\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing operation\n  (`cloudformation deploy`, `lambda update-function-code`,\n  `events put-rule`, `sns subscribe`), the automator MUST emit\n  `CONFIRM:` and wait for explicit `yes`.\n- **Dry-run on a test alarm.** Before enabling the EventBridge rule,\n  publish a synthetic alarm event via `aws events put-events` and verify\n  the full chain (EventBridge -> SNS -> Lambda -> Slack\u002FPagerDuty) works.\n- **Verify subscription ARNs.** After every subscription change, run\n  `aws sns list-subscriptions-by-topic` and confirm every\n  `SubscriptionArn` is populated.\n- **Validate the kill-switch.** Set `\u002Fnotifications\u002Fkill-switch` to\n  `disabled`, publish a test message, verify the Lambda returns without\n  sending. Then re-enable.\n- **Check for Chatbot double-subscription.** If both the Lambda\n  forwarder and AWS Chatbot subscribe to the same SNS topic, every alarm\n  produces two Slack messages. Verify Chatbot subscribes to a separate\n  `aws-chatbot` topic.\n\n## Edge-case handling\n\nEdge-case catalog moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — flapping, cross-region topics, Lambda timeout, PagerDuty\u002FSlack rate limits, Chatbot double-notify.\nLoad when a deployed workflow misbehaves under load or across regions.\n\n## Recent AWS features (2024-2026)\n\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — User Notifications, Amazon Q triage, SNS SMS sandbox lift, cross-account composite alarms, EventBridge global endpoints.\nLoad when adopting 2024-2026 surfaces.\n\n## References (load on demand)\n\n- [references\u002Fnotification-patterns-and-deployment.md](references\u002Fnotification-patterns-and-deployment.md) — deployment reference + moved inline code: Slack\u002FPagerDuty forwarder handlers, subscription + confirmation commands, test publish, alarm-to-ticket Lambda (Jira\u002FServiceNow, idempotency), tiered-escalation Step Functions JSON with ack + timing.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — 2024-2026 native surfaces detail (User Notifications setup, SNS SMS\u002Fphone caveats, Amazon Q triage), the edge-case catalog (flapping, cross-region, rate limits, double-notify), and recent AWS features (2024-2026).\n\n## Domain\n\nAWS CloudOps \u002F CloudWatch Alarm Notification, Escalation, and Triage\nAutomation.\n\n## AWS documentation\n\n- **Amazon CloudWatch User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FWhatIsCloudWatch.html\n- **CloudWatch Alarms** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FAlarmThatSendsEmail.html\n- **Using Composite Alarms** — https:\u002F\u002Fdocs.aws.amazon.com\u002FAmazonCloudWatch\u002Flatest\u002Fmonitoring\u002FCreate_Composite_Alarm.html\n- **Amazon SNS Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsns\u002Flatest\u002Fdg\u002Fwelcome.html\n- **AWS Lambda Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwelcome.html\n- **Amazon EventBridge User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002F\n- **AWS Chatbot Administrator Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fchatbot\u002Flatest\u002Fadminguide\u002F\n- **AWS User Notifications** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fnotifications\u002F\n- **Amazon Q Developer** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazonq\u002Flatest\u002Fqdeveloper-ug\u002F\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":42},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"requires_llm":37,"verdict_shape":38,"lifecycle_status":39,"invocation_schema":40,"supports_pipeline":37,"activation_triggers":41},"cloudwatch, monitoring, alarms, notifications, automation, sns, eventbridge, slack, pagerduty, escalate","4","Jacky Chan — AWS Community Builder","aws-cloudops","Management","0.1.0","CloudWatch alarm, alarm notification, SNS, Lambda forwarder, Slack, Microsoft Teams, PagerDuty, Opsgenie, EventBridge, alarm state change, Jira, ServiceNow, ticket automation, composite alarm, alarm correlation, escalation policy, tiered escalation, Step Functions, AWS User Notifications, SNS SMS, Amazon Q, alarm triage, alarm fatigue, kill-switch","automate","high","false","capability","Designing CloudWatch alarm notification or escalation automation — wiring alarms to Slack\u002FTeams\u002FPagerDuty via SNS+Lambda, building EventBridge-driven alarm-to-ticket (Jira\u002FServiceNow) workflows, creating composite alarm correlation to deduplicate child alarms, designing tiered escalation policies, adopting AWS User Notifications for native chat-based delivery, configuring SNS SMS\u002Fphone for page-the-human alerts, or using Amazon Q for natural-language alarm triage. Do NOT invoke for creating\u002Ftuning the underlying alarm threshold itself (use cloudwatch-alarm-operator) or for security-incident containment automation (use incident-response-automator).","true","AUTOMATED | MANUAL_STEP_REQUIRED","active","Input: either (a) a notification design intent with target channel(s) and source alarms, OR (b) an existing workflow (EventBridge rule + SNS topic ARN + Lambda forwarder ARN) for validation against the safety baseline. Output: deterministic NOTIFICATION_SOURCE \u002F SCOPE \u002F VERDICT \u002F WORKFLOW \u002F SAFETY \u002F FINDINGS \u002F REMEDIATION block where VERDICT is one of AUTOMATED | MANUAL_STEP_REQUIRED.","alarm to Slack, alarm to Teams, alarm to PagerDuty, alarm notification Lambda, alarm SNS fan-out, CloudWatch alarm EventBridge, alarm state change, alarm to Jira ticket, alarm to ServiceNow, composite alarm correlation, alarm escalation policy, tiered escalation, AWS User Notifications, SNS phone number, SNS SMS alarm, Amazon Q alarm analysis, reduce alarm fatigue","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live deployment uses aws sns create-topic \u002F subscribe \u002F publish, aws lambda create-function \u002F update-function-code, aws events put-rule \u002F put-targets, aws sqs create-queue, aws stepfunctions create-state-machine, aws ssm put-parameter, aws secretsmanager create-secret, aws cloudwatch put-metric-alarm \u002F put-composite-alarm, aws notifications \u002F...","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fcloudwatch-alarm-notification-automator",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill cloudwatch-alarm-notification-automator",{"tool":57,"command":58},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill cloudwatch-alarm-notification-automator",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill cloudwatch-alarm-notification-automator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002FSKILL.md",true,[65,71,75,79,82,86,90,94,98,102,106,110,114,118,122,126,130],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",12154,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Feval\u002Ftest-cases.yaml",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"evals\u002Fbaselines\u002Faws-user-notifications-amazon-q-automated.md",949,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fbaselines\u002Faws-user-notifications-amazon-q-automated.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"evals\u002Fbaselines\u002Fcomposite-correlation-tiered-escalation-automated.md",919,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fbaselines\u002Fcomposite-correlation-tiered-escalation-automated.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Feventbridge-alarm-to-jira-ticket-automated.md","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fbaselines\u002Feventbridge-alarm-to-jira-ticket-automated.md",{"path":83,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fsns-lambda-slack-pagerduty-automated.md",1021,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fbaselines\u002Fsns-lambda-slack-pagerduty-automated.md",{"path":87,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Funconfirmed-subscription-manual-required.md",804,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fbaselines\u002Funconfirmed-subscription-manual-required.md",{"path":91,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",2131,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",4544,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fevals.json",{"path":99,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Faws-user-notifications-amazon-q-automated.md",1584,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fprompts\u002Faws-user-notifications-amazon-q-automated.md",{"path":103,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fcomposite-correlation-tiered-escalation-automated.md",1460,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fprompts\u002Fcomposite-correlation-tiered-escalation-automated.md",{"path":107,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Feventbridge-alarm-to-jira-ticket-automated.md",1356,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fprompts\u002Feventbridge-alarm-to-jira-ticket-automated.md",{"path":111,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fsns-lambda-slack-pagerduty-automated.md",1573,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fprompts\u002Fsns-lambda-slack-pagerduty-automated.md",{"path":115,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Funconfirmed-subscription-manual-required.md",1399,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fevals\u002Fprompts\u002Funconfirmed-subscription-manual-required.md",{"path":119,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",9715,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",5455,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fnotification-patterns-and-deployment.md",24055,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Freferences\u002Fnotification-patterns-and-deployment.md",{"path":131,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":132,"sourceHtmlUrl":133},"skill.usf.yaml",4575,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcloudwatch-alarm-notification-automator\u002Fskill.usf.yaml",[135,142,149,156,163,170],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]