From superpowers-laravel
Guides Laravel migrations and factories with safe schema change rules, model pairing, seeding practices, and DB testing using RefreshDatabase.
npx claudepluginhub jpcaparas/superpowers-laravel --plugin superpowers-laravelThis skill uses the workspace's default tool permissions.
Keep schema changes safe, testable, and reversible.
Manages Rails development and test data using seeds, fixtures, FactoryBot factories, idempotent strategies, and environment-specific seeding workflows.
Generates migration files with up/down scripts for schema changes in Knex, Prisma, TypeORM, or Drizzle projects. Detects framework, verifies intent, and ensures rollback safety.
Share bugs, ideas, or general feedback.
Keep schema changes safe, testable, and reversible.
# Create model with migration + factory
sail artisan make:model Post -mfc # or: php artisan make:model Post -mfc
# Run/rollback
sail artisan migrate # or: php artisan migrate
sail artisan migrate:rollback --step=1 # or: php artisan migrate:rollback --step=1
# Fresh DB (dangerous; dev only)
sail artisan migrate:fresh --seed # or: php artisan migrate:fresh --seed
main, never edit it—add a new one->state([...])) over boolean flagsbelongsTo) in factories to build realistic graphsRefreshDatabase