plugins/medusa-dev/skills/db-migrate/SKILL.md
Run database migrations in Medusa
npx skillsauth add medusajs/medusa-agent-skills db-migrateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
tools
--- name: mcloud-auth description: Execute mcloud authentication and context commands: login, logout, whoami, use, version, and signup. Use when setting up the CLI, switching accounts, verifying auth state, setting the active org/project/environment context, or checking the CLI version. allowed-tools: Bash(mcloud whoami*), Bash(mcloud use*), Bash(mcloud version*), Bash(mcloud logout*), Bash(jq*) --- # Cloud CLI: Auth and Context Commands Execute authentication and context commands for the Medu
tools
Create an admin user in Medusa
data-ai
Generate database migrations for a Medusa module
tools
--- name: creating-agents-in-medusa description: Use when building an internal admin-facing AI agent in a Medusa project. These agents are operated by merchants and store operators — not customers. Covers data models, module service, agent runtime (tools, system prompt, streamText), streaming API routes (NDJSON), and admin UI chat extensions. Load for any internal agent type: store operations assistant, product audit, cohort analysis, customer service tooling for support staff, etc. Do NOT use f