122-java-type-design
@jabrena · 收录于 1 周前
Use when you need to review, improve, or refactor Java code for type design quality — including establishing clear type hierarchies, applying consistent naming conventions, eliminating primitive obsession with domain-specific value objects, leveraging generic type parameters, creating type-safe wrappers, designing fluent interfaces, ensuring precision-appropriate numeric types (BigDecimal for financial calculations), and improving type contrast through interfaces and method signature alignment. This should trigger for requests such as Review Java code for type design; Improve type design in Java code; Fix primitive obsession in Java code; Create value objects in Java code. Part of cursor-rules-java project
适合你,如果正在写 Java 代码并想提升类型设计的清晰度与安全性
/ 通过 npx 安装 校验哈希
npx oh-my-skill add jabrena/plinth/122-java-type-design/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- jabrena/plinth/122-java-type-design/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify jabrena/plinth/122-java-type-design安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
415GitHub stars
~754最小装载
~6.8K含声明引用
~6.8K文本包总量
镜像托管
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…