push-null-to-perimeter
CommunityAll-or-nothing types at the null boundary
Authorluyi985
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Mixed null states across data structures create implicit relationships and scattered checks, making bugs and maintenance painful. Pushing null handling to the perimeter promotes clean, all-or-nothing types that are either fully present or fully absent.
Core Features & Use Cases
- All-or-nothing types that guarantee complete presence or complete absence after initialization.
- Boundary-pattern approaches with factories, discriminated unions, and safe access patterns to avoid runtime null checks.
- Clear guidance for refactoring complex nullable shapes into cohesive, maintainable designs.
Quick Start
Design all data types to be all-or-nothing—present or absent—at the boundary.
Dependency Matrix
Required Modules
None requiredComponents
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: push-null-to-perimeter Download link: https://github.com/luyi985/lyi-bash/archive/main.zip#push-null-to-perimeter Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.