AWS DynamoDB Patterns
Select the smallest relevant route. Do not recursively load linked guides, siblings,
examples or evals. Instructions/examples are not proof of runtime correctness.
Always-on boundaries
- Before live reads confirm account/role, Region, table/index and allowed evidence;
require exact approval for writes, deployment, backfill, deletion or load tests.
- Never inspect credentials, print customer items or execute examples on skill load.
Preserve the current IaC owner/data; no reset/recreation or hidden hot-path scans.
- Use the existing language/SDK; do not default to an ORM, Toolbox or single-table.
- Separate facts, assumptions, local checks and runtime evidence. Return selected
scope, findings and PASS/MISS/UNVERIFIED proportionately; never claim bulletproof.
Command routes
Recognize /aws-dynamodb-patterns <command> when host discovery supports it;
Codex may use $aws-dynamodb-patterns, or plain language. No host registration is
performed. Real selector: python3 scripts/select_mode.py <command> (paths only).
| Command |
Read only this route |
| help |
Help; show commands and stop |
| select |
Selected features |
| design |
Table/access-pattern design |
| refactor |
Existing-model/code updates |
| backup |
PITR/on-demand protection, then only the selected method |
| restore |
New-table recovery, then only the selected method |
| audit |
Audit, then only the chosen offline/live variant |
| performance-test |
Performance test |
| feature-plan |
Feature plan |
Audit defaults offline. Live mode is an authorization-gated metadata workflow;
selection is neither approval nor execution. Unknown commands fail; no fallback
from help into source/environment inspection. Combinations are manual, not chains.
Task routes
| Task |
Load only when needed |
| Broad data-access design/implementation and validation sequence |
Workflow, then selected domain detail |
| Keys, relationships, access patterns, single/multi-table choice |
Modeling |
| LSI/GSI selection and constraints |
Indexes |
| Query/write correctness, cursors, retries, transactions, migration |
Runtime contract |
| Attribute types, native vector schemas/search |
Data types/vectors |
| Embedding meaning/precision, Bedrock/S3/KB architecture |
Embedding integrations |
| IAM, tags/ABAC, resource policies |
Access |
| Key ownership, encryption selection/lifecycle |
Encryption |
| TTL/PITR, recovery, replicas |
Runtime TTL or recovery, as selected |
| Stream consumers or DAX cache |
Streams/DAX |
| Metrics/alarms |
Monitoring |
| Table CloudFormation/CLI provisioning |
Provisioning, then selected asset |
| Language-specific SDK or optional Toolbox |
Adapters, matching section only |
| Core AWS or embedding CLI examples |
Core CLI or embedding CLI |
| Current claims/source provenance |
Sources |
| Due review or skill edits |
Maintenance or eval contract |
At substantive use (not help), run scripts/review_due.py --as-of YYYY-MM-DD with
the actual client-local date. Review every June/December; if due/overdue load
Maintenance and remind the user. Never advance the ledger on load or claim a full
review from a targeted update. This is not a background/calendar notification.
Repository references
Load these only when needed:
- Operations reference — one-page backup and restore, disaster recovery, billing dimensions, monitoring, performance, IAM, tagging, encryption, network isolation and audit logging.
- Workflow and output contract — which workflow to load and the answer shape.
- Official sources — evidence ledger, evidence index and primary AWS pages.
- Safety checklist — before any live read or proposed change.
1---2name: aws-dynamodb-patterns3description: "Design, implement, refactor, audit and debug Amazon DynamoDB access patterns in any language. Use for keys/indexes, single/multi-table models, IAM/tags/resource policies, encryption/KMS, TTL/PITR, backup/restore, replicas, Streams/DAX, native vectors/embeddings, Bedrock/S3 integrations, CloudFormation/CLI, bounded performance-test plans and content-freshness reviews. Selective command/feature routes load on demand. Not permission to access AWS, change features or run load."4allowed-tools: Read Grep Glob Bash(python3 scripts/select_mode.py:*) Bash(python3 scripts/review_due.py:*)5metadata:6 source: https://skillmd.com/skills/vincentchuwaichow/aws-dynamodb-patterns7 author: "github: VincentChuWaiChow"8 version: "1.8.0"9 updated: "2026-11-08"10 category: data11---1213# AWS DynamoDB Patterns1415Select the smallest relevant route. Do not recursively load linked guides, siblings,16examples or evals. Instructions/examples are not proof of runtime correctness.1718## Always-on boundaries1920- Before live reads confirm account/role, Region, table/index and allowed evidence;21 require exact approval for writes, deployment, backfill, deletion or load tests.22- Never inspect credentials, print customer items or execute examples on skill load.23 Preserve the current IaC owner/data; no reset/recreation or hidden hot-path scans.24- Use the existing language/SDK; do not default to an ORM, Toolbox or single-table.25- Separate facts, assumptions, local checks and runtime evidence. Return selected26 scope, findings and PASS/MISS/UNVERIFIED proportionately; never claim bulletproof.2728## Command routes2930Recognize `/aws-dynamodb-patterns <command>` when host discovery supports it;31Codex may use `$aws-dynamodb-patterns`, or plain language. No host registration is32performed. Real selector: `python3 scripts/select_mode.py <command>` (paths only).3334| Command | Read only this route |35|---|---|36| help | [Help](references/commands/help.md); show commands and stop |37| select | [Selected features](references/commands/select.md) |38| design | [Table/access-pattern design](references/commands/design.md) |39| refactor | [Existing-model/code updates](references/commands/refactor.md) |40| backup | [PITR/on-demand protection](references/commands/backup.md), then only the selected method |41| restore | [New-table recovery](references/commands/restore.md), then only the selected method |42| audit | [Audit](references/commands/audit.md), then only the chosen offline/live variant |43| performance-test | [Performance test](references/commands/performance-test.md) |44| feature-plan | [Feature plan](references/commands/feature-plan.md) |4546Audit defaults offline. Live mode is an authorization-gated metadata workflow;47selection is neither approval nor execution. Unknown commands fail; no fallback48from help into source/environment inspection. Combinations are manual, not chains.4950## Task routes5152| Task | Load only when needed |53|---|---|54| Broad data-access design/implementation and validation sequence | [Workflow](references/workflow.md), then selected domain detail |55| Keys, relationships, access patterns, single/multi-table choice | [Modeling](references/modeling.md) |56| LSI/GSI selection and constraints | [Indexes](references/lsi-vs-gsi.md) |57| Query/write correctness, cursors, retries, transactions, migration | [Runtime contract](references/runtime-contract.md) |58| Attribute types, native vector schemas/search | [Data types/vectors](references/data-types-and-vectors.md) |59| Embedding meaning/precision, Bedrock/S3/KB architecture | [Embedding integrations](references/embedding-integrations.md) |60| IAM, tags/ABAC, resource policies | [Access](references/iam-and-access.md) |61| Key ownership, encryption selection/lifecycle | [Encryption](references/encryption.md) |62| TTL/PITR, recovery, replicas | [Runtime TTL](references/runtime-contract.md) or [recovery](references/recovery-and-replicas.md), as selected |63| Stream consumers or DAX cache | [Streams/DAX](references/streams-and-dax.md) |64| Metrics/alarms | [Monitoring](references/monitoring.md) |65| Table CloudFormation/CLI provisioning | [Provisioning](references/provisioning.md), then selected asset |66| Language-specific SDK or optional Toolbox | [Adapters](references/language-adapters.md), matching section only |67| Core AWS or embedding CLI examples | [Core CLI](references/commands/aws-cli.md) or [embedding CLI](references/commands/embedding.md) |68| Current claims/source provenance | [Sources](references/sources.md) |69| Due review or skill edits | [Maintenance](references/maintenance.md) or [eval contract](evals/eval.md) |7071At substantive use (not help), run `scripts/review_due.py --as-of YYYY-MM-DD` with72the actual client-local date. Review every June/December; if due/overdue load73Maintenance and remind the user. Never advance the ledger on load or claim a full74review from a targeted update. This is not a background/calendar notification.7576## Repository references7778Load these only when needed:7980- [Operations reference](references/operations.md) — one-page backup and restore, disaster recovery, billing dimensions, monitoring, performance, IAM, tagging, encryption, network isolation and audit logging.81- [Workflow and output contract](references/workflow-and-output.md) — which workflow to load and the answer shape.82- [Official sources](references/official-sources.md) — evidence ledger, evidence index and primary AWS pages.83- [Safety checklist](references/safety-checklist.md) — before any live read or proposed change.