
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-codeInstalls 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,
providedscope) - Error Prone + NullAway: (enhanced static analysis with compile-time null checking)
- VAVR: (functional programming with Try/Either and immutable collections)
- ArchUnit: (architecture rule enforcement,
testscope) - 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- 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
- 143 Java Functional Exception Handling133
- 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