seed-fixtures

Seed Vietnamese fixture data into a FixNow database with conflict-safe inserts.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/manhthien2005/FixNow --skill seed-fixtures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seed-fixtures
Source: https://github.com/manhthien2005/FixNow/tree/main/.claude/skills/seed-fixtures
Command: npx skills add https://github.com/manhthien2005/FixNow --skill seed-fixtures

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bcryptjs, drizzle-orm.

What problem does it solve?

This Skill helps you rapidly populate FixNow's database with realistic Vietnamese demo data so development, testing, and product demos can start from a usable state instead of empty tables.

Core Features & Use Cases

  • Admin and customer fixtures: Creates hashed admin and demo customer accounts for authentication testing.
  • Service and parts catalog seeding: Inserts realistic service price rows and parts inventory across RAM, SSD, HDD, battery, and accessory categories.
  • Appointment samples: Adds a few representative appointments with valid codes and statuses to demonstrate booking flows and admin management.
  • Idempotent database setup: Uses conflict-safe inserts so the seed process can be rerun without duplicating core records.

Quick Start

Ask the skill to seed FixNow with realistic Vietnamese demo services, parts, admin users, and sample appointments for local development.

Frequently Asked Questions about seed-fixtures

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

FAQPage Schema
How do I seed realistic Vietnamese fixture data into a Drizzle database?

To seed realistic Vietnamese fixture data into a Drizzle database, you can use conflict-safe inserts for service catalogs, parts inventories, and sample appointments. This approach populates development tables with schema-aligned records without duplicating existing core data.

What's the best way to generate demo admin and customer accounts for local development?

Generating demo admin and customer accounts for local development is best handled by a seed script that applies bcrypt password hashing. This creates secure, realistic authentication records directly in your database for immediate testing.

Does this seed data approach work with Drizzle ORM for appointment workflows?

Yes, this seed data approach works with Drizzle ORM to populate appointment workflows. It inserts representative appointments with valid codes and statuses to demonstrate booking flows and admin management within your development environment.

Can I rerun database seeding without duplicating service and parts catalog rows?

You can rerun database seeding without duplicating service and parts catalog rows by using idempotent, conflict-safe inserts. This ensures the seed process safely updates or skips existing records across RAM, SSD, and battery categories.

What inventory categories are covered when seeding parts data?

When seeding parts data, the inventory categories covered include RAM, SSD, HDD, battery, and accessory categories. This provides realistic service price rows and parts inventory for comprehensive testing and product demos.