electrodb

Create and manage DynamoDB entities with TypeScript attribute enforcement.

3|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/whimzyLive/nightshift-ai --skill electrodb-whimzylive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electrodb
Source: https://github.com/whimzyLive/nightshift-ai/tree/main/skills/electrodb
Command: npx skills add https://github.com/whimzyLive/nightshift-ai --skill electrodb-whimzylive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @aws-sdk/client-dynamodb, @aws-sdk/lib-dynamodb, electrodb, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a TypeScript-first ORM for DynamoDB, solving the complexity of working with AWS DynamoDB by automating key composition, attribute type enforcement, and query generation.

Core Features & Use Cases

  • TypeScript-first ORM: Simplifies the creation and manipulation of DynamoDB entities.
  • Attribute Management: Enforces data types and enforces required fields, reducing errors.
  • Index and Query Automation: Handles primary and secondary index composition, making complex queries straightforward.
  • Use Case: Quickly set up and query DynamoDB tables without writing raw AWS SDK code, perfect for developers needing to interact with DynamoDB frequently.

Quick Start

Use the electrodb skill to define a new DynamoDB entity with the Task schema.

Frequently Asked Questions about electrodb

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

FAQPage Schema
How do I manage DynamoDB entities in TypeScript without writing raw AWS SDK code?

A TypeScript-first ORM for DynamoDB simplifies entity management by automating key composition, attribute type enforcement, and query generation. It eliminates the need to write raw AWS SDK code, streamlining database interactions for developers.

What is the best way to automate DynamoDB primary and secondary index composition?

Using a TypeScript ORM for DynamoDB automates primary and secondary index composition directly from your entity definitions. This makes complex queries straightforward and maintainable without manual index configuration.

Does this DynamoDB ORM enforce TypeScript attribute types and required fields?

Yes, this DynamoDB ORM enforces data types and validates required fields automatically through its TypeScript-first schema definitions. This attribute management significantly reduces runtime errors and data inconsistencies.

Can I use electrodb with my existing AWS DynamoDB and TypeScript environment?

Yes, electrodb works with projects requiring AWS DynamoDB and TypeScript support. It depends on the @aws-sdk/client-dynamodb and @aws-sdk/lib-dynamodb packages to manage interactions within your existing AWS infrastructure.

How do I define a new DynamoDB entity schema using electrodb?

You can define a new DynamoDB entity by creating a schema with specified attributes and index compositions using electrodb. This TypeScript-first approach automatically handles key generation and data type enforcement for your tables.