What problem does it solve?
This Skill addresses the challenge of maintaining and updating legacy Java code, making it more readable, efficient, and aligned with modern best practices.
Core Features & Use Cases
- Code Modernization: Upgrades syntax and APIs to leverage the latest Java features (e.g., Java 25).
- Refactoring & Beautification: Simplifies complex code structures, removes boilerplate, and improves idiomatic expression.
- Use Case: You have a large Java codebase with older syntax and patterns. Use this Skill to automatically refactor sections of it to use records, switch expressions, and streams, significantly reducing its complexity and improving maintainability.
Quick Start
Use the java-distiller skill to refactor the provided Java code snippet to use modern Java 25 features.