122 Java Type Design

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 Plinth Toolkit

jabrena ea40fdb 2 files · 38.4 KB Updated

File contents

jabrena/cursor-rules-java commit ea40fdb5ed

Frequently asked questions

npx skillmds@latest add jabrena/122-java-type-design