supabase-seed

Seed Supabase databases with products, styles, and images using idempotent TypeScript scripts.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/songyinggoh/renovation-agent-monorepo --skill supabase-seed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-seed
Source: https://github.com/songyinggoh/renovation-agent-monorepo/tree/main/.claude/skills/supabase-seed
Command: npx skills add https://github.com/songyinggoh/renovation-agent-monorepo --skill supabase-seed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of populating your Supabase database with essential development data, ensuring your application has the necessary catalog and style information to function correctly.

Core Features & Use Cases

  • Database Seeding: Populates products, design styles, and style images using idempotent patterns.
  • Data Management: Facilitates adding new seed data categories and debugging empty catalog issues.
  • Use Case: When setting up a new development environment, use this Skill to quickly populate the database with sample products and styles so you can start testing your application's frontend immediately.

Quick Start

Run the supabase-seed skill to seed all database content including products, styles, and images.

Frequently Asked Questions about supabase-seed

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

FAQPage Schema
How do I seed a Supabase database with sample products using TypeScript?

You can seed a Supabase database with sample products and styles by running idempotent TypeScript scripts that utilize development-only HTTP endpoints. These scripts safely populate product catalogs and design styles using onConflictDoNothing and onConflictDoUpdate strategies to prevent duplicate data.

Why does my Supabase database show empty product listings during development?

Your Supabase database shows empty product listings because the development environment lacks initial data population. Running a database seeding process populates the missing product catalogs and associated style images, allowing your application frontend to retrieve and display the required sample data immediately.

What is the best way to add new data categories like contractors to a Supabase database?

The best way to add new data categories like contractors to a Supabase database is to extend idempotent seeding scripts. This approach safely inserts new data categories into your existing development database structure using TypeScript scripts while preserving your current product catalog and style records.

Can I use idempotent scripts to update existing Supabase seed data without duplicating rows?

Yes, you can use idempotent scripts to update existing Supabase seed data without duplicating rows. The scripts implement onConflictDoUpdate strategies to modify existing records and onConflictDoNothing to skip duplicates, ensuring your database seeding process remains safe and predictable across multiple executions.

Does Supabase database seeding work with development-only HTTP endpoints?

Yes, Supabase database seeding works with development-only HTTP endpoints to populate your database. These endpoints trigger TypeScript scripts that insert product catalogs and design style images, providing a quick way to set up your development environment with necessary sample data.