‹ 首页

144-java-data-oriented-programming

@jabrena · 收录于 1 周前

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

评论

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