This runs `npx medusa db:migrate` for you and reports back what happened. You'd use it when you need to apply pending Medusa database migrations without leaving your Claude conversation. It handles the command execution and gives you a formatted summary of how many migrations ran and whether anything broke. Honestly, it's a thin wrapper around a single command, but if you're already chatting with Claude about your Medusa project and need to migrate your database, it saves you a context switch. The real value is keeping everything in one workflow rather than jumping to your terminal.

skills.sh installs
3.7K
GitHub stars
236
last updated
Aug 21, 2026

Install

$ npx -y skills add medusajs/medusa-agent-skills --skill db-migrate --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/medusajs/medusa-agent-skills
Categories
Backend & APIs, AI & Agent Building, Databases
First seen
Apr 16, 2026

More from medusajs/medusa-agent-skills

All 15
1himself65 avataroptions-payoffhimself65/finance-skillsGenerate an interactive options payoff curve chart with dynamic parameter controls. Use this skill whenever the user shares an options position screenshot, desc3.6Kskills.sh installs
2yaklang avatarreverse-shell-techniquesyaklang/hack-skillsReverse shell techniques playbook. Use when establishing remote shells including language one-liners, encrypted shells (OpenSSL/socat/ncat), web shells, PTY upg3.6Kskills.sh installs
3medusajs avatardb-generatemedusajs/medusa-agent-skillsGenerate database migrations for a Medusa module3.6Kskills.sh installs
4agricidaniel avatarads-attributionagricidaniel/claude-adsAudit cross-platform attribution, conversion definitions, reporting windows, GA4, AdServices and AdAttributionKit, MMPs, browser and server events, offline conv3.6Kskills.sh installs
5tradermonty avataruptrend-analyzertradermonty/claude-trading-skillsAnalyzes market breadth using Monty's Uptrend Ratio Dashboard data to diagnose the current market environment. Generates a 0-100 composite score from 5 componen3.6Kskills.sh installs
6netlify avatarnetlify-confignetlify/context-and-toolsReference for netlify.toml configuration and site environment variables. Use when configuring build settings, redirects, rewrites, headers, deploy contexts, the3.6Kskills.sh installs