‹ 首页

141-java-refactoring-with-modern-features

@jabrena · 收录于 1 周前

Use when you need to refactor Java code to adopt modern Java features (Java 8+) — including migrating anonymous classes to lambdas, replacing Iterator loops with Stream API, adopting Optional for null safety, switching from legacy Date/Calendar to java.time, using collection factory methods, applying text blocks, var inference, or leveraging Java 25 features like flexible constructor bodies and module import declarations. This should trigger for requests such as Review Java code for modern Java development; Apply best practices for modern Java development in Java code. Part of cursor-rules-java project

适合你,如果正在维护旧Java项目并想用上Java 8+新特性。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add jabrena/plinth/141-java-refactoring-with-modern-features
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- jabrena/plinth/141-java-refactoring-with-modern-features
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify jabrena/plinth/141-java-refactoring-with-modern-features
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
415GitHub stars
~679最小装载
~10.5K含声明引用
~10.5K文本包总量
镜像托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。