This skill generates Medusa module migrations by running npx medusa db:generate for a given module and reports results and next steps.
npx playbooks add skill medusajs/medusa-agent-skills --skill db-generate
Generate database migrations for the specified Medusa module.
The user will provide the module name as an argument (e.g., brand, product, custom-module).
For example: /medusa-dev:db-generate brand
Use the Bash tool to execute the command npx medusa db:generate <module-name>, replacing <module-name> with the provided argument.
Report the results to the user, including:
npx medusa db:migrate to apply the migrations)Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.