seed-data

Generate and synchronize Prisma seed data with idempotent upserts.

11|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/berkcangumusisik/claude-code-practices --skill seed-data-berkcangumusisik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seed-data
Source: https://github.com/berkcangumusisik/claude-code-practices/tree/main/skills/seed-data
Command: npx skills add https://github.com/berkcangumusisik/claude-code-practices --skill seed-data-berkcangumusisik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Seeds are tedious to create and keep in sync across environments, slowing tests and CI.

Core Features & Use Cases

  • Idempotent seed generation from Prisma schema and existing data.
  • Supports realistic data generation with relationships and edge cases.
  • Use Case: quickly seed development databases for repeatable testing and staging.

Quick Start

Run the seed generator to create or update your Prisma seed files for development and testing.

Frequently Asked Questions about seed-data

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

FAQPage Schema
How do I automate Prisma seed data creation for testing environments?

Automate Prisma seed data creation by generating idempotent upserts from your schema, ensuring realistic data with relationships stays synchronized across local, CI, and staging databases.

What is the best way to keep development database seed data in sync across environments?

Keeping development database seed data in sync requires idempotent upsert-based generation, which safely creates or updates existing records without duplicating data during CI and staging runs.

How do I generate realistic seed data with relationships from a Prisma schema?

Generate realistic seed data with relationships by inspecting the Prisma schema to map models and create interconnected records, covering edge cases for repeatable testing.

Can I reset Prisma seed data for CI pipelines using idempotent upserts?

Yes, you can reset Prisma seed data for CI pipelines using an optional reset variant that leverages idempotent upserts to ensure a clean, predictable database state for automated testing.

What command do I run to execute Prisma database seeding?

Run the command `bun run db:seed` to execute the Prisma database seeding script, which applies the generated idempotent upserts to populate your development or staging database.