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. Part of the skills-for-java project

jabrena Updated

File contents

jabrena/cursor-rules-examples/tree/main/.agents/skills/122-java-type-design commit 354811b5f4

Frequently asked questions

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