sync-demo-seeder

Community

Keep demo seed synchronized with schema

Authoraaronjoeldev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates keeping the demo seed SQL file in sync with the current Drizzle ORM schema and applied migrations so the demo dataset remains valid after schema changes.

Core Features & Use Cases

  • Schema reconciliation: Read src/lib/db/schema.ts and all SQL migration files in drizzle/ to detect added, removed, or renamed tables, columns, and enum variants.
  • Seed repair: Update scripts/seed-demo.sql to ensure the TRUNCATE lists all user-data tables, INSERT statements use exact SQL column names, add sensible demo values for new NOT NULL columns, and remove sections for deleted tables.
  • Use Case: When a new migration or schema change introduces a column, enum change, or table change, run this Skill to produce a clear change plan and apply safe updates to the demo seed so demo resets remain consistent.

Quick Start

Synchronize scripts/seed-demo.sql with the current schema and migrations and output a concise, table-by-table plan of the exact edits before changing the file.

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: sync-demo-seeder
Download link: https://github.com/aaronjoeldev/cashlytics-ai/archive/main.zip#sync-demo-seeder

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 223,000+ vetted skills library on demand.