[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6ZADNP2EDDHVH8V4MJV3J":3,"skill-same:01M7A6ZADNP2EDDHVH8V4MJV3J":144},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7A6ZADNP2EDDHVH8V4MJV3J","dynamodb-backup-operator",null,"Operates DynamoDB backup and restore workflows safely — on-demand backups via create-backup, point-in-time recovery (PITR) enable\u002Fverify via update-continuous-backups, AWS Backup cross-region\u002Fcross-account vault plans, restore-table-from-backup, restore-table-to-point-in-time (with selective attribute projection), and cross-region restore via export-to-S3\u002Fimport-from-S3. Runs deterministic pre-checks (PITR enabled, backup AVAILABLE, target table name free, IAM permissions present, billing-mode\u002Fcapacity drift), executes the operation behind a CONFIRM gate, and emits a verdict (READY | BLOCKED | COMPLETED) per operation with the exact CLI sequence, expected side-effects (new table name — must update application connection strings, no auto-scaling\u002Fstreams\u002FTTL\u002Falarms\u002FIAM copied), and verification commands. Use when creating on-demand backups, enabling PITR, restoring a DynamoDB table to a point in time, restoring from a backup, copying a table cross-region, or recovering from accidental data loss.","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\u002Fdynamodb-backup-operator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dynamodb-backup-operator\ndescription: Operates DynamoDB backup and restore workflows safely — on-demand backups via create-backup, point-in-time recovery (PITR) enable\u002Fverify via update-continuous-backups, AWS Backup cross-region\u002Fcross-account vault plans, restore-table-from-backup, restore-table-to-point-in-time (with selective attribute projection), and cross-region restore via export-to-S3\u002Fimport-from-S3. Runs deterministic pre-checks (PITR enabled, backup AVAILABLE, target table name free, IAM permissions present, billing-mode\u002Fcapacity drift), executes the operation behind a CONFIRM gate, and emits a verdict (READY | BLOCKED | COMPLETED) per operation with the exact CLI sequence, expected side-effects (new table name — must update application connection strings, no auto-scaling\u002Fstreams\u002FTTL\u002Falarms\u002FIAM copied), and verification commands. Use when creating on-demand backups, enabling PITR, restoring a DynamoDB table to a point in time, restoring from a backup, copying a table cross-region, or recovering from accidental data loss.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws dynamodb describe-table, describe-continuous-backups, describe-backup, list-backups, create-backup, update-continuous-backups, restore-table-from-backup, restore-table-to-point-in-time, export-table-to-point-in-time, import-table, and aws backup start-restore-job (AWS CLI v2, SSO or key-based credentials).\nmetadata:\n  domain: aws-cloudops\n  complexity: medium\n  requires_llm: 'true'\n  phase: '4'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Databases\n  task_type: operate\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY | BLOCKED | COMPLETED\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: dynamodb, databases, backup, restore, pitr, recovery, aws-backup, disaster-recovery\n  dependencies: aws-orchestrator\n  keywords: DynamoDB, on-demand backup, create-backup, point-in-time recovery, PITR, continuous backups, update-continuous-backups, restore-table-from-backup, restore-table-to-point-in-time, AWS Backup, cross-region backup, cross-account backup, backup vault, export-to-S3, import-table, table recovery, disaster recovery, selective restore, partial restore\n  when_to_use: Creating an on-demand DynamoDB backup, enabling or verifying PITR, restoring a DynamoDB table to a point in time, restoring from a backup, copying a table cross-region or cross-account, exporting a table to S3 for import elsewhere, recovering from accidental writes or deletes, or planning a backup\u002Frestore drill.\n  activation_triggers: create DynamoDB backup, enable DynamoDB PITR, restore DynamoDB table, restore DynamoDB to point in time, PITR restore DynamoDB, restore DynamoDB from backup, copy DynamoDB table cross-region, export DynamoDB to S3, import DynamoDB from S3, DynamoDB pre-migration backup, recover DynamoDB data, DynamoDB AWS Backup plan, verify DynamoDB restore\n  invocation_schema: 'Input: either (a) a DynamoDB table configuration with the intended operation (create-backup, enable-pitr, pitr-restore, snapshot- restore, export, import, aws-backup-restore), OR (b) a table-name \u002F backup-ARN + operation for live-account execution. Output: deterministic OPERATION\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY, BLOCKED, COMPLETED.'\n---\n\n# DynamoDB Backup Restore Operator\n\n## What this skill does\n\nExecutes DynamoDB backup and restore operations correctly and safely.\nRuns deterministic pre-checks before any state-changing CLI, executes\nthe operation behind a CONFIRM gate, and verifies the result. Every\nrestore produces a NEW table — the skill always surfaces the\napplication connection-string update step, the auto-scaling \u002F streams \u002F\nTTL \u002F IAM reconfiguration steps, and the cleanup plan.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **§ Quick reference** | Verdict thresholds (BLOCKED\u002FREADY\u002FCOMPLETED) + pre-check priority order | Before any operation |\n| **§ Mindset** | Why PITR is required, the new-table surprise, restore does NOT copy side config | Understanding the safety model |\n| **§ Pre-flight** | Table metadata gate — status, PITR, backup state, IAM, capacity mode | Before executing any CLI |\n| **§ Process** | Per-operation planning: on-demand backup, enable-PITR, PITR restore, snapshot restore, cross-region, AWS Backup | When choosing which operation to run |\n| **§ Output format** | Structured output template with VERDICT, COMMANDS, ENDPOINT, VERIFICATION | Formatting the response |\n| **§ Anti-Patterns** | NEVER list — common mistakes that cause data loss or silent failures | Review before risky operations |\n| **§ Pre-flight safety** | Additional checks before any remediation CLI | Defense-in-depth |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `BLOCKED` | One or more pre-checks failed (PITR not enabled for PITR restore, backup CREATING or missing, target table name exists, IAM permission missing, table in CREATING\u002FDELETING) | List failures, do NOT execute |\n| `READY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence, wait for operator yes |\n| `COMPLETED` | Operation finished and post-verification passed (new table ACTIVE, item count matches, side config re-applied) | Emit table ARN, verification results, cleanup steps |\n\n**Priority order for pre-checks (apply in this sequence, all must pass\nfor READY):**\n\n1. **Table status** — must be `ACTIVE` (or `UPDATING` for read-only\n   operations). `CREATING`, `DELETING`, `ARCHIVING`, `INACCESSIBLE_\n   ENCRYPTION_CREDENTIALS` → BLOCKED.\n2. **PITR state** — `restore-table-to-point-in-time` requires\n   `PointInTimeRecoveryStatus: ENABLED`. Verify via\n   `describe-continuous-backups`; BLOCKED with the\n   `update-continuous-backups` remediation if disabled.\n3. **Backup state** — `restore-table-from-backup` requires the backup\n   ARN to exist and `BackupStatus: AVAILABLE`. `CREATING` → BLOCKED with\n   \"wait for AVAILABLE before restore\".\n4. **Target table name free** — restore creates a NEW table; the target\n   name must not already exist. `ResourceInUseException` otherwise.\n5. **IAM permissions** — caller needs `dynamodb:CreateBackup`,\n   `dynamodb:RestoreTableFromBackup`,\n   `dynamodb:RestoreTableToPointInTime`, plus `kms:Decrypt`\u002F`kms:GenerateDataKey`\n   on the source table's CMK for encrypted tables.\n6. **Capacity \u002F billing mode drift awareness** — restore does NOT copy\n   auto-scaling policies. Plan to re-register scalable targets +\n   policies on the restored table (or switch to on-demand).\n\n**Cost\u002Ftime baselines (2026):**\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Mindset\n\n**One-line takeaway:** restore always creates a NEW table with a NEW\nname — the original is untouched, and the new table is missing\nauto-scaling, streams, TTL, alarms, and IAM policies. Operators who\nexpect an in-place rewind will miss the cutover and break their\napplication. Driven by three DynamoDB realities:\n\n- **PITR is REQUIRED for second-level recovery.** Without\n  `PointInTimeRecoveryStatus: ENABLED`, you can only restore to the\n  timestamp of an on-demand or AWS Backup snapshot. Data written and\n  deleted between snapshots is unrecoverable. Enable PITR by default on\n  every production table — the cost (~$0.20\u002FGB-month) is negligible\n  versus the recovery exposure.\n- **Restore is non-destructive and incomplete.** `restore-table-to-\n  point-in-time` and `restore-table-from-backup` create a NEW table\n  that copies schema + data + GSI\u002FLSI definitions, but does NOT copy\n  auto-scaling policies, CloudWatch alarms, IAM resource policies,\n  DynamoDB Streams, TTL, or tags (unless explicitly re-applied). The\n  new table defaults to the source's billing mode and provisioned\n  throughput settings, but autoscaling policies must be re-registered.\n- **Two recovery mechanisms are NOT interchangeable.** PITR\n  (continuous, 35-day window, second-level granularity) and on-demand\n  \u002F AWS Backup snapshots (point-in-time at the snapshot instant) are\n  complementary. A table with snapshots but no PITR cannot recover\n  data lost between snapshots.\n\n## Pre-flight: table metadata gate\n\nRun before classification. Misclassifying these produces wrong plans.\n\n**Pagination:** `list-backups` paginates at 100\u002Fpage — drain\n`--starting-token` to completion. `describe-continuous-backups` and\n`describe-table` are single-record calls (no pagination).\n\n**Live-account pre-flight (skip if offline plan audit):**\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n**Malformed input:** if the input JSON is invalid or missing required\nfields, emit `VERDICT: ERROR` with `REASON: Table\u002Foperation\nconfiguration is not valid JSON or is missing required fields — cannot\nplan.` and `REMEDIATION: Re-fetch with aws dynamodb describe-table\n--table-name \u003Cname> --output json and re-plan.`\n\n| Table attribute | Effect on operation |\n|---|---|\n| `TableStatus: ACTIVE` | Pre-check passes for stateful operations. |\n| `TableStatus: CREATING` | BLOCKED — wait for `ACTIVE` (table not yet readable). |\n| `TableStatus: DELETING` | BLOCKED — table is being deleted. |\n| `TableStatus: UPDATING` | Read-only operations OK; backup create OK if not mid-billing-mode switch. Restore-from-source OK. |\n| `TableStatus: INACCESSIBLE_ENCRYPTION_CREDENTIALS` | BLOCKED — active outage (CMK inaccessible). Treat as incident; restore from a known-good backup to a new table. |\n| `PointInTimeRecoveryStatus: ENABLED` | PITR restore allowed. Recovery window is `[EarliestRestorableDateTime, LatestRestorableDateTime]`. |\n| `PointInTimeRecoveryStatus: DISABLED` | PITR restore BLOCKED — only on-demand\u002FAWS Backup snapshot restore possible. |\n| `DeletionProtectionEnabled: true` | Restore to a new table is allowed (does not modify the source). Deleting the source later requires disabling protection first. |\n| `SSEDescription.SSEType: KMS` | Encrypted table. Restore requires CMK access in the target account\u002Fregion; cross-account restore requires the source account's CMK policy grant. |\n| `BillingModeSummary.BillingMode: PAY_PER_REQUEST` | Restore copies on-demand mode. New table is on-demand; no autoscaling re-registration needed. |\n| `BillingModeSummary.BillingMode: PROVISIONED` | Restore copies provisioned throughput settings, but does NOT copy autoscaling policies. The new table is provisioned at the snapshot's RCU\u002FWCU — register autoscaling targets + policies after restore. |\n| `Replicas` present (Global Table) | Restoring a global-table replica is unusual; restore the primary and re-add replicas. The restore is regional — it does NOT replicate the global-table config. |\n| `BackupStatus: AVAILABLE` | Restore-from-backup allowed. |\n| `BackupStatus: CREATING` | Restore BLOCKED — backup not yet complete; wait via `aws dynamodb wait` or poll `describe-backup`. |\n| `BackupStatus: DELETED` | Restore BLOCKED — backup no longer exists. |\n\n## Process — operation planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious DynamoDB backup\u002Frestore behaviors\n\nThese behaviors are easy to misjudge without operational DynamoDB\nexperience. Each changes a plan if ignored:\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n### Step 1: Pre-check gate — BLOCKED if any check fails\n\nRun ALL of the following pre-checks. If ANY fails, the verdict is\nBLOCKED with the failed checks enumerated in PRE_CHECKS. Do NOT execute\nthe operation.\n\n**For ALL operations:**\n1. `TableStatus` is `ACTIVE` (or `UPDATING` for read-only ops).\n2. The operation is not already in progress (no concurrent restore to\n   the same target name).\n3. IAM role for the operator holds the required DynamoDB permissions.\n\n**For on-demand backup (`create-backup`):**\n4. `TableStatus: ACTIVE`.\n5. Backup name (or generated name) does not already exist\n   (`list-backups --backup-type USER`).\n\n**For enable-PITR (`update-continuous-backups`):**\n4. `ContinuousBackupsStatus: ENABLED` but\n   `PointInTimeRecoveryStatus: DISABLED` (PITR can be toggled on).\n5. Table is not in `CREATING`\u002F`DELETING` state.\n\n**For PITR restore (`restore-table-to-point-in-time`):**\n4. `PointInTimeRecoveryStatus: ENABLED`.\n5. `LatestRestorableDateTime` >= `--restore-date-time` >=\n   `EarliestRestorableDateTime`.\n6. Target `--target-table-name` does NOT already exist.\n7. Caller holds `dynamodb:RestoreTableToPointInTime` on the source\n   table ARN.\n8. For encrypted tables: CMK is accessible in the target account\n   (`kms:Decrypt`, `kms:GenerateDataKey`).\n\n**For snapshot-style restore (`restore-table-from-backup`):**\n4. Backup ARN exists (`describe-backup`).\n5. `BackupStatus: AVAILABLE`.\n6. Target `--target-table-name` does NOT already exist.\n7. Caller holds `dynamodb:RestoreTableFromBackup` on the backup ARN.\n\n**For AWS Backup restore (`backup start-restore-job`):**\n4. Recovery point exists and is `COMPLETED` in the backup vault.\n5. IAM role for restore has `dynamodb:CreateTable`,\n   `dynamodb:RestoreTableFromBackup`, plus KMS grants.\n6. Target table name is free.\n\n**For export to S3 (`export-table-to-point-in-time`):**\n4. `PointInTimeRecoveryStatus: ENABLED` (PITR required for export).\n5. `--s3-bucket` exists and the export role has `s3:PutObject`,\n   `s3:ListBucket`, `kms:Decrypt`\u002F`kms:GenerateDataKey` on the\n   destination KMS key.\n6. `--export-time` is within the PITR window.\n\n**For import from S3 (`import-table`):**\n4. S3 source exists in the same region as the import.\n5. Input format matches the export format (DynamoDB JSON or Parquet).\n6. Caller has `dynamodb:CreateTable`, `s3:GetObject`, `s3:ListBucket`.\n\n### Step 2: READY — emit operation plan\n\nIf all pre-checks pass, emit `VERDICT: READY` with the exact CLI\nsequence and the CONFIRM gate. The plan includes:\n\n- The exact AWS CLI command with all flags populated from the source\n  table configuration.\n- The expected duration (backup create minutes-to-hours, restore\n  minutes-to-hours scaling with table size, export minutes-to-hours).\n- The expected side-effects (new table name for restore, new backup ARN\n  for create-backup, new export job ARN for S3 export).\n- The CONFIRM gate prompt.\n\n### Step 3: Execute behind CONFIRM gate\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI, emit:\n  `CONFIRM: About to \u003Coperation> on table \u003Cname> \u002F backup \u003Carn> in\n  account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed?\n  (yes\u002Fno)`. Do NOT execute until the operator confirms.\n- Capture pre-state for audit: `aws dynamodb describe-table --table-name\n  \u003Cname> --output json > \u002Ftmp\u002F\u003Cname>-pre-$(date +%s).json`.\n- Execute the CLI. Capture the operation ID (backup ARN, restore table\n  ARN, export job ARN, restore job ID).\n- For long-running operations, poll the operation via\n  `describe-table` (for restore: status RESTORING → ACTIVE),\n  `describe-backup` (for create-backup: CREATING → AVAILABLE),\n  `describe-export` (for export: IN_PROGRESS → COMPLETED).\n\n### Step 4: Post-verification — COMPLETED\n\nAfter the operation finishes, run post-verification. ALL checks must\npass for `COMPLETED`.\n\n1. `describe-table --table-name \u003Cnew-name>` — confirm\n   `TableStatus: ACTIVE`.\n2. Compare `ItemCount` (approximate) between source and restored table.\n   The restored count should match the source at the restore point.\n3. Run a sentinel query (`get-item` on a known key) to verify data\n   integrity.\n4. Verify GSI\u002FLSI are `ACTIVE` (not `BUILDING`\u002F`CREATING`).\n5. Reconfigure what restore does NOT copy:\n   - Auto-scaling policies (if PROVISIONED): `register-scalable-target`\n     + `put-scaling-policy` for the table AND each GSI.\n   - DynamoDB Streams: `update-table --stream-specification`.\n   - TTL: `update-time-to-live`.\n   - CloudWatch alarms: re-create alarms on the new table name.\n   - IAM resource policies: update any inline or managed policies\n     referencing the source table ARN.\n   - Tags: re-apply tags (`tag-resource`).\n   - `DeletionProtectionEnabled`: enable if the source had it.\n6. Update application connection strings (env vars, config files,\n   Secrets Manager, Parameter Store, IAM policies).\n7. Clean up the temporary restored table when the cutover is verified.\n\nIf ANY verification fails, emit `VERDICT: ERROR` with the failure\ndetails — do not claim COMPLETED.\n\n## Output format (per operation)\n\n```text\nOPERATION: \u003Ccreate-backup | enable-pitr | pitr-restore | snapshot-restore | export | import | aws-backup-restore>\nVERDICT: READY | BLOCKED | COMPLETED\nTARGET: \u003Ctable-name, backup-arn, restore-target>\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. \u003CCLI command with flags populated>\n  2. \u003Cwait\u002Fpoll command>\n  3. \u003Cnext step>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nTABLE_ARN: \u003Cnew table ARN if restore, \"unchanged\" if backup-create>\nNOTES: \u003Cconnection-string update, side-config re-apply, cleanup, caveats>\n```\n\n### Worked example — PITR restore\n\n```text\nOPERATION: pitr-restore\nVERDICT: READY\nTARGET: prod-orders-table -> prod-orders-table-pitr-2026-08-09\nPRE_CHECKS:\n  - [PASS] prod-orders-table TableStatus is ACTIVE\n  - [PASS] PointInTimeRecoveryStatus is ENABLED\n  - [PASS] RestoreDateTime 2026-08-09T10:00:00Z is within window\n    [2026-07-05T00:00:00Z, 2026-08-09T10:59:30Z]\n  - [PASS] Target table name prod-orders-table-pitr-2026-08-09 does not exist\n  - [PASS] Caller IAM role has dynamodb:RestoreTableToPointInTime\n  - [PASS] CMK arn:aws:kms:us-east-1:111111111111:key\u002Fprod-key accessible\nSTEPS:\n  1. CONFIRM: About to restore-table-to-point-in-time on prod-orders-table\n     to 2026-08-09T10:00:00Z, creating prod-orders-table-pitr-2026-08-09 in\n     account 111111111111 region us-east-1. This will create a NEW table\n     (original unchanged). Estimated duration: 20-40 minutes for ~80 GB.\n     Proceed? (yes\u002Fno)\n  2. aws dynamodb restore-table-to-point-in-time \\\n       --source-table-name prod-orders-table \\\n       --target-table-name prod-orders-table-pitr-2026-08-09 \\\n       --restore-date-time 2026-08-09T10:00:00Z \\\n       --billing-mode-override PAY_PER_REQUEST\n  3. Poll: aws dynamodb describe-table \\\n       --table-name prod-orders-table-pitr-2026-08-09 \\\n       --query 'Table.TableStatus'\n     Wait for ACTIVE (RESTORING -> ACTIVE).\nPOST_VERIFY:\n  - (pending execution)\nTABLE_ARN: (pending — will be arn:aws:dynamodb:us-east-1:111111111111:table\u002Fprod-orders-table-pitr-2026-08-09)\nNOTES:\n  - The new table has a NEW name. Update application connection strings.\n  - Restore does NOT copy: autoscaling, CloudWatch alarms, IAM resource\n    policies, DynamoDB Streams, TTL, tags, DeletionProtectionEnabled.\n  - Reconfigure each of the above after restore completes.\n  - The original prod-orders-table is unchanged and continues to bill.\n  - Plan cleanup: delete the restored table after migration cutover.\n```\n\n### Worked example — pre-check failure (PITR disabled)\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n### Worked example — snapshot-style restore (from on-demand backup)\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n## Anti-Patterns — NEVER\n\n- NEVER execute `restore-table-to-point-in-time` or\n  `restore-table-from-backup` without explicitly surfacing that a NEW\n  table with a NEW name will be created. Operators who expect an\n  in-place rewind will miss the connection-string update step and\n  break their application.\n\n- NEVER attempt a PITR restore on a table with\n  `PointInTimeRecoveryStatus: DISABLED`. There is no continuous\n  recovery window. Always check via `describe-continuous-backups` first\n  and BLOCK with the `update-continuous-backups` remediation.\n\n- NEVER assume restore copies side configuration. Restore does NOT\n  copy: auto-scaling policies, CloudWatch alarms, IAM resource\n  policies, DynamoDB Streams, TTL, tags, DeletionProtectionEnabled.\n  The post-restore checklist must enumerate each reconfiguration step.\n\n- NEVER attempt `restore-table-from-backup` while `BackupStatus` is\n  `CREATING`. The backup is not yet complete; restore fails. Poll\n  `describe-backup` until `AVAILABLE`.\n\n- NEVER restore to a target table name that already exists. The API\n  returns `ResourceInUseException`. Always verify target name is free\n  via `describe-table` first.\n\n- NEVER confuse DynamoDB on-demand backups (stored in DynamoDB\n  service) with S3 exports. `create-backup` produces a DynamoDB-managed\n  backup ARN; `export-table-to-point-in-time` writes Parquet\u002FJSON to\n  your S3 bucket. They have different costs, different regions, and\n  different restore paths.\n\n- NEVER rely solely on AWS Backup snapshots for production recovery.\n  AWS Backup provides scheduled snapshots (RPO = snapshot interval);\n  PITR provides second-level RPO. They are complementary. A production\n  table should have BOTH.\n\n- NEVER skip the GSI\u002FLSI rebuild check after restore. Restored indexes\n  start in `CREATING`\u002F`BUILDING` and are not queryable until `ACTIVE`.\n  Verify via `describe-table --query 'Table.GlobalSecondaryIndexes'`.\n\n- NEVER skip the `INACCESSIBLE_ENCRYPTION_CREDENTIALS` status check.\n  This status means the CMK is disabled or pending deletion — every\n  read\u002Fwrite on the table is failing. This is an active outage, not a\n  backup problem. Treat as incident and restore from a known-good\n  backup to a NEW table while the CMK is restored.\n\n- NEVER delete the original table after a restore until the new table\n  is verified AND application traffic is cut over. Restore is non-\n  destructive by design; deleting the original prematurely is the most\n  common cause of prolonged downtime during recovery.\n\n- NEVER recommend disabling PITR to \"save cost.\" The PITR charge\n  (~$0.20\u002FGB-month on change volume) is negligible versus the recovery\n  exposure. Disabling PITR loses the entire 35-day continuous recovery\n  window — irreversibly for the unbacked-up period.\n\n- NEVER assume cross-account AWS Backup restore \"just works.\" It needs\n  BOTH the source KMS key policy grant (`kms:Decrypt` to the recipient\n  account) AND the destination backup vault policy accepting the\n  source account. Missing either side fails at the encryption step.\n\n- NEVER recommend setting `BillingMode: PROVISIONED` on the restored\n  table without re-registering autoscaling. Restore copies the\n  provisioned throughput but NOT the autoscaling policies — the table\n  is statically provisioned until you re-register scalable targets.\n\n- NEVER execute `export-table-to-point-in-time` on a table with PITR\n  disabled. Export reads from the continuous-backup store; no PITR, no\n  export. Enable PITR first.\n\n- NEVER execute `import-table` into an existing table. Import CREATES\n  a new table; calling it against an existing name returns\n  `ResourceInUseException`. The S3 source must be in the same region\n  as the import.\n\n- NEVER assume an on-demand backup auto-expires. On-demand backups\n  persist indefinitely until `delete-backup` is called. Set a\n  retention reminder or use AWS Backup plans with Vault Lock for\n  compliance retention.\n\n- NEVER auto-execute a state-changing DynamoDB CLI without the CONFIRM\n  gate. Restore, backup create, and export all have side effects (new\n  table bill, backup storage charge, S3 write cost). Always emit\n  CONFIRM and wait.\n\n- NEVER confuse `restore-table-from-backup` (uses a backup ARN) with\n  `restore-table-to-point-in-time` (uses the continuous-backup window,\n  no ARN). They are different CLI commands for different recovery\n  points.\n\n- NEVER forget that AWS Backup Vault Lock in COMPLIANCE mode is\n  irrevocable. Once enabled with a retention period, no one (not even\n  root) can delete backups before retention expires. This is the\n  correct posture for ransomware resilience — but verify the retention\n  value before locking.\n\n## Pre-flight safety checks (run before any remediation CLI)\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked examples (pre-check failure, snapshot restore) moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step-0 expert knowledge, cost heuristics, edge cases, 2024-2026 features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live pre-flight + pre-remediation safety checks moved from SKILL.md\n- [references\u002Fbackup-restore-procedures.md](references\u002Fbackup-restore-procedures.md) — canonical per-operation procedures\n\n## Domain\n\nAWS CloudOps \u002F DynamoDB Backup, Restore & Disaster Recovery.\n\n## Expert heuristic: backup cost vs table cost\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Edge case: PITR restore and GSI rebuild cost\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## AWS documentation\n\n- **Amazon DynamoDB Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FWelcome.html\n- **DynamoDB Backup and Restore** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FBackupRestore.html\n- **Point-in-time recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FPointInTimeRecovery.html\n- **On-demand backup and restore** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FOnDemandBackup.html\n- **DynamoDB export to S3** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FS3.html\n- **DynamoDB import from S3** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FS3DataImport.html\n- **AWS Backup for DynamoDB** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faws-backup\u002Flatest\u002Fdevguide\u002Fdynamodb-backups.html\n- **AWS CLI DynamoDB reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fdynamodb\u002F\n","# DynamoDB Backup Restore Operator\n\n## What this skill does\n\nExecutes DynamoDB backup and restore operations correctly and safely.\nRuns deterministic pre-checks before any state-changing CLI, executes\nthe operation behind a CONFIRM gate, and verifies the result. Every\nrestore produces a NEW table — the skill always surfaces the\napplication connection-string update step, the auto-scaling \u002F streams \u002F\nTTL \u002F IAM reconfiguration steps, and the cleanup plan.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **§ Quick reference** | Verdict thresholds (BLOCKED\u002FREADY\u002FCOMPLETED) + pre-check priority order | Before any operation |\n| **§ Mindset** | Why PITR is required, the new-table surprise, restore does NOT copy side config | Understanding the safety model |\n| **§ Pre-flight** | Table metadata gate — status, PITR, backup state, IAM, capacity mode | Before executing any CLI |\n| **§ Process** | Per-operation planning: on-demand backup, enable-PITR, PITR restore, snapshot restore, cross-region, AWS Backup | When choosing which operation to run |\n| **§ Output format** | Structured output template with VERDICT, COMMANDS, ENDPOINT, VERIFICATION | Formatting the response |\n| **§ Anti-Patterns** | NEVER list — common mistakes that cause data loss or silent failures | Review before risky operations |\n| **§ Pre-flight safety** | Additional checks before any remediation CLI | Defense-in-depth |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `BLOCKED` | One or more pre-checks failed (PITR not enabled for PITR restore, backup CREATING or missing, target table name exists, IAM permission missing, table in CREATING\u002FDELETING) | List failures, do NOT execute |\n| `READY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence, wait for operator yes |\n| `COMPLETED` | Operation finished and post-verification passed (new table ACTIVE, item count matches, side config re-applied) | Emit table ARN, verification results, cleanup steps |\n\n**Priority order for pre-checks (apply in this sequence, all must pass\nfor READY):**\n\n1. **Table status** — must be `ACTIVE` (or `UPDATING` for read-only\n   operations). `CREATING`, `DELETING`, `ARCHIVING`, `INACCESSIBLE_\n   ENCRYPTION_CREDENTIALS` → BLOCKED.\n2. **PITR state** — `restore-table-to-point-in-time` requires\n   `PointInTimeRecoveryStatus: ENABLED`. Verify via\n   `describe-continuous-backups`; BLOCKED with the\n   `update-continuous-backups` remediation if disabled.\n3. **Backup state** — `restore-table-from-backup` requires the backup\n   ARN to exist and `BackupStatus: AVAILABLE`. `CREATING` → BLOCKED with\n   \"wait for AVAILABLE before restore\".\n4. **Target table name free** — restore creates a NEW table; the target\n   name must not already exist. `ResourceInUseException` otherwise.\n5. **IAM permissions** — caller needs `dynamodb:CreateBackup`,\n   `dynamodb:RestoreTableFromBackup`,\n   `dynamodb:RestoreTableToPointInTime`, plus `kms:Decrypt`\u002F`kms:GenerateDataKey`\n   on the source table's CMK for encrypted tables.\n6. **Capacity \u002F billing mode drift awareness** — restore does NOT copy\n   auto-scaling policies. Plan to re-register scalable targets +\n   policies on the restored table (or switch to on-demand).\n\n**Cost\u002Ftime baselines (2026):**\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Mindset\n\n**One-line takeaway:** restore always creates a NEW table with a NEW\nname — the original is untouched, and the new table is missing\nauto-scaling, streams, TTL, alarms, and IAM policies. Operators who\nexpect an in-place rewind will miss the cutover and break their\napplication. Driven by three DynamoDB realities:\n\n- **PITR is REQUIRED for second-level recovery.** Without\n  `PointInTimeRecoveryStatus: ENABLED`, you can only restore to the\n  timestamp of an on-demand or AWS Backup snapshot. Data written and\n  deleted between snapshots is unrecoverable. Enable PITR by default on\n  every production table — the cost (~$0.20\u002FGB-month) is negligible\n  versus the recovery exposure.\n- **Restore is non-destructive and incomplete.** `restore-table-to-\n  point-in-time` and `restore-table-from-backup` create a NEW table\n  that copies schema + data + GSI\u002FLSI definitions, but does NOT copy\n  auto-scaling policies, CloudWatch alarms, IAM resource policies,\n  DynamoDB Streams, TTL, or tags (unless explicitly re-applied). The\n  new table defaults to the source's billing mode and provisioned\n  throughput settings, but autoscaling policies must be re-registered.\n- **Two recovery mechanisms are NOT interchangeable.** PITR\n  (continuous, 35-day window, second-level granularity) and on-demand\n  \u002F AWS Backup snapshots (point-in-time at the snapshot instant) are\n  complementary. A table with snapshots but no PITR cannot recover\n  data lost between snapshots.\n\n## Pre-flight: table metadata gate\n\nRun before classification. Misclassifying these produces wrong plans.\n\n**Pagination:** `list-backups` paginates at 100\u002Fpage — drain\n`--starting-token` to completion. `describe-continuous-backups` and\n`describe-table` are single-record calls (no pagination).\n\n**Live-account pre-flight (skip if offline plan audit):**\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n**Malformed input:** if the input JSON is invalid or missing required\nfields, emit `VERDICT: ERROR` with `REASON: Table\u002Foperation\nconfiguration is not valid JSON or is missing required fields — cannot\nplan.` and `REMEDIATION: Re-fetch with aws dynamodb describe-table\n--table-name \u003Cname> --output json and re-plan.`\n\n| Table attribute | Effect on operation |\n|---|---|\n| `TableStatus: ACTIVE` | Pre-check passes for stateful operations. |\n| `TableStatus: CREATING` | BLOCKED — wait for `ACTIVE` (table not yet readable). |\n| `TableStatus: DELETING` | BLOCKED — table is being deleted. |\n| `TableStatus: UPDATING` | Read-only operations OK; backup create OK if not mid-billing-mode switch. Restore-from-source OK. |\n| `TableStatus: INACCESSIBLE_ENCRYPTION_CREDENTIALS` | BLOCKED — active outage (CMK inaccessible). Treat as incident; restore from a known-good backup to a new table. |\n| `PointInTimeRecoveryStatus: ENABLED` | PITR restore allowed. Recovery window is `[EarliestRestorableDateTime, LatestRestorableDateTime]`. |\n| `PointInTimeRecoveryStatus: DISABLED` | PITR restore BLOCKED — only on-demand\u002FAWS Backup snapshot restore possible. |\n| `DeletionProtectionEnabled: true` | Restore to a new table is allowed (does not modify the source). Deleting the source later requires disabling protection first. |\n| `SSEDescription.SSEType: KMS` | Encrypted table. Restore requires CMK access in the target account\u002Fregion; cross-account restore requires the source account's CMK policy grant. |\n| `BillingModeSummary.BillingMode: PAY_PER_REQUEST` | Restore copies on-demand mode. New table is on-demand; no autoscaling re-registration needed. |\n| `BillingModeSummary.BillingMode: PROVISIONED` | Restore copies provisioned throughput settings, but does NOT copy autoscaling policies. The new table is provisioned at the snapshot's RCU\u002FWCU — register autoscaling targets + policies after restore. |\n| `Replicas` present (Global Table) | Restoring a global-table replica is unusual; restore the primary and re-add replicas. The restore is regional — it does NOT replicate the global-table config. |\n| `BackupStatus: AVAILABLE` | Restore-from-backup allowed. |\n| `BackupStatus: CREATING` | Restore BLOCKED — backup not yet complete; wait via `aws dynamodb wait` or poll `describe-backup`. |\n| `BackupStatus: DELETED` | Restore BLOCKED — backup no longer exists. |\n\n## Process — operation planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious DynamoDB backup\u002Frestore behaviors\n\nThese behaviors are easy to misjudge without operational DynamoDB\nexperience. Each changes a plan if ignored:\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n### Step 1: Pre-check gate — BLOCKED if any check fails\n\nRun ALL of the following pre-checks. If ANY fails, the verdict is\nBLOCKED with the failed checks enumerated in PRE_CHECKS. Do NOT execute\nthe operation.\n\n**For ALL operations:**\n1. `TableStatus` is `ACTIVE` (or `UPDATING` for read-only ops).\n2. The operation is not already in progress (no concurrent restore to\n   the same target name).\n3. IAM role for the operator holds the required DynamoDB permissions.\n\n**For on-demand backup (`create-backup`):**\n4. `TableStatus: ACTIVE`.\n5. Backup name (or generated name) does not already exist\n   (`list-backups --backup-type USER`).\n\n**For enable-PITR (`update-continuous-backups`):**\n4. `ContinuousBackupsStatus: ENABLED` but\n   `PointInTimeRecoveryStatus: DISABLED` (PITR can be toggled on).\n5. Table is not in `CREATING`\u002F`DELETING` state.\n\n**For PITR restore (`restore-table-to-point-in-time`):**\n4. `PointInTimeRecoveryStatus: ENABLED`.\n5. `LatestRestorableDateTime` >= `--restore-date-time` >=\n   `EarliestRestorableDateTime`.\n6. Target `--target-table-name` does NOT already exist.\n7. Caller holds `dynamodb:RestoreTableToPointInTime` on the source\n   table ARN.\n8. For encrypted tables: CMK is accessible in the target account\n   (`kms:Decrypt`, `kms:GenerateDataKey`).\n\n**For snapshot-style restore (`restore-table-from-backup`):**\n4. Backup ARN exists (`describe-backup`).\n5. `BackupStatus: AVAILABLE`.\n6. Target `--target-table-name` does NOT already exist.\n7. Caller holds `dynamodb:RestoreTableFromBackup` on the backup ARN.\n\n**For AWS Backup restore (`backup start-restore-job`):**\n4. Recovery point exists and is `COMPLETED` in the backup vault.\n5. IAM role for restore has `dynamodb:CreateTable`,\n   `dynamodb:RestoreTableFromBackup`, plus KMS grants.\n6. Target table name is free.\n\n**For export to S3 (`export-table-to-point-in-time`):**\n4. `PointInTimeRecoveryStatus: ENABLED` (PITR required for export).\n5. `--s3-bucket` exists and the export role has `s3:PutObject`,\n   `s3:ListBucket`, `kms:Decrypt`\u002F`kms:GenerateDataKey` on the\n   destination KMS key.\n6. `--export-time` is within the PITR window.\n\n**For import from S3 (`import-table`):**\n4. S3 source exists in the same region as the import.\n5. Input format matches the export format (DynamoDB JSON or Parquet).\n6. Caller has `dynamodb:CreateTable`, `s3:GetObject`, `s3:ListBucket`.\n\n### Step 2: READY — emit operation plan\n\nIf all pre-checks pass, emit `VERDICT: READY` with the exact CLI\nsequence and the CONFIRM gate. The plan includes:\n\n- The exact AWS CLI command with all flags populated from the source\n  table configuration.\n- The expected duration (backup create minutes-to-hours, restore\n  minutes-to-hours scaling with table size, export minutes-to-hours).\n- The expected side-effects (new table name for restore, new backup ARN\n  for create-backup, new export job ARN for S3 export).\n- The CONFIRM gate prompt.\n\n### Step 3: Execute behind CONFIRM gate\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI, emit:\n  `CONFIRM: About to \u003Coperation> on table \u003Cname> \u002F backup \u003Carn> in\n  account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed?\n  (yes\u002Fno)`. Do NOT execute until the operator confirms.\n- Capture pre-state for audit: `aws dynamodb describe-table --table-name\n  \u003Cname> --output json > \u002Ftmp\u002F\u003Cname>-pre-$(date +%s).json`.\n- Execute the CLI. Capture the operation ID (backup ARN, restore table\n  ARN, export job ARN, restore job ID).\n- For long-running operations, poll the operation via\n  `describe-table` (for restore: status RESTORING → ACTIVE),\n  `describe-backup` (for create-backup: CREATING → AVAILABLE),\n  `describe-export` (for export: IN_PROGRESS → COMPLETED).\n\n### Step 4: Post-verification — COMPLETED\n\nAfter the operation finishes, run post-verification. ALL checks must\npass for `COMPLETED`.\n\n1. `describe-table --table-name \u003Cnew-name>` — confirm\n   `TableStatus: ACTIVE`.\n2. Compare `ItemCount` (approximate) between source and restored table.\n   The restored count should match the source at the restore point.\n3. Run a sentinel query (`get-item` on a known key) to verify data\n   integrity.\n4. Verify GSI\u002FLSI are `ACTIVE` (not `BUILDING`\u002F`CREATING`).\n5. Reconfigure what restore does NOT copy:\n   - Auto-scaling policies (if PROVISIONED): `register-scalable-target`\n     + `put-scaling-policy` for the table AND each GSI.\n   - DynamoDB Streams: `update-table --stream-specification`.\n   - TTL: `update-time-to-live`.\n   - CloudWatch alarms: re-create alarms on the new table name.\n   - IAM resource policies: update any inline or managed policies\n     referencing the source table ARN.\n   - Tags: re-apply tags (`tag-resource`).\n   - `DeletionProtectionEnabled`: enable if the source had it.\n6. Update application connection strings (env vars, config files,\n   Secrets Manager, Parameter Store, IAM policies).\n7. Clean up the temporary restored table when the cutover is verified.\n\nIf ANY verification fails, emit `VERDICT: ERROR` with the failure\ndetails — do not claim COMPLETED.\n\n## Output format (per operation)\n\n```text\nOPERATION: \u003Ccreate-backup | enable-pitr | pitr-restore | snapshot-restore | export | import | aws-backup-restore>\nVERDICT: READY | BLOCKED | COMPLETED\nTARGET: \u003Ctable-name, backup-arn, restore-target>\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. \u003CCLI command with flags populated>\n  2. \u003Cwait\u002Fpoll command>\n  3. \u003Cnext step>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nTABLE_ARN: \u003Cnew table ARN if restore, \"unchanged\" if backup-create>\nNOTES: \u003Cconnection-string update, side-config re-apply, cleanup, caveats>\n```\n\n### Worked example — PITR restore\n\n```text\nOPERATION: pitr-restore\nVERDICT: READY\nTARGET: prod-orders-table -> prod-orders-table-pitr-2026-08-09\nPRE_CHECKS:\n  - [PASS] prod-orders-table TableStatus is ACTIVE\n  - [PASS] PointInTimeRecoveryStatus is ENABLED\n  - [PASS] RestoreDateTime 2026-08-09T10:00:00Z is within window\n    [2026-07-05T00:00:00Z, 2026-08-09T10:59:30Z]\n  - [PASS] Target table name prod-orders-table-pitr-2026-08-09 does not exist\n  - [PASS] Caller IAM role has dynamodb:RestoreTableToPointInTime\n  - [PASS] CMK arn:aws:kms:us-east-1:111111111111:key\u002Fprod-key accessible\nSTEPS:\n  1. CONFIRM: About to restore-table-to-point-in-time on prod-orders-table\n     to 2026-08-09T10:00:00Z, creating prod-orders-table-pitr-2026-08-09 in\n     account 111111111111 region us-east-1. This will create a NEW table\n     (original unchanged). Estimated duration: 20-40 minutes for ~80 GB.\n     Proceed? (yes\u002Fno)\n  2. aws dynamodb restore-table-to-point-in-time \\\n       --source-table-name prod-orders-table \\\n       --target-table-name prod-orders-table-pitr-2026-08-09 \\\n       --restore-date-time 2026-08-09T10:00:00Z \\\n       --billing-mode-override PAY_PER_REQUEST\n  3. Poll: aws dynamodb describe-table \\\n       --table-name prod-orders-table-pitr-2026-08-09 \\\n       --query 'Table.TableStatus'\n     Wait for ACTIVE (RESTORING -> ACTIVE).\nPOST_VERIFY:\n  - (pending execution)\nTABLE_ARN: (pending — will be arn:aws:dynamodb:us-east-1:111111111111:table\u002Fprod-orders-table-pitr-2026-08-09)\nNOTES:\n  - The new table has a NEW name. Update application connection strings.\n  - Restore does NOT copy: autoscaling, CloudWatch alarms, IAM resource\n    policies, DynamoDB Streams, TTL, tags, DeletionProtectionEnabled.\n  - Reconfigure each of the above after restore completes.\n  - The original prod-orders-table is unchanged and continues to bill.\n  - Plan cleanup: delete the restored table after migration cutover.\n```\n\n### Worked example — pre-check failure (PITR disabled)\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n### Worked example — snapshot-style restore (from on-demand backup)\nMoved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md) - load on demand (see References below).\n\n## Anti-Patterns — NEVER\n\n- NEVER execute `restore-table-to-point-in-time` or\n  `restore-table-from-backup` without explicitly surfacing that a NEW\n  table with a NEW name will be created. Operators who expect an\n  in-place rewind will miss the connection-string update step and\n  break their application.\n\n- NEVER attempt a PITR restore on a table with\n  `PointInTimeRecoveryStatus: DISABLED`. There is no continuous\n  recovery window. Always check via `describe-continuous-backups` first\n  and BLOCK with the `update-continuous-backups` remediation.\n\n- NEVER assume restore copies side configuration. Restore does NOT\n  copy: auto-scaling policies, CloudWatch alarms, IAM resource\n  policies, DynamoDB Streams, TTL, tags, DeletionProtectionEnabled.\n  The post-restore checklist must enumerate each reconfiguration step.\n\n- NEVER attempt `restore-table-from-backup` while `BackupStatus` is\n  `CREATING`. The backup is not yet complete; restore fails. Poll\n  `describe-backup` until `AVAILABLE`.\n\n- NEVER restore to a target table name that already exists. The API\n  returns `ResourceInUseException`. Always verify target name is free\n  via `describe-table` first.\n\n- NEVER confuse DynamoDB on-demand backups (stored in DynamoDB\n  service) with S3 exports. `create-backup` produces a DynamoDB-managed\n  backup ARN; `export-table-to-point-in-time` writes Parquet\u002FJSON to\n  your S3 bucket. They have different costs, different regions, and\n  different restore paths.\n\n- NEVER rely solely on AWS Backup snapshots for production recovery.\n  AWS Backup provides scheduled snapshots (RPO = snapshot interval);\n  PITR provides second-level RPO. They are complementary. A production\n  table should have BOTH.\n\n- NEVER skip the GSI\u002FLSI rebuild check after restore. Restored indexes\n  start in `CREATING`\u002F`BUILDING` and are not queryable until `ACTIVE`.\n  Verify via `describe-table --query 'Table.GlobalSecondaryIndexes'`.\n\n- NEVER skip the `INACCESSIBLE_ENCRYPTION_CREDENTIALS` status check.\n  This status means the CMK is disabled or pending deletion — every\n  read\u002Fwrite on the table is failing. This is an active outage, not a\n  backup problem. Treat as incident and restore from a known-good\n  backup to a NEW table while the CMK is restored.\n\n- NEVER delete the original table after a restore until the new table\n  is verified AND application traffic is cut over. Restore is non-\n  destructive by design; deleting the original prematurely is the most\n  common cause of prolonged downtime during recovery.\n\n- NEVER recommend disabling PITR to \"save cost.\" The PITR charge\n  (~$0.20\u002FGB-month on change volume) is negligible versus the recovery\n  exposure. Disabling PITR loses the entire 35-day continuous recovery\n  window — irreversibly for the unbacked-up period.\n\n- NEVER assume cross-account AWS Backup restore \"just works.\" It needs\n  BOTH the source KMS key policy grant (`kms:Decrypt` to the recipient\n  account) AND the destination backup vault policy accepting the\n  source account. Missing either side fails at the encryption step.\n\n- NEVER recommend setting `BillingMode: PROVISIONED` on the restored\n  table without re-registering autoscaling. Restore copies the\n  provisioned throughput but NOT the autoscaling policies — the table\n  is statically provisioned until you re-register scalable targets.\n\n- NEVER execute `export-table-to-point-in-time` on a table with PITR\n  disabled. Export reads from the continuous-backup store; no PITR, no\n  export. Enable PITR first.\n\n- NEVER execute `import-table` into an existing table. Import CREATES\n  a new table; calling it against an existing name returns\n  `ResourceInUseException`. The S3 source must be in the same region\n  as the import.\n\n- NEVER assume an on-demand backup auto-expires. On-demand backups\n  persist indefinitely until `delete-backup` is called. Set a\n  retention reminder or use AWS Backup plans with Vault Lock for\n  compliance retention.\n\n- NEVER auto-execute a state-changing DynamoDB CLI without the CONFIRM\n  gate. Restore, backup create, and export all have side effects (new\n  table bill, backup storage charge, S3 write cost). Always emit\n  CONFIRM and wait.\n\n- NEVER confuse `restore-table-from-backup` (uses a backup ARN) with\n  `restore-table-to-point-in-time` (uses the continuous-backup window,\n  no ARN). They are different CLI commands for different recovery\n  points.\n\n- NEVER forget that AWS Backup Vault Lock in COMPLIANCE mode is\n  irrevocable. Once enabled with a retention period, no one (not even\n  root) can delete backups before retention expires. This is the\n  correct posture for ransomware resilience — but verify the retention\n  value before locking.\n\n## Pre-flight safety checks (run before any remediation CLI)\nMoved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) - load on demand (see References below).\n\n## Recent AWS features (2024-2026)\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## References (load on demand)\n\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — secondary worked examples (pre-check failure, snapshot restore) moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step-0 expert knowledge, cost heuristics, edge cases, 2024-2026 features moved from SKILL.md\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live pre-flight + pre-remediation safety checks moved from SKILL.md\n- [references\u002Fbackup-restore-procedures.md](references\u002Fbackup-restore-procedures.md) — canonical per-operation procedures\n\n## Domain\n\nAWS CloudOps \u002F DynamoDB Backup, Restore & Disaster Recovery.\n\n## Expert heuristic: backup cost vs table cost\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## Edge case: PITR restore and GSI rebuild cost\nMoved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) - load on demand (see References below).\n\n## AWS documentation\n\n- **Amazon DynamoDB Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FWelcome.html\n- **DynamoDB Backup and Restore** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FBackupRestore.html\n- **Point-in-time recovery** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FPointInTimeRecovery.html\n- **On-demand backup and restore** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FOnDemandBackup.html\n- **DynamoDB export to S3** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FS3.html\n- **DynamoDB import from S3** — https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FS3DataImport.html\n- **AWS Backup for DynamoDB** — https:\u002F\u002Fdocs.aws.amazon.com\u002Faws-backup\u002Flatest\u002Fdevguide\u002Fdynamodb-backups.html\n- **AWS CLI DynamoDB reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Fdynamodb\u002F\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":38,"activation_triggers":42},"dynamodb, databases, backup, restore, pitr, recovery, aws-backup, disaster-recovery","4","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","DynamoDB, on-demand backup, create-backup, point-in-time recovery, PITR, continuous backups, update-continuous-backups, restore-table-from-backup, restore-table-to-point-in-time, AWS Backup, cross-region backup, cross-account backup, backup vault, export-to-S3, import-table, table recovery, disaster recovery, selective restore, partial restore","operate","medium","false","capability","Creating an on-demand DynamoDB backup, enabling or verifying PITR, restoring a DynamoDB table to a point in time, restoring from a backup, copying a table cross-region or cross-account, exporting a table to S3 for import elsewhere, recovering from accidental writes or deletes, or planning a backup\u002Frestore drill.","aws-orchestrator","true","READY | BLOCKED | COMPLETED","active","Input: either (a) a DynamoDB table configuration with the intended operation (create-backup, enable-pitr, pitr-restore, snapshot- restore, export, import, aws-backup-restore), OR (b) a table-name \u002F backup-ARN + operation for live-account execution. Output: deterministic OPERATION\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY, BLOCKED, COMPLETED.","create DynamoDB backup, enable DynamoDB PITR, restore DynamoDB table, restore DynamoDB to point in time, PITR restore DynamoDB, restore DynamoDB from backup, copy DynamoDB table cross-region, export DynamoDB to S3, import DynamoDB from S3, DynamoDB pre-migration backup, recover DynamoDB data, DynamoDB AWS Backup plan, verify DynamoDB restore","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws dynamodb describe-table, describe-continuous-backups, describe-backup, list-backups, create-backup, update-continuous-backups, restore-table-from-backup, restore-table-to-point-in-time, export-table-to-point-in-time, import-table, and aws backup start-restore-job (AWS CLI v2, SSO or key-based credentials).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fdynamodb-backup-operator",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill dynamodb-backup-operator",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill dynamodb-backup-operator",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill dynamodb-backup-operator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",8427,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fon-demand-backup-create-ready.md",440,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fbaselines\u002Fon-demand-backup-create-ready.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fpitr-restore-in-window.md",546,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fbaselines\u002Fpitr-restore-in-window.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fpitr-restore-pitr-disabled.md",584,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fbaselines\u002Fpitr-restore-pitr-disabled.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fsnapshot-restore-backup-creating.md",510,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fbaselines\u002Fsnapshot-restore-backup-creating.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fsnapshot-restore-verified-completed.md",362,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fbaselines\u002Fsnapshot-restore-verified-completed.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1885,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4633,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fon-demand-backup-create-ready.md",858,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fprompts\u002Fon-demand-backup-create-ready.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fpitr-restore-in-window.md",1257,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fprompts\u002Fpitr-restore-in-window.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fpitr-restore-pitr-disabled.md",1324,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fprompts\u002Fpitr-restore-pitr-disabled.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fsnapshot-restore-backup-creating.md",835,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fprompts\u002Fsnapshot-restore-backup-creating.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fsnapshot-restore-verified-completed.md",1424,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fevals\u002Fprompts\u002Fsnapshot-restore-verified-completed.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"examples\u002FREADME.md",10628,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fexamples\u002FREADME.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",11730,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fbackup-restore-procedures.md",12567,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Freferences\u002Fbackup-restore-procedures.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",3576,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fworked-examples.md",3005,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Freferences\u002Fworked-examples.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"skill.usf.yaml",4620,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdynamodb-backup-operator\u002Fskill.usf.yaml",[145,152,159,166,173,180],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]