Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestToolsAdvertise
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Advertise
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Debugging
jabrena avatar

143 Java Functional Exception Handling

jabrena/cursor-rules-java

This is a solid refactoring guide that moves Java codebases away from exception-heavy control flow toward Optional and VAVR Either types for predictable failures. It's opinionated about reserving exceptions for actual system failures, not business logic like "user not found." The workflow is safety-first: it forces you to run mvn validate before touching anything and verify afterward. You get concrete good/bad examples for sealed error hierarchies, monadic composition with flatMap, and structured logging discipline. It's part of the cursor-rules-java project and assumes you're comfortable with functional patterns. Use it when your codebase treats exceptions as goto statements and you want clearer error contracts.

skills.sh installs
133
GitHub stars
393
last updated
Jun 3, 2026
View on GitHubSave

Install

$ npx -y skills add jabrena/cursor-rules-java --skill 143-java-functional-exception-handling --agent claude-code

Installs into .claude/skills of the current project.

Files

Java Functional Exception handling Best Practices

Identify and apply functional exception handling best practices in Java to improve error clarity, maintainability, and performance by eliminating exception overuse in favour of monadic error types.

What is covered in this Skill?

  • Optional<T> for nullable values over throwing NullPointerException or NotFoundException
  • VAVR Either<L,R> for predictable business-logic failures
  • CompletableFuture<T> for async error handling
  • Sealed classes and records for rich error type hierarchies with exhaustive pattern matching
  • Enum-based error types for simple failure cases
  • Functional composition: flatMap/map/peek/peekLeft for chaining operations that can fail
  • Structured logging: warn/info for business failures, error for system failures
  • Checked vs unchecked exception discipline
  • Exception chaining with full causal context when exceptions are unavoidable

Scope: The reference is organized by examples (good/bad code patterns) for each core area. Apply recommendations based on applicable examples.

Constraints

SKILL.md on GitHub

Sponsors

This spot is openSlot 1$1,200/mo Advertise hereThis spot is openSlot 2$1,000/mo Advertise hereSnugSponsoredThe clipboard manager you and your agent can use, safelyknobsSponsoredSee your site on any phone, any day, in any languageAgent CaffeineSponsoredClose your lid, come back to finished workThis spot is openSlot 6$500/mo Advertise hereThis spot is openSlot 7$500/mo Advertise hereWaxSponsoredBlock anything with supervision, without erasing your iPhone

Details

Repository
github.com/jabrena/cursor-rules-java
Categories
Debugging, Java & JVM
First seen
Jun 3, 2026

More from jabrena/cursor-rules-java

All 16
  • 122 Java Type Design132
  • 144 Java Data Oriented Programming129
  • 170 Java Documentation129
  • 132 Java Testing Integration Testing128
  • 113 Java Maven Documentation125
  • 110 Java Maven Best Practices160
  • 121 Java Object Oriented Design153
  • 124 Java Secure Coding146
  • 111 Java Maven Dependencies136
  • 125 Java Concurrency135
  • 128 Java Generics135
  • 141 Java Refactoring With Modern Features135
  • 142 Java Functional Programming135
  • 131 Java Testing Unit Testing134
  • 112 Java Maven Plugins133

Recommended

More Debugging
1nansen-ai avatarnansen-profilernansen-ai/nansen-cliWallet profiler — balance, PnL, labels, transactions, counterparties, related wallets, batch, trace, compare. Use when analysing a specific wallet address or co133skills.sh installs
2erichowens avatarreactive-dashboard-performanceerichowens/some_claude_skillsreactive dashboard performance132skills.sh installs
3cap-go avatarcapacitor-performancecap-go/capacitor-skillscapacitor performance129skills.sh installs
4sickn33 avatarlinux-troubleshootingsickn33/antigravity-awesome-skillslinux troubleshooting125skills.sh installs
5sickn33 avatarperformance-optimizersickn33/antigravity-awesome-skillsperformance optimizer124skills.sh installs
6brianlovin avatarfix-sentry-issuesbrianlovin/claude-configfix sentry issues122skills.sh installs