medusajs/medusa-agent-skills1 file

DB Generate

Generate database migrations for a Medusa module

Specification
Skill ID
medusajs/medusa-agent-skills/db-generate
Publisher
medusajs
Repository
medusa-agent-skills
Installs
0
Files
1
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

medusajs/medusa-agent-skills/db-generateInstalls these files
  • SKILL.md

What this skill tells the agent

Generate Database Migrations

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:

  • The module name for which migrations were generated
  • Migration file name or location
  • Any errors or warnings
  • Next steps (running npx medusa db:migrate to apply the migrations)

Use this skill in a project

Open any RiverX project, search the Skills panel for medusajs/medusa-agent-skills/db-generate, and install it in one click.

Use this skill