From spring-boot
Analyzes Flyway SQL migrations and consolidates them into clean, domain-grouped CREATE TABLE migrations for pre-production projects with resettable databases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/spring-boot:flyway-consolidateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze incremental Flyway migrations and generate consolidated, domain-grouped CREATE TABLE migrations for pre-production projects where the database can be reset from scratch.
Analyze incremental Flyway migrations and generate consolidated, domain-grouped CREATE TABLE migrations for pre-production projects where the database can be reset from scratch.
| Scenario | Apply? |
|---|---|
| Pre-production project with migration sprawl | Yes |
| Database can be reset from scratch | Yes |
| Many incremental ALTER TABLE migrations | Yes |
| Want domain-based organization before release | Yes |
| Production database exists | No |
| Migration history must be preserved | No |
V*__*.sql files using GlobSee WORKFLOW.md for detailed step-by-step process.
Produce these deliverables in order:
| Signal | Assignment |
|---|---|
Table prefix (user_*, order_*) | Prefix-based domain |
| Foreign key cluster | Related tables share domain |
Join tables (user_roles) | Domain of primary entity |
Audit tables (*_audit, *_history) | Same domain as parent |
| Config/settings tables | Infrastructure domain |
| Explicit schema namespaces | Schema name as domain |
Present ambiguous cases to the user for decision.
ON CONFLICT DO NOTHING or equivalent for INSERT statements**/V*__*.sql and **/R*__*.sql to find versioned and repeatable migrationsCREATE TABLE, ALTER TABLE, FOREIGN KEY, INSERT INTO to search across migrationsSee EXAMPLES.md for complete before/after consolidation scenarios and TROUBLESHOOTING.md for common issues:
npx claudepluginhub joaquimscosta/arkhe-claude-plugins --plugin spring-bootGenerates versioned Flyway database migration scripts (V*.sql) with sequences, tables, constraints, and foreign keys from entity models. Useful for creating migrations, generating SQL scripts, or setting up database tables.
Creates a structured, zero-downtime database migration plan using the expand/contract pattern with SQL, rollback steps, and deployment runbook.
Plans safe database schema migrations with zero-downtime strategies, rollback procedures, and data validation for PostgreSQL, MySQL, and SQLite.