# Modern Java Coding

> Writes and reviews modern Java 21 and 25 code with records, sealed types, pattern matching and virtual threads.

- Page: https://youraiskill.com/skill/ericrisco-java
- What it does: Use when writing, reviewing or refactoring modern Java (21+, 25 LTS) — records and sealed interfaces as algebraic data types, exhaustive pattern-matching switch over instanceof ladders, virtual-thread concurrency, structured concurrency and ScopedValue replacing ThreadLocal, Stream and Optional pipelines, compact-constructor validation, parametrized JDBC, and the Maven/Gradle build surface. NOT Spring framework wiring (that is `spring-boot`).
- Niches: coding, backend
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions plus scripts (7 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
