111-java-maven-dependencies

Use when you need to add or evaluate Maven dependencies that improve code quality — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), or architecture testing (ArchUnit) — and want a consultative, question-driven approach that adds only what you actually need. Part of the skills-for-java project

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "111-java-maven-dependencies" with this command: npx skills add jabrena/cursor-rules-java/jabrena-cursor-rules-java-111-java-maven-dependencies

Add Maven dependencies for improved code quality

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

Prerequisites: Run ./mvnw validate or mvn validate before any changes. If validation fails, stop and ask the user to fix issues—do not proceed until resolved.

Components: 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), and ArchUnit (architecture rule enforcement, test scope).

Before asking questions: Read the reference to use the exact wording and options from the template. Ask questions one-by-one in strict order (JSpecify → Enhanced Compiler Analysis (conditional) → VAVR → ArchUnit) and add only what the user selects. Use consultative language, present trade-offs, and wait for user responses before implementing.

Reference

For detailed guidance, examples, and constraints, see references/111-java-maven-dependencies.md.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

144-java-data-oriented-programming

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

142-java-functional-programming

No summary provided by upstream source.

Repository SourceNeeds Review
General

110-java-maven-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review