Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
medusajs avatar

Db Migrate

  • 2.3k installs
  • 207 repo stars
  • Updated July 31, 2026
  • medusajs/medusa-agent-skills

db-migrate is an agent skill that Run database migrations in Medusa.

About

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 The db migrate agent skill provides documented workflows prerequisites triggers and safety guidance from its SKILL md source Agents load it when user requests match the description and follow step by step instructions without inventing capabilities It integrates with standard agent tooling for the tasks inputs outputs and failure modes described in the repository documentation

  • description: Run database migrations in Medusa
  • allowed-tools: Bash(npx medusa db:migrate:*)
  • Execute the Medusa database migration command to apply pending migrations.
  • Follow db-migrate SKILL.md steps and documented constraints.
  • Follow db-migrate SKILL.md steps and documented constraints.

Db Migrate by the numbers

  • 2,331 all-time installs (skills.sh)
  • +98 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #436 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

db-migrate capabilities & compatibility

Capabilities
description: run database migrations in medusa · allowed tools: bash(npx medusa db:migrate:*) · execute the medusa database migration command to · follow db migrate skill.md steps and documented
Use cases
orchestration
From the docs

What db-migrate says it does

description: Run database migrations in Medusa
SKILL.md
allowed-tools: Bash(npx medusa db:migrate:*)
SKILL.md
Execute the Medusa database migration command to apply pending migrations.
SKILL.md
npx skills add https://github.com/medusajs/medusa-agent-skills --skill db-migrate

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.3k
repo stars207
Security audit3 / 3 scanners passed
Last updatedJuly 31, 2026
Repositorymedusajs/medusa-agent-skills

When should an agent use db-migrate and what problem does it solve?

Run database migrations in Medusa

Who is it for?

Developers invoking db-migrate as documented in the skill source.

Skip if: Skip when requirements fall outside db-migrate documented scope.

When should I use this skill?

Run database migrations in Medusa

What you get

Outputs aligned with the db-migrate SKILL.md workflow and stated deliverables.

  • Migration result report
  • Applied migration count

By the numbers

  • Restricts Bash to `npx medusa db:migrate:*` command patterns

Files

SKILL.mdMarkdownGitHub ↗

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

Related skills

Forks & variants (1)

Db Migrate has 1 known copy in the catalog totaling 16 installs. They canonicalize to this original listing.

How it compares

Pick db-migrate over generic migration skills when the codebase is Medusa-specific and you need the official `medusa db:migrate` CLI path.

FAQ

What is db-migrate?

Run database migrations in Medusa

When should I use db-migrate?

Run database migrations in Medusa

Is db-migrate safe to install?

Review the Security Audits panel on this page before production use.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.