Index of every page on this site: llms.txt
All skills
github avatar

/java-upgrade

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Upgrade a Java project to a newer JDK (11 to 17, 17 to 21, 21 to 25) and adopt the new language and library features. Detects the current Java version from the build files, then loads only the matching per-version guide. Use when the user asks to upgrade Java, modernize Java code, or adopt records, sealed classes, pattern matching, virtual threads or other new Java features. For automated end-to-end upgrades see the modernize-java plugin.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/java-upgrade

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesupstream-sources.md

≈585 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Upstream sources (java-upgrade)

Fetch the page for the target version before editing; prefer it over this skill when they conflict. Replace N with the target JDK (17, 21, 25).

JDK

Build tools and agents

Automation (OpenRewrite)

Related tooling

  • The external Microsoft plugin modernize-java (https://github.com/microsoft/modernize-java, listed in this repository's plugins/external.json) is the more powerful option for automated, large or multi-step upgrades (upgrade plan, build-fix loops, CVE validation). This skill works without it; see "Need a more powerful, automated upgrade?" in SKILL.md.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides comprehensive guidance for upgrading Java projects. It facilitates version detection from build files and suggests using well-known tools from trusted organizations such as Microsoft and GitHub. No security issues or malicious patterns were identified.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated last month

README badge

README badge for github/awesome-copilot/java-upgrade