java-upgrade
80 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
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.
What this skill can do
Downloads and installs other software
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'java-upgrade' ] || [ -L ~/.agents/skills/'java-upgrade' ]; then echo 'A skill folder named java-upgrade already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/github/awesome-copilot' "$d" && git -C "$d" checkout --quiet '227949a7542a55d2155c00e7cdb998d9a0fee4f3' -- 'skills/java-upgrade' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/java-upgrade' ~/.agents/skills/'java-upgrade' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'java-upgrade' ~/.claude/skills/'java-upgrade' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/github/awesome-copilot/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 227949a | 80 |
| 2026-11-08 | 797337f | 80 |
| 2026-11-07 | 797337f | 80 |