add-seed-data

Community

Seed a dev database safely in one go

Authorwebdevcody
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents slow, brittle development by generating seed data that matches your app’s real data-access layer and avoids duplicate rows or missing foreign keys.

Core Features & Use Cases

  • Creates or extends a seed script that generates representative developer fixtures while following the project’s seeding convention (e.g., extending scripts/seed.ts or wiring a new seed script).
  • Enforces dependency order so parent entities are created before children to avoid foreign-key failures.
  • Guarantees re-runnable behavior via an explicit idempotency strategy such as upsert by natural key or a safe skip/reset approach, so repeated runs don’t double-create data.
  • Directs you to the correct DB boundary by requiring seed code to call src/data-access/* functions rather than writing raw SQL/inserts, ensuring seeded rows exercise the same invariants as production logic.
  • Adds useful edge-case fixtures (empty fields, long strings, unicode, and tricky date values) to act as a smoke test for the data-access layer and UI flows.

Quick Start

Add seed data for posts in the dev database by telling the skill to generate seed fixtures and an idempotent scripts/seed.ts that calls the appropriate create/update functions in src/data-access.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-seed-data
Download link: https://github.com/webdevcody/go-mailing-list/archive/main.zip#add-seed-data

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.