nullables-refactor

Installation
SKILL.md

Nullables Refactor

Analyze a file and produce a step-by-step refactoring plan to make OUTSIDE_WORLD code nullable.

Vocabulary

This skill uses terms from references/vocabulary.md. Key terms: PURE, IN_MEMORY, OUTSIDE_WORLD, INFRASTRUCTURE_WRAPPER, NULLABLE_CLASS, HARDWIRED_INFRA, INJECTED_INFRA, CREATE_BOUNDARY_RULE, DUAL_FACTORY, EMBEDDED_STUB, NULLABLE, FACTORY_OBJECT, DELAYED_INSTANTIATION, CONFIGURABLE_RESPONSE, OUTPUT_TRACKING, VALUE_OBJECT.

How We Break Down The World

Code is classified by where its side effects reach:

Category Side effects Nullable treatment needed? Examples
PURE None No Computations, transformations, formatters
IN_MEMORY Mutates things passed in or held in memory No DOM manipulation, mutable data structures, in-memory state
OUTSIDE_WORLD Crosses the process boundary (I/O) Yes Network calls, disk access, database queries, environment reads

The nullables pattern specifically targets OUTSIDE_WORLD code. PURE and IN_MEMORY code is fine as-is.

Related skills

More from danielbush/skills

Installs
13
First Seen
Mar 18, 2026