seed-db

Community

Seed your app data safely and consistently.

Authorerwaen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Seed data is essential for development and testing, but creating consistent, repeatable datasets is time-consuming and error-prone without automated seeds.

Core Features & Use Cases

  • Idempotent seeds using find_or_create_by! to avoid duplicates and ensure repeatable results.
  • Deterministic ordering to respect foreign key dependencies (Departments, TimeOffTypes, Users, TimeOffRequests, Approvals).
  • Verifiable outputs with counts and an idempotent pattern, enabling safe re-seeding during development.

Quick Start

Run bundle exec rails db:seed to populate the seed data.

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: seed-db
Download link: https://github.com/erwaen/one-shot-test/archive/main.zip#seed-db

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.