[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAQY7ACMEV9DWE7TPR3YE1":3,"skill-same:01M7AAQY7ACMEV9DWE7TPR3YE1":144},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7AAQY7ACMEV9DWE7TPR3YE1","pinpoint-campaign-deployer",null,"Provisions Amazon Pinpoint campaigns and engagement workflows — project creation, channels (email, SMS, push, voice), segments (demographic, dynamic, imported), campaigns (schedule, quiet time, A\u002FB test holdout), message templates (email, SMS, push with Liquid), journeys (multi-step with wait, yes-no split, multivariate, random split), event streams (Kinesis), ML-powered segment recommendations, and in-app messaging. Runs deterministic pre-checks (SES verified identities, SMS origination numbers, APNs\u002FFCM credentials, segment resolution, template validation, IAM permissions for Kinesis), emits create-campaign and create-journey CLIs behind a CONFIRM gate, verifies via get-campaign. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning Pinpoint projects, building multi-step journeys, or setting up cross-channel campaigns.","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\u002Fpinpoint-campaign-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pinpoint-campaign-deployer\ndescription: Provisions Amazon Pinpoint campaigns and engagement workflows — project creation, channels (email, SMS, push, voice), segments (demographic, dynamic, imported), campaigns (schedule, quiet time, A\u002FB test holdout), message templates (email, SMS, push with Liquid), journeys (multi-step with wait, yes-no split, multivariate, random split), event streams (Kinesis), ML-powered segment recommendations, and in-app messaging. Runs deterministic pre-checks (SES verified identities, SMS origination numbers, APNs\u002FFCM credentials, segment resolution, template validation, IAM permissions for Kinesis), emits create-campaign and create-journey CLIs behind a CONFIRM gate, verifies via get-campaign. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning Pinpoint projects, building multi-step journeys, or setting up cross-channel campaigns.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws pinpoint create-app, update-email-channel, update-sms-channel, update-apns-channel, update-gcm-channel, create-segment, create-campaign, create-journey, create-message-template, put-event-stream (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: AppIntegration\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: pinpoint, appintegration, deploy, campaign, journey, segment, multi-channel, messaging, personalization\n  dependencies: aws-orchestrator\n  keywords: Pinpoint, campaign, journey, segment, email channel, SMS channel, push channel, voice channel, message template, A\u002FB test, holdout, quiet time, multivariate, in-app messaging, event stream, Kinesis, ML recommendations, demographic segment, dynamic segment, imported segment\n  when_to_use: Provisioning a new Pinpoint project, configuring channels (email, SMS, push, voice), creating segments (demographic, dynamic, imported), building campaigns with schedules and quiet time, setting up A\u002FB tests, creating multi-step journeys (wait, yes-no, multivariate), deploying message templates, wiring Kinesis event streams, or enabling ML-powered segment recommendations and in-app messaging.\n  activation_triggers: create Pinpoint project, provision Pinpoint campaign, Pinpoint journey, Pinpoint segment, Pinpoint email channel, Pinpoint SMS channel, Pinpoint push notification, Pinpoint message template, A\u002FB test campaign, Pinpoint in-app messaging, Pinpoint event stream Kinesis, ML segment recommendations, multivariate journey, pinpoint create-campaign\n  invocation_schema: 'Input: either (a) a campaign or journey deployment intent (create, update) with target project id, channel, segment, templates, schedule, journey activity graph, and event stream target; OR (b) a project id for live-account update or validation. Output: deterministic CAMPAIGN\u002F VERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.'\n---\n\n# Pinpoint Campaign Deployer\n\n## What this skill does\n\nProvisions Amazon Pinpoint projects, channels, segments, campaigns, journeys,\nand message templates with engagement-best-practice defaults — email channel\nrequires SES verified identities, SMS channel requires origination numbers\nwith spend limits, push channel requires valid APNs\u002FFCM credentials, segments\nuse dimension-based targeting (not raw endpoint IDs), campaigns enforce\nquiet-time windows and frequency caps, journeys use the activity graph model\n(wait, conditional split, multivariate, random split), and templates use\nLiquid for personalization. Runs deterministic pre-checks before any\nstate-changing CLI, emits the exact `create-campaign` and `create-journey`\nCLIs behind a CONFIRM gate, and verifies via `get-campaign` and\n`get-journey`. Every plan surfaces the channel-prerequisite ordering rule,\nthe segment-resolution check, the quiet-time enforcement, and the journey\nactivity graph validation.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + channel matrix | Before any operation |\n| **Mindset** | Why channel prerequisites matter; segment vs endpoint targeting; journey graph model | Understanding the deployment model |\n| **Pre-flight** | Campaign gate — SES identity, SMS origination, APNs\u002FFCM, segment resolution | Before executing any CLI |\n| **Process** | Per-operation: project, channels, segments, templates, campaigns, journeys, event stream | When choosing which operation |\n| **STRICT output contract** | Required CAMPAIGN\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent broken or non-compliant patterns | Review before deploy |\n| **Expert heuristic** | Choosing journey vs campaign and channel per use case | Engagement strategy |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (SES identity not verified, SMS origination missing, APNs\u002FFCM invalid, segment resolves to 0 endpoints, template parse failure, schedule in the past, quiet-time with no timezone, frequency cap 0, IAM permission missing, project name collision) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence, wait for operator yes |\n\n**Priority order for pre-checks (apply in sequence, all must pass):**\n\n1. **Project existence** — `get-app` returns the target project or no collision.\n2. **Channel prerequisites** — target channel is enabled and verified:\n   - Email: SES identity (domain or email) is `verified` in the same region.\n   - SMS: origination number provisioned, SMS channel enabled with spend limit.\n   - Push: APNs `.p8` token key + key ID + team ID; FCM API key or service account.\n   - Voice: origination number provisioned, voice channel enabled.\n3. **Segment resolution** — segment resolves to >0 endpoints (verify via\n   `get-segment-estimate`). A 0-endpoint segment sends nothing.\n4. **Message template** — template parses (Liquid valid), channel matches.\n5. **Schedule** — start time is in the future (or `IMMEDIATE`). Timezone set.\n6. **Quiet time** — if set, `StartTime`, `EndTime`, and `TimeZone` all present.\n7. **Frequency cap** — if set, must be >= 1. Cap of 0 blocks all sends.\n8. **A\u002FB test** — if `AdditionalTreatments` set, each has distinct template.\n   Holdout percentage 0-100. Treatment percentages + holdout sum to 100.\n9. **Journey activity graph** — no cycles, every non-END activity has valid\n   `NextActivity`, at least one `END` exists.\n10. **IAM permissions** — operator holds `pinpoint:CreateCampaign`,\n    `CreateJourney`, `CreateSegment`, and channel-specific update permissions.\n\n## Mindset\n\n**One-line takeaway:** a Pinpoint campaign is not \"an email blast\" — it is a\n**channel-prerequisite-ordered deployment** where the channel MUST be\nconfigured and verified BEFORE the campaign or journey, the segment MUST\nresolve to >0 endpoints, and the journey activity graph is a state machine\nwith no cycles.\n\nThree facts make Pinpoint provisioning different from \"send a message\":\n\n- **Channels must be enabled and verified before campaigns.** The email\n  channel requires a verified SES identity. SMS requires a provisioned\n  origination number. Push requires valid APNs\u002FFCM credentials. A campaign\n  created before the channel is enabled sends nothing — silently. No error;\n  the campaign shows `COMPLETED` with 0 sends.\n\n- **Segments use dimension-based targeting, not raw endpoint IDs.** A segment\n  defines criteria (demographic, device, behavior, custom attributes) that\n  dynamically resolve. Dynamic segments update as attributes change. Imported\n  segments (CSV\u002FS3) are static. A segment that resolves to 0 endpoints reaches\n  no one — always verify via `get-segment-estimate`.\n\n- **Journeys are state machines, not linear sequences.** The activity graph\n  supports conditional splits, multivariate splits, random splits, wait\n  activities (time or event), and send activities. MUST be a DAG (no cycles).\n  Every path must reach END. An open activity leaves endpoints stuck.\n\n## Quick reference — channel prerequisite matrix\n\n| Channel | Prerequisite | Verification | Notes |\n|---|---|---|---|\n| Email | SES verified identity | `sesv2 get-email-identity` | Must be `SUCCESS` in same region |\n| SMS | Origination number | `pinpoint-phone-number describe-phone-numbers` | Monthly spend limit |\n| Push (iOS) | APNs token key | `pinpoint update-apns-channel` | `.p8`, key ID, team ID |\n| Push (Android) | FCM API key | `pinpoint update-gcm-channel` | Legacy key or service account |\n| Voice | Origination number | `pinpoint-phone-number describe-phone-numbers` | Same pool as SMS |\n\n## Pre-flight: campaign deployment gate\n\n**Live-account pre-flight checks (skip if offline architecture plan):**\n1. Verify IAM permissions for `pinpoint:CreateApp`, `CreateCampaign`,\n   `CreateJourney`, `CreateSegment`, channel update operations.\n2. Verify project: `aws pinpoint get-app --application-id \u003Cid>`\n3. Email: `aws sesv2 get-email-identity --email-identity \u003Cdomain>`\n4. SMS: `aws pinpoint-phone-number describe-phone-numbers`\n5. Segment: `aws pinpoint get-segment-estimate --application-id \u003Cid> --segment-id \u003Cseg>`\n\n**If the deployment spec is incomplete**, output:\n\n```text\nCAMPAIGN: \u003Cname-or-unknown>\nVERDICT: PREREQUISITES_MISSING\nREASON: Deployment specification is missing required fields (\u003Clist>).\nREQUIRED:\n  - project_id (existing Pinpoint project application-id)\n  - channel (email | sms | push | voice)\n  - segment_id (segment that resolves to >0 endpoints)\n  - message (template or inline message body)\n  - schedule (immediate or future start time)\n```\n\n## Process — Architecture planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious behaviors\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#step-0-expert-knowledge--non-obvious-behaviors).\n> Non-obvious behaviors: silent channel enablement, dynamic vs imported segments, S3 import role, quiet time, frequency caps, journey graph rules, in-app messaging, ML recommendations, event streams.\n\n### Step 1: Project creation\n\n```bash\naws pinpoint create-app \\\n  --create-application-request '{\"Name\":\"prod-engagement\",\"QuietTime\":{\"StartTime\":\"22:00\",\"EndTime\":\"08:00\",\"TimeZone\":\"America\u002FNew_York\"}}'\n```\n\n### Step 2: Channel configuration\n\n**Email:**\n```bash\naws pinpoint update-email-channel \\\n  --application-id \u003Cid> \\\n  --email-channel-request '{\"FromAddress\":\"noreply@example.com\",\"Identity\":\"arn:aws:ses:us-east-1:111111111111:identity\u002Fexample.com\"}'\n```\n\n**SMS:**\n```bash\naws pinpoint update-sms-channel \\\n  --application-id \u003Cid> \\\n  --sms-channel-request '{\"ShortCode\":\"12345\",\"SenderId\":\"MYBRAND\"}'\n```\n\n**APNs (iOS):**\n```bash\naws pinpoint update-apns-channel \\\n  --application-id \u003Cid> \\\n  --apns-channel-request '{\"BundleId\":\"com.example.app\",\"TeamId\":\"ABCDE12345\",\"TokenKey\":\"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\",\"TokenKeyId\":\"ABC1234567\"}'\n```\n\n**FCM (Android):**\n```bash\naws pinpoint update-gcm-channel \\\n  --application-id \u003Cid> \\\n  --gcm-channel-request '{\"ApiKey\":\"AAAA...\"}'\n```\n\n### Step 3: Segment creation\n\n**Demographic:**\n```bash\naws pinpoint create-segment \\\n  --application-id \u003Cid> \\\n  --write-segment-request '{\"Name\":\"premium-ios\",\"SegmentGroups\":{\"Groups\":[{\"Dimensions\":[{\"DeviceType\":{\"DimensionType\":\"IN\",\"Values\":[\"ios\"]}},{\"Attributes\":{\"tier\":{\"DimensionType\":\"IN\",\"Values\":[\"premium\"]}}}],\"SourceType\":\"ANY\"}]}}'\n```\n\n**Imported (S3):**\n```bash\naws pinpoint create-import-job \\\n  --application-id \u003Cid> \\\n  --import-job-request '{\"DefineSegment\":true,\"SegmentName\":\"imported\",\"Format\":\"CSV\",\"RoleArn\":\"arn:aws:iam::111111111111:role\u002FPinpointImport\",\"S3Url\":\"s3:\u002F\u002Fbucket\u002Flist.csv\"}'\n```\n\n**Verify resolution:** `aws pinpoint get-segment-estimate --application-id \u003Cid> --segment-id \u003Cseg>`\n\n### Step 4: Message templates\n\n**Email:**\n```bash\naws pinpoint create-email-template \\\n  --email-template-request '{\"TemplateName\":\"welcome\",\"Subject\":\"Welcome {{UserAttributes.FirstName}}\",\"HtmlPart\":\"\u003Ch1>Hi {{UserAttributes.FirstName}}\u003C\u002Fh1>\",\"TextPart\":\"Hi, welcome!\"}'\n```\n\n**SMS:**\n```bash\naws pinpoint create-sms-template \\\n  --sms-template-request '{\"TemplateName\":\"otp\",\"Body\":\"Your code: {{Attributes.code}}\"}'\n```\n\nLiquid personalization: `{{UserAttributes.X}}`, `{{Attributes.X}}`, `{{Location.X}}`.\n\n### Step 5: Campaign creation\n\n```bash\naws pinpoint create-campaign \\\n  --application-id \u003Cid> \\\n  --write-campaign-request '{\"Name\":\"weekly-promo\",\"SegmentId\":\"seg-abc\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"promo-email\"}},\"Schedule\":{\"StartTime\":\"2026-08-15T10:00:00\",\"Frequency\":\"WEEKLY\",\"QuietTime\":{\"StartTime\":\"22:00\",\"EndTime\":\"08:00\",\"TimeZone\":\"America\u002FNew_York\"}},\"IsEnabled\":true}'\n```\n\n**A\u002FB test:**\n```json\n{\n  \"Name\": \"ab-subject\",\n  \"SegmentId\": \"seg-abc\",\n  \"HoldoutPercent\": 10,\n  \"AdditionalTreatments\": [\n    {\"Id\":\"b\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"subject-b\"}},\"SizePercent\":45},\n    {\"Id\":\"c\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"subject-c\"}},\"SizePercent\":45}\n  ],\n  \"MessageConfiguration\": {\"EmailTemplate\": {\"Name\": \"subject-a\"}},\n  \"Schedule\": {\"StartTime\": \"IMMEDIATE\"}\n}\n```\n\n`HoldoutPercent` = control (receives nothing). Treatments split the rest.\n\n### Step 6: Journey creation\n\n```bash\naws pinpoint create-journey \\\n  --application-id \u003Cid> \\\n  --write-journey-request '{\n    \"Name\":\"onboarding\",\n    \"Activities\":{\n      \"entry\":{\"Type\":\"ENTRY\",\"NextActivity\":\"send-welcome\"},\n      \"send-welcome\":{\"Type\":\"SEND\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"welcome\"}},\"NextActivity\":\"wait-1d\"},\n      \"wait-1d\":{\"Type\":\"WAIT\",\"WaitTime\":{\"WaitTime\":\"PT24H\"},\"NextActivity\":\"check\"},\n      \"check\":{\"Type\":\"CONDITIONAL_SPLIT\",\"Condition\":{\"Conditions\":[{\"EventCondition\":{\"Dimensions\":[{\"EventType\":\"app_open\"}]}}]},\"TrueActivity\":\"end\",\"FalseActivity\":\"nudge\"},\n      \"nudge\":{\"Type\":\"SEND\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"nudge\"}},\"NextActivity\":\"end\"},\n      \"end\":{\"Type\":\"END\"}\n    },\n    \"StartActivity\":\"entry\",\n    \"State\":\"DRAFT\"\n  }'\n```\n\n**Journey activity types:**\n| Type | Purpose | Required |\n|---|---|---|\n| `ENTRY` | Entry point | `NextActivity` |\n| `SEND` | Send message | `MessageConfiguration`, `NextActivity` |\n| `WAIT` | Wait (time\u002Fevent) | `WaitTime` or `WaitUntil`, `NextActivity` |\n| `CONDITIONAL_SPLIT` | Yes-no branch | `Condition`, `TrueActivity`, `FalseActivity` |\n| `MULTIVARIATE_SPLIT` | A\u002FB\u002FC branch | `Branches` (sum to 100) |\n| `RANDOM_SPLIT` | Random branch | `Branches` (sum to 100) |\n| `END` | End | (none) |\n\n**Validate:** no cycles (DAG), every non-END has `NextActivity`, at least one END.\n\n### Step 7: Event stream\n\n```bash\naws pinpoint put-event-stream \\\n  --application-id \u003Cid> \\\n  --write-event-stream '{\"DestinationStreamArn\":\"arn:aws:kinesis:us-east-1:111111111111:stream\u002Fpinpoint-events\",\"RoleArn\":\"arn:aws:iam::111111111111:role\u002FPinpointStream\"}'\n```\n\nRole MUST trust `pinpoint.amazonaws.com` and grant `kinesis:PutRecord`.\n\n### Step 8: In-app messaging\n\n```json\n{\n  \"MessageConfiguration\": {\n    \"InAppMessage\": {\n      \"Content\": [{\"Header\":\"Welcome!\",\"Body\":\"Complete your profile.\",\"Buttons\":[{\"Text\":\"Start\",\"Action\":{\"Type\":\"LINK\",\"Link\":\"https:\u002F\u002Fapp.example.com\u002Fonboarding\"}}]}],\n      \"Layout\": \"BOTTOM_BANNER\"\n    }\n  }\n}\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble:\n\n```text\nCAMPAIGN: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cname> (campaign-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> campaign \u003Cname> in project \u003Cid> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nCHANNEL: \u003Cemail | sms | push | voice | multi>\nSEGMENT: \u003Csegment-id> (\u003Ctype>, \u003Ccount> endpoints)\nTEMPLATE: \u003Ctemplate-name> (\u003Cchannel>)\nSCHEDULE: \u003Cimmediate | scheduled>\nQUIET_TIME: \u003Cstart-end TZ | none>\nFREQUENCY_CAP: \u003CN\u002Fday | none>\nAB_TEST: \u003Choldout% + treatments | none>\nJOURNEY: \u003Cgraph summary | none>\nNOTES: \u003Cstrategy, cost, deliverability caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" — the VERDICT block is the FIRST line.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- NEVER omit PRE_CHECKS — every pre-check must appear with `[PASS]` or\n  `[FAIL]` and a specific reason.\n- NEVER emit placeholder values in a READY_TO_DEPLOY plan.\n- NEVER omit the CONFIRM gate as the first STEPS entry.\n- NEVER claim success without verifying campaign is ENABLED via\n  `get-campaign`.\n- NEVER change CLI step order — channel first, segment second, template\n  third, campaign last.\n- NEVER silently allow frequency cap of 0 — block with [FAIL].\n\n### Perfect example output\n\n```text\nCAMPAIGN: weekly-newsletter\nVERDICT: READY_TO_DEPLOY\nTARGET: weekly-newsletter\nPRE_CHECKS:\n  - [PASS] Project app-abc123 exists\n  - [PASS] Email channel enabled, SES identity example.com verified\n  - [PASS] Segment seg-all resolves to 128450 endpoints\n  - [PASS] Template newsletter parses, Liquid valid\n  - [PASS] Schedule 2026-08-15T10:00:00 WEEKLY (future)\n  - [PASS] Quiet time 22:00-08:00 America\u002FNew_York\n  - [PASS] Frequency cap 5\u002Fday\n  - [PASS] IAM principal holds pinpoint:CreateCampaign\nSTEPS:\n  1. CONFIRM: About to create-campaign weekly-newsletter in project app-abc123 region us-east-1. SEND weekly email to 128450 endpoints starting 2026-08-15. Estimated cost: $12.85 (128450 x $0.0001). Proceed? (yes\u002Fno)\n  2. aws pinpoint get-app --application-id app-abc123\n  3. aws sesv2 get-email-identity --email-identity example.com\n  4. aws pinpoint get-segment-estimate --application-id app-abc123 --segment-id seg-all\n  5. aws pinpoint create-email-template --email-template-request '{\"TemplateName\":\"newsletter\",\"Subject\":\"Your weekly digest\",\"HtmlPart\":\"...\",\"TextPart\":\"...\"}'\n  6. aws pinpoint create-campaign --application-id app-abc123 --write-campaign-request '{\"Name\":\"weekly-newsletter\",\"SegmentId\":\"seg-all\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"newsletter\"}},\"Schedule\":{\"StartTime\":\"2026-08-15T10:00:00\",\"Frequency\":\"WEEKLY\",\"QuietTime\":{\"StartTime\":\"22:00\",\"EndTime\":\"08:00\",\"TimeZone\":\"America\u002FNew_York\"}},\"IsEnabled\":true}'\nPOST_VERIFY:\n  - (pending execution)\n  - get-campaign returns State=SCHEDULED or COMPLETED\nCHANNEL: email\nSEGMENT: seg-all (demographic, 128450 endpoints)\nTEMPLATE: newsletter (email)\nSCHEDULE: 2026-08-15T10:00:00 WEEKLY\nQUIET_TIME: 22:00-08:00 America\u002FNew_York\nFREQUENCY_CAP: 5\u002Fday\nNOTES:\n  - SES identity must remain verified.\n  - Frequency cap 5\u002Fday is project-wide — concurrent campaigns may reduce reach.\n```\n\n## NEVER (top 5)\n\n1. **NEVER create a campaign before verifying the channel is enabled.**\n   Pinpoint silently accepts the campaign and produces zero sends — no error.\n   The email channel requires a verified SES identity; SMS requires a\n   provisioned origination number; push requires valid APNs\u002FFCM credentials.\n   Always pre-check via `get-email-channel`, `get-sms-channel`, etc.\n\n2. **NEVER target a segment without verifying it resolves to >0 endpoints.**\n   Overly-restrictive dimensions or stale attributes can resolve to zero —\n   the campaign sends nothing. Always verify via `get-segment-estimate`.\n\n3. **NEVER deploy a journey without validating the activity graph.** A cycle\n   (infinite loop), open activity (no `NextActivity` on non-END), or no END\n   activity leaves endpoints stuck or looping. Validate: DAG, all paths reach\n   END, all referenced activities exist.\n\n4. **NEVER set a frequency cap of 0.** A cap of 0 blocks ALL sends across the\n   project. Pinpoint accepts it. Always set >= 1 or omit entirely.\n\n5. **NEVER use quiet time without a timezone.** Without `TimeZone`, quiet time\n   is ambiguous — Pinpoint may default to UTC, wrong for most audiences.\n\n## Expert heuristic: choosing journey vs campaign and channel per use case\n\n```\nEngagement pattern\n   ├─ One-time broadcast (announcement, newsletter)?\n   │    └─ Campaign (scheduled or immediate)\n   │         Channel: email (low cost) or SMS (high open rate)\n   │\n   ├─ Multi-step lifecycle (onboarding, win-back, drip)?\n   │    └─ Journey (activity graph)\n   │         Entry: event or segment-based\n   │         Activities: SEND -> WAIT -> CONDITIONAL_SPLIT -> SEND -> END\n   │         Channel: multi (email + push + in-app)\n   │\n   ├─ A\u002FB test (subject line, send time, creative)?\n   │    └─ Campaign with AdditionalTreatments\n   │         Holdout: 10-20%, 2-5 variants\n   │\n   └─ Real-time transactional (OTP, receipt)?\n        └─ Campaign triggered by event\n             Channel: SMS (urgent) or email (receipt)\n             No frequency cap\n```\n\n**Channel selection rules:**\n- **Email:** default for marketing, newsletters, receipts. $0.0001\u002Fsend.\n  Rich HTML, trackable. Requires SES warmup for high volume.\n- **SMS:** urgent, high open rate. $0.00645\u002Fmsg (US). Requires origination\n  number and 10DLC\u002Ftoll-free registration. Use for OTP, alerts.\n- **Push:** free, requires app install. Best for re-engagement.\n- **Voice:** highest cost, highest urgency. Critical alerts only.\n- **In-app:** for active users (app open required). Onboarding, prompts.\n\nALWAYS emit the cost estimate. Email is cheap; SMS at scale is expensive\n(128K messages = $826\u002FUS send). Recommend email-first, SMS for urgent.\n\n## AWS documentation\n\n- **Pinpoint Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fwelcome.html\n- **Campaigns** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fcampaigns.html\n- **Journeys** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fjourneys.html\n- **Segments** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fsegments.html\n- **Message templates** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fmessage-templates.html\n- **Email channel** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-email.html\n- **SMS channel** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-sms.html\n- **Push notifications** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-mobile-push.html\n- **In-app messaging** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-in-app.html\n- **Event streams** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fevent-streams.html\n- **API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fapireference\u002Fwelcome.html\n- **CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fpinpoint\u002F\n\n## References (load on demand)\n\n- [advanced-patterns](references\u002Fadvanced-patterns.md) — Step 0 expert knowledge (non-obvious behaviors), edge-case catalog, recent AWS features (2024-2026)\n- [diagnostic-commands](references\u002Fdiagnostic-commands.md) — post-deployment verification commands (campaign, segment, channel, journey, event stream)\n- [channels-and-segments-guide](references\u002Fchannels-and-segments-guide.md) — channel and segment detail\n- [journeys-guide](references\u002Fjourneys-guide.md) — journey activity graph detail\n\n## Domain\n\nAWS CloudOps \u002F Pinpoint Multi-Channel Customer Engagement Provisioning.\n","# Pinpoint Campaign Deployer\n\n## What this skill does\n\nProvisions Amazon Pinpoint projects, channels, segments, campaigns, journeys,\nand message templates with engagement-best-practice defaults — email channel\nrequires SES verified identities, SMS channel requires origination numbers\nwith spend limits, push channel requires valid APNs\u002FFCM credentials, segments\nuse dimension-based targeting (not raw endpoint IDs), campaigns enforce\nquiet-time windows and frequency caps, journeys use the activity graph model\n(wait, conditional split, multivariate, random split), and templates use\nLiquid for personalization. Runs deterministic pre-checks before any\nstate-changing CLI, emits the exact `create-campaign` and `create-journey`\nCLIs behind a CONFIRM gate, and verifies via `get-campaign` and\n`get-journey`. Every plan surfaces the channel-prerequisite ordering rule,\nthe segment-resolution check, the quiet-time enforcement, and the journey\nactivity graph validation.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + channel matrix | Before any operation |\n| **Mindset** | Why channel prerequisites matter; segment vs endpoint targeting; journey graph model | Understanding the deployment model |\n| **Pre-flight** | Campaign gate — SES identity, SMS origination, APNs\u002FFCM, segment resolution | Before executing any CLI |\n| **Process** | Per-operation: project, channels, segments, templates, campaigns, journeys, event stream | When choosing which operation |\n| **STRICT output contract** | Required CAMPAIGN\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent broken or non-compliant patterns | Review before deploy |\n| **Expert heuristic** | Choosing journey vs campaign and channel per use case | Engagement strategy |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (SES identity not verified, SMS origination missing, APNs\u002FFCM invalid, segment resolves to 0 endpoints, template parse failure, schedule in the past, quiet-time with no timezone, frequency cap 0, IAM permission missing, project name collision) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence, wait for operator yes |\n\n**Priority order for pre-checks (apply in sequence, all must pass):**\n\n1. **Project existence** — `get-app` returns the target project or no collision.\n2. **Channel prerequisites** — target channel is enabled and verified:\n   - Email: SES identity (domain or email) is `verified` in the same region.\n   - SMS: origination number provisioned, SMS channel enabled with spend limit.\n   - Push: APNs `.p8` token key + key ID + team ID; FCM API key or service account.\n   - Voice: origination number provisioned, voice channel enabled.\n3. **Segment resolution** — segment resolves to >0 endpoints (verify via\n   `get-segment-estimate`). A 0-endpoint segment sends nothing.\n4. **Message template** — template parses (Liquid valid), channel matches.\n5. **Schedule** — start time is in the future (or `IMMEDIATE`). Timezone set.\n6. **Quiet time** — if set, `StartTime`, `EndTime`, and `TimeZone` all present.\n7. **Frequency cap** — if set, must be >= 1. Cap of 0 blocks all sends.\n8. **A\u002FB test** — if `AdditionalTreatments` set, each has distinct template.\n   Holdout percentage 0-100. Treatment percentages + holdout sum to 100.\n9. **Journey activity graph** — no cycles, every non-END activity has valid\n   `NextActivity`, at least one `END` exists.\n10. **IAM permissions** — operator holds `pinpoint:CreateCampaign`,\n    `CreateJourney`, `CreateSegment`, and channel-specific update permissions.\n\n## Mindset\n\n**One-line takeaway:** a Pinpoint campaign is not \"an email blast\" — it is a\n**channel-prerequisite-ordered deployment** where the channel MUST be\nconfigured and verified BEFORE the campaign or journey, the segment MUST\nresolve to >0 endpoints, and the journey activity graph is a state machine\nwith no cycles.\n\nThree facts make Pinpoint provisioning different from \"send a message\":\n\n- **Channels must be enabled and verified before campaigns.** The email\n  channel requires a verified SES identity. SMS requires a provisioned\n  origination number. Push requires valid APNs\u002FFCM credentials. A campaign\n  created before the channel is enabled sends nothing — silently. No error;\n  the campaign shows `COMPLETED` with 0 sends.\n\n- **Segments use dimension-based targeting, not raw endpoint IDs.** A segment\n  defines criteria (demographic, device, behavior, custom attributes) that\n  dynamically resolve. Dynamic segments update as attributes change. Imported\n  segments (CSV\u002FS3) are static. A segment that resolves to 0 endpoints reaches\n  no one — always verify via `get-segment-estimate`.\n\n- **Journeys are state machines, not linear sequences.** The activity graph\n  supports conditional splits, multivariate splits, random splits, wait\n  activities (time or event), and send activities. MUST be a DAG (no cycles).\n  Every path must reach END. An open activity leaves endpoints stuck.\n\n## Quick reference — channel prerequisite matrix\n\n| Channel | Prerequisite | Verification | Notes |\n|---|---|---|---|\n| Email | SES verified identity | `sesv2 get-email-identity` | Must be `SUCCESS` in same region |\n| SMS | Origination number | `pinpoint-phone-number describe-phone-numbers` | Monthly spend limit |\n| Push (iOS) | APNs token key | `pinpoint update-apns-channel` | `.p8`, key ID, team ID |\n| Push (Android) | FCM API key | `pinpoint update-gcm-channel` | Legacy key or service account |\n| Voice | Origination number | `pinpoint-phone-number describe-phone-numbers` | Same pool as SMS |\n\n## Pre-flight: campaign deployment gate\n\n**Live-account pre-flight checks (skip if offline architecture plan):**\n1. Verify IAM permissions for `pinpoint:CreateApp`, `CreateCampaign`,\n   `CreateJourney`, `CreateSegment`, channel update operations.\n2. Verify project: `aws pinpoint get-app --application-id \u003Cid>`\n3. Email: `aws sesv2 get-email-identity --email-identity \u003Cdomain>`\n4. SMS: `aws pinpoint-phone-number describe-phone-numbers`\n5. Segment: `aws pinpoint get-segment-estimate --application-id \u003Cid> --segment-id \u003Cseg>`\n\n**If the deployment spec is incomplete**, output:\n\n```text\nCAMPAIGN: \u003Cname-or-unknown>\nVERDICT: PREREQUISITES_MISSING\nREASON: Deployment specification is missing required fields (\u003Clist>).\nREQUIRED:\n  - project_id (existing Pinpoint project application-id)\n  - channel (email | sms | push | voice)\n  - segment_id (segment that resolves to >0 endpoints)\n  - message (template or inline message body)\n  - schedule (immediate or future start time)\n```\n\n## Process — Architecture planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious behaviors\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#step-0-expert-knowledge--non-obvious-behaviors).\n> Non-obvious behaviors: silent channel enablement, dynamic vs imported segments, S3 import role, quiet time, frequency caps, journey graph rules, in-app messaging, ML recommendations, event streams.\n\n### Step 1: Project creation\n\n```bash\naws pinpoint create-app \\\n  --create-application-request '{\"Name\":\"prod-engagement\",\"QuietTime\":{\"StartTime\":\"22:00\",\"EndTime\":\"08:00\",\"TimeZone\":\"America\u002FNew_York\"}}'\n```\n\n### Step 2: Channel configuration\n\n**Email:**\n```bash\naws pinpoint update-email-channel \\\n  --application-id \u003Cid> \\\n  --email-channel-request '{\"FromAddress\":\"noreply@example.com\",\"Identity\":\"arn:aws:ses:us-east-1:111111111111:identity\u002Fexample.com\"}'\n```\n\n**SMS:**\n```bash\naws pinpoint update-sms-channel \\\n  --application-id \u003Cid> \\\n  --sms-channel-request '{\"ShortCode\":\"12345\",\"SenderId\":\"MYBRAND\"}'\n```\n\n**APNs (iOS):**\n```bash\naws pinpoint update-apns-channel \\\n  --application-id \u003Cid> \\\n  --apns-channel-request '{\"BundleId\":\"com.example.app\",\"TeamId\":\"ABCDE12345\",\"TokenKey\":\"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\",\"TokenKeyId\":\"ABC1234567\"}'\n```\n\n**FCM (Android):**\n```bash\naws pinpoint update-gcm-channel \\\n  --application-id \u003Cid> \\\n  --gcm-channel-request '{\"ApiKey\":\"AAAA...\"}'\n```\n\n### Step 3: Segment creation\n\n**Demographic:**\n```bash\naws pinpoint create-segment \\\n  --application-id \u003Cid> \\\n  --write-segment-request '{\"Name\":\"premium-ios\",\"SegmentGroups\":{\"Groups\":[{\"Dimensions\":[{\"DeviceType\":{\"DimensionType\":\"IN\",\"Values\":[\"ios\"]}},{\"Attributes\":{\"tier\":{\"DimensionType\":\"IN\",\"Values\":[\"premium\"]}}}],\"SourceType\":\"ANY\"}]}}'\n```\n\n**Imported (S3):**\n```bash\naws pinpoint create-import-job \\\n  --application-id \u003Cid> \\\n  --import-job-request '{\"DefineSegment\":true,\"SegmentName\":\"imported\",\"Format\":\"CSV\",\"RoleArn\":\"arn:aws:iam::111111111111:role\u002FPinpointImport\",\"S3Url\":\"s3:\u002F\u002Fbucket\u002Flist.csv\"}'\n```\n\n**Verify resolution:** `aws pinpoint get-segment-estimate --application-id \u003Cid> --segment-id \u003Cseg>`\n\n### Step 4: Message templates\n\n**Email:**\n```bash\naws pinpoint create-email-template \\\n  --email-template-request '{\"TemplateName\":\"welcome\",\"Subject\":\"Welcome {{UserAttributes.FirstName}}\",\"HtmlPart\":\"\u003Ch1>Hi {{UserAttributes.FirstName}}\u003C\u002Fh1>\",\"TextPart\":\"Hi, welcome!\"}'\n```\n\n**SMS:**\n```bash\naws pinpoint create-sms-template \\\n  --sms-template-request '{\"TemplateName\":\"otp\",\"Body\":\"Your code: {{Attributes.code}}\"}'\n```\n\nLiquid personalization: `{{UserAttributes.X}}`, `{{Attributes.X}}`, `{{Location.X}}`.\n\n### Step 5: Campaign creation\n\n```bash\naws pinpoint create-campaign \\\n  --application-id \u003Cid> \\\n  --write-campaign-request '{\"Name\":\"weekly-promo\",\"SegmentId\":\"seg-abc\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"promo-email\"}},\"Schedule\":{\"StartTime\":\"2026-08-15T10:00:00\",\"Frequency\":\"WEEKLY\",\"QuietTime\":{\"StartTime\":\"22:00\",\"EndTime\":\"08:00\",\"TimeZone\":\"America\u002FNew_York\"}},\"IsEnabled\":true}'\n```\n\n**A\u002FB test:**\n```json\n{\n  \"Name\": \"ab-subject\",\n  \"SegmentId\": \"seg-abc\",\n  \"HoldoutPercent\": 10,\n  \"AdditionalTreatments\": [\n    {\"Id\":\"b\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"subject-b\"}},\"SizePercent\":45},\n    {\"Id\":\"c\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"subject-c\"}},\"SizePercent\":45}\n  ],\n  \"MessageConfiguration\": {\"EmailTemplate\": {\"Name\": \"subject-a\"}},\n  \"Schedule\": {\"StartTime\": \"IMMEDIATE\"}\n}\n```\n\n`HoldoutPercent` = control (receives nothing). Treatments split the rest.\n\n### Step 6: Journey creation\n\n```bash\naws pinpoint create-journey \\\n  --application-id \u003Cid> \\\n  --write-journey-request '{\n    \"Name\":\"onboarding\",\n    \"Activities\":{\n      \"entry\":{\"Type\":\"ENTRY\",\"NextActivity\":\"send-welcome\"},\n      \"send-welcome\":{\"Type\":\"SEND\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"welcome\"}},\"NextActivity\":\"wait-1d\"},\n      \"wait-1d\":{\"Type\":\"WAIT\",\"WaitTime\":{\"WaitTime\":\"PT24H\"},\"NextActivity\":\"check\"},\n      \"check\":{\"Type\":\"CONDITIONAL_SPLIT\",\"Condition\":{\"Conditions\":[{\"EventCondition\":{\"Dimensions\":[{\"EventType\":\"app_open\"}]}}]},\"TrueActivity\":\"end\",\"FalseActivity\":\"nudge\"},\n      \"nudge\":{\"Type\":\"SEND\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"nudge\"}},\"NextActivity\":\"end\"},\n      \"end\":{\"Type\":\"END\"}\n    },\n    \"StartActivity\":\"entry\",\n    \"State\":\"DRAFT\"\n  }'\n```\n\n**Journey activity types:**\n| Type | Purpose | Required |\n|---|---|---|\n| `ENTRY` | Entry point | `NextActivity` |\n| `SEND` | Send message | `MessageConfiguration`, `NextActivity` |\n| `WAIT` | Wait (time\u002Fevent) | `WaitTime` or `WaitUntil`, `NextActivity` |\n| `CONDITIONAL_SPLIT` | Yes-no branch | `Condition`, `TrueActivity`, `FalseActivity` |\n| `MULTIVARIATE_SPLIT` | A\u002FB\u002FC branch | `Branches` (sum to 100) |\n| `RANDOM_SPLIT` | Random branch | `Branches` (sum to 100) |\n| `END` | End | (none) |\n\n**Validate:** no cycles (DAG), every non-END has `NextActivity`, at least one END.\n\n### Step 7: Event stream\n\n```bash\naws pinpoint put-event-stream \\\n  --application-id \u003Cid> \\\n  --write-event-stream '{\"DestinationStreamArn\":\"arn:aws:kinesis:us-east-1:111111111111:stream\u002Fpinpoint-events\",\"RoleArn\":\"arn:aws:iam::111111111111:role\u002FPinpointStream\"}'\n```\n\nRole MUST trust `pinpoint.amazonaws.com` and grant `kinesis:PutRecord`.\n\n### Step 8: In-app messaging\n\n```json\n{\n  \"MessageConfiguration\": {\n    \"InAppMessage\": {\n      \"Content\": [{\"Header\":\"Welcome!\",\"Body\":\"Complete your profile.\",\"Buttons\":[{\"Text\":\"Start\",\"Action\":{\"Type\":\"LINK\",\"Link\":\"https:\u002F\u002Fapp.example.com\u002Fonboarding\"}}]}],\n      \"Layout\": \"BOTTOM_BANNER\"\n    }\n  }\n}\n```\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble:\n\n```text\nCAMPAIGN: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cname> (campaign-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> campaign \u003Cname> in project \u003Cid> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nCHANNEL: \u003Cemail | sms | push | voice | multi>\nSEGMENT: \u003Csegment-id> (\u003Ctype>, \u003Ccount> endpoints)\nTEMPLATE: \u003Ctemplate-name> (\u003Cchannel>)\nSCHEDULE: \u003Cimmediate | scheduled>\nQUIET_TIME: \u003Cstart-end TZ | none>\nFREQUENCY_CAP: \u003CN\u002Fday | none>\nAB_TEST: \u003Choldout% + treatments | none>\nJOURNEY: \u003Cgraph summary | none>\nNOTES: \u003Cstrategy, cost, deliverability caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" — the VERDICT block is the FIRST line.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- NEVER omit PRE_CHECKS — every pre-check must appear with `[PASS]` or\n  `[FAIL]` and a specific reason.\n- NEVER emit placeholder values in a READY_TO_DEPLOY plan.\n- NEVER omit the CONFIRM gate as the first STEPS entry.\n- NEVER claim success without verifying campaign is ENABLED via\n  `get-campaign`.\n- NEVER change CLI step order — channel first, segment second, template\n  third, campaign last.\n- NEVER silently allow frequency cap of 0 — block with [FAIL].\n\n### Perfect example output\n\n```text\nCAMPAIGN: weekly-newsletter\nVERDICT: READY_TO_DEPLOY\nTARGET: weekly-newsletter\nPRE_CHECKS:\n  - [PASS] Project app-abc123 exists\n  - [PASS] Email channel enabled, SES identity example.com verified\n  - [PASS] Segment seg-all resolves to 128450 endpoints\n  - [PASS] Template newsletter parses, Liquid valid\n  - [PASS] Schedule 2026-08-15T10:00:00 WEEKLY (future)\n  - [PASS] Quiet time 22:00-08:00 America\u002FNew_York\n  - [PASS] Frequency cap 5\u002Fday\n  - [PASS] IAM principal holds pinpoint:CreateCampaign\nSTEPS:\n  1. CONFIRM: About to create-campaign weekly-newsletter in project app-abc123 region us-east-1. SEND weekly email to 128450 endpoints starting 2026-08-15. Estimated cost: $12.85 (128450 x $0.0001). Proceed? (yes\u002Fno)\n  2. aws pinpoint get-app --application-id app-abc123\n  3. aws sesv2 get-email-identity --email-identity example.com\n  4. aws pinpoint get-segment-estimate --application-id app-abc123 --segment-id seg-all\n  5. aws pinpoint create-email-template --email-template-request '{\"TemplateName\":\"newsletter\",\"Subject\":\"Your weekly digest\",\"HtmlPart\":\"...\",\"TextPart\":\"...\"}'\n  6. aws pinpoint create-campaign --application-id app-abc123 --write-campaign-request '{\"Name\":\"weekly-newsletter\",\"SegmentId\":\"seg-all\",\"MessageConfiguration\":{\"EmailTemplate\":{\"Name\":\"newsletter\"}},\"Schedule\":{\"StartTime\":\"2026-08-15T10:00:00\",\"Frequency\":\"WEEKLY\",\"QuietTime\":{\"StartTime\":\"22:00\",\"EndTime\":\"08:00\",\"TimeZone\":\"America\u002FNew_York\"}},\"IsEnabled\":true}'\nPOST_VERIFY:\n  - (pending execution)\n  - get-campaign returns State=SCHEDULED or COMPLETED\nCHANNEL: email\nSEGMENT: seg-all (demographic, 128450 endpoints)\nTEMPLATE: newsletter (email)\nSCHEDULE: 2026-08-15T10:00:00 WEEKLY\nQUIET_TIME: 22:00-08:00 America\u002FNew_York\nFREQUENCY_CAP: 5\u002Fday\nNOTES:\n  - SES identity must remain verified.\n  - Frequency cap 5\u002Fday is project-wide — concurrent campaigns may reduce reach.\n```\n\n## NEVER (top 5)\n\n1. **NEVER create a campaign before verifying the channel is enabled.**\n   Pinpoint silently accepts the campaign and produces zero sends — no error.\n   The email channel requires a verified SES identity; SMS requires a\n   provisioned origination number; push requires valid APNs\u002FFCM credentials.\n   Always pre-check via `get-email-channel`, `get-sms-channel`, etc.\n\n2. **NEVER target a segment without verifying it resolves to >0 endpoints.**\n   Overly-restrictive dimensions or stale attributes can resolve to zero —\n   the campaign sends nothing. Always verify via `get-segment-estimate`.\n\n3. **NEVER deploy a journey without validating the activity graph.** A cycle\n   (infinite loop), open activity (no `NextActivity` on non-END), or no END\n   activity leaves endpoints stuck or looping. Validate: DAG, all paths reach\n   END, all referenced activities exist.\n\n4. **NEVER set a frequency cap of 0.** A cap of 0 blocks ALL sends across the\n   project. Pinpoint accepts it. Always set >= 1 or omit entirely.\n\n5. **NEVER use quiet time without a timezone.** Without `TimeZone`, quiet time\n   is ambiguous — Pinpoint may default to UTC, wrong for most audiences.\n\n## Expert heuristic: choosing journey vs campaign and channel per use case\n\n```\nEngagement pattern\n   ├─ One-time broadcast (announcement, newsletter)?\n   │    └─ Campaign (scheduled or immediate)\n   │         Channel: email (low cost) or SMS (high open rate)\n   │\n   ├─ Multi-step lifecycle (onboarding, win-back, drip)?\n   │    └─ Journey (activity graph)\n   │         Entry: event or segment-based\n   │         Activities: SEND -> WAIT -> CONDITIONAL_SPLIT -> SEND -> END\n   │         Channel: multi (email + push + in-app)\n   │\n   ├─ A\u002FB test (subject line, send time, creative)?\n   │    └─ Campaign with AdditionalTreatments\n   │         Holdout: 10-20%, 2-5 variants\n   │\n   └─ Real-time transactional (OTP, receipt)?\n        └─ Campaign triggered by event\n             Channel: SMS (urgent) or email (receipt)\n             No frequency cap\n```\n\n**Channel selection rules:**\n- **Email:** default for marketing, newsletters, receipts. $0.0001\u002Fsend.\n  Rich HTML, trackable. Requires SES warmup for high volume.\n- **SMS:** urgent, high open rate. $0.00645\u002Fmsg (US). Requires origination\n  number and 10DLC\u002Ftoll-free registration. Use for OTP, alerts.\n- **Push:** free, requires app install. Best for re-engagement.\n- **Voice:** highest cost, highest urgency. Critical alerts only.\n- **In-app:** for active users (app open required). Onboarding, prompts.\n\nALWAYS emit the cost estimate. Email is cheap; SMS at scale is expensive\n(128K messages = $826\u002FUS send). Recommend email-first, SMS for urgent.\n\n## AWS documentation\n\n- **Pinpoint Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fwelcome.html\n- **Campaigns** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fcampaigns.html\n- **Journeys** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fjourneys.html\n- **Segments** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fsegments.html\n- **Message templates** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fmessage-templates.html\n- **Email channel** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-email.html\n- **SMS channel** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-sms.html\n- **Push notifications** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-mobile-push.html\n- **In-app messaging** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fchannels-in-app.html\n- **Event streams** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fdeveloperguide\u002Fevent-streams.html\n- **API Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fpinpoint\u002Flatest\u002Fapireference\u002Fwelcome.html\n- **CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fpinpoint\u002F\n\n## References (load on demand)\n\n- [advanced-patterns](references\u002Fadvanced-patterns.md) — Step 0 expert knowledge (non-obvious behaviors), edge-case catalog, recent AWS features (2024-2026)\n- [diagnostic-commands](references\u002Fdiagnostic-commands.md) — post-deployment verification commands (campaign, segment, channel, journey, event stream)\n- [channels-and-segments-guide](references\u002Fchannels-and-segments-guide.md) — channel and segment detail\n- [journeys-guide](references\u002Fjourneys-guide.md) — journey activity graph detail\n\n## Domain\n\nAWS CloudOps \u002F Pinpoint Multi-Channel Customer Engagement Provisioning.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"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,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":38,"activation_triggers":42},"pinpoint, appintegration, deploy, campaign, journey, segment, multi-channel, messaging, personalization","1","Jacky Chan — AWS Community Builder","aws-cloudops","AppIntegration","0.1.0","Pinpoint, campaign, journey, segment, email channel, SMS channel, push channel, voice channel, message template, A\u002FB test, holdout, quiet time, multivariate, in-app messaging, event stream, Kinesis, ML recommendations, demographic segment, dynamic segment, imported segment","deploy","high","false","capability","Provisioning a new Pinpoint project, configuring channels (email, SMS, push, voice), creating segments (demographic, dynamic, imported), building campaigns with schedules and quiet time, setting up A\u002FB tests, creating multi-step journeys (wait, yes-no, multivariate), deploying message templates, wiring Kinesis event streams, or enabling ML-powered segment recommendations and in-app messaging.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Input: either (a) a campaign or journey deployment intent (create, update) with target project id, channel, segment, templates, schedule, journey activity graph, and event stream target; OR (b) a project id for live-account update or validation. Output: deterministic CAMPAIGN\u002F VERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.","create Pinpoint project, provision Pinpoint campaign, Pinpoint journey, Pinpoint segment, Pinpoint email channel, Pinpoint SMS channel, Pinpoint push notification, Pinpoint message template, A\u002FB test campaign, Pinpoint in-app messaging, Pinpoint event stream Kinesis, ML segment recommendations, multivariate journey, pinpoint create-campaign","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws pinpoint create-app, update-email-channel, update-sms-channel, update-apns-channel, update-gcm-channel, create-segment, create-campaign, create-journey, create-message-template, put-event-stream (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fpinpoint-campaign-deployer",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":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill pinpoint-campaign-deployer",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill pinpoint-campaign-deployer",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill pinpoint-campaign-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6254,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Femail-campaign-full-security.md",1331,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fbaselines\u002Femail-campaign-full-security.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fjourney-multistep-deploy.md",1084,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fbaselines\u002Fjourney-multistep-deploy.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fmissing-required-fields.md",1013,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fbaselines\u002Fmissing-required-fields.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fsegment-zero-endpoints.md",1167,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fbaselines\u002Fsegment-zero-endpoints.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fses-identity-not-verified.md",1072,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fbaselines\u002Fses-identity-not-verified.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1761,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4377,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Femail-campaign-full-security.md",1311,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fprompts\u002Femail-campaign-full-security.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fjourney-multistep-deploy.md",1113,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fprompts\u002Fjourney-multistep-deploy.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fmissing-required-fields.md",663,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fprompts\u002Fmissing-required-fields.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fsegment-zero-endpoints.md",1068,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fprompts\u002Fsegment-zero-endpoints.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fses-identity-not-verified.md",985,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fevals\u002Fprompts\u002Fses-identity-not-verified.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"examples\u002Fend-to-end.md",7206,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fexamples\u002Fend-to-end.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",3690,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fchannels-and-segments-guide.md",7926,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Freferences\u002Fchannels-and-segments-guide.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",802,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fjourneys-guide.md",9980,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Freferences\u002Fjourneys-guide.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"skill.usf.yaml",4530,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinpoint-campaign-deployer\u002Fskill.usf.yaml",[145,152,159,166,173,180],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"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":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"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":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"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":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"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":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"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":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"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",[],[]]