- name
SKILL.md
File skill tetap berada di repositori penerbit.
Tempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add rrezartprebreza/spring-boot-skills --skill null-safety -a cursor -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add rrezartprebreza/spring-boot-skills --skill null-safety -a claude-code -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add rrezartprebreza/spring-boot-skills --skill null-safety -a codex -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add rrezartprebreza/spring-boot-skills --skill null-safety -a grok -yKirim pesan yang disalin di chat Grok Bot. Bot mengambil SKILL.md ini dari GitHub dan menambahkannya ke skill yang dipakai bersama oleh semua Bot Anda.
Install this skill: https://github.com/rrezartprebreza/spring-boot-skills/tree/HEAD/skills/spring-boot-3/null-safetyDari penerbit
Use the nullability model supported by the project. Spring Framework 6 commonly uses
org.springframework.lang.Nullable, @NonNull, and package-level @NonNullApi. JSpecify can be
introduced deliberately, but do not assume Framework 7 migration semantics in a Boot 3 module.
@NonNullApi
package com.example.orders;
import org.springframework.lang.NonNullApi;
Annotate genuine nullable results and parameters with @Nullable. Keep repository return types
explicit, validate external input at boundaries, and use Kotlin compiler settings that match the
annotations when Java and Kotlin are mixed. If the project standardizes JSpecify independently,
apply it consistently at module boundaries and document the chosen checker.
@NonNullApi without importing the package annotation - package metadata must compile and be checked in.@NonNull - establish a package default and annotate only nullable exceptions.Optional, nullable, and empty collection semantics.>
---name: null-safetydescription: >---# skills/spring-boot-3/null-safety/SKILL.mdFAQ
Unduh skills/spring-boot-3/null-safety/SKILL.md dari penerbit, atau salin path-nya dan buka repositori. PlugMCP hanya mendaftar skill ini dan tidak meng-host filenya.
Penerbit menyimpannya di https://github.com/rrezartprebreza/spring-boot-skills.
Claude, Cursor, Codex, dan Grok Build bisa membaca SKILL.md yang Anda tambahkan dari repositori penerbit. Grok Bot memasangnya saat Anda mengirim tautan folder GitHub skill tersebut di chat.