Modernize java

From kousen/claude-code-training · View interactive version

Modernize java is an AI agent skill from the GitHub repository kousen/claude-code-training. Update Java code to modern language features — records, switch expressions, pattern matching, virtual threads, sealed classes, text blocks, and current collection idioms. Triggers on Java source files.

How to use this skill

Skill file

Modernize Java Code

Update the target code to use modern Java features:

Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.