Db migrate

From Goldziher/ai-rulez · View interactive version

Db migrate is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Applies pending database migrations to the local or staging database. Use when the schema changed.

How to use this skill

Skill file

Database migrate

Never run make migrate against production; this skill covers local and staging only.

  1. Run make migrate-status and list the pending migrations.
  2. Confirm the target is local or staging (never production) by reading DB_TARGET from .env.example.
  3. Run make migrate.
  4. Run make migrate-status again and confirm that nothing is pending.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.