Skip to main content
Run any Skill in Manus
with one click

null-safety

Stars8
Forks4
UpdatedJuly 15, 2026 at 20:18

Apply JSpecify null-safety annotations in Spring Boot 4 / Spring Framework 7 — package-level @NullMarked plus @Nullable for the exceptions, giving compile-time/IDE null checking and clean Kotlin interop. Use whenever working on a Boot 4 / FW 7 codebase and the task touches null handling, NPE prevention, "should this be Optional", method/field nullability, package-info.java, or org.jspecify imports — even if the user doesn't say "JSpecify" or mention a version (check the build file). Do NOT use for general Optional API design unrelated to Boot 4, or for Spring's old org.springframework.lang.@Nullable (that is the legacy pattern this skill replaces).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly