data-seeding-fixtures-builder

Generate deterministic seed data with Prisma and Faker.js.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Camilo8902/GabyCosmetics --skill data-seeding-fixtures-builder-camilo8902
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-seeding-fixtures-builder
Source: https://github.com/Camilo8902/GabyCosmetics/tree/main/.claude/skills/data-seeding-fixtures-builder
Command: npx skills add https://github.com/Camilo8902/GabyCosmetics --skill data-seeding-fixtures-builder-camilo8902

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @faker-js/faker, @prisma/client, tsx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of realistic, deterministic seed data for development and testing environments, streamlining the setup process and ensuring data consistency.

Core Features & Use Cases

  • Factory Functions: Define reusable functions to generate model instances with varied attributes.
  • Realistic Fixtures: Create predefined sets of data that mimic production scenarios.
  • Deterministic Seeding: Ensure reproducible test data by using fixed seeds for random data generation.
  • Environment-Specific Seeds: Tailor data generation for different environments (development, staging, testing).
  • Database Reset: Provides scripts to clear and reset the database to a known state.
  • E2E Test Fixtures: Sets up necessary data for end-to-end testing scenarios.

Quick Start

Run the command npm run db:seed:dev to generate development-specific seed data.

Frequently Asked Questions about data-seeding-fixtures-builder

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

FAQPage Schema
How do I generate deterministic seed data for database testing?

Generate deterministic seed data by using factory functions with fixed seeds in Faker.js, ensuring reproducible and realistic mock data for consistent database testing environments.

What's the best way to set up environment-specific database seeding with Prisma?

Configure environment-specific database seeding by defining tailored factory functions and reset scripts for development, staging, and testing environments using Prisma client operations.

How do I create realistic mock data fixtures for end-to-end tests?

Create realistic mock data fixtures by defining predefined data sets that mimic production scenarios, providing the necessary database state for running end-to-end tests.

Does this database seeding approach work with Prisma and Faker.js?

Yes, this database seeding approach works with Prisma and Faker.js, utilizing Prisma for database operations and Faker.js to generate realistic, deterministic mock data fixtures.

How do I reset a database to a known state before running test fixtures?

Reset a database to a known state by executing the provided database reset scripts, which clear existing records and re-seed the database with deterministic fixtures before running tests.