Registry / skydoves

skydoves/compose-performance-skills/preserving-state-across-reloads

Use this skill to keep Jetpack Compose state alive across HotSwan hot reloads by understanding the three escalating tiers Compose HotSwan uses (tier 1 targeted recomposition, tier 2 composition reset, tier 3 Activity.recreate) and choosing edits and state holders that stay inside tier 1 where scroll position, lazy items, dialog state, and per-composable remember values all survive. Explains which edits force escalation, which state holders survive each tier, and how to hoist transient UI state w

Agent skill · version 0.0.0-main.1794521039.g1b32f81 · from skydoves/compose-performance-skills

Install

npx yarkr-cli add skill:skydoves/compose-performance-skills/preserving-state-across-reloads

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/compose-performance-skills/preserving-state-across-reloads
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/compose-performance-skills/preserving-state-across-reloads

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/compose-performance-skills/preserving-state-across-reloads

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.