Use when you need to add or review Flyway database migrations in a Micronaut application — micronaut-flyway, db/migration scripts, flyway.datasources.* configuration, and alignment with JDBC or Micronaut Data. This should trigger for requests such as Add or review Flyway migrations in a Micronaut project; Configure micronaut-flyway or db/migration layout; Add versioned Flyway SQL migrations for Micronaut; Review Micronaut database migration ordering; Configure Flyway datasources in a Micronaut project. Part of Plinth Toolkit
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Apply Flyway migration guidelines for Micronaut.
What is covered in this Skill?
micronaut-flyway with JDBC/Hikari and database driverssrc/main/resources/db/migrationflyway.datasources.* (per-datasource) configuration in YAML/properties@511-frameworks-micronaut-jdbc and @512-frameworks-micronaut-dataScope: 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/513-frameworks-micronaut-db-migrations-flyway.md, references/513-frameworks-micronaut-db-migrations-flyway-antipatterns.md, and references/513-frameworks-micronaut-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:
77b8825
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.