111-java-maven-dependencies
以咨询式问答定制依赖,适合想增强静态分析与空安全的团队。
建议并添加提升代码质量的 Maven 依赖(如 Nullness、Error Prone 等)。
建议能提升代码质量或领域建模的 Maven 依赖,例如 nullness 注解(JSpecify)、静态分析(Error Prone、NullAway)、架构测试(ArchUnit)、函数式或货币库等。适合想加强空指针检测、引入编译期静态检查或把领域概念用类型表达清晰时使用。以咨询式方式只推荐必要依赖,避免盲目引入。
▸ 展开 SKILL.md 英文原文
Use when you need to add or evaluate Maven dependencies that improve code quality or domain modeling — including nullness annotations (JSpecify), static analysis (Error Prone + NullAway), functional programming (VAVR), architecture testing (ArchUnit), or money and currency support (JavaMoney) — and want a consultative, question-driven approach that adds only what you actually need. This should trigger for requests such as Add Maven dependencies; Add JSpecify nullness dependencies; Add Error Prone NullAway dependencies; Add VAVR functional dependencies; Add ArchUnit architecture testing dependencies; Add JavaMoney dependencies. Part of Plinth Toolkit
帮我安装这个 skill:https://raw.githubusercontent.com/jabrena/plinth/main/skills/111-java-maven-dependencies/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/jabrena/plinth/main/skills/111-java-maven-dependencies/SKILL.md"# 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 c