modern-java
CommunityModernize legacy Java with version-aware idioms.
Authorajaywadhara
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Transforms legacy Java code to modern idioms and patterns across Java versions, reducing boilerplate and enhancing readability and maintainability.
Core Features & Use Cases
- Version-aware modernization: detects Java version from project build files and applies appropriate patterns.
- Pattern transformations: converts verbose POJOs to records, replaces for-loops with streams, and substitutes anonymous inner classes with lambdas; framework-aware adjustments for Spring Boot, Quarkus, and Micronaut.
- Progressive loading & reporting: loads relevant reference materials based on version and generates a modernization report with changes and rationale.
Quick Start
Run the Skill against a Java project root to automatically detect the version and apply modernization transformations.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: modern-java Download link: https://github.com/ajaywadhara/modern-java/archive/main.zip#modern-java Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.