Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Validate pending migrations for foreign key consistency, rollback safety, and best practices
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -31% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 18% | 0% |
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__plugin_ruflo-core_ruflo__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__plugin_ruflo-core_ruflo__agentdb_pattern-store with type: 'migration-validation'. No namespace arg — ReasoningBank routes it.mcp__plugin_ruflo-core_ruflo__memory_store --namespace migrations for validation results tied to a specific migration number.bashnpx @claude-flow/cli@latest memory search --query "migration validation results" --namespace migrations
Other measured skills in the registry, with their headline benchmark lift.