nullable-architecture

Community

Refactor safely with nullables-style tests.

Authordanielbush
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Use when refactoring code or writing tests in the Nullables style to promote explicit construction, infrastructure wrappers, behavior simulation, and observable outputs without mocks.

Core Features & Use Cases

  • Explicit construction using new, .create(), and .createNull() to model real vs test environments
  • Infrastructure wrappers at the environment boundary to decouple code from I/O
  • Behavior simulation and output tracking to verify interactions without side effects
  • Example-driven, state-based tests that stay sociable and readable

Quick Start

Create a minimal test that wires a real class under test with a real dependency via create(), a nulled dependency via createNull(), and asserts the observable outputs.

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: nullable-architecture
Download link: https://github.com/danielbush/oneput/archive/main.zip#nullable-architecture

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.