typescript:dynamodb-toolbox

Model DynamoDB single-table designs with dynamodb-toolbox for TypeScript apps.

39|4|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/martinffx/atelier --skill typescript-dynamodb-toolbox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript:dynamodb-toolbox
Source: https://github.com/martinffx/atelier/tree/main/skills/typescript%3Adynamodb-toolbox
Command: npx skills add https://github.com/martinffx/atelier --skill typescript-dynamodb-toolbox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

DynamoDB data modeling for TypeScript apps often requires complex single-table design patterns, consistent key schemas, and scalable access patterns. This Skill provides a comprehensive blueprint and patterns to implement such designs using dynamodb-toolbox v2.

Core Features & Use Cases

  • Patterns for Entity definitions, PK/SK/GSI key derivation, and virtual keys using .link patterns.
  • Guidance on transactions, atomic counters, and pagination with GSI-based queries.
  • Real-world examples and best practices for TypeScript projects.

Quick Start

Create a sample project that defines a User and Repository entity, then deploy the table with PK/SK keys and GSI configurations.

Frequently Asked Questions about typescript:dynamodb-toolbox

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I model DynamoDB single-table entities in TypeScript?

DynamoDB single-table design in TypeScript is modeled by defining structured entity schemas with PK/SK/GSI key patterns. This approach enforces consistent key derivation and scalable access patterns using dynamodb-toolbox.

What is the best way to handle multi-entity transactions in DynamoDB?

Multi-entity transactions in DynamoDB are handled using specific patterns for atomic operations and consistent updates. This methodology supports immutable entity updates and maps execution errors directly to domain errors.

How does single-table design handle pagination with GSI queries?

Pagination with GSI queries is handled by applying specific access patterns within the single-table design. This includes structured entity schemas and key transformations to retrieve sequential data sets efficiently.

Can I use dynamodb-toolbox for complex data modeling in TypeScript apps?

dynamodb-toolbox is used for complex TypeScript data modeling by providing a complete single-table design pattern. It applies a methodology with four transformations to support virtual keys and end-to-end access patterns.

How are Sets and timestamps managed in DynamoDB TypeScript schemas?

Sets and timestamps are managed within DynamoDB TypeScript schemas using specific entity definition patterns. The methodology handles the distinction between Sets and arrays while enforcing immutable updates.

Why map DynamoDB errors to domain errors in TypeScript applications?

Mapping DynamoDB errors to domain errors in TypeScript applications ensures that transaction failures and access pattern issues are handled consistently. This enforces a structured methodology across multi-entity operations.