nullish-undefined-null

Community

Prefer undefined over null for safer checks.

Authorncaq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

In JavaScript and TypeScript, the coexistence of undefined and null causes ambiguity and inconsistent checks. This Skill promotes using undefined by default and using == null for nullish comparisons to reduce edge-case bugs and improve readability.

Core Features & Use Cases

  • Enforces a default preference for undefined over null in value checks across codebases.
  • Guides when null is acceptable for meaningful absence values and promotes using == null for nullish checks.
  • Improves consistency in code reviews by providing clear guidance on nullish handling and comparisons.

Quick Start

Integrate this policy into your linting or review workflow to ensure undefined is preferred by default and null is used only for meaningful absence.

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: nullish-undefined-null
Download link: https://github.com/ncaq/konoka/archive/main.zip#nullish-undefined-null

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.