Generates seed scripts that actually populate your database with realistic data instead of "test123" and "foo@bar.com". Reads Drizzle schemas or SQL migrations, figures out foreign key dependencies, and outputs TypeScript or SQL files with domain-appropriate sample data. Handles D1's quirks like the 10-row batch limit and TEXT-based JSON fields. The quality rules are solid: it varies the data, matches your domain context, and includes edge cases for testing seeds. You pick small/medium/large volume and dev/demo/testing purpose, and it adjusts the data style accordingly. Nice touch that it makes seeds idempotent so you can re-run them safely. Beats manually writing INSERT statements or copying production data.

skills.sh installs
981
GitHub stars
1.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add jezweb/claude-skills --skill db-seed --agent claude-code

Installs into .claude/skills of the current project.

Files

Database Seed Generator

Generate seed scripts that populate databases with realistic, domain-appropriate sample data. Reads your schema and produces ready-to-run seed files.

Workflow

1. Find the Schema

Scan the project for schema definitions:

SourceLocation pattern
Drizzle schemasrc/db/schema.ts, src/schema/*.ts, db/schema.ts
D1 migrationsdrizzle/*.sql, migrations/*.sql
Raw SQLschema.sql, db/*.sql
Prismaprisma/schema.prisma

Read all schema files. Build a mental model of:

  • Tables and their columns
  • Data types and constraints (NOT NULL, UNIQUE, DEFAULT)
  • Foreign key relationships (which tables reference which)
  • JSON fields stored as TEXT (common in D1/SQLite)

2. Determine Seed Parameters

Ask the user:

ParameterOptionsDefault
Purposedev, demo, testingdev
Volumesmall (5-10 rows/table), medium (20-50), large (100+)small
Domain context"e-commerce store", "SaaS app", "blog", etc.Infer from schema
Output formatTypeScript (Drizzle), raw SQL, or bothMatch project's ORM

Sponsors

Details

Repository
github.com/jezweb/claude-skills
Categories
Backend & APIs, Testing & QA, Documentation, Automation & Workflows, Sales & Marketing, Databases
First seen
May 16, 2026

More from jezweb/claude-skills

All 166
1thienanblog avatarlaravel-11-12-app-guidelinesthienanblog/awesome-ai-agent-skillsGuidelines and workflow for working on Laravel 11 or Laravel 12 applications across common stacks (API-only or full-stack), including optional Docker Compose/Sa980skills.sh installs
2mindrally avatarsecurity-best-practicesmindrally/skillsSecurity best practices for backend development, microservices, and secure coding patterns with emphasis on input validation and authentication967skills.sh installs
3testdino-hq avatarplaywright-coretestdino-hq/playwright-skillBattle-tested Playwright patterns for writing and debugging reliable E2E, API, component, visual, accessibility, and security tests. Use when you need locator s966skills.sh installs
4onmax avatarwriting-web-documentationonmax/nuxt-skillsWrite, rewrite, review, and organize developer-facing documentation for web software projects. Use when creating or improving README files, docs homepages, quic965skills.sh installs
5davila7 avatarxlsxdavila7/claude-code-templatesUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xl953skills.sh installs
6tencentcloudbase avatarai-model-webtencentcloudbase/skillsUse this skill when a browser/Web app (React, Vue, Angular, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI) needs AI models via @cloudbase/js-sdk. Defau918skills.sh installs