feat: add bump-java-version skill (portable Java LTS bump)#311
Open
vasiliy-mikhailov wants to merge 1 commit into
Open
feat: add bump-java-version skill (portable Java LTS bump)#311vasiliy-mikhailov wants to merge 1 commit into
vasiliy-mikhailov wants to merge 1 commit into
Conversation
Migrate a Maven project one Java LTS step (8->11, 11->17, 17->21, 21->25) so it compiles under the new JDK and previously-passing tests still pass; standard tools only (JDKs, Maven, OpenRewrite from Maven Central), no scripts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the
bump-java-versionskillUpgrades a Maven project one Java LTS step (8→11, 11→17, 17→21, 21→25) so it compiles under the new JDK and every previously-passing test still passes — using only standard tools (JDKs, Maven, and OpenRewrite recipes from Maven Central). No bundled scripts: it's a hand manual the agent reads and follows (baseline → Lombok-safe → OpenRewrite migration → deterministic pom edits → compile + test + conserve → Spring Boot 2→3 /
javax→jakartawhen forced → troubleshooting table → honest bail).PASS =
mvn compilesucceeds under the target JDK and no previously-passing test is lost.The skill was evolved and hardened across a panel of three off-the-shelf agents — opencode, kilocode, and OpenHands — all driving the same model on the identical
SKILL.md, the agent being the only variable. So it's portable by construction, and OpenHands was one of the three validation agents.Adds
skills/bump-java-version/(SKILL.md + README) per the one-directory-per-skill layout. Standalone repo & cross-agent packaging: https://github.com/vasiliy-mikhailov/bump-java-version-skill