What problem does it solve?
This Skill simplifies complex database operations in Stacks applications, abstracting away the differences between SQLite, MySQL, PostgreSQL, and DynamoDB while providing a unified interface for migrations, seeding, and query building.
Core Features & Use Cases
- Unified Query Building: Write type-safe queries that work across multiple SQL dialects using a lazy-initialized proxy.
- Automated Migrations & Seeding: Generate migration diffs, run schema updates, and seed your database with fake data using a single command.
- Use Case: When you need to add a new table to your application, use this Skill to generate the migration file, apply it to your local development database, and seed it with initial test data.
Quick Start
Use the stacks-database skill to generate a new migration for the users table and then run the migration to update your local database schema.