seed-data-generator

Installation
SKILL.md

Seed Data Generator Protocol

This skill helps developers populate empty local or staging databases with massive amounts of realistic data for load testing and UI development.

Core assumption: Simple random strings (asdfgh) are useless for UI testing. Seed data must look real and respect Foreign Key constraints to successfully insert.


1. Schema Analysis & Topological Sort

Before generating data, read the schema and understand the relationships:

  • If orders depends on users and products.
  • If order_items depends on orders and products.
  • Topological Sort (Insert Order): users -> products -> orders -> order_items.

(Never try to insert an order item before the order exists).

2. Smart Field Generation (Faking)

Map column names and data types to specific Faker generators:

  • email -> Faker.Internet.Email()
Related skills

More from fatih-developer/fth-skills

Installs
3
GitHub Stars
4
First Seen
Mar 3, 2026