jabrena/313-frameworks-spring-db-migrations-flyway
Use when you need to add or review Flyway database migrations in a Spring Boot application — Maven dependencies, db/migration scripts, spring.flyway.* configuration, baseline and validation, and alignment with JDBC or Spring Data JDBC. This should trigger for requests such as Add or review Flyway migrations in a Spring Boot project; Configure spring.flyway or db/migration layout; Add versioned Flyway SQL migrations for Spring Boot; Review Spring Boot database migration ordering; Fix repeatable Flyway migrations in a Spring project. Part of Plinth Toolkit
npx skills add https://github.com/jabrena/plinth --skill 313-frameworks-spring-db-migrations-flyway
Apply Flyway migration guidelines for Spring Boot.
What is covered in this Skill?
src/main/resources/db/migration (V{version}__{description}.sql)spring.flyway.* properties: locations, baseline-on-migrate, validate-on-migrateBaseJavaMigration) for data backfills@311-frameworks-spring-jdbc and @312-frameworks-spring-data-jdbcScope: Apply recommendations based on the reference rules and good/bad examples.
Before applying Flyway or SQL changes, ensure the project compiles. After improvements, run full verification.
./mvnw compile or mvn compile before applying any change./mvnw clean verify or mvn clean verify after applying improvementsRead references/313-frameworks-spring-db-migrations-flyway.md, references/313-frameworks-spring-db-migrations-flyway-antipatterns.md, and references/313-frameworks-spring-db-migrations-flyway-parallel-change.md, then inspect the current project setup before proposing changes.
Identify requested outcomes, constraints, and the minimum safe set of changes to apply.
Implement or refactor configuration/code following the reference patterns and project conventions. Use Parallel Change (expand, migrate, contract) as the safe default for breaking or data-sensitive schema changes.
Execute appropriate build/tests and summarize what changed, what was verified, and any follow-up actions.
For detailed guidance, examples, and constraints, see:
Take jabrena/313-frameworks-spring-db-migrations-flyway from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.