drizzle-factory

Official

Create test data with Drizzle factories.

Authorsymbiosika
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Use when creating test data with Drizzle ORM. Use @praha/drizzle-factory to define factories, create single/multiple records, traits, seeds, compose factories, and reset sequences. Use when the user asks for database record factories, test data, or fixtures for Drizzle.

Core Features & Use Cases

  • Define factories with defineFactory for a given schema and table
  • Compose multiple factories with composeFactory
  • Use traits and seeds to model variants and fixed datasets
  • Reset sequences between tests to ensure deterministic IDs
  • Use use inside resolvers to create related records automatically

Quick Start

Define a factory with defineFactory and then create records via the factory for your database.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drizzle-factory
Download link: https://github.com/symbiosika/symbiosika-framework/archive/main.zip#drizzle-factory

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.