Slash Command
/migration
Create and manage database migrations for both NestJS (Prisma) and Python (Django) services.
From project-orchestratorInstall
1
Run in your terminal$
npx claudepluginhub vivekmano27/agent-orchestrator --plugin project-orchestratorDetails
Argument
<action: create | apply | rollback | status> <service: core | ai>Command Content
Interaction Rule
When confirmation, clarification, or approval is needed, always use the AskUserQuestion tool — never write questions as plain text.
Mission
Manage database migrations across services.
Actions
-
create: Generate new migration from schema changes
- NestJS:
npx prisma migrate dev --name [description] - Python:
python manage.py makemigrations
- NestJS:
-
apply: Run pending migrations — STOP. Call the AskUserQuestion tool BEFORE running:
AskUserQuestion( question="Apply pending migrations to [service]?", options=["Yes, apply migrations", "No, cancel"] )Then run:
- NestJS:
npx prisma migrate deploy - Python:
python manage.py migrate
- NestJS:
-
rollback: Revert last migration — STOP. Call the AskUserQuestion tool BEFORE running:
AskUserQuestion( question="Rollback last migration on [service]? This cannot be undone automatically.", options=["Yes, rollback migration", "No, cancel"] )- NestJS: Revert in schema +
npx prisma migrate dev - Python:
python manage.py migrate [app] [previous_migration]
- NestJS: Revert in schema +
-
status: Show pending migrations
- NestJS:
npx prisma migrate status - Python:
python manage.py showmigrations
- NestJS:
Other plugins with /migration
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitMar 15, 2026