144-java-data-oriented-programming
Use when you need to apply data-oriented programming best practices in Java — including separating code (behavior) from data structures using records, designing immutable data with pure transformation functions, keeping data flat and denormalized with ID-based references, starting with generic data structures converting to specific types when needed, ensuring data integrity through pure validation functions, and creating flexible generic data access layers. This should trigger for requests such as Improve the code with Data-Oriented Programming; Apply Data-Oriented Programming; Refactor the code with Data-Oriented Programming; Apply Data-Oriented Programming; Refactor the code with Data-Oriented Programming. Part of cursor-rules-java project
适合你,如果正在用 Java 开发并希望分离数据与行为
npx oh-my-skill add jabrena/plinth/144-java-data-oriented-programmingcurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- jabrena/plinth/144-java-data-oriented-programmingnpx oh-my-skill verify jabrena/plinth/144-java-data-oriented-programming