Apply when reviewing or shaping code that's hard to trace. Count layers between question and answer, and hidden state in the reader's head; collapse one-caller wrappers and shrink mutable scope.
Shorten the path from a component to its displayed value
Start a fresh conversation.
Review the supplied fictional weather card and its wrappers. Trace where the displayed percentage actually comes from, identify unnecessary layers and propose a simpler flow that preserves the visible output.
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: principle-minimize-reader-loaddescription: "Apply when reviewing or shaping code that's hard to trace. Count layers between question and answer, and hidden state in the reader's head; collapse one-caller wrappers and shrink mutable scope."disable-model-invocation: true
Minimize Reader Load
Reader load is the work a reader must do to understand code. It has two independent axes: layers to trace between the question and the answer, and hidden or mutable state to hold in their head. Guard both.
Collapse layers that only forward: wrappers with one caller, adapters with no second implementation, pass-through methods. Inline them.
Shrink state scope: returns over mutations, locals over fields, fields over module state, module state over globals. Derive instead of sync.
Name an invariant once at the boundary, not in every consumer.
The test: can a new reader answer "where does X come from?" and "what can change X?" in under 30 seconds? If not, cut layers or cut state.