C# Mock Data Migrator

•
38
•

Automatically generates realistic C# mock data classes from Drizzle, Prisma, and TypeORM schemas.

The ln-723-mockdata-migrator is a specialized L3 worker skill designed to bridge the gap between database schema definitions and .NET application development. It parses existing ORM schemas to generate production-ready C# static MockData classes, complete with intelligent type mapping, PascalCase naming transformations, and realistic sample data. By ensuring relationship integrity through parent-first generation and valid foreign key cross-referencing, this skill significantly accelerates the project bootstrapping process and provides a robust foundation for unit and integration testing.

Key Features

01Built-in Accessors: Generates helper methods like GetAll(), GetById(), and relationship-based filters.
02Realistic Data Generation: Uses domain-appropriate sample values instead of generic random strings for better testing context.
03Intelligent Type Mapping: Automatically converts database types to C# equivalents including nullability and GUID handling.
0438 GitHub stars
05Relationship Validation: Ensures all foreign key relationships point to existing parent IDs within the generated data set.
06Multi-ORM Parsing: Supports Drizzle (pg/mysql/sqlite), Prisma, and TypeORM schema formats.

Use Cases

01Synchronizing C# data models with Drizzle or Prisma schemas in full-stack TypeScript/C# environments.
02Bootstrapping .NET backend prototypes with realistic initial datasets based on existing frontend schemas.
03Generating type-safe mock repositories for unit and integration testing in C# projects.