🛡️
QualityJava

Null Safety

by rrezartprebreza

Null Safety is a Quality skill for Claude Code, published by rrezartprebreza in spring-boot-skills.

247 stars39 forkson rrezartprebreza/spring-boot-skillsAdded 2026/09/02+7% in starsRepository updated 2026/08/14
ai-coding-agentclaudeclaude-aiclaude-codeclaude-pluginclaude-skillclaude-skillscodexcodex-skillsdeveloper-toolsjavamcpspring-aispring-boot
Install in seconds
Install Null Safety
Copy Null Safety into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rrezartprebreza/spring-boot-skills/tree/main/skills/spring-boot-3/null-safety ~/.claude/skills/null-safety

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rrezartprebreza/spring-boot-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/spring-boot-3/null-safety/SKILL.md in rrezartprebreza/spring-boot-skills
Installs to
~/.claude/skills/null-safety
Collection
One of 24 skills cataloged from this repository
Category
Quality1418 skills

What Null Safety does

Null Safety guides nullability annotations in Spring Boot 3 and Spring Framework 6 code. Use it for Java/Kotlin modules, repository contracts, and mixed annotation strategies without assuming Framework 7 JSpecify defaults.

Null Safety is cataloged under Quality on DirSkills. Null Safety comes from a repository tagged ai-coding-agent, claude, claude-ai, claude-code and claude-plugin.

Documentation

README

Null Safety (Boot 3 / Framework 6)

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.

Gotchas

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Null Safety

  • What else does rrezartprebreza publish alongside Null Safety?

    Null Safety is one of 24 skills that DirSkills catalogs from rrezartprebreza/spring-boot-skills, the repository it ships in. Its siblings there include AI Observability, API Versioning and Container Native Deployment. Each one is a separate skill with its own page in this directory, installs the same way Null Safety does, and is maintained by rrezartprebreza in that same repository. The rest of the collection is listed on the rrezartprebreza/spring-boot-skills page.

  • How does Null Safety compare to other Quality skills?

    Null Safety ranks #1317 by stars among the 1418 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Null Safety against them. Open each page to compare what they document and how they install.

More from rrezartprebreza/spring-boot-skills

Null Safety is one of 24 skills cataloged on DirSkills from rrezartprebreza/spring-boot-skills.

See all 24 skills
📊
1h ago

AI Observability

AI Observability adds Spring AI model metrics, token usage, latency, cost attribution, and prompt/completion logging. Use it when you need production audit data for chat calls and advisor telemetry.
AI Engineering
24739
🔀
1h ago

API Versioning

API Versioning helps you version Spring MVC or WebFlux APIs in Spring Boot 3 and Spring Framework 6. Use it to choose URL, header, or media-type strategies and handle compatibility and deprecation.
Frontend
24739
📦
1h ago

Container Native Deployment

Container Native Deployment helps package a Spring Boot 3 app as an OCI image or GraalVM native executable. Use it for buildpacks, layered images, container limits, probes, AOT hints, and deployment verification.
DevOps
24739
🏗️
1h ago

Domain-Driven Design

Domain-Driven Design helps model rich Spring Boot domains with aggregates, value objects, domain events, specifications, and anti-corruption layers. Use it when building DDD-style Java services instead of anemic CRUD models.
AI Engineering
24739
📨
1h ago

Event-Driven Messaging

Event-Driven Messaging guides Kafka, RabbitMQ, Pulsar, and JMS producers and consumers in Spring Boot 3. It covers event contracts, idempotency, retries, dead-letter handling, ordering, and outbox delivery.
AI Engineering
24739
🗄️
1h ago

Flyway Migrations

Flyway Migrations helps create versioned database migrations, schema changes, and seed data workflows for Spring Boot. Use it when adding tables, columns, indexes, or other SQL changes that must run safely in order.
DevOps
24739