What problem does it solve?
DynamoDB designs fail in predictable ways — hot partitions, wrong GSI keys, unbounded Scans, surprise bills — and most mistakes are only discovered after deployment. This Skill produces a defensible DynamoDB data-layer design grounded in explicit access patterns and design axioms, then optionally estimates monthly cost and validates the design against real AWS resources before you commit.
Core Features & Use Cases
- Axiom-driven data modeling: Enumerates access patterns, chooses partition/sort keys and GSIs, decides single-table vs. multi-table, and configures Streams, Global Tables, TTL, and vector indexes for similarity search.
- Cost estimation: Generates a monthly cost report from a JSON data model using scripts/calculate_costs.py, with per-attribute item-size walkthroughs to keep estimates accurate.
- Live validation: An opt-in pipeline deploys scratch tables, benchmarks them with an in-region Lambda, produces a performance report, and tears everything down with consent gates and spend guardrails.
- Use Case: A team designing a multi-tenant SaaS backend on DynamoDB uses the Skill to enumerate access patterns, get a schema with per-pattern query plans, receive a monthly cost estimate, and then run a representative benchmark to confirm the design survives hot-key load before production.
Quick Start
Ask the agent to design a DynamoDB data layer for your application by listing the queries it must serve, and it will produce the access-pattern table, schema, and cost estimate.