jabrena avatar

111 Java Maven Dependencies

This is a consultative workflow for adding quality-focused Maven dependencies to Java projects. It walks you through JSpecify nullness annotations, Error Prone with NullAway for static analysis, VAVR for functional programming, and ArchUnit for architecture testing. The approach is deliberately interactive: it validates your project first, then asks questions one at a time so you only add what you actually need. The question-driven flow is a nice touch because it prevents dependency bloat and makes you think about trade-offs before committing. Useful when you're hardening a codebase and want guardrails without cargo-culting every trendy library into your POM.

skills.sh installs
136
GitHub stars
393
last updated
Jun 3, 2026

Install

$ npx -y skills add jabrena/cursor-rules-java --skill 111-java-maven-dependencies --agent claude-code

Installs into .claude/skills of the current project.

Files

Add Maven dependencies for improved code quality

Add essential Maven dependencies that enhance code quality, safety, and domain modeling through a consultative, question-driven approach. This is an interactive SKILL.

What is covered in this Skill?

  • JSpecify: (nullness annotations, provided scope)
  • Error Prone + NullAway: (enhanced static analysis with compile-time null checking)
  • VAVR: (functional programming with Try/Either and immutable collections)
  • ArchUnit: (architecture rule enforcement, test scope)
  • JavaMoney: (Money and Currency API support with JSR 354 and Moneta)

Constraints

Before adding Maven dependencies, ensure the project is in a valid state. Use a consultative, question-driven flow that adds only what the user selects.

Sponsors

Details

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

More from jabrena/cursor-rules-java

All 16

Recommended

More Java & JVM
1jabrena avatar112-java-maven-pluginsjabrena/cursor-rules-java112 java maven plugins133skills.sh installs
2jabrena avatar113-java-maven-documentationjabrena/cursor-rules-java113 java maven documentation125skills.sh installs
3decebals avatarjpa-patternsdecebals/claude-code-javaJPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or297skills.sh installs
4jeffallan avatarjava-architectjeffallan/claude-skillsUse when building, configuring, or debugging enterprise Java applications with Spring Boot 3.x, microservices, or reactive programming. Invoke to implement WebF6.2Kskills.sh installs
5affaan-m avatarjava-coding-standardsaffaan-m/eccJava coding standards for Spring Boot and Quarkus services: naming, immutability, Optional usage, streams, exceptions, generics, CDI, reactive patterns, and pro6.2Kskills.sh installs
6affaan-m avatarspringboot-patternsaffaan-m/eccSpring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work6.1Kskills.sh installs