Skip to content
Development
Skill

/db-migrate

Run database migrations in Medusa

From plugin
medusa-agent-skills
20818 skills1 MCP
Install
$ npx -y skills add medusajs/medusa-agent-skills --skill db-migrate --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/db-migrate

Context preview

The summary Claude sees to decide when to auto-load this skill.

Run database migrations in Medusa

SKILL.md

db-migrate.SKILL.md
name: db-migrate
description: Run database migrations in Medusa
allowed-tools: Bash(npx medusa db:migrate:*)

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
Ships withmedusa-agent-skills

A collection of skills composed as Claude Code plugins for building Medusa applications with best practices and architectural patterns. These skills can be used with any agent, as explained in the Usage with Other Agents section.

Get the whole plugin
Stats
208
Stars
26
Forks
Active
Maintenance
JavaScript
Language
4d ago
Last commit
6mo ago
Created

Repo: medusajs/medusa-agent-skills

Other skills on medusa-agent-skills.