Skip to main content
在 Manus 中运行任何 Skill
一键导入

jspecify

星标0
分支0
更新时间2026年5月10日 03:11

Onboards Java and Kotlin projects to JSpecify null-safety annotations (@NullMarked, @NullUnmarked, @Nullable, @NonNull from org.jspecify.annotations). Triggers when the user asks to "onboard to JSpecify", "add JSpecify", "migrate nullability annotations", "set up NullAway", "enforce null safety with NullAway", or wants to adopt @NullMarked in a Java/Kotlin codebase. Covers the JSpecify dependency (Maven/Gradle), package annotation, migration from JSR-305, JetBrains, Spring (org.springframework.lang), Jakarta, Android (androidx), FindBugs/SpotBugs, Checker Framework, and Eclipse JDT annotations via OpenRewrite, NullAway + Error Prone enforcement, incremental adoption with @NullUnmarked, and Kotlin interop. Does NOT trigger for: routine use of existing @Nullable annotations without intent to migrate; Kotlin-only projects relying on native ? / !! null-safety with no Java interop; questions about Checker Framework, JSR-305, or javax.annotation usage that do not mention JSpecify or NullAway; general Java code revi

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly