[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9CD48CYZ1Z68S9Z5RAG70":3,"skill-same:01M7A9CD48CYZ1Z68S9Z5RAG70":142},{"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},"01M7A9CD48CYZ1Z68S9Z5RAG70","keyspaces-keyspace-deployer",null,"Provisions Amazon Keyspaces (Cassandra-compatible) keyspaces and tables with production defaults: keyspace creation (create-keyspace), table creation (create-table) with partition key, clustering key, and regular columns, capacity mode selection (on-demand vs provisioned with auto- scaling), point-in-time recovery (PITR), TTL (time-to-live), encryption at rest with KMS, client-side encryption via KMS envelope encryption, schema management through CQL, VPC endpoints for private access, CloudWatch metrics (ConsumedWriteCapacityUnits, ConsumedReadCapacityUnits), and the RU-based cost model. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Keyspace, creating a Cassandra table, configuring on-demand or provisioned capacity, enabling PITR, setting. Triggers: create keyspace, create cassandra table, amazon keyspaces, on-demand capacity, provisioned autoscaling, point-in-time recovery, cassandra CQL, partition key, clustering key, keyspace VPC endpoint, client-side encryption KMS.","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\u002Fkeyspaces-keyspace-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: keyspaces-keyspace-deployer\ndescription: 'Provisions Amazon Keyspaces (Cassandra-compatible) keyspaces and tables with production defaults: keyspace creation (create-keyspace), table creation (create-table) with partition key, clustering key, and regular columns, capacity mode selection (on-demand vs provisioned with auto- scaling), point-in-time recovery (PITR), TTL (time-to-live), encryption at rest with KMS, client-side encryption via KMS envelope encryption, schema management through CQL, VPC endpoints for private access, CloudWatch metrics (ConsumedWriteCapacityUnits, ConsumedReadCapacityUnits), and the RU-based cost model. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Keyspace, creating a Cassandra table, configuring on-demand or provisioned capacity, enabling PITR, setting. Triggers: create keyspace, create cassandra table, amazon keyspaces, on-demand capacity, provisioned autoscaling, point-in-time recovery, cassandra CQL, partition key, clustering key, keyspace VPC endpoint, client-side encryption KMS.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with keyspaces access. Works with Terraform aws_keyspaces_keyspace \u002F aws_keyspaces_table resources and CloudFormation AWS::Cassandra::Keyspace \u002F AWS::Cassandra::Table templates. CQL access via the open-source DataStax cassandra-driver with SigV4 authentication.'\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: Databases\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, keyspaces, cassandra, cloudops, deploy, databases, provisioning, partition-key, clustering-key, on-demand, provisioned, pitr, kms, vpc-endpoint\n  dependencies: aws-orchestrator\n  keywords: aws, keyspaces, cassandra, cloudops, deploy, provisioning, keyspace, table, partition key, clustering key, on-demand, provisioned, autoscaling, pitr, ttl, kms encryption, client-side encryption, vpc endpoint, cql, cloudwatch metrics\n  when_to_use: Invoke when the user wants to create an Amazon Keyspaces keyspace or table, configure capacity mode (on-demand or provisioned with auto- scaling), enable point-in-time recovery, set TTL, configure KMS encryption at rest, set up client-side envelope encryption, connect via the Cassandra driver with SigV4, or create a VPC endpoint for private Keyspaces access. Do NOT invoke for Amazon DynamoDB (use DynamoDB skills), Amazon ElastiCache (use ElastiCache skills), or self-managed Cassandra on EC2\u002FEKS.\n---\n\n# Amazon Keyspaces Keyspace Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Keyspaces (Cassandra-\ncompatible) keyspaces and tables with correct defaults. The skill walks\nthe operator through keyspace creation, table schema design (partition\nkey for distribution, clustering key for sort order), capacity mode\nselection (on-demand vs provisioned with auto-scaling), point-in-time\nrecovery, TTL, encryption at rest with KMS, client-side envelope\nencryption, CQL connectivity, VPC endpoints for private access, and\nCloudWatch observability, captures all schema and capacity decisions,\nexplains why each default matters, and emits a READY_TO_DEPLOY checklist\nwith copy-pasteable verification commands.\n\n## Activation keywords\n\ncreate keyspace, create Cassandra table, Amazon Keyspaces, on-demand\ncapacity, provisioned autoscaling, point-in-time recovery, Cassandra\nCQL, partition key, clustering key, Keyspaces VPC endpoint, client-side\nencryption KMS.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Keyspaces-provisioning request\n(create a keyspace, create a table, configure capacity mode, enable\nPITR, set TTL, configure encryption, set up connectivity, or a partial\nconfiguration), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `KEYSPACES:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels\nbreaks automation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Keyspace creation | Core keyspace model |\n| Step 2 — Table schema (partition key, clustering key, columns) | Schema design |\n| Step 3 — Capacity mode (on-demand vs provisioned) | Capacity decision |\n| Step 4 — Point-in-time recovery (PITR) | Backup\u002Frecovery |\n| Step 5 — TTL (time-to-live) | Data expiry |\n| Step 6 — Encryption at rest (KMS) | Encryption |\n| Step 7 — Client-side encryption (KMS envelope) | Application encryption |\n| Step 8 — Connectivity (Cassandra driver + SigV4) | CQL access |\n| Step 9 — VPC endpoint for private access | Network security |\n| Step 10 — CloudWatch metrics and observability | Monitoring |\n| Step 11 — Auto-scaling for provisioned mode | Capacity scaling |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fcapacity-and-cost.md | Capacity mode + cost crossover detail |\n| references\u002Fschema-and-encryption.md | Schema + encryption detail |\n\n## Mindset\n\n**One-line takeaway:** Amazon Keyspaces is a serverless, Cassandra-\ncompatible database. The keyspace is the namespace; the table holds\ndata. The partition key determines data distribution across the\nunderlying storage; the clustering key determines sort order within a\npartition. Capacity mode is the primary cost lever: on-demand charges\nper request (RU-based), provisioned charges per capacity unit reserved\nwith auto-scaling. PITR must be explicitly enabled per table — it is\nNOT on by default.\n\nThree misconceptions dominate Keyspaces misdesign at provisioning time:\n\n- **\"The partition key is just a primary key.\"** It is not. The\n  partition key determines which storage node holds the data. A low-\n  cardinality partition key (e.g., a status column with 3 values)\n  creates hot partitions and uneven distribution. A high-cardinality\n  partition key (e.g., user_id, device_id) distributes data evenly.\n  Cardinality matters more than uniqueness.\n\n- **\"On-demand is always simpler, so always use it.\"** On-demand is\n  simpler (no capacity planning), but costs more per request at steady\n  state. The crossover point where provisioned (with auto-scaling)\n  becomes cheaper is typically around 10-15% sustained utilization of\n  the provisioned capacity. For predictable workloads, provisioned with\n  auto-scaling is significantly cheaper.\n\n- **\"PITR is enabled by default like DynamoDB.\"** In Keyspaces, PITR\n  is DISABLED by default. Each table must explicitly enable PITR. A\n  baseline model may assume it is on. The procedure below forces an\n  explicit decision.\n\n## Configuration dependency graph (novel heuristic)\n\nKeyspaces configurations are NOT independent. The keyspace must exist\nbefore the table. The table schema (partition key, clustering key) is\nimmutable after creation — it CANNOT be changed without dropping and\nrecreating the table. Capacity mode can be switched but has cost\nimplications. Use this graph to sequence provisioning.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Keyspace | AWS account with Keyspaces available in the region | keyspace name must be unique within account+region (3-48 chars, alphanumeric + underscore) | table creation |\n| Table | keyspace exists | partition key + clustering key are IMMUTABLE after creation — cannot ALTER; must drop and recreate | data read\u002Fwrite via CQL |\n| Capacity mode (on-demand) | table exists | can switch to provisioned later; on-demand charges per RU consumed | pay-per-request billing |\n| Capacity mode (provisioned) | table exists; auto-scaling policy optional | can switch to on-demand later; provisioned charges per capacity unit whether used or not | reserved capacity billing |\n| PITR | table exists | DISABLED by default — must explicitly enable per table; continuous backup of last 35 days | point-in-time restore |\n| TTL | table exists | column-level TTL via CQL INSERT\u002FUPDATE; table default TTL via schema | automatic row expiry |\n| Encryption at rest (KMS) | table exists; KMS key available | AWS-owned key by default; customer-managed key (CMK) for granular control | at-rest encryption |\n| Client-side encryption | application-side KMS key | transparent to Keyspaces; encrypted before write, decrypted after read | field-level encryption |\n| VPC endpoint | VPC exists; private DNS enabled | Interface VPC endpoint (AWS PrivateLink) for private access without internet | private network access |\n| CloudWatch metrics | table exists | metrics are automatic (no enable needed); ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits | observability + autoscaling trigger |\n| Auto-scaling | provisioned capacity mode | target tracking on ConsumedWriteCapacityUnits or ConsumedReadCapacityUnits | automatic capacity adjustment |\n\n**The partition-key-immutability row is the one a baseline model\nmisses.** In DynamoDB, you can delete and recreate a table with a new\nkey schema relatively easily. In Keyspaces, the Cassandra data model\nmeans the partition key and clustering key are baked into the table\ndefinition and CANNOT be altered. Changing the key schema requires\ndropping the table (losing all data) and recreating it. The procedure\nbelow forces an explicit schema review before creation.\n\n**Cross-dependency gotchas:**\n- The partition key choice is PERMANENT. Changing it requires dropping\n  the table. Design the schema carefully before creating the table.\n- Clustering key is also permanent. It determines sort order within a\n  partition. Choose it based on query patterns (range scans, time-\n  ordered data).\n- Switching capacity mode (on-demand to provisioned or vice versa) is\n  allowed but takes effect immediately. Switching frequently can cause\n  billing surprises.\n- PITR is per-table, not per-keyspace. Each table must have PITR\n  explicitly enabled.\n- Client-side encryption is transparent to Keyspaces — the data is\n  encrypted before it reaches Keyspaces. Keyspaces sees ciphertext.\n  This means server-side CQL queries (e.g., WHERE clauses on encrypted\n  columns) do NOT work as expected because they compare ciphertext, not\n  plaintext.\n\n## Expert heuristic: partition key cardinality for distribution\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Expert heuristic: partition key cardinality for distribution\".\n> Load when: designing the table schema — why low-cardinality partition keys create hot partitions; composite time-bucketed keys.\n\n## Expert heuristic: clustering key for sort order\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Expert heuristic: clustering key for sort order\".\n> Load when: choosing the clustering key — sort order within a partition and range-query alignment.\n\n## Expert heuristic: on-demand vs provisioned RU crossover\n\n> **Moved verbatim** → [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) § \"Expert heuristic: on-demand vs provisioned RU crossover\".\n> Load when: choosing capacity mode — on-demand vs provisioned cost crossover math and workload profiles.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS region supports Keyspaces | Keyspaces is available in most regions but not all | `aws keyspaces list-keyspaces --region \u003Cregion>` |\n| Keyspace name (if creating table in existing keyspace) | Tables require a keyspace | `aws keyspaces get-keyspace --keyspace-name \u003Cname>` |\n| Partition key identified | Partition key is immutable after table creation — must be chosen before creating the table | Schema design review |\n| Clustering key identified (if range queries needed) | Clustering key is immutable after table creation | Query pattern analysis |\n| KMS key ID (if using CMK for encryption) | Customer-managed key must exist before referencing | `aws kms describe-key --key-id \u003Ckey-id>` |\n| VPC ID (if creating VPC endpoint) | Interface endpoint requires a VPC | `aws ec2 describe-vpcs --vpc-ids \u003Cvpc-id>` |\n| IAM permissions for keyspaces:* | Provisioning requires keyspace\u002Ftable create permissions | Verify IAM policy |\n| Capacity mode decision | On-demand vs provisioned is a cost decision | Workload analysis |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Keyspace creation\n\nA keyspace is the top-level namespace for tables. Each keyspace is\nunique within an AWS account and region.\n\n```bash\n# Create a keyspace\naws keyspaces create-keyspace \\\n  --keyspace-name my_app_keyspace \\\n  --tags Key=Environment,Value=production Key=Team,Value=data-platform\n\n# Verify the keyspace exists and is ACTIVE\naws keyspaces get-keyspace \\\n  --keyspace-name my_app_keyspace\n```\n\n**Naming constraints:** 3-48 characters, alphanumeric and underscore\nonly. Must start with a letter.\n\n**Replication:** Keyspaces is fully managed and automatically\nreplicates data across multiple Availability Zones within the chosen\nregion. No replication factor configuration is needed (unlike self-\nmanaged Cassandra).\n\n## Step 2 — Table schema (partition key, clustering key, columns)\n\nTable schema is defined using CQL (Cassandra Query Language). The\npartition key determines distribution; the clustering key determines\nsort order within a partition.\n\n```bash\n# Create a table with partition key + clustering key\naws keyspaces create-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --schema-definition '{\n    \"allColumns\": [\n      {\"name\": \"user_id\", \"type\": \"uuid\"},\n      {\"name\": \"event_date\", \"type\": \"date\"},\n      {\"name\": \"event_time\", \"type\": \"timestamp\"},\n      {\"name\": \"event_type\", \"type\": \"text\"},\n      {\"name\": \"payload\", \"type\": \"blob\"}\n    ],\n    \"partitionKeys\": [\n      {\"name\": \"user_id\", \"type\": \"uuid\"},\n      {\"name\": \"event_date\", \"type\": \"date\"}\n    ],\n    \"clusteringKeys\": [\n      {\"name\": \"event_time\", \"type\": \"timestamp\", \"orderBy\": \"DESC\"}\n    ]\n  }' \\\n  --point-in-time-recovery-enabled \\\n  --tags Key=Environment,Value=production\n```\n\n**Critical:** the partition key and clustering key are IMMUTABLE after\ncreation. Changing them requires dropping the table (losing all data)\nand recreating. Design the schema based on query patterns BEFORE\ncreating the table.\n\n**Column types supported:** ascii, bigint, blob, boolean, decimal,\ndouble, float, inet, int, list, map, set, text, timestamp, timeuuid,\ntinyint, tuple, uuid, varchar, varint.\n\n## Step 3 — Capacity mode (on-demand vs provisioned)\n\n```bash\n# Set capacity mode to on-demand (pay per request)\naws keyspaces update-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --capacity-spec '{\"throughputMode\": \"PAY_PER_REQUEST\"}'\n\n# Set capacity mode to provisioned (with explicit capacity units)\naws keyspaces update-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --capacity-spec '{\n    \"throughputMode\": \"PROVISIONED\",\n    \"provisionedThroughput\": {\n      \"readCapacityUnits\": 1000,\n      \"writeCapacityUnits\": 500\n    }\n  }'\n```\n\n**On-demand:** charges per RU consumed. No minimum commitment. Best for\nunpredictable or spiky workloads, or new workloads with unknown\ntraffic.\n\n**Provisioned:** charges per capacity unit-hour regardless of usage.\nBest for steady, predictable workloads. Pair with auto-scaling (Step\n11) to handle bursts.\n\n## Step 4 — Point-in-time recovery (PITR)\n\nPITR provides continuous backup of the last 35 days. It is DISABLED by\ndefault — must be explicitly enabled per table.\n\n```bash\n# Enable PITR on a table\naws keyspaces update-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --point-in-time-recovery-enabled\n\n# Verify PITR status\naws keyspaces get-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --query 'capacitySummary' --output json\n```\n\n**Critical:** PITR is per-table, NOT per-keyspace. Each table must\nexplicitly enable it. A baseline model may assume PITR is on by\ndefault (as in DynamoDB). In Keyspaces, it is OFF by default.\n\n## Step 5 — TTL (time-to-live)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 5 — TTL (time-to-live)\".\n> Load when: configuring TTL — CQL USING TTL inserts and default_time_to_live.\n\n## Step 6 — Encryption at rest (KMS)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 6 — Encryption at rest (KMS)\".\n> Load when: configuring encryption at rest — AWS-owned vs AWS-managed vs customer-managed KMS, CMK create\u002Fset commands.\n\n## Step 7 — Client-side encryption (KMS envelope)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 7 — Client-side encryption (KMS envelope)\".\n> Load when: configuring client-side envelope encryption — KMS DEK generation plus the Cassandra driver Python example.\n\n## Step 8 — Connectivity (Cassandra driver + SigV4)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 8 — Connectivity (Cassandra driver + SigV4)\".\n> Load when: connecting via CQL — SigV4 auth provider, port 9142, SSL, and driver requirements.\n\n## Step 9 — VPC endpoint for private access\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 9 — VPC endpoint for private access\".\n> Load when: creating the interface VPC endpoint — PrivateLink, --private-dns-enabled, security group TCP 9142.\n\n## Step 10 — CloudWatch metrics and observability\n\n> **Moved verbatim** → [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) § \"Step 10 — CloudWatch metrics and observability\".\n> Load when: setting up observability — the CloudWatch metric table and get-metric-statistics examples.\n\n## Step 11 — Auto-scaling for provisioned mode\n\n> **Moved verbatim** → [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) § \"Step 11 — Auto-scaling for provisioned mode\".\n> Load when: enabling auto-scaling on provisioned tables — register-scalable-target and the target tracking policy.\n\n## Step 12 — Recent features\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 12 — Recent features\".\n> Load when: checking 2023-2026 feature availability — client-side encryption library, multi-region replication, tiered on-demand pricing.\n\n## NEVER do these things\n\n1. **NEVER use a low-cardinality partition key.** The partition key\n   determines data distribution. Low cardinality (e.g., status column\n   with 3 values) creates hot partitions and uneven distribution. Aim\n   for high-cardinality partition keys (user_id, device_id,\n   session_id).\n\n2. **NEVER assume the partition key or clustering key can be changed.**\n   They are IMMUTABLE after table creation. Changing them requires\n   dropping the table (losing all data) and recreating. Design the\n   schema based on query patterns BEFORE creating the table.\n\n3. **NEVER assume PITR is enabled by default.** In Keyspaces, PITR is\n   DISABLED by default. Each table must explicitly enable it. A baseline\n   model may confuse this with DynamoDB where PITR is also off by\n   default but the assumption is common.\n\n4. **NEVER connect to Keyspaces on port 9042 without SSL.** Keyspaces\n   requires SSL\u002FTLS on port 9142. Port 9042 (the default Cassandra\n   port) does NOT work. Always use SSL with the AmazonRootCA1\n   certificate.\n\n5. **NEVER use username\u002Fpassword authentication.** Keyspaces uses AWS\n   SigV4 authentication with IAM credentials. There are no passwords.\n   The Cassandra driver's `PlainTextAuthProvider` does NOT work.\n\n6. **NEVER create a VPC endpoint without private DNS.** Without\n   `--private-dns-enabled`, the Cassandra driver resolves to the public\n   Keyspaces endpoint and traffic traverses the internet. Private DNS\n   is REQUIRED for true private access.\n\n7. **NEVER use WHERE clauses on client-side encrypted columns.**\n   Client-side encryption is transparent to Keyspaces. Server-side CQL\n   queries compare ciphertext, not plaintext. WHERE clauses on\n   encrypted columns return wrong results. Design the schema so\n   encrypted columns are NOT used in WHERE clauses.\n\n8. **NEVER switch capacity mode frequently.** Switching between\n   on-demand and provisioned takes effect immediately. Frequent\n   switching can cause billing surprises. Choose the mode based on\n   workload analysis and commit for a billing period.\n\n9. **NEVER provision capacity without auto-scaling for variable\n   workloads.** Provisioned capacity without auto-scaling leads to\n   throttling during bursts or over-provisioning during dips. Always\n   pair provisioned mode with target tracking auto-scaling.\n\n10. **NEVER forget TTL for ephemeral data.** Without TTL, time-series\n    data accumulates indefinitely, increasing storage cost and query\n    latency. Set TTL on event logs, session data, and other ephemeral\n    rows to auto-expire.\n\n## Output format\n\n```text\nKEYSPACES: \u003Ckeyspace-name>.\u003Ctable-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Keyspace: \u003Ckeyspace-name> — ACTIVE\n  [✓|✗] Table: \u003Ctable-name> — schema (partition key: \u003Cpk>, clustering key: \u003Cck>)\n  [✓|✗] Partition key cardinality: HIGH (\u003Ccardinality>) | LOW (hot partition risk)\n  [✓|✗] Capacity mode: On-demand | Provisioned (read: \u003Crcu>, write: \u003Cwcu>) with auto-scaling\n  [✓|✗] Point-in-time recovery: ENABLED | DISABLED\n  [✓|✗] TTL: default_time_to_live=\u003Cseconds> | Not set\n  [✓|✗] Encryption at rest: AWS-owned key | Customer-managed key (\u003Ckms-key-id>)\n  [✓|✗] Client-side encryption: KMS envelope (\u003Ckms-key-alias>) | Not configured\n  [✓|✗] Connectivity: Cassandra driver + SigV4 (port 9142, SSL)\n  [✓|✗] VPC endpoint: \u003Cvpce-id> (private DNS enabled) | Public access\n  [✓|✗] CloudWatch metrics: ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws keyspaces get-keyspace --keyspace-name \u003Ckeyspace-name>\n  aws keyspaces get-table --keyspace-name \u003Ckeyspace-name> --table-name \u003Ctable-name>\n  aws cloudwatch get-metric-statistics --namespace AWS\u002FCassandra --metric-name ConsumedWriteCapacityUnits --dimensions Name=Keyspace,Value=\u003Ckeyspace> Name=TableName,Value=\u003Ctable> --start-time \u003Ctime> --end-time \u003Ctime> --period 300 --statistics Sum\n```\n\n### Worked example — on-demand keyspace with PITR and CMK encryption\n\n```text\nKEYSPACES: my_app_keyspace.user_events\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Keyspace: my_app_keyspace — ACTIVE\n  [✓] Table: user_events — schema (partition key: user_id+event_date, clustering key: event_time DESC)\n  [✓] Partition key cardinality: HIGH (user_id UUID + date → millions of partitions)\n  [✓] Capacity mode: On-demand (PAY_PER_REQUEST)\n  [✓] Point-in-time recovery: ENABLED\n  [✓] TTL: default_time_to_live=604800 (7 days)\n  [✓] Encryption at rest: Customer-managed key (arn:aws:kms:us-east-1:123456789012:key\u002Fabc123)\n  [✓] Client-side encryption: Not configured (server-side CMK sufficient)\n  [✓] Connectivity: Cassandra driver + SigV4 (port 9142, SSL)\n  [✓] VPC endpoint: vpce-aaa11122 (private DNS enabled)\n  [✓] CloudWatch metrics: ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits\n  [✓] Tags: Environment=production, Team=data-platform\nVERIFICATION_COMMANDS:\n  aws keyspaces get-keyspace --keyspace-name my_app_keyspace\n  aws keyspaces get-table --keyspace-name my_app_keyspace --table-name user_events\n  aws cloudwatch get-metric-statistics --namespace AWS\u002FCassandra --metric-name ConsumedWriteCapacityUnits --dimensions Name=Keyspace,Value=my_app_keyspace Name=TableName,Value=user_events --start-time 2026-08-05T00:00:00 --end-time 2026-08-05T01:00:00 --period 300 --statistics Sum\n```\n\n## Error handling\n\n> **Moved verbatim** → [references\u002Ferror-handling.md](references\u002Ferror-handling.md) § \"Error handling\".\n> Load when: a create\u002Fconnect\u002Frestore call fails — ValidationException, SSL handshake, SigV4 auth, throttling, VPC endpoint, PITR restore.\n\n## References (load on demand)\n\n- [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) — partition-key cardinality and clustering-key heuristics, TTL, at-rest and client-side KMS encryption, Cassandra driver + SigV4 connectivity (moved verbatim; existing deep reference)\n- [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) — on-demand vs provisioned RU crossover heuristic, CloudWatch metrics, provisioned auto-scaling (moved verbatim; existing deep reference)\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — VPC endpoint private access and recent AWS features (2023-2026)\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — ValidationException, SSL\u002FSigV4 connection failures, throttling, VPC endpoint failures, PITR restore failures\n\n## Domain\n\nAWS CloudOps \u002F Amazon Keyspaces (Cassandra-Compatible) Keyspace and\nTable Provisioning, Schema Management, and Capacity Planning.\n\n## AWS documentation\n\n- **Amazon Keyspaces Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fwhat-is-keyspaces.html\n- **Create keyspace** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fcreate-keyspace.html\n- **Create table** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fgetting-started.choice-of-partition-key.html\n- **Capacity modes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fcapacity-mode.html\n- **Point-in-time recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fpoint-in-time-recovery.html\n- **TTL** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fhow-to-ttl.html\n- **Encryption at rest** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fencryption-at-rest.html\n- **Client-side encryption** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fclient-side-encryption.html\n- **Cassandra driver connectivity** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fprogrammatic.credentials.html\n- **VPC endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fvpc-endpoints.html\n- **CloudWatch metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fmetrics-dimensions.html\n- **Auto-scaling** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fauto-scaling.html\n","# Amazon Keyspaces Keyspace Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Keyspaces (Cassandra-\ncompatible) keyspaces and tables with correct defaults. The skill walks\nthe operator through keyspace creation, table schema design (partition\nkey for distribution, clustering key for sort order), capacity mode\nselection (on-demand vs provisioned with auto-scaling), point-in-time\nrecovery, TTL, encryption at rest with KMS, client-side envelope\nencryption, CQL connectivity, VPC endpoints for private access, and\nCloudWatch observability, captures all schema and capacity decisions,\nexplains why each default matters, and emits a READY_TO_DEPLOY checklist\nwith copy-pasteable verification commands.\n\n## Activation keywords\n\ncreate keyspace, create Cassandra table, Amazon Keyspaces, on-demand\ncapacity, provisioned autoscaling, point-in-time recovery, Cassandra\nCQL, partition key, clustering key, Keyspaces VPC endpoint, client-side\nencryption KMS.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Keyspaces-provisioning request\n(create a keyspace, create a table, configure capacity mode, enable\nPITR, set TTL, configure encryption, set up connectivity, or a partial\nconfiguration), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `KEYSPACES:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels\nbreaks automation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Keyspace creation | Core keyspace model |\n| Step 2 — Table schema (partition key, clustering key, columns) | Schema design |\n| Step 3 — Capacity mode (on-demand vs provisioned) | Capacity decision |\n| Step 4 — Point-in-time recovery (PITR) | Backup\u002Frecovery |\n| Step 5 — TTL (time-to-live) | Data expiry |\n| Step 6 — Encryption at rest (KMS) | Encryption |\n| Step 7 — Client-side encryption (KMS envelope) | Application encryption |\n| Step 8 — Connectivity (Cassandra driver + SigV4) | CQL access |\n| Step 9 — VPC endpoint for private access | Network security |\n| Step 10 — CloudWatch metrics and observability | Monitoring |\n| Step 11 — Auto-scaling for provisioned mode | Capacity scaling |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fcapacity-and-cost.md | Capacity mode + cost crossover detail |\n| references\u002Fschema-and-encryption.md | Schema + encryption detail |\n\n## Mindset\n\n**One-line takeaway:** Amazon Keyspaces is a serverless, Cassandra-\ncompatible database. The keyspace is the namespace; the table holds\ndata. The partition key determines data distribution across the\nunderlying storage; the clustering key determines sort order within a\npartition. Capacity mode is the primary cost lever: on-demand charges\nper request (RU-based), provisioned charges per capacity unit reserved\nwith auto-scaling. PITR must be explicitly enabled per table — it is\nNOT on by default.\n\nThree misconceptions dominate Keyspaces misdesign at provisioning time:\n\n- **\"The partition key is just a primary key.\"** It is not. The\n  partition key determines which storage node holds the data. A low-\n  cardinality partition key (e.g., a status column with 3 values)\n  creates hot partitions and uneven distribution. A high-cardinality\n  partition key (e.g., user_id, device_id) distributes data evenly.\n  Cardinality matters more than uniqueness.\n\n- **\"On-demand is always simpler, so always use it.\"** On-demand is\n  simpler (no capacity planning), but costs more per request at steady\n  state. The crossover point where provisioned (with auto-scaling)\n  becomes cheaper is typically around 10-15% sustained utilization of\n  the provisioned capacity. For predictable workloads, provisioned with\n  auto-scaling is significantly cheaper.\n\n- **\"PITR is enabled by default like DynamoDB.\"** In Keyspaces, PITR\n  is DISABLED by default. Each table must explicitly enable PITR. A\n  baseline model may assume it is on. The procedure below forces an\n  explicit decision.\n\n## Configuration dependency graph (novel heuristic)\n\nKeyspaces configurations are NOT independent. The keyspace must exist\nbefore the table. The table schema (partition key, clustering key) is\nimmutable after creation — it CANNOT be changed without dropping and\nrecreating the table. Capacity mode can be switched but has cost\nimplications. Use this graph to sequence provisioning.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Keyspace | AWS account with Keyspaces available in the region | keyspace name must be unique within account+region (3-48 chars, alphanumeric + underscore) | table creation |\n| Table | keyspace exists | partition key + clustering key are IMMUTABLE after creation — cannot ALTER; must drop and recreate | data read\u002Fwrite via CQL |\n| Capacity mode (on-demand) | table exists | can switch to provisioned later; on-demand charges per RU consumed | pay-per-request billing |\n| Capacity mode (provisioned) | table exists; auto-scaling policy optional | can switch to on-demand later; provisioned charges per capacity unit whether used or not | reserved capacity billing |\n| PITR | table exists | DISABLED by default — must explicitly enable per table; continuous backup of last 35 days | point-in-time restore |\n| TTL | table exists | column-level TTL via CQL INSERT\u002FUPDATE; table default TTL via schema | automatic row expiry |\n| Encryption at rest (KMS) | table exists; KMS key available | AWS-owned key by default; customer-managed key (CMK) for granular control | at-rest encryption |\n| Client-side encryption | application-side KMS key | transparent to Keyspaces; encrypted before write, decrypted after read | field-level encryption |\n| VPC endpoint | VPC exists; private DNS enabled | Interface VPC endpoint (AWS PrivateLink) for private access without internet | private network access |\n| CloudWatch metrics | table exists | metrics are automatic (no enable needed); ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits | observability + autoscaling trigger |\n| Auto-scaling | provisioned capacity mode | target tracking on ConsumedWriteCapacityUnits or ConsumedReadCapacityUnits | automatic capacity adjustment |\n\n**The partition-key-immutability row is the one a baseline model\nmisses.** In DynamoDB, you can delete and recreate a table with a new\nkey schema relatively easily. In Keyspaces, the Cassandra data model\nmeans the partition key and clustering key are baked into the table\ndefinition and CANNOT be altered. Changing the key schema requires\ndropping the table (losing all data) and recreating it. The procedure\nbelow forces an explicit schema review before creation.\n\n**Cross-dependency gotchas:**\n- The partition key choice is PERMANENT. Changing it requires dropping\n  the table. Design the schema carefully before creating the table.\n- Clustering key is also permanent. It determines sort order within a\n  partition. Choose it based on query patterns (range scans, time-\n  ordered data).\n- Switching capacity mode (on-demand to provisioned or vice versa) is\n  allowed but takes effect immediately. Switching frequently can cause\n  billing surprises.\n- PITR is per-table, not per-keyspace. Each table must have PITR\n  explicitly enabled.\n- Client-side encryption is transparent to Keyspaces — the data is\n  encrypted before it reaches Keyspaces. Keyspaces sees ciphertext.\n  This means server-side CQL queries (e.g., WHERE clauses on encrypted\n  columns) do NOT work as expected because they compare ciphertext, not\n  plaintext.\n\n## Expert heuristic: partition key cardinality for distribution\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Expert heuristic: partition key cardinality for distribution\".\n> Load when: designing the table schema — why low-cardinality partition keys create hot partitions; composite time-bucketed keys.\n\n## Expert heuristic: clustering key for sort order\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Expert heuristic: clustering key for sort order\".\n> Load when: choosing the clustering key — sort order within a partition and range-query alignment.\n\n## Expert heuristic: on-demand vs provisioned RU crossover\n\n> **Moved verbatim** → [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) § \"Expert heuristic: on-demand vs provisioned RU crossover\".\n> Load when: choosing capacity mode — on-demand vs provisioned cost crossover math and workload profiles.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS region supports Keyspaces | Keyspaces is available in most regions but not all | `aws keyspaces list-keyspaces --region \u003Cregion>` |\n| Keyspace name (if creating table in existing keyspace) | Tables require a keyspace | `aws keyspaces get-keyspace --keyspace-name \u003Cname>` |\n| Partition key identified | Partition key is immutable after table creation — must be chosen before creating the table | Schema design review |\n| Clustering key identified (if range queries needed) | Clustering key is immutable after table creation | Query pattern analysis |\n| KMS key ID (if using CMK for encryption) | Customer-managed key must exist before referencing | `aws kms describe-key --key-id \u003Ckey-id>` |\n| VPC ID (if creating VPC endpoint) | Interface endpoint requires a VPC | `aws ec2 describe-vpcs --vpc-ids \u003Cvpc-id>` |\n| IAM permissions for keyspaces:* | Provisioning requires keyspace\u002Ftable create permissions | Verify IAM policy |\n| Capacity mode decision | On-demand vs provisioned is a cost decision | Workload analysis |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Keyspace creation\n\nA keyspace is the top-level namespace for tables. Each keyspace is\nunique within an AWS account and region.\n\n```bash\n# Create a keyspace\naws keyspaces create-keyspace \\\n  --keyspace-name my_app_keyspace \\\n  --tags Key=Environment,Value=production Key=Team,Value=data-platform\n\n# Verify the keyspace exists and is ACTIVE\naws keyspaces get-keyspace \\\n  --keyspace-name my_app_keyspace\n```\n\n**Naming constraints:** 3-48 characters, alphanumeric and underscore\nonly. Must start with a letter.\n\n**Replication:** Keyspaces is fully managed and automatically\nreplicates data across multiple Availability Zones within the chosen\nregion. No replication factor configuration is needed (unlike self-\nmanaged Cassandra).\n\n## Step 2 — Table schema (partition key, clustering key, columns)\n\nTable schema is defined using CQL (Cassandra Query Language). The\npartition key determines distribution; the clustering key determines\nsort order within a partition.\n\n```bash\n# Create a table with partition key + clustering key\naws keyspaces create-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --schema-definition '{\n    \"allColumns\": [\n      {\"name\": \"user_id\", \"type\": \"uuid\"},\n      {\"name\": \"event_date\", \"type\": \"date\"},\n      {\"name\": \"event_time\", \"type\": \"timestamp\"},\n      {\"name\": \"event_type\", \"type\": \"text\"},\n      {\"name\": \"payload\", \"type\": \"blob\"}\n    ],\n    \"partitionKeys\": [\n      {\"name\": \"user_id\", \"type\": \"uuid\"},\n      {\"name\": \"event_date\", \"type\": \"date\"}\n    ],\n    \"clusteringKeys\": [\n      {\"name\": \"event_time\", \"type\": \"timestamp\", \"orderBy\": \"DESC\"}\n    ]\n  }' \\\n  --point-in-time-recovery-enabled \\\n  --tags Key=Environment,Value=production\n```\n\n**Critical:** the partition key and clustering key are IMMUTABLE after\ncreation. Changing them requires dropping the table (losing all data)\nand recreating. Design the schema based on query patterns BEFORE\ncreating the table.\n\n**Column types supported:** ascii, bigint, blob, boolean, decimal,\ndouble, float, inet, int, list, map, set, text, timestamp, timeuuid,\ntinyint, tuple, uuid, varchar, varint.\n\n## Step 3 — Capacity mode (on-demand vs provisioned)\n\n```bash\n# Set capacity mode to on-demand (pay per request)\naws keyspaces update-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --capacity-spec '{\"throughputMode\": \"PAY_PER_REQUEST\"}'\n\n# Set capacity mode to provisioned (with explicit capacity units)\naws keyspaces update-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --capacity-spec '{\n    \"throughputMode\": \"PROVISIONED\",\n    \"provisionedThroughput\": {\n      \"readCapacityUnits\": 1000,\n      \"writeCapacityUnits\": 500\n    }\n  }'\n```\n\n**On-demand:** charges per RU consumed. No minimum commitment. Best for\nunpredictable or spiky workloads, or new workloads with unknown\ntraffic.\n\n**Provisioned:** charges per capacity unit-hour regardless of usage.\nBest for steady, predictable workloads. Pair with auto-scaling (Step\n11) to handle bursts.\n\n## Step 4 — Point-in-time recovery (PITR)\n\nPITR provides continuous backup of the last 35 days. It is DISABLED by\ndefault — must be explicitly enabled per table.\n\n```bash\n# Enable PITR on a table\naws keyspaces update-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --point-in-time-recovery-enabled\n\n# Verify PITR status\naws keyspaces get-table \\\n  --keyspace-name my_app_keyspace \\\n  --table-name user_events \\\n  --query 'capacitySummary' --output json\n```\n\n**Critical:** PITR is per-table, NOT per-keyspace. Each table must\nexplicitly enable it. A baseline model may assume PITR is on by\ndefault (as in DynamoDB). In Keyspaces, it is OFF by default.\n\n## Step 5 — TTL (time-to-live)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 5 — TTL (time-to-live)\".\n> Load when: configuring TTL — CQL USING TTL inserts and default_time_to_live.\n\n## Step 6 — Encryption at rest (KMS)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 6 — Encryption at rest (KMS)\".\n> Load when: configuring encryption at rest — AWS-owned vs AWS-managed vs customer-managed KMS, CMK create\u002Fset commands.\n\n## Step 7 — Client-side encryption (KMS envelope)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 7 — Client-side encryption (KMS envelope)\".\n> Load when: configuring client-side envelope encryption — KMS DEK generation plus the Cassandra driver Python example.\n\n## Step 8 — Connectivity (Cassandra driver + SigV4)\n\n> **Moved verbatim** → [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) § \"Step 8 — Connectivity (Cassandra driver + SigV4)\".\n> Load when: connecting via CQL — SigV4 auth provider, port 9142, SSL, and driver requirements.\n\n## Step 9 — VPC endpoint for private access\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 9 — VPC endpoint for private access\".\n> Load when: creating the interface VPC endpoint — PrivateLink, --private-dns-enabled, security group TCP 9142.\n\n## Step 10 — CloudWatch metrics and observability\n\n> **Moved verbatim** → [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) § \"Step 10 — CloudWatch metrics and observability\".\n> Load when: setting up observability — the CloudWatch metric table and get-metric-statistics examples.\n\n## Step 11 — Auto-scaling for provisioned mode\n\n> **Moved verbatim** → [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) § \"Step 11 — Auto-scaling for provisioned mode\".\n> Load when: enabling auto-scaling on provisioned tables — register-scalable-target and the target tracking policy.\n\n## Step 12 — Recent features\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 12 — Recent features\".\n> Load when: checking 2023-2026 feature availability — client-side encryption library, multi-region replication, tiered on-demand pricing.\n\n## NEVER do these things\n\n1. **NEVER use a low-cardinality partition key.** The partition key\n   determines data distribution. Low cardinality (e.g., status column\n   with 3 values) creates hot partitions and uneven distribution. Aim\n   for high-cardinality partition keys (user_id, device_id,\n   session_id).\n\n2. **NEVER assume the partition key or clustering key can be changed.**\n   They are IMMUTABLE after table creation. Changing them requires\n   dropping the table (losing all data) and recreating. Design the\n   schema based on query patterns BEFORE creating the table.\n\n3. **NEVER assume PITR is enabled by default.** In Keyspaces, PITR is\n   DISABLED by default. Each table must explicitly enable it. A baseline\n   model may confuse this with DynamoDB where PITR is also off by\n   default but the assumption is common.\n\n4. **NEVER connect to Keyspaces on port 9042 without SSL.** Keyspaces\n   requires SSL\u002FTLS on port 9142. Port 9042 (the default Cassandra\n   port) does NOT work. Always use SSL with the AmazonRootCA1\n   certificate.\n\n5. **NEVER use username\u002Fpassword authentication.** Keyspaces uses AWS\n   SigV4 authentication with IAM credentials. There are no passwords.\n   The Cassandra driver's `PlainTextAuthProvider` does NOT work.\n\n6. **NEVER create a VPC endpoint without private DNS.** Without\n   `--private-dns-enabled`, the Cassandra driver resolves to the public\n   Keyspaces endpoint and traffic traverses the internet. Private DNS\n   is REQUIRED for true private access.\n\n7. **NEVER use WHERE clauses on client-side encrypted columns.**\n   Client-side encryption is transparent to Keyspaces. Server-side CQL\n   queries compare ciphertext, not plaintext. WHERE clauses on\n   encrypted columns return wrong results. Design the schema so\n   encrypted columns are NOT used in WHERE clauses.\n\n8. **NEVER switch capacity mode frequently.** Switching between\n   on-demand and provisioned takes effect immediately. Frequent\n   switching can cause billing surprises. Choose the mode based on\n   workload analysis and commit for a billing period.\n\n9. **NEVER provision capacity without auto-scaling for variable\n   workloads.** Provisioned capacity without auto-scaling leads to\n   throttling during bursts or over-provisioning during dips. Always\n   pair provisioned mode with target tracking auto-scaling.\n\n10. **NEVER forget TTL for ephemeral data.** Without TTL, time-series\n    data accumulates indefinitely, increasing storage cost and query\n    latency. Set TTL on event logs, session data, and other ephemeral\n    rows to auto-expire.\n\n## Output format\n\n```text\nKEYSPACES: \u003Ckeyspace-name>.\u003Ctable-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Keyspace: \u003Ckeyspace-name> — ACTIVE\n  [✓|✗] Table: \u003Ctable-name> — schema (partition key: \u003Cpk>, clustering key: \u003Cck>)\n  [✓|✗] Partition key cardinality: HIGH (\u003Ccardinality>) | LOW (hot partition risk)\n  [✓|✗] Capacity mode: On-demand | Provisioned (read: \u003Crcu>, write: \u003Cwcu>) with auto-scaling\n  [✓|✗] Point-in-time recovery: ENABLED | DISABLED\n  [✓|✗] TTL: default_time_to_live=\u003Cseconds> | Not set\n  [✓|✗] Encryption at rest: AWS-owned key | Customer-managed key (\u003Ckms-key-id>)\n  [✓|✗] Client-side encryption: KMS envelope (\u003Ckms-key-alias>) | Not configured\n  [✓|✗] Connectivity: Cassandra driver + SigV4 (port 9142, SSL)\n  [✓|✗] VPC endpoint: \u003Cvpce-id> (private DNS enabled) | Public access\n  [✓|✗] CloudWatch metrics: ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws keyspaces get-keyspace --keyspace-name \u003Ckeyspace-name>\n  aws keyspaces get-table --keyspace-name \u003Ckeyspace-name> --table-name \u003Ctable-name>\n  aws cloudwatch get-metric-statistics --namespace AWS\u002FCassandra --metric-name ConsumedWriteCapacityUnits --dimensions Name=Keyspace,Value=\u003Ckeyspace> Name=TableName,Value=\u003Ctable> --start-time \u003Ctime> --end-time \u003Ctime> --period 300 --statistics Sum\n```\n\n### Worked example — on-demand keyspace with PITR and CMK encryption\n\n```text\nKEYSPACES: my_app_keyspace.user_events\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Keyspace: my_app_keyspace — ACTIVE\n  [✓] Table: user_events — schema (partition key: user_id+event_date, clustering key: event_time DESC)\n  [✓] Partition key cardinality: HIGH (user_id UUID + date → millions of partitions)\n  [✓] Capacity mode: On-demand (PAY_PER_REQUEST)\n  [✓] Point-in-time recovery: ENABLED\n  [✓] TTL: default_time_to_live=604800 (7 days)\n  [✓] Encryption at rest: Customer-managed key (arn:aws:kms:us-east-1:123456789012:key\u002Fabc123)\n  [✓] Client-side encryption: Not configured (server-side CMK sufficient)\n  [✓] Connectivity: Cassandra driver + SigV4 (port 9142, SSL)\n  [✓] VPC endpoint: vpce-aaa11122 (private DNS enabled)\n  [✓] CloudWatch metrics: ConsumedReadCapacityUnits, ConsumedWriteCapacityUnits\n  [✓] Tags: Environment=production, Team=data-platform\nVERIFICATION_COMMANDS:\n  aws keyspaces get-keyspace --keyspace-name my_app_keyspace\n  aws keyspaces get-table --keyspace-name my_app_keyspace --table-name user_events\n  aws cloudwatch get-metric-statistics --namespace AWS\u002FCassandra --metric-name ConsumedWriteCapacityUnits --dimensions Name=Keyspace,Value=my_app_keyspace Name=TableName,Value=user_events --start-time 2026-08-05T00:00:00 --end-time 2026-08-05T01:00:00 --period 300 --statistics Sum\n```\n\n## Error handling\n\n> **Moved verbatim** → [references\u002Ferror-handling.md](references\u002Ferror-handling.md) § \"Error handling\".\n> Load when: a create\u002Fconnect\u002Frestore call fails — ValidationException, SSL handshake, SigV4 auth, throttling, VPC endpoint, PITR restore.\n\n## References (load on demand)\n\n- [references\u002Fschema-and-encryption.md](references\u002Fschema-and-encryption.md) — partition-key cardinality and clustering-key heuristics, TTL, at-rest and client-side KMS encryption, Cassandra driver + SigV4 connectivity (moved verbatim; existing deep reference)\n- [references\u002Fcapacity-and-cost.md](references\u002Fcapacity-and-cost.md) — on-demand vs provisioned RU crossover heuristic, CloudWatch metrics, provisioned auto-scaling (moved verbatim; existing deep reference)\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — VPC endpoint private access and recent AWS features (2023-2026)\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — ValidationException, SSL\u002FSigV4 connection failures, throttling, VPC endpoint failures, PITR restore failures\n\n## Domain\n\nAWS CloudOps \u002F Amazon Keyspaces (Cassandra-Compatible) Keyspace and\nTable Provisioning, Schema Management, and Capacity Planning.\n\n## AWS documentation\n\n- **Amazon Keyspaces Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fwhat-is-keyspaces.html\n- **Create keyspace** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fcreate-keyspace.html\n- **Create table** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fgetting-started.choice-of-partition-key.html\n- **Capacity modes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fcapacity-mode.html\n- **Point-in-time recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fpoint-in-time-recovery.html\n- **TTL** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fhow-to-ttl.html\n- **Encryption at rest** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fencryption-at-rest.html\n- **Client-side encryption** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fclient-side-encryption.html\n- **Cassandra driver connectivity** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fprogrammatic.credentials.html\n- **VPC endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fvpc-endpoints.html\n- **CloudWatch metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fmetrics-dimensions.html\n- **Auto-scaling** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fkeyspaces\u002Flatest\u002Fdevguide\u002Fauto-scaling.html\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, keyspaces, cassandra, cloudops, deploy, databases, provisioning, partition-key, clustering-key, on-demand, provisioned, pitr, kms, vpc-endpoint","1","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","aws, keyspaces, cassandra, cloudops, deploy, provisioning, keyspace, table, partition key, clustering key, on-demand, provisioned, autoscaling, pitr, ttl, kms encryption, client-side encryption, vpc endpoint, cql, cloudwatch metrics","deploy","high","false","capability","Invoke when the user wants to create an Amazon Keyspaces keyspace or table, configure capacity mode (on-demand or provisioned with auto- scaling), enable point-in-time recovery, set TTL, configure KMS encryption at rest, set up client-side envelope encryption, connect via the Cassandra driver with SigV4, or create a VPC endpoint for private Keyspaces access. Do NOT invoke for Amazon DynamoDB (use DynamoDB skills), Amazon ElastiCache (use ElastiCache skills), or self-managed Cassandra on EC2\u002FEKS.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with keyspaces access. Works with Terraform aws_keyspaces_keyspace \u002F aws_keyspaces_table resources and CloudFormation AWS::Cassandra::Keyspace \u002F AWS::Cassandra::Table templates. CQL access via the open-source DataStax cassandra-driver with SigV4 authentication.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fkeyspaces-keyspace-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 keyspaces-keyspace-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill keyspaces-keyspace-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill keyspaces-keyspace-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6590,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fclient-side-encryption-kms.md",902,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fbaselines\u002Fclient-side-encryption-kms.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fclustering-key-sort-order.md",825,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fbaselines\u002Fclustering-key-sort-order.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-kms-key.md",799,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fbaselines\u002Fmissing-kms-key.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fon-demand-keyspace-table-pitr.md",948,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fbaselines\u002Fon-demand-keyspace-table-pitr.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fprovisioned-autoscaling.md",1007,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fbaselines\u002Fprovisioned-autoscaling.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1781,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",9911,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fclient-side-encryption-kms.md",762,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fprompts\u002Fclient-side-encryption-kms.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fclustering-key-sort-order.md",687,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fprompts\u002Fclustering-key-sort-order.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-kms-key.md",418,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fprompts\u002Fmissing-kms-key.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fon-demand-keyspace-table-pitr.md",805,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fprompts\u002Fon-demand-keyspace-table-pitr.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fprovisioned-autoscaling.md",627,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fevals\u002Fprompts\u002Fprovisioned-autoscaling.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",7110,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",2403,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fcapacity-and-cost.md",14115,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Freferences\u002Fcapacity-and-cost.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1600,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fschema-and-encryption.md",19699,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Freferences\u002Fschema-and-encryption.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4470,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkeyspaces-keyspace-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"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":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"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":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"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":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"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":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"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":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[]]