Screen Shell Content Split

Split one screen into a shell that owns every cross-look concern and a content layer that only renders, connected by two holders — a state snapshot and an actions bag — so adding a second look costs one branch instead of a parameter-list edit; covers why the holders are stable-but-not-immutable, what must stay in the shell, and what must not. Use when a screen has grown a second visual style, when a style switch resets the scroll position or the artwork page, when adding a look means editing a fifty-argument signature, or when a "shared" helper starts needing a per-style `if`.

maxrave-dev 5c40f3e 7.2 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/screen-shell-content-split commit 5c40f3e6d4

Frequently asked questions

npx skillmds@latest add maxrave-dev/screen-shell-content-split