Skip to content

feat: add bump-java-version skill (portable Java LTS bump)#311

Open
vasiliy-mikhailov wants to merge 1 commit into
OpenHands:mainfrom
vasiliy-mikhailov:add-bump-java-version
Open

feat: add bump-java-version skill (portable Java LTS bump)#311
vasiliy-mikhailov wants to merge 1 commit into
OpenHands:mainfrom
vasiliy-mikhailov:add-bump-java-version

Conversation

@vasiliy-mikhailov

Copy link
Copy Markdown

Add the bump-java-version skill

Upgrades 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 / javaxjakarta when forced → troubleshooting table → honest bail).

PASS = mvn compile succeeds 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

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.
@vasiliy-mikhailov vasiliy-mikhailov changed the title Add bump-java-version skill (portable Java LTS bump) feat: add bump-java-version skill (portable Java LTS bump) Jun 6, 2026
@github-actions github-actions Bot added the type: feat A new feature label Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant