From java
Diagnose Liquibase change-log lock failures in Maven tests and remove only stale H2 database files from build output directories before rerunning the affected tests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/java:liquibase-lock-resolverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Follow the Maven CLI skill whenever invoking Maven.
Follow the Maven CLI skill whenever invoking Maven.
Inspect the failing output and confirm a Liquibase lock signature. Do not delete files for an unrelated database, migration, or connectivity failure.
Determine the narrowest Maven module and test command that reproduces the failure.
Search recursively for H2 files only beneath Maven target/ directories. Typical names end in .mv.db, .trace.db, .lock.db, or .db.
Review the exact paths before deletion. Exclude source trees, checked-in fixtures, databases outside target/, and unrelated build artifacts.
Delete only the reviewed H2 paths, using the environment's safe file-removal facility when available. Report every removed file. Do not remove an entire target/ directory unless the user separately asks for a clean build.
Rerun the narrowest affected Maven test with the current module's upstream dependencies included when necessary. Do not use offline mode.
If no H2 files exist or the lock recurs, investigate instead of broadening deletion. Check for a still-running test JVM, concurrent builds sharing a database path, a non-H2 JDBC URL, or cleanup missing from the test lifecycle. Report the remaining cause and safe next action.
npx claudepluginhub motlin/claude-code-plugins --plugin javaStatically reviews Flyway/Liquibase schema migrations for rolling and blue-green deploy safety: checksum drift, expand-contract phasing, destructive DDL, lock risk, ordering, and idempotency.
Diagnoses dbt Cloud/platform job failures by analyzing run logs, querying Admin API, reviewing git history, and investigating data issues. For unclear or intermittent errors.
Diagnoses and repairs Drizzle Kit migration conflicts from merge, rebase, or PR updates. Guides safe repair of generated SQL, snapshots, and journal files.