From dynamo-expert
Orchestrator for the DynamoDB single-table design pipeline. Use when the user wants to design a DynamoDB table end-to-end or is unsure which step to start with. Routes to the appropriate specialized skill: dynamodb-access-patterns, dynamodb-table-design, or dynamodb-query-interfaces.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dynamo-expert:dynamodb-single-tableThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill orchestrates a 3-step pipeline for designing and implementing a DynamoDB single-table design. Use it when the user wants the full workflow or needs guidance on which step to take next.
This skill orchestrates a 3-step pipeline for designing and implementing a DynamoDB single-table design. Use it when the user wants the full workflow or needs guidance on which step to take next.
Step 1 Step 2 Step 3
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ Access Patterns │ ──> │ Table Design │ ──> │ Query Interfaces │
│ │ │ │ │ │
│ Elicit entities │ │ Design PK/SK/GSI │ │ Generate method │
│ & access patterns │ │ Map AP -> Query │ │ signatures & types│
│ Output: .md file │ │ Output: .md file │ │ Output: .md file │
└──────────────────┘ └──────────────────┘ └──────────────────┘
Skill: Skill: Skill:
dynamodb-access-patterns dynamodb-table-design dynamodb-query-interfaces
Before routing, check if the user's project already has pipeline artifacts. Search for files matching these patterns:
**/access-patterns.md or **/access_patterns.md**/table-design.md or **/table_design.md**/query-interfaces.md or **/query_interfaces.mdAlso check common locations:
docs/dynamodb/docs/Based on what exists:
| Files Found | State | Action |
|---|---|---|
| None | Fresh start | Route to dynamodb-access-patterns |
| Access patterns only | Step 1 complete | Route to dynamodb-table-design with the file path |
| Access patterns + table design | Steps 1-2 complete | Route to dynamodb-query-interfaces with the file path |
| All three files | Pipeline complete | Ask if they want to add entities, modify, or review |
| Table design only (no access patterns) | Partial/legacy | Warn that access patterns should be documented; offer to backfill or continue to Step 3 |
Tell the user what you found:
I found existing DynamoDB design artifacts in your project:
[x] Access Patterns: docs/dynamodb/access-patterns.md
[x] Table Design: docs/dynamodb/table-design.md
[ ] Query Interfaces: (not found)
You're ready for Step 3. Should I generate the query interfaces from
your table design?
| User wants to... | Route to |
|---|---|
| Start designing from scratch | dynamodb-access-patterns |
| Define entities and how they'll be queried | dynamodb-access-patterns |
| Has access patterns, needs key design | dynamodb-table-design |
| Has a table design, needs code interfaces | dynamodb-query-interfaces |
| Add a new entity to an existing table | Start with dynamodb-access-patterns for the new entity, then continue the pipeline |
| Understand single-table design concepts | Answer directly using the concepts below |
All entity types live in ONE DynamoDB table. You pre-join related data into item collections (items sharing a partition key) so they can be fetched in a single Query call. This eliminates the need for joins and reduces network round-trips.
pk/sk (not userId/orderId).By the end of the pipeline, the user will have 3 files:
| File | Content | Produced by |
|---|---|---|
access-patterns.md | Entities, attributes, all read/write/delete patterns | dynamodb-access-patterns |
table-design.md | PK/SK design, GSIs, access pattern -> query mapping | dynamodb-table-design |
query-interfaces.md | Entity types, key builders, repository method signatures | dynamodb-query-interfaces |
These files serve as the specification for the implementation phase.
npx claudepluginhub walis85300/marketplace --plugin dynamo-expertReviews DynamoDB table designs for access patterns, partition/sort keys, indexes, hot partitions, capacity, and cost. Use when DynamoDB correctness, latency, scaling, or cost depends on table design.
Provides TypeScript patterns for DynamoDB-Toolbox v2: schema/table/entity modeling, .build() workflows, query/scan access patterns, batch/transaction operations, single-table designs with computed keys. For type-safe DynamoDB access layers in TS services.
Type-safe DynamoDB single-table design with dynamodb-toolbox v2. Provides Entity and Table abstractions for defining key patterns, GSIs, and query operations.