skydoves/compose-performance-skills/stabilizing-compose-types
Use this skill to fix unstable Jetpack Compose types once a stability diagnosis has identified them. Covers the three-tier strategy — make the type truly stable with val plus immutable fields, mark with @Immutable or @Stable when the source is owned, and use stabilityConfigurationFiles for third-party or Java types. Explains the compiler-level difference between @Immutable and @Stable (static expression promotion), kotlinx.collections.immutable for List/Set/Map parameters, and the StableHolder w
Agent skill · version 0.0.0-main.1794521040.g1b32f81 · from skydoves/compose-performance-skills
Install
npx yarkr-cli add skill:skydoves/compose-performance-skills/stabilizing-compose-typesWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/compose-performance-skills/stabilizing-compose-types
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/compose-performance-skills/stabilizing-compose-typesOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/compose-performance-skills/stabilizing-compose-typesWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.