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).
Utilizzalo quando devi aggiungere o valutare le dipendenze Maven che migliorano la qualità del codice, comprese le annotazioni di nullità (JSpecify), l'analisi statica (Error Prone + NullAway), la programmazione funzionale (VAVR) o il test dell'architettura (ArchUnit) e desideri un approccio consultivo e basato sulle domande che aggiunga solo ciò di cui hai effettivamente bisogno. Parte del progetto skills-for-java Fonte: jabrena/cursor-rules-java.