
Description
db-generate is an agent skill from the Medusa agent skills collection that creates database migrations for one Medusa module. You give the module name as an argument, for example brand, product or a custom module name. The agent runs npx medusa db:generate with that name through the shell, then reports the module, where the migration file was created, any errors or warnings, and a reminder to run npx medusa db:migrate to apply the migrations. It is the step that comes before db-migrate in the same collection. The listing shows about 3,300 installs and a source repository with 234 GitHub stars, under the medusajs organisation. All three security checks, from Gen Agent Trust Hub, Socket and Snyk, are marked Pass.…
Highlights
- Generates migrations for a named Medusa module
- Runs npx medusa db:generate through the agent
- Reports the migration file and any warnings
- Points to db:migrate as the next step
- Security checks all marked Pass
Ratings & Reviews
No ratings yet
Be the first to rate db-generate.
People also visit
db-generate FAQ
What does db-generate do?
It asks your AI agent to create database migrations for a Medusa module by running npx medusa db:generate with the module name.
What module name should I pass?
The name of the Medusa module you want migrations for, for example brand or product, or the name of a custom module.
What happens after it runs?
The agent reports the module, where the migration file is, any errors or warnings, and reminds you to run npx medusa db:migrate.
How do I install it?
Run npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-generate.
What are its security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best db-generate alternatives?
Popular alternatives to db-generate include d1-migration, database-migration and db-migrate. See all db-generate alternatives










