Help us improve
Share bugs, ideas, or general feedback.
From hyrex-migrations
Validate pending migrations for foreign key consistency, rollback safety, and best practices
npx claudepluginhub akhilyad/deployy --plugin hyrex-migrationsHow this skill is triggered — by the user, by Claude, or both
Slash command
/hyrex-migrations:migrate-validateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate all pending database migrations for correctness, safety, and adherence to best practices.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
Share bugs, ideas, or general feedback.
Validate all pending database migrations for correctness, safety, and adherence to best practices.
Before applying migrations to catch issues early -- foreign key references to non-existent tables, missing rollback SQL, destructive operations without safeguards, and naming convention violations.
Glob to list all migration files, cross-reference with applied history via mcp__hyrex__memory_search --namespace migrations (or memory_list) to identify pending ones. The memory_* tool family routes by namespace; agentdb_hierarchical-* does NOT (it routes by tier), so use memory_* here.Read to load each pending .up.sql and .down.sql file and parse the SQL statementsidx_table_column conventionmcp__hyrex__agentdb_pattern-store with type: 'migration-validation'. No namespace arg — ReasoningBank routes it.mcp__hyrex__memory_store --namespace migrations for validation results tied to a specific migration number.npx @hyrex/cli@latest memory search --query "migration validation results" --namespace migrations