111-java-maven-dependencies

仓库创建 2025年2月9日最近提交 3 天前SkillHot 收录 21 天前
▸ 精选理由

以咨询式问答定制依赖,适合想增强静态分析与空安全的团队。

这个 Skill 做什么

建议并添加提升代码质量的 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

开发编程依赖管理代码质量静态检查通用
423
Stars
89
Forks
40
仓库内 Skill
+9
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/jabrena/plinth/main/skills/111-java-maven-dependencies/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/jabrena/plinth/main/skills/111-java-maven-dependencies/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有