[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AB8ZWHB6G18H1XC1XK3771":3,"skill-same:01M7AB8ZWHB6G18H1XC1XK3771":141},{"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":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7AB8ZWHB6G18H1XC1XK3771","redshift-serverless-deployer",null,"Deploys Amazon Redshift Serverless with production-grade configuration: namespace creation (DB name, admin credentials, KMS encryption, IAM roles, VPC security groups), workgroup creation (base capacity RPU, subnet group, public access, enhanced VPC routing), usage limits (daily\u002Fmonthly RPU caps, cost controls), Data API for query execution without persistent connections, query editor v2, scheduled and cross-Region snapshots for DR, and latest features (cross-Region snapshot copy, cost controls with usage thresholds, Secrets Manager integration, zero-ETL). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when creating a Redshift Serverless namespace or workgroup, validating a configuration, or generating deployment CLI and IaC templates. Triggers: Redshift Serverless, serverless data warehouse, RPU capacity, namespace, workgroup, Data API, cross-Region snapshots, usage limits, cost controls, query editor v2.","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\u002Fredshift-serverless-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: redshift-serverless-deployer\ndescription: 'Deploys Amazon Redshift Serverless with production-grade configuration: namespace creation (DB name, admin credentials, KMS encryption, IAM roles, VPC security groups), workgroup creation (base capacity RPU, subnet group, public access, enhanced VPC routing), usage limits (daily\u002Fmonthly RPU caps, cost controls), Data API for query execution without persistent connections, query editor v2, scheduled and cross-Region snapshots for DR, and latest features (cross-Region snapshot copy, cost controls with usage thresholds, Secrets Manager integration, zero-ETL). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when creating a Redshift Serverless namespace or workgroup, validating a configuration, or generating deployment CLI and IaC templates. Triggers: Redshift Serverless, serverless data warehouse, RPU capacity, namespace, workgroup, Data API, cross-Region snapshots, usage limits, cost controls, query editor v2.'\nlicense: Apache-2.0\ncompatibility: 'Requires an LLM agent runtime (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with redshift-serverless, ec2, kms, iam, secretsmanager, and logs access. Works with Terraform aws_redshiftserverless_* resources, CloudFormation AWS::RedshiftServerless::* resources, and the AWS Console Redshift Serverless wizard.'\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: Analytics\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: aws, redshift, redshift-serverless, cloudops, deploy, analytics, namespace, workgroup\n  dependencies: aws-orchestrator\n  keywords: aws, redshift, redshift-serverless, cloudops, deploy, provisioning, analytics, data-warehouse, namespace, workgroup, rpu, data-api, cross-region-snapshots, usage-limits, cost-controls, kms-encryption\n  when_to_use: Invoke when the user wants to create a new Redshift Serverless namespace or workgroup, deploy a serverless data warehouse, validate an existing Redshift Serverless configuration against best practices, generate deployment CLI commands or IaC templates, or troubleshoot a Redshift Serverless deployment failure caused by missing prerequisites (KMS key, security groups, subnet group, IAM roles). Do NOT invoke for provisioned Redshift clusters (use redshift-cluster-deployer), Athena (use athena-query-optimizer), or Aurora (use rds-instance-deployer).\n---\n\n# Redshift Serverless Deployer\n\nAn AWS CloudOps agent skill that deploys Amazon Redshift Serverless\nnamespaces and workgroups with correct production defaults. Emits a\nREADY_TO_DEPLOY checklist verifying every configuration item.\n\n## Quick navigation\n\n| Need | Section |\n|---|---|\n| What MUST be in the response | \"STRICT output contract\" |\n| Why the namespace-before-workgroup order matters | \"Reasoning framework\" |\n| What to verify before deploying | \"Prerequisites\" |\n| The ordered deployment steps | \"Deployment procedure\" |\n| Common silent-failure pitfalls | \"NEVER\" |\n| Workload-type decision matrix | \"Workload matrix\" |\n| 2024-2026 feature changes | \"Recent AWS features\" |\n| Deep CLI sequences | `references\u002Fcli-commands-and-iac.md` |\n| Security, networking, cost controls, full NEVER | `references\u002Fconfiguration-and-cost-guide.md` |\n\n## STRICT output contract\n\nWhen this skill is invoked with a Redshift Serverless deployment\nrequest, the agent MUST respond with the READY_TO_DEPLOY checklist\ndefined in \"Output format\" using the literal all-caps labels\n`WORKGROUP:`, `VERDICT:`, `CHECKLIST:`, and `VERIFICATION_COMMANDS:`.\nDo NOT preface the checklist with prose, headings, or disclaimers —\nemit the block as the first lines.\n\n### Required output structure\n\n1. `WORKGROUP: \u003Cworkgroup-name>` — the Redshift Serverless workgroup\n   being deployed.\n2. `VERDICT: READY_TO_DEPLOY` OR `VERDICT: PREREQUISITES_MISSING`.\n3. `CHECKLIST:` followed by indented lines with status markers\n   (`[✓]`, `[✗]`, `[OPTIONAL]`, `[INPUT NEEDED]`).\n4. `VERIFICATION_COMMANDS:` followed by indented\n   `aws redshift-serverless ...` commands.\n\n### FORBIDDEN output patterns\n\n- **No prose preamble before `WORKGROUP:`** — first non-empty line\n  MUST be `WORKGROUP:`.\n- **No markdown variants of labels** — write `VERDICT:`, not\n  `**VERDICT:**`, `### Verdict`, or `` `VERDICT` ``.\n- **No swapping verdict tokens** — exactly `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- **No omitting `VERIFICATION_COMMANDS:`** — include even when\n  PREREQUISITES_MISSING.\n- **No extra sections after `VERIFICATION_COMMANDS:`** — the\n  checklist block is the entire response.\n- **No status marker drift** — use only `[✓]`, `[✗]`, `[OPTIONAL]`,\n  `[INPUT NEEDED]`.\n\n### Perfect example (copy the shape exactly)\n\n```text\nWORKGROUP: analytics-wg-prod\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓]      Namespace — analytics-ns-prod, database dev, admin user admin\n  [✓]      Admin credentials — stored in Secrets Manager secret arn:aws:secretsmanager:us-east-1:123456789012:secret:redshift\u002Fadmin-XXX\n  [✓]      KMS encryption — customer-managed key arn:aws:kms:us-east-1:123456789012:key\u002Fabc123 (encryption enabled)\n  [✓]      IAM roles — sysid:aws-redshift arn:aws:iam::123456789012:role\u002FRedshiftNSRole\n  [✓]      VPC security groups — sg-redshift-prod (inbound 5439 from sg-analytics-app)\n  [✓]      Workgroup — analytics-wg-prod, base capacity 128 RPU\n  [✓]      Subnet group — redshift-subnet-group (3 subnets across us-east-1a\u002Fb\u002Fc)\n  [✓]      Public access — disabled (private only)\n  [✓]      Enhanced VPC routing — enabled (traffic stays in VPC)\n  [✓]      Usage limits — daily 500 RPU-hours, monthly 12000 RPU-hour budget\n  [✓]      Data API — enabled (query via execute-statement, no persistent connection)\n  [✓]      Query editor v2 — associated (managed IAM policy)\n  [✓]      Snapshots — automated every 8 hours, 7-day retention, cross-Region copy to us-west-2 with KMS key arn:aws:kms:us-west-2:123456789012:key\u002Fdef456\n  [OPTIONAL] Concurrency scaling — enabled (auto-scaling beyond base RPU)\nVERIFICATION_COMMANDS:\n  aws redshift-serverless describe-workgroup --workgroup-name analytics-wg-prod\n  aws redshift-serverless describe-namespace --namespace-name analytics-ns-prod\n  aws redshift-serverless list-usage-limits --usage-type serverless-compute\n  aws redshift-serverless describe-scheduled-actions\n  aws secretsmanager describe-secret --secret-id redshift\u002Fadmin\n  aws kms describe-key --key-id alias\u002Fredshift-prod\n```\n\n## Reasoning framework (why the deployment order matters)\n\n1. **Namespace FIRST** — a namespace is the database container. It\n   owns the database name, admin credentials, KMS key, IAM roles, VPC\n   security groups, and snapshot schedule. Without a namespace you\n   cannot create a workgroup. The create-namespace call is the only\n   place where admin credentials, KMS, and IAM roles are set.\n2. **Admin credentials** — choose between Secrets Manager-managed\n   (recommended) or manual admin password. Secrets Manager auto-rotates\n   and avoids hardcoding secrets. Manual passwords expire after a\n   configured period; rotation is YOUR responsibility.\n3. **KMS encryption** — Redshift Serverless uses an AWS-owned key by\n   default. For production, use a customer-managed key (CMK) so you\n   control rotation policy and cross-account access. The CMK must\n   exist BEFORE create-namespace.\n4. **VPC security groups on the namespace** — the namespace-level\n   security groups control which clients can reach the database on port\n   5439. A common mistake is to attach a security group with no inbound\n   rule, then wonder why the Data API times out.\n5. **Workgroup SECOND** — the workgroup attaches to a namespace and\n   defines the compute (base capacity RPU), subnet group, public access\n   toggle, and enhanced VPC routing. A workgroup without enhanced VPC\n   routing sends COPY\u002FUNLOAD traffic over the public internet.\n6. **Usage limits THIRD** — Redshift Serverless bills by RPU-hour. A\n   runaway query can exhaust a budget in hours. Set daily and monthly\n   limits BEFORE the first workload runs.\n7. **Snapshots LAST** — configure scheduled snapshots and cross-Region\n   copy as the final step so the namespace has data to snapshot.\n\n## Prerequisites (verify before deployment)\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| **KMS key (if CMK encryption)** | CMK must exist and the caller needs `kms:CreateGrant`. NEVER create with AWS-owned and migrate later. | `aws kms describe-key --key-id \u003Calias>` |\n| **VPC subnets (3+ AZs)** | Redshift Serverless requires a subnet group spanning at least 3 AZs for HA. | `aws ec2 describe-subnets --subnet-ids \u003Cids>` |\n| **Security group(s)** | Inbound rule for port 5439 from the analytics application SG. NEVER `0.0.0.0\u002F0`. | `aws ec2 describe-security-groups --group-ids \u003Csg-ids>` |\n| **Subnet group** | Created from the subnets; attached to the workgroup. | `aws redshift-serverless describe-subnet-groups` (errors if none) |\n| **IAM namespace role (optional)** | Trust `redshift.amazonaws.com`. Scoped for S3\u002FGlue\u002FKMS access during COPY\u002FUNLOAD. | `aws iam get-role --role-name \u003Crole>` |\n| **Secrets Manager secret (recommended)** | Stores admin password. Auto-rotation via Lambda. NEVER hardcode admin password in create-namespace. | `aws secretsmanager describe-secret --secret-id \u003Cid>` |\n| **Service quota** | Default 30 RPU-hours per region per account. Request increase BEFORE production. | `aws service-quotas get-service-quota --service-code redshift-serverless --quota-code L-XXXXXXXX` |\n| **Cross-Region KMS key (if cross-Region snapshots)** | Snapshot copy requires a separate CMK in the destination Region. NEVER reuse the source-Region key. | `aws kms describe-key --key-id \u003Cdest-alias> --region \u003Cdest-region>` |\n\n## Deployment procedure (apply in order)\n\n### Step 1: KMS key (encryption)\n\nFor production, use a customer-managed key. The AWS-owned key cannot\nbe audited, rotated, or shared cross-account. Create the CMK BEFORE\nthe namespace.\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 1 — KMS key creation\".\n> Load when: creating the customer-managed KMS key and alias before create-namespace.\n\nRules:\n- **Key policy MUST allow `redshift-serverless.amazonaws.com`** to use\n  `kms:CreateGrant` and `kms:GenerateDataKey*`.\n- **NEVER use the same CMK across Regions** — KMS keys are Region-scoped.\n- **Document the key ID** — there is no way to recover the key ID from\n  a namespace after creation if the alias is deleted.\n\n### Step 2: Subnet group\n\n```bash\naws redshift-serverless create-subnet-group \\\n  --subnet-group-name redshift-subnet-group \\\n  --subnet-ids subnet-aaa subnet-bbb subnet-ccc \\\n  --security-group-ids sg-redshift-prod\n```\n\nRules:\n- **At least 3 subnets** across different AZs for high availability.\n- **Subnets MUST be in private IP ranges** if you disable public access\n  (recommended for production).\n- **Security group inbound** MUST allow port 5439 from the analytics\n  application SG. NEVER `0.0.0.0\u002F0`.\n\n### Step 3: IAM namespace role (for COPY\u002FUNLOAD\u002FS3\u002FGlue)\n\nThe namespace IAM role is assumed by Redshift Serverless for\ndata-plane AWS API calls (COPY from S3, UNLOAD to S3, Glue catalog\nintegration). Without it, COPY from S3 fails with `S3ServiceException`.\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 3 — IAM namespace role\".\n> Load when: creating the namespace IAM role and its inline data-access policy.\n\n### Step 4: Secrets Manager admin credential (recommended)\n\n```bash\naws secretsmanager create-secret \\\n  --name redshift\u002Fadmin \\\n  --secret-string '{\n    \"username\": \"admin\",\n    \"password\": \"\u003Cgenerate-32-char-strong-password>\",\n    \"engine\": \"redshift\",\n    \"host\": \"\u003Cfilled-after-workgroup-creation>\",\n    \"port\": 5439\n  }'\n```\n\n**NEVER hardcode the admin password in the create-namespace CLI.**\nSecrets Manager manages rotation, auditing, and access scoping. If you\nmust use a manual admin password, set `adminPassword` in\ncreate-namespace and rotate it within 90 days.\n\n### Step 5: Namespace\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 5 — create-namespace\".\n> Load when: running create-namespace with KMS, IAM roles, security groups, and log exports.\n\nRules:\n- **db-name MUST be lowercase**, 1-64 alphanumeric\u002Funderscore. NOT a\n  reserved keyword. Default `dev`.\n- **admin-user-password MUST be 8-64 chars** with at least one\n  uppercase, lowercase, number, and special char.\n- **log-exports** — `userlog`, `connectionlog`, `useractivitylog`\n  stream to CloudWatch Logs. Set on namespace creation; not retroactive.\n- **security-group-ids** — applied at the namespace level. The\n  security group inbound rule for port 5439 controls client access.\n\n### Step 6: Workgroup (compute)\n\n```bash\naws redshift-serverless create-workgroup \\\n  --workgroup-name analytics-wg-prod \\\n  --namespace-name analytics-ns-prod \\\n  --base-capacity 128 \\\n  --subnet-group-name redshift-subnet-group \\\n  --security-group-ids sg-redshift-prod \\\n  --publicly-accessible false \\\n  --config-parameters '[{\"parameterKey\":\"enable_user_activity_logging\",\"parameterValue\":\"true\"},{\"parameterKey\":\"enable_data_api\",\"parameterValue\":\"true\"},{\"parameterKey\":\"enhanced_vpc_routing\",\"parameterValue\":\"true\"},{\"parameterKey\":\"query_group\",\"parameterValue\":\"analytics\"}]' \\\n  --tags Environment=production Application=analytics\n```\n\nParameters:\n- **base-capacity** — RPU (Redshift Processing Units). 8-512 RPU in\n  multiples of 8. 128 RPU is a common production starting point.\n- **publicly-accessible** — `false` for production. NEVER expose a\n  data warehouse to the public internet.\n- **enhanced_vpc_routing** — `true` forces COPY\u002FUNLOAD traffic through\n  your VPC. Without it, traffic traverses the public internet via\n  Amazon S3 endpoints.\n- **enable_data_api** — `true` enables the Data API for query\n  execution without a persistent JDBC\u002FODBC connection.\n\n### Step 7: Usage limits (cost controls)\n\n```bash\naws redshift-serverless put-usage-limit \\\n  --usage-type serverless-compute \\\n  --amount 500 \\\n  --period daily \\\n  --breach-action log\n\naws redshift-serverless put-usage-limit \\\n  --usage-type serverless-compute \\\n  --amount 12000 \\\n  --period monthly \\\n  --breach-action emit-metric\n```\n\n| `breach-action` | Behavior |\n|---|---|\n| `log` | Log a CloudWatch event when the limit is exceeded. Queries continue. |\n| `emit-metric` | Emit a CloudWatch metric and log. Queries continue. |\n| `disable` | Disable the workgroup. ALL queries fail until the limit is reset. |\n\n- **NEVER use `disable` on a production workgroup** without a runbook.\n  A threshold breach silently turns off analytics. Use `log` or\n  `emit-metric` with a CloudWatch alarm.\n- **Daily 500 RPU-hours** is a starting budget for a moderate analytics\n  workload. 1 RPU-hour = 1 RPU running for 1 hour.\n- **Monitor with CloudWatch:** metric `ServerlessComputeCapacity`,\n  dimension `Workgroup`.\n\n### Step 8: Data API\n\nThe Data API (enabled via `enable_data_api=true` in the workgroup\nconfig-parameters) lets you execute queries via the\n`redshift-data:ExecuteStatement` API. No JDBC\u002FODBC connection needed.\n\n```bash\naws redshift-data execute-statement \\\n  --workgroup-name analytics-wg-prod \\\n  --database dev \\\n  --sql \"SELECT COUNT(*) FROM sales\"\n```\n\nRules:\n- **The caller needs `redshift-data:ExecuteStatement`** plus the\n  Secrets Manager secret permission if using Secrets Manager auth.\n- **`describe-statement` and `get-statement-result`** for async result\n  retrieval. Long-running queries return immediately with a statement ID.\n- **NEVER use the Data API for high-frequency OLTP queries** — it is\n  optimized for batch analytics, not microsecond latency.\n\n### Step 9: Query editor v2 association\n\nQuery editor v2 is a managed web UI. It requires an IAM policy allowing\n`redshift-serverless:*` and `redshift-data:*` for the IAM principal\nrunning it.\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 9 — query editor v2 policy\".\n> Load when: creating the query editor v2 IAM policy.\n\nAttach the policy to the IAM user\u002Frole that runs the query editor v2.\nThe query editor auto-discovers workgroups and namespaces.\n\n### Step 10: Snapshots and cross-Region copy\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 10 — snapshots and cross-Region copy\".\n> Load when: creating the scheduled action and cross-Region snapshot copy grant.\n\nRules:\n- **Cross-Region copy requires a SEPARATE CMK** in the destination\n  Region. NEVER reuse the source-Region key — KMS keys are Region-scoped.\n- **Snapshot retention** is configurable via the\n  `--snapshot-retention-period` on the scheduled action.\n- **NEVER delete the cross-Region snapshot CMK** while a snapshot copy\n  grant references it — the next scheduled copy will fail silently.\n\n### Step 11: Verification\n\n> **Moved verbatim** → [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § \"Step 11 — verification commands\".\n> Load when: verifying the deployment after apply — workgroup, namespace, usage limits, snapshots, secret, KMS, log groups.\n\n## Latest Redshift Serverless features (2024-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Latest features (2024-2026)\".\n> Load when: deciding cross-Region copy, usage-limit cost controls, Secrets Manager rotation, zero-ETL, concurrent scaling, ML-driven WLM, or row-level security.\n\n## Workload matrix\n\n| Workload | Base RPU | Public access | Enhanced VPC | Usage limit | Cross-Region snapshots |\n|---|---|---|---|---|---|\n| **BI dashboard** | 32-64 | Disabled | Enabled | Daily 200 RPU-hr | Optional |\n| **Ad-hoc analytics** | 128 | Disabled | Enabled | Daily 500 RPU-hr | Yes |\n| **Heavy ETL (nightly)** | 256 | Disabled | Enabled | Daily 1000 RPU-hr (peak at night) | Yes |\n| **Multi-tenant SaaS** | 128-256 | Disabled | Enabled | Monthly 12000 RPU-hr | Yes |\n| **Dev\u002Ftest** | 8-32 | Disabled | Disabled | Monthly 500 RPU-hr | No |\n| **Real-time (zero-ETL)** | 128 | Disabled | Enabled | Monthly 15000 RPU-hr | Yes |\n\n## NEVER (top 5 — full list of 12 in references)\n\n- NEVER create a namespace with the AWS-owned KMS key for production.\n  The AWS-owned key cannot be audited, rotated, shared cross-account,\n  or used for cross-Region snapshot copy. Migrating encryption keys\n  after creation requires a full UNLOAD\u002FLOAD cycle. #1 rollback-breaker.\n- NEVER enable `publicly-accessible=true` on a production workgroup.\n  A data warehouse should never be reachable from the public internet.\n  Use a bastion, VPN, or Direct Connect for admin access.\n- NEVER deploy a workgroup without `enhanced_vpc_routing=true` if you\n  COPY\u002FUNLOAD from\u002Fto S3. Without it, COPY\u002FUNLOAD traffic traverses\n  the public internet via Amazon S3 endpoints, which violates most\n  compliance regimes (HIPAA, PCI, SOC2).\n- NEVER set `breach-action=disable` on a production usage limit without\n  a runbook. A threshold breach silently turns off ALL queries. Use\n  `log` or `emit-metric` with a CloudWatch alarm for production.\n- NEVER delete the cross-Region snapshot CMK while a snapshot copy\n  grant references it. The next scheduled cross-Region copy will fail\n  silently, and you will not know until a DR failover is attempted.\n\n## Expert heuristic — sizing, cost controls, and snapshot strategy\n\n- **RPU sizing:** start at 128 RPU for a moderate analytics workload\n  (10-50 concurrent queries, 1-5 TB). For heavy ETL with nightly\n  windowed loads, scale to 256+ RPU during the window and rely on\n  concurrent scaling for daytime BI.\n- **The 80\u002F20 budget rule:** set the daily usage limit at 80% of your\n  daily budget and the monthly limit at 120%. The daily limit catches\n  runaway queries early; the monthly limit is the hard ceiling.\n- **Snapshot interval vs cost:** every snapshot consumes storage at\n  the source Region AND the destination Region. An 8-hour interval is\n  a good default; a 1-hour interval doubles snapshot storage cost.\n- **Data API vs JDBC:** use the Data API for Lambda, Step Functions,\n  and EventBridge integrations (no connection pool needed). Use JDBC\n  for BI tools that require persistent connections (Tableau, Looker).\n- **CMK rotation:** enable annual KMS key rotation. Redshift Serverless\n  handles re-encryption transparently.\n- **Log exports:** set `userlog`, `connectionlog`, `useractivitylog`\n  at namespace creation. CloudWatch log group is `\u002Faws\u002Fredshift\u002F\u003Cnamespace>`.\n  Retention defaults to Never Expire — set a retention policy.\n\n## Pre-flight safety checks (run before any deployment CLI)\n\n- **Confirm CMK exists and key policy allows `redshift-serverless`.**\n- **Confirm subnet group spans 3+ AZs.**\n- **Confirm security group inbound rule for port 5439 from analytics\n  app SG.** NEVER `0.0.0.0\u002F0`.\n- **Confirm namespace IAM role trusts `redshift.amazonaws.com`.**\n- **Confirm Secrets Manager secret exists (if used for admin password).**\n- **Confirm service quota for RPU-hours is sufficient.**\n- **For cross-Region snapshots, confirm destination-Region CMK exists.**\n- **For existing namespaces, capture current config for rollback.**\n\nFull CLI sequences for all checks in `references\u002Fconfiguration-and-cost-guide.md`.\n\n## Output format — MANDATORY literal labels\n\nWhen invoked with a Redshift Serverless deployment request, your\nENTIRE response MUST be the checklist block below. The labels are\n**case-sensitive all-caps keywords**. Do NOT write a preamble. Start\nwith `WORKGROUP:` and stop after the `VERIFICATION_COMMANDS:` block.\n\n```text\nWORKGROUP: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓]      Namespace — \u003Cnamespace-name>, database \u003Cdb-name>, admin user \u003Cadmin>\n  [✓]      Admin credentials — Secrets Manager secret \u003Csecret-arn> | manual password (rotate \u003Cdays>)\n  [✓]      KMS encryption — customer-managed key \u003Ckey-arn> (encryption enabled) | AWS-owned (NOT recommended)\n  [✓]      IAM roles — \u003Cnamespace-role> (\u003Cdata-plane-permissions>)\n  [✓]      VPC security groups — \u003Csg-ids> (inbound 5439 from \u003Csource-sg>)\n  [✓]      Workgroup — \u003Cworkgroup-name>, base capacity \u003Crpu> RPU\n  [✓]      Subnet group — \u003Csubnet-group> (\u003Csubnet-count> subnets across \u003Caz-count> AZs)\n  [✓]      Public access — enabled | disabled\n  [✓]      Enhanced VPC routing — enabled | disabled\n  [✓]      Usage limits — daily \u003Cdaily> RPU-hours, monthly \u003Cmonthly> RPU-hour budget (\u003Cbreach-action>)\n  [✓]      Data API — enabled | disabled\n  [✓]      Query editor v2 — associated (\u003Ciam-policy>)\n  [✓]      Snapshots — automated every \u003Cinterval>, \u003Cretention>-day retention, cross-Region copy to \u003Cdest-region> with KMS \u003Cdest-key-arn>\n  [OPTIONAL] Concurrency scaling — enabled (auto-scaling beyond base RPU)\nVERIFICATION_COMMANDS:\n  aws redshift-serverless describe-workgroup --workgroup-name \u003Cwg>\n  aws redshift-serverless describe-namespace --namespace-name \u003Cns>\n  aws redshift-serverless list-usage-limits\n  aws secretsmanager describe-secret --secret-id \u003Csecret-id>\n  aws kms describe-key --key-id \u003Ckey-alias>\n```\n\n**Status marker semantics:**\n- `[✓]` — applied and verified.\n- `[✗]` — NOT applied or misconfigured. Cite the gap.\n- `[OPTIONAL]` — recommended but not required.\n- `[INPUT NEEDED]` — prerequisite value missing; operator must provide.\n\n**PREREQUISITES_MISSING verdict:** if any REQUIRED prerequisite is\nmissing (CMK for production, subnet group with 3+ AZs, security group\nwith port 5439 inbound, namespace IAM role for COPY\u002FUNLOAD, Secrets\nManager secret for admin password), the verdict is\n`PREREQUISITES_MISSING`.\n\n## References (load on demand)\n\n- [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) — full CLI sequences and Terraform\u002FCloudFormation equivalents; now also holds the KMS, IAM role, namespace, query-editor policy, and snapshot CLI moved from SKILL.md\n- [references\u002Fconfiguration-and-cost-guide.md](references\u002Fconfiguration-and-cost-guide.md) — encryption, networking, usage limits, DR strategy, full NEVER list; now also holds the SKILL.md edge-case catalog\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — Step 11 post-deployment verification commands\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — 2024-2026 feature changes (cross-Region copy, cost controls, Secrets Manager rotation, zero-ETL, concurrent scaling, ML-driven WLM, RLS)\n\n## Domain\n\nAWS CloudOps \u002F Redshift Serverless Analytics Data Warehouse\nProvisioning.\n\n## Edge-case handling\n\n> **Moved verbatim** → [references\u002Fconfiguration-and-cost-guide.md](references\u002Fconfiguration-and-cost-guide.md) § \"Edge-case handling\".\n> Load when: migrating from provisioned, cross-account datashares, multi-AZ, zero-ETL from Aurora, rotation, usage-limit reset, or CMK deletion edge cases.\n\n## AWS documentation\n\n- **Redshift Serverless Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fserverless-whatis.html\n- **CreateNamespace API** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift-serverless\u002Flatest\u002FAPIReference\u002FAPI_CreateNamespace.html\n- **CreateWorkgroup API** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift-serverless\u002Flatest\u002FAPIReference\u002FAPI_CreateWorkgroup.html\n- **Redshift Serverless Usage Limits** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fserverless-usage-limits.html\n- **Redshift Data API** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fdata-api.html\n- **Cross-Region Snapshots** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fserverless-cross-region-snapshots.html\n- **Query Editor v2** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fquery-editor-v2.html\n- **Zero-ETL Integrations** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fzero-etl.html\n- **Redshift Serverless CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fredshift-serverless\u002F\n\n## References\n\n- `references\u002Fcli-commands-and-iac.md` — full copy-pasteable CLI command\n  sequence for all 11 deployment steps, including KMS key creation,\n  subnet group creation, namespace IAM role, Secrets Manager secret,\n  namespace creation, workgroup creation, usage limits, scheduled\n  snapshots, cross-Region snapshot copy, and Terraform \u002F\n  CloudFormation equivalents.\n\n- `references\u002Fconfiguration-and-cost-guide.md` — deep reference on\n  encryption strategy, VPC networking, usage-limit tuning, snapshot\n  and cross-Region DR strategy, Data API patterns, query editor v2\n  setup, full NEVER list, edge-case handling, and pre-flight safety\n  CLI.\n","# Redshift Serverless Deployer\n\nAn AWS CloudOps agent skill that deploys Amazon Redshift Serverless\nnamespaces and workgroups with correct production defaults. Emits a\nREADY_TO_DEPLOY checklist verifying every configuration item.\n\n## Quick navigation\n\n| Need | Section |\n|---|---|\n| What MUST be in the response | \"STRICT output contract\" |\n| Why the namespace-before-workgroup order matters | \"Reasoning framework\" |\n| What to verify before deploying | \"Prerequisites\" |\n| The ordered deployment steps | \"Deployment procedure\" |\n| Common silent-failure pitfalls | \"NEVER\" |\n| Workload-type decision matrix | \"Workload matrix\" |\n| 2024-2026 feature changes | \"Recent AWS features\" |\n| Deep CLI sequences | `references\u002Fcli-commands-and-iac.md` |\n| Security, networking, cost controls, full NEVER | `references\u002Fconfiguration-and-cost-guide.md` |\n\n## STRICT output contract\n\nWhen this skill is invoked with a Redshift Serverless deployment\nrequest, the agent MUST respond with the READY_TO_DEPLOY checklist\ndefined in \"Output format\" using the literal all-caps labels\n`WORKGROUP:`, `VERDICT:`, `CHECKLIST:`, and `VERIFICATION_COMMANDS:`.\nDo NOT preface the checklist with prose, headings, or disclaimers —\nemit the block as the first lines.\n\n### Required output structure\n\n1. `WORKGROUP: \u003Cworkgroup-name>` — the Redshift Serverless workgroup\n   being deployed.\n2. `VERDICT: READY_TO_DEPLOY` OR `VERDICT: PREREQUISITES_MISSING`.\n3. `CHECKLIST:` followed by indented lines with status markers\n   (`[✓]`, `[✗]`, `[OPTIONAL]`, `[INPUT NEEDED]`).\n4. `VERIFICATION_COMMANDS:` followed by indented\n   `aws redshift-serverless ...` commands.\n\n### FORBIDDEN output patterns\n\n- **No prose preamble before `WORKGROUP:`** — first non-empty line\n  MUST be `WORKGROUP:`.\n- **No markdown variants of labels** — write `VERDICT:`, not\n  `**VERDICT:**`, `### Verdict`, or `` `VERDICT` ``.\n- **No swapping verdict tokens** — exactly `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`.\n- **No omitting `VERIFICATION_COMMANDS:`** — include even when\n  PREREQUISITES_MISSING.\n- **No extra sections after `VERIFICATION_COMMANDS:`** — the\n  checklist block is the entire response.\n- **No status marker drift** — use only `[✓]`, `[✗]`, `[OPTIONAL]`,\n  `[INPUT NEEDED]`.\n\n### Perfect example (copy the shape exactly)\n\n```text\nWORKGROUP: analytics-wg-prod\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓]      Namespace — analytics-ns-prod, database dev, admin user admin\n  [✓]      Admin credentials — stored in Secrets Manager secret arn:aws:secretsmanager:us-east-1:123456789012:secret:redshift\u002Fadmin-XXX\n  [✓]      KMS encryption — customer-managed key arn:aws:kms:us-east-1:123456789012:key\u002Fabc123 (encryption enabled)\n  [✓]      IAM roles — sysid:aws-redshift arn:aws:iam::123456789012:role\u002FRedshiftNSRole\n  [✓]      VPC security groups — sg-redshift-prod (inbound 5439 from sg-analytics-app)\n  [✓]      Workgroup — analytics-wg-prod, base capacity 128 RPU\n  [✓]      Subnet group — redshift-subnet-group (3 subnets across us-east-1a\u002Fb\u002Fc)\n  [✓]      Public access — disabled (private only)\n  [✓]      Enhanced VPC routing — enabled (traffic stays in VPC)\n  [✓]      Usage limits — daily 500 RPU-hours, monthly 12000 RPU-hour budget\n  [✓]      Data API — enabled (query via execute-statement, no persistent connection)\n  [✓]      Query editor v2 — associated (managed IAM policy)\n  [✓]      Snapshots — automated every 8 hours, 7-day retention, cross-Region copy to us-west-2 with KMS key arn:aws:kms:us-west-2:123456789012:key\u002Fdef456\n  [OPTIONAL] Concurrency scaling — enabled (auto-scaling beyond base RPU)\nVERIFICATION_COMMANDS:\n  aws redshift-serverless describe-workgroup --workgroup-name analytics-wg-prod\n  aws redshift-serverless describe-namespace --namespace-name analytics-ns-prod\n  aws redshift-serverless list-usage-limits --usage-type serverless-compute\n  aws redshift-serverless describe-scheduled-actions\n  aws secretsmanager describe-secret --secret-id redshift\u002Fadmin\n  aws kms describe-key --key-id alias\u002Fredshift-prod\n```\n\n## Reasoning framework (why the deployment order matters)\n\n1. **Namespace FIRST** — a namespace is the database container. It\n   owns the database name, admin credentials, KMS key, IAM roles, VPC\n   security groups, and snapshot schedule. Without a namespace you\n   cannot create a workgroup. The create-namespace call is the only\n   place where admin credentials, KMS, and IAM roles are set.\n2. **Admin credentials** — choose between Secrets Manager-managed\n   (recommended) or manual admin password. Secrets Manager auto-rotates\n   and avoids hardcoding secrets. Manual passwords expire after a\n   configured period; rotation is YOUR responsibility.\n3. **KMS encryption** — Redshift Serverless uses an AWS-owned key by\n   default. For production, use a customer-managed key (CMK) so you\n   control rotation policy and cross-account access. The CMK must\n   exist BEFORE create-namespace.\n4. **VPC security groups on the namespace** — the namespace-level\n   security groups control which clients can reach the database on port\n   5439. A common mistake is to attach a security group with no inbound\n   rule, then wonder why the Data API times out.\n5. **Workgroup SECOND** — the workgroup attaches to a namespace and\n   defines the compute (base capacity RPU), subnet group, public access\n   toggle, and enhanced VPC routing. A workgroup without enhanced VPC\n   routing sends COPY\u002FUNLOAD traffic over the public internet.\n6. **Usage limits THIRD** — Redshift Serverless bills by RPU-hour. A\n   runaway query can exhaust a budget in hours. Set daily and monthly\n   limits BEFORE the first workload runs.\n7. **Snapshots LAST** — configure scheduled snapshots and cross-Region\n   copy as the final step so the namespace has data to snapshot.\n\n## Prerequisites (verify before deployment)\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| **KMS key (if CMK encryption)** | CMK must exist and the caller needs `kms:CreateGrant`. NEVER create with AWS-owned and migrate later. | `aws kms describe-key --key-id \u003Calias>` |\n| **VPC subnets (3+ AZs)** | Redshift Serverless requires a subnet group spanning at least 3 AZs for HA. | `aws ec2 describe-subnets --subnet-ids \u003Cids>` |\n| **Security group(s)** | Inbound rule for port 5439 from the analytics application SG. NEVER `0.0.0.0\u002F0`. | `aws ec2 describe-security-groups --group-ids \u003Csg-ids>` |\n| **Subnet group** | Created from the subnets; attached to the workgroup. | `aws redshift-serverless describe-subnet-groups` (errors if none) |\n| **IAM namespace role (optional)** | Trust `redshift.amazonaws.com`. Scoped for S3\u002FGlue\u002FKMS access during COPY\u002FUNLOAD. | `aws iam get-role --role-name \u003Crole>` |\n| **Secrets Manager secret (recommended)** | Stores admin password. Auto-rotation via Lambda. NEVER hardcode admin password in create-namespace. | `aws secretsmanager describe-secret --secret-id \u003Cid>` |\n| **Service quota** | Default 30 RPU-hours per region per account. Request increase BEFORE production. | `aws service-quotas get-service-quota --service-code redshift-serverless --quota-code L-XXXXXXXX` |\n| **Cross-Region KMS key (if cross-Region snapshots)** | Snapshot copy requires a separate CMK in the destination Region. NEVER reuse the source-Region key. | `aws kms describe-key --key-id \u003Cdest-alias> --region \u003Cdest-region>` |\n\n## Deployment procedure (apply in order)\n\n### Step 1: KMS key (encryption)\n\nFor production, use a customer-managed key. The AWS-owned key cannot\nbe audited, rotated, or shared cross-account. Create the CMK BEFORE\nthe namespace.\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 1 — KMS key creation\".\n> Load when: creating the customer-managed KMS key and alias before create-namespace.\n\nRules:\n- **Key policy MUST allow `redshift-serverless.amazonaws.com`** to use\n  `kms:CreateGrant` and `kms:GenerateDataKey*`.\n- **NEVER use the same CMK across Regions** — KMS keys are Region-scoped.\n- **Document the key ID** — there is no way to recover the key ID from\n  a namespace after creation if the alias is deleted.\n\n### Step 2: Subnet group\n\n```bash\naws redshift-serverless create-subnet-group \\\n  --subnet-group-name redshift-subnet-group \\\n  --subnet-ids subnet-aaa subnet-bbb subnet-ccc \\\n  --security-group-ids sg-redshift-prod\n```\n\nRules:\n- **At least 3 subnets** across different AZs for high availability.\n- **Subnets MUST be in private IP ranges** if you disable public access\n  (recommended for production).\n- **Security group inbound** MUST allow port 5439 from the analytics\n  application SG. NEVER `0.0.0.0\u002F0`.\n\n### Step 3: IAM namespace role (for COPY\u002FUNLOAD\u002FS3\u002FGlue)\n\nThe namespace IAM role is assumed by Redshift Serverless for\ndata-plane AWS API calls (COPY from S3, UNLOAD to S3, Glue catalog\nintegration). Without it, COPY from S3 fails with `S3ServiceException`.\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 3 — IAM namespace role\".\n> Load when: creating the namespace IAM role and its inline data-access policy.\n\n### Step 4: Secrets Manager admin credential (recommended)\n\n```bash\naws secretsmanager create-secret \\\n  --name redshift\u002Fadmin \\\n  --secret-string '{\n    \"username\": \"admin\",\n    \"password\": \"\u003Cgenerate-32-char-strong-password>\",\n    \"engine\": \"redshift\",\n    \"host\": \"\u003Cfilled-after-workgroup-creation>\",\n    \"port\": 5439\n  }'\n```\n\n**NEVER hardcode the admin password in the create-namespace CLI.**\nSecrets Manager manages rotation, auditing, and access scoping. If you\nmust use a manual admin password, set `adminPassword` in\ncreate-namespace and rotate it within 90 days.\n\n### Step 5: Namespace\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 5 — create-namespace\".\n> Load when: running create-namespace with KMS, IAM roles, security groups, and log exports.\n\nRules:\n- **db-name MUST be lowercase**, 1-64 alphanumeric\u002Funderscore. NOT a\n  reserved keyword. Default `dev`.\n- **admin-user-password MUST be 8-64 chars** with at least one\n  uppercase, lowercase, number, and special char.\n- **log-exports** — `userlog`, `connectionlog`, `useractivitylog`\n  stream to CloudWatch Logs. Set on namespace creation; not retroactive.\n- **security-group-ids** — applied at the namespace level. The\n  security group inbound rule for port 5439 controls client access.\n\n### Step 6: Workgroup (compute)\n\n```bash\naws redshift-serverless create-workgroup \\\n  --workgroup-name analytics-wg-prod \\\n  --namespace-name analytics-ns-prod \\\n  --base-capacity 128 \\\n  --subnet-group-name redshift-subnet-group \\\n  --security-group-ids sg-redshift-prod \\\n  --publicly-accessible false \\\n  --config-parameters '[{\"parameterKey\":\"enable_user_activity_logging\",\"parameterValue\":\"true\"},{\"parameterKey\":\"enable_data_api\",\"parameterValue\":\"true\"},{\"parameterKey\":\"enhanced_vpc_routing\",\"parameterValue\":\"true\"},{\"parameterKey\":\"query_group\",\"parameterValue\":\"analytics\"}]' \\\n  --tags Environment=production Application=analytics\n```\n\nParameters:\n- **base-capacity** — RPU (Redshift Processing Units). 8-512 RPU in\n  multiples of 8. 128 RPU is a common production starting point.\n- **publicly-accessible** — `false` for production. NEVER expose a\n  data warehouse to the public internet.\n- **enhanced_vpc_routing** — `true` forces COPY\u002FUNLOAD traffic through\n  your VPC. Without it, traffic traverses the public internet via\n  Amazon S3 endpoints.\n- **enable_data_api** — `true` enables the Data API for query\n  execution without a persistent JDBC\u002FODBC connection.\n\n### Step 7: Usage limits (cost controls)\n\n```bash\naws redshift-serverless put-usage-limit \\\n  --usage-type serverless-compute \\\n  --amount 500 \\\n  --period daily \\\n  --breach-action log\n\naws redshift-serverless put-usage-limit \\\n  --usage-type serverless-compute \\\n  --amount 12000 \\\n  --period monthly \\\n  --breach-action emit-metric\n```\n\n| `breach-action` | Behavior |\n|---|---|\n| `log` | Log a CloudWatch event when the limit is exceeded. Queries continue. |\n| `emit-metric` | Emit a CloudWatch metric and log. Queries continue. |\n| `disable` | Disable the workgroup. ALL queries fail until the limit is reset. |\n\n- **NEVER use `disable` on a production workgroup** without a runbook.\n  A threshold breach silently turns off analytics. Use `log` or\n  `emit-metric` with a CloudWatch alarm.\n- **Daily 500 RPU-hours** is a starting budget for a moderate analytics\n  workload. 1 RPU-hour = 1 RPU running for 1 hour.\n- **Monitor with CloudWatch:** metric `ServerlessComputeCapacity`,\n  dimension `Workgroup`.\n\n### Step 8: Data API\n\nThe Data API (enabled via `enable_data_api=true` in the workgroup\nconfig-parameters) lets you execute queries via the\n`redshift-data:ExecuteStatement` API. No JDBC\u002FODBC connection needed.\n\n```bash\naws redshift-data execute-statement \\\n  --workgroup-name analytics-wg-prod \\\n  --database dev \\\n  --sql \"SELECT COUNT(*) FROM sales\"\n```\n\nRules:\n- **The caller needs `redshift-data:ExecuteStatement`** plus the\n  Secrets Manager secret permission if using Secrets Manager auth.\n- **`describe-statement` and `get-statement-result`** for async result\n  retrieval. Long-running queries return immediately with a statement ID.\n- **NEVER use the Data API for high-frequency OLTP queries** — it is\n  optimized for batch analytics, not microsecond latency.\n\n### Step 9: Query editor v2 association\n\nQuery editor v2 is a managed web UI. It requires an IAM policy allowing\n`redshift-serverless:*` and `redshift-data:*` for the IAM principal\nrunning it.\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 9 — query editor v2 policy\".\n> Load when: creating the query editor v2 IAM policy.\n\nAttach the policy to the IAM user\u002Frole that runs the query editor v2.\nThe query editor auto-discovers workgroups and namespaces.\n\n### Step 10: Snapshots and cross-Region copy\n\n> **Moved verbatim** → [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) § \"Step 10 — snapshots and cross-Region copy\".\n> Load when: creating the scheduled action and cross-Region snapshot copy grant.\n\nRules:\n- **Cross-Region copy requires a SEPARATE CMK** in the destination\n  Region. NEVER reuse the source-Region key — KMS keys are Region-scoped.\n- **Snapshot retention** is configurable via the\n  `--snapshot-retention-period` on the scheduled action.\n- **NEVER delete the cross-Region snapshot CMK** while a snapshot copy\n  grant references it — the next scheduled copy will fail silently.\n\n### Step 11: Verification\n\n> **Moved verbatim** → [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § \"Step 11 — verification commands\".\n> Load when: verifying the deployment after apply — workgroup, namespace, usage limits, snapshots, secret, KMS, log groups.\n\n## Latest Redshift Serverless features (2024-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Latest features (2024-2026)\".\n> Load when: deciding cross-Region copy, usage-limit cost controls, Secrets Manager rotation, zero-ETL, concurrent scaling, ML-driven WLM, or row-level security.\n\n## Workload matrix\n\n| Workload | Base RPU | Public access | Enhanced VPC | Usage limit | Cross-Region snapshots |\n|---|---|---|---|---|---|\n| **BI dashboard** | 32-64 | Disabled | Enabled | Daily 200 RPU-hr | Optional |\n| **Ad-hoc analytics** | 128 | Disabled | Enabled | Daily 500 RPU-hr | Yes |\n| **Heavy ETL (nightly)** | 256 | Disabled | Enabled | Daily 1000 RPU-hr (peak at night) | Yes |\n| **Multi-tenant SaaS** | 128-256 | Disabled | Enabled | Monthly 12000 RPU-hr | Yes |\n| **Dev\u002Ftest** | 8-32 | Disabled | Disabled | Monthly 500 RPU-hr | No |\n| **Real-time (zero-ETL)** | 128 | Disabled | Enabled | Monthly 15000 RPU-hr | Yes |\n\n## NEVER (top 5 — full list of 12 in references)\n\n- NEVER create a namespace with the AWS-owned KMS key for production.\n  The AWS-owned key cannot be audited, rotated, shared cross-account,\n  or used for cross-Region snapshot copy. Migrating encryption keys\n  after creation requires a full UNLOAD\u002FLOAD cycle. #1 rollback-breaker.\n- NEVER enable `publicly-accessible=true` on a production workgroup.\n  A data warehouse should never be reachable from the public internet.\n  Use a bastion, VPN, or Direct Connect for admin access.\n- NEVER deploy a workgroup without `enhanced_vpc_routing=true` if you\n  COPY\u002FUNLOAD from\u002Fto S3. Without it, COPY\u002FUNLOAD traffic traverses\n  the public internet via Amazon S3 endpoints, which violates most\n  compliance regimes (HIPAA, PCI, SOC2).\n- NEVER set `breach-action=disable` on a production usage limit without\n  a runbook. A threshold breach silently turns off ALL queries. Use\n  `log` or `emit-metric` with a CloudWatch alarm for production.\n- NEVER delete the cross-Region snapshot CMK while a snapshot copy\n  grant references it. The next scheduled cross-Region copy will fail\n  silently, and you will not know until a DR failover is attempted.\n\n## Expert heuristic — sizing, cost controls, and snapshot strategy\n\n- **RPU sizing:** start at 128 RPU for a moderate analytics workload\n  (10-50 concurrent queries, 1-5 TB). For heavy ETL with nightly\n  windowed loads, scale to 256+ RPU during the window and rely on\n  concurrent scaling for daytime BI.\n- **The 80\u002F20 budget rule:** set the daily usage limit at 80% of your\n  daily budget and the monthly limit at 120%. The daily limit catches\n  runaway queries early; the monthly limit is the hard ceiling.\n- **Snapshot interval vs cost:** every snapshot consumes storage at\n  the source Region AND the destination Region. An 8-hour interval is\n  a good default; a 1-hour interval doubles snapshot storage cost.\n- **Data API vs JDBC:** use the Data API for Lambda, Step Functions,\n  and EventBridge integrations (no connection pool needed). Use JDBC\n  for BI tools that require persistent connections (Tableau, Looker).\n- **CMK rotation:** enable annual KMS key rotation. Redshift Serverless\n  handles re-encryption transparently.\n- **Log exports:** set `userlog`, `connectionlog`, `useractivitylog`\n  at namespace creation. CloudWatch log group is `\u002Faws\u002Fredshift\u002F\u003Cnamespace>`.\n  Retention defaults to Never Expire — set a retention policy.\n\n## Pre-flight safety checks (run before any deployment CLI)\n\n- **Confirm CMK exists and key policy allows `redshift-serverless`.**\n- **Confirm subnet group spans 3+ AZs.**\n- **Confirm security group inbound rule for port 5439 from analytics\n  app SG.** NEVER `0.0.0.0\u002F0`.\n- **Confirm namespace IAM role trusts `redshift.amazonaws.com`.**\n- **Confirm Secrets Manager secret exists (if used for admin password).**\n- **Confirm service quota for RPU-hours is sufficient.**\n- **For cross-Region snapshots, confirm destination-Region CMK exists.**\n- **For existing namespaces, capture current config for rollback.**\n\nFull CLI sequences for all checks in `references\u002Fconfiguration-and-cost-guide.md`.\n\n## Output format — MANDATORY literal labels\n\nWhen invoked with a Redshift Serverless deployment request, your\nENTIRE response MUST be the checklist block below. The labels are\n**case-sensitive all-caps keywords**. Do NOT write a preamble. Start\nwith `WORKGROUP:` and stop after the `VERIFICATION_COMMANDS:` block.\n\n```text\nWORKGROUP: \u003Cname>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓]      Namespace — \u003Cnamespace-name>, database \u003Cdb-name>, admin user \u003Cadmin>\n  [✓]      Admin credentials — Secrets Manager secret \u003Csecret-arn> | manual password (rotate \u003Cdays>)\n  [✓]      KMS encryption — customer-managed key \u003Ckey-arn> (encryption enabled) | AWS-owned (NOT recommended)\n  [✓]      IAM roles — \u003Cnamespace-role> (\u003Cdata-plane-permissions>)\n  [✓]      VPC security groups — \u003Csg-ids> (inbound 5439 from \u003Csource-sg>)\n  [✓]      Workgroup — \u003Cworkgroup-name>, base capacity \u003Crpu> RPU\n  [✓]      Subnet group — \u003Csubnet-group> (\u003Csubnet-count> subnets across \u003Caz-count> AZs)\n  [✓]      Public access — enabled | disabled\n  [✓]      Enhanced VPC routing — enabled | disabled\n  [✓]      Usage limits — daily \u003Cdaily> RPU-hours, monthly \u003Cmonthly> RPU-hour budget (\u003Cbreach-action>)\n  [✓]      Data API — enabled | disabled\n  [✓]      Query editor v2 — associated (\u003Ciam-policy>)\n  [✓]      Snapshots — automated every \u003Cinterval>, \u003Cretention>-day retention, cross-Region copy to \u003Cdest-region> with KMS \u003Cdest-key-arn>\n  [OPTIONAL] Concurrency scaling — enabled (auto-scaling beyond base RPU)\nVERIFICATION_COMMANDS:\n  aws redshift-serverless describe-workgroup --workgroup-name \u003Cwg>\n  aws redshift-serverless describe-namespace --namespace-name \u003Cns>\n  aws redshift-serverless list-usage-limits\n  aws secretsmanager describe-secret --secret-id \u003Csecret-id>\n  aws kms describe-key --key-id \u003Ckey-alias>\n```\n\n**Status marker semantics:**\n- `[✓]` — applied and verified.\n- `[✗]` — NOT applied or misconfigured. Cite the gap.\n- `[OPTIONAL]` — recommended but not required.\n- `[INPUT NEEDED]` — prerequisite value missing; operator must provide.\n\n**PREREQUISITES_MISSING verdict:** if any REQUIRED prerequisite is\nmissing (CMK for production, subnet group with 3+ AZs, security group\nwith port 5439 inbound, namespace IAM role for COPY\u002FUNLOAD, Secrets\nManager secret for admin password), the verdict is\n`PREREQUISITES_MISSING`.\n\n## References (load on demand)\n\n- [references\u002Fcli-commands-and-iac.md](references\u002Fcli-commands-and-iac.md) — full CLI sequences and Terraform\u002FCloudFormation equivalents; now also holds the KMS, IAM role, namespace, query-editor policy, and snapshot CLI moved from SKILL.md\n- [references\u002Fconfiguration-and-cost-guide.md](references\u002Fconfiguration-and-cost-guide.md) — encryption, networking, usage limits, DR strategy, full NEVER list; now also holds the SKILL.md edge-case catalog\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — Step 11 post-deployment verification commands\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — 2024-2026 feature changes (cross-Region copy, cost controls, Secrets Manager rotation, zero-ETL, concurrent scaling, ML-driven WLM, RLS)\n\n## Domain\n\nAWS CloudOps \u002F Redshift Serverless Analytics Data Warehouse\nProvisioning.\n\n## Edge-case handling\n\n> **Moved verbatim** → [references\u002Fconfiguration-and-cost-guide.md](references\u002Fconfiguration-and-cost-guide.md) § \"Edge-case handling\".\n> Load when: migrating from provisioned, cross-account datashares, multi-AZ, zero-ETL from Aurora, rotation, usage-limit reset, or CMK deletion edge cases.\n\n## AWS documentation\n\n- **Redshift Serverless Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fserverless-whatis.html\n- **CreateNamespace API** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift-serverless\u002Flatest\u002FAPIReference\u002FAPI_CreateNamespace.html\n- **CreateWorkgroup API** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift-serverless\u002Flatest\u002FAPIReference\u002FAPI_CreateWorkgroup.html\n- **Redshift Serverless Usage Limits** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fserverless-usage-limits.html\n- **Redshift Data API** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fdata-api.html\n- **Cross-Region Snapshots** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fserverless-cross-region-snapshots.html\n- **Query Editor v2** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fquery-editor-v2.html\n- **Zero-ETL Integrations** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fzero-etl.html\n- **Redshift Serverless CLI Reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fredshift-serverless\u002F\n\n## References\n\n- `references\u002Fcli-commands-and-iac.md` — full copy-pasteable CLI command\n  sequence for all 11 deployment steps, including KMS key creation,\n  subnet group creation, namespace IAM role, Secrets Manager secret,\n  namespace creation, workgroup creation, usage limits, scheduled\n  snapshots, cross-Region snapshot copy, and Terraform \u002F\n  CloudFormation equivalents.\n\n- `references\u002Fconfiguration-and-cost-guide.md` — deep reference on\n  encryption strategy, VPC networking, usage-limit tuning, snapshot\n  and cross-Region DR strategy, Data API patterns, query editor v2\n  setup, full NEVER list, edge-case handling, and pre-flight safety\n  CLI.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"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,"supports_pipeline":38},"aws, redshift, redshift-serverless, cloudops, deploy, analytics, namespace, workgroup","1","Jacky Chan — AWS Community Builder","aws-cloudops","Analytics","0.1.0","aws, redshift, redshift-serverless, cloudops, deploy, provisioning, analytics, data-warehouse, namespace, workgroup, rpu, data-api, cross-region-snapshots, usage-limits, cost-controls, kms-encryption","deploy","high","false","capability","Invoke when the user wants to create a new Redshift Serverless namespace or workgroup, deploy a serverless data warehouse, validate an existing Redshift Serverless configuration against best practices, generate deployment CLI commands or IaC templates, or troubleshoot a Redshift Serverless deployment failure caused by missing prerequisites (KMS key, security groups, subnet group, IAM roles). Do NOT invoke for provisioned Redshift clusters (use redshift-cluster-deployer), Athena (use athena-query-optimizer), or Aurora (use rds-instance-deployer).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Requires an LLM agent runtime (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with redshift-serverless, ec2, kms, iam, secretsmanager, and logs access. Works with Terraform aws_redshiftserverless_* resources, CloudFormation AWS::RedshiftServerless::* resources, and the AWS Console Redshift Serverless wizard.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fredshift-serverless-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":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill redshift-serverless-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill redshift-serverless-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill redshift-serverless-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,89,93,97,101,105,109,113,117,121,125,129,133,137],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",8001,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fcost-controls-usage-limits.md",895,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fbaselines\u002Fcost-controls-usage-limits.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fcross-region-snapshots-dr.md",867,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fbaselines\u002Fcross-region-snapshots-dr.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-kms-key.md",943,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fbaselines\u002Fmissing-kms-key.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fmissing-security-group.md",1020,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fbaselines\u002Fmissing-security-group.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":88},"evals\u002Fbaselines\u002Fproduction-namespace-workgroup.md","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fbaselines\u002Fproduction-namespace-workgroup.md",{"path":90,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":91,"sourceHtmlUrl":92},"evals\u002Feval_config.yaml",1694,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Feval_config.yaml",{"path":94,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":95,"sourceHtmlUrl":96},"evals\u002Fevals.json",14481,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fevals.json",{"path":98,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":99,"sourceHtmlUrl":100},"evals\u002Fprompts\u002Fcost-controls-usage-limits.md",826,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fprompts\u002Fcost-controls-usage-limits.md",{"path":102,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":103,"sourceHtmlUrl":104},"evals\u002Fprompts\u002Fcross-region-snapshots-dr.md",897,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fprompts\u002Fcross-region-snapshots-dr.md",{"path":106,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":107,"sourceHtmlUrl":108},"evals\u002Fprompts\u002Fmissing-kms-key.md",758,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fprompts\u002Fmissing-kms-key.md",{"path":110,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":111,"sourceHtmlUrl":112},"evals\u002Fprompts\u002Fmissing-security-group.md",733,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fprompts\u002Fmissing-security-group.md",{"path":114,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":115,"sourceHtmlUrl":116},"evals\u002Fprompts\u002Fproduction-namespace-workgroup.md",973,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fevals\u002Fprompts\u002Fproduction-namespace-workgroup.md",{"path":118,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":119,"sourceHtmlUrl":120},"example\u002FREADME.md",10499,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fexample\u002FREADME.md",{"path":122,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":123,"sourceHtmlUrl":124},"references\u002Fadvanced-patterns.md",1602,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":126,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":127,"sourceHtmlUrl":128},"references\u002Fcli-commands-and-iac.md",17376,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Freferences\u002Fcli-commands-and-iac.md",{"path":130,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":131,"sourceHtmlUrl":132},"references\u002Fconfiguration-and-cost-guide.md",14837,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Freferences\u002Fconfiguration-and-cost-guide.md",{"path":134,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":135,"sourceHtmlUrl":136},"references\u002Fdiagnostic-commands.md",654,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":138,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":139,"sourceHtmlUrl":140},"skill.usf.yaml",4466,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fredshift-serverless-deployer\u002Fskill.usf.yaml",[142,149,156,163,170,177],{"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},"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":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},"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":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},"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":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},"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":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},"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":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"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",[],[]]