
db-migrate
β 195by medusajs Β· part of medusajs/medusa-agent-skills
Execute pending Medusa database migrations and report results. Runs npx medusa db:migrate via Bash to apply all pending migrations to your Medusa database Reports migration outcomes including count of applied migrations, any errors encountered, and success confirmation Designed for Medusa projects with standard npm/npx setup
This is the playbook your agent receives when the skill activates β you don't need to read it to use the skill, but it's here to audit before installing.
name: db-migrate description: Run database migrations in Medusa allowed-tools: Bash(npx medusa db:migrate:*)
Run Database Migrations
Execute the Medusa database migration command to apply pending migrations.
Use the Bash tool to execute: npx medusa db:migrate
Report the migration results to the user, including:
- Number of migrations applied
- Any errors that occurred
- Success confirmation
npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-migrateRun this in your project β your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.