Kotlin Null Safety

Official

Eliminate NPEs with Kotlin's null-safety features.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Kotlin null safety enforces explicit null handling, reducing runtime crashes and improving code robustness.

Core Features & Use Cases

  • Nullable Types: Distinguish between nullable and non-nullable.
  • Safe Calls & Elvis: Handle nulls concisely and safely.
  • Smart Casts: Narrow types after null checks.

Quick Start

Refactor a function returning String? to safely provide a non-null String using a default.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Kotlin Null Safety
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#kotlin-null-safety

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository