acc-create-null-object
Installation
SKILL.md
Null Object Pattern Generator
Creates Null Object pattern infrastructure for eliminating null checks.
When to Use
| Scenario | Example |
|---|---|
| Optional dependencies | Logger, Cache, Notifier |
| Missing entities | Customer, User, Product |
| Feature toggles | Disabled feature returns null object |
| Default implementations | No-op defaults |
Component Characteristics
Interface
- Defines expected behavior
- Shared by real and null implementations
- Enables polymorphic usage