143-java-functional-exception-handling
@jabrena · 收录于 1 周前
Use when you need to apply functional exception handling best practices in Java — including replacing exception overuse with Optional and VAVR Either types, designing error type hierarchies using sealed classes and enums, implementing monadic error composition pipelines, establishing functional control flow patterns, and reserving exceptions only for truly exceptional system-level failures. This should trigger for requests such as Improve the code with Functional Exception Handling; Apply Functional Exception Handling; Refactor the code with Functional Exception Handling. Part of cursor-rules-java project
For you if you're writing Java with traditional try-catch and want to adopt Optional and Either patterns.
/ 通过 npx 安装 校验哈希
npx oh-my-skill add jabrena/plinth/143-java-functional-exception-handling/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- jabrena/plinth/143-java-functional-exception-handling/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify jabrena/plinth/143-java-functional-exception-handling安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
415GitHub stars
~714最小装载
~9.8K含声明引用
~9.8K文本包总量
镜像托管
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…