test-data-gen

Generate realistic test data for Prisma seed files and JSON fixtures.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/OM-bit-hub/daily_tracker --skill test-data-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-data-gen
Source: https://github.com/OM-bit-hub/daily_tracker/tree/main/.agents/skills/qa/test-data-gen
Command: npx skills add https://github.com/OM-bit-hub/daily_tracker --skill test-data-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates realistic test data and seed scripts to quickly bootstrap development and testing environments.

Core Features & Use Cases

  • Factories for users, courses, enrollments, and edge-case records
  • Produces Prisma seed files, JSON fixtures, or API-based seeds
  • Idempotent Seeding and referential integrity across related models
  • Simple, repeatable seeds for deterministic test states

Quick Start

Run the seed script to populate your database with realistic users, courses, enrollments, and edge-case records.

Frequently Asked Questions about test-data-gen

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

FAQPage Schema
How do I generate realistic test data for Prisma database seeding?

Generate realistic test data for Prisma database seeding by using factories to create users, courses, and enrollments with upsert-based idempotent seeds. This ensures referential integrity and repeatable test states across your development environment.

What is idempotent seeding and why do I need it for my dev environment?

Idempotent seeding is a database population technique that uses upsert operations to ensure running a seed script multiple times produces the same result without duplicating records. It maintains referential integrity for repeatable test states.

Can I use this to generate JSON fixtures instead of Prisma seed files?

Yes, you can generate JSON fixtures instead of Prisma seed files. The test data generation process supports producing JSON fixtures, API-based seeds, and Prisma seed scripts to bootstrap your testing environments.

How do I create test data factories that cover edge-case records?

Create test data factories that cover edge-case records by defining generation logic for relational models with realistic-valued fields and timestamps. This approach targets edge-case coverage alongside standard users, courses, and enrollments.

What's the best way to ensure referential integrity when seeding relational models?

The best way to ensure referential integrity when seeding relational models is to implement factories with upsert-based idempotent seeds and realistic-valued fields. This guarantees deterministic relationships and repeatable test states.

Do I need any specific dependencies to start seeding my database?

No specific dependencies are required to start seeding your database. The test data generation operates independently to produce seed files, JSON fixtures, or API-based seeds for your development and testing environments.