skydoves/compose-performance-skills/ordering-modifier-chains
Use this skill to diagnose and fix Jetpack Compose Modifier ordering bugs — wrong paint region for background, wrong click area for clickable, wrong clipping for clip, wrong measurement for padding/size, surprising graphicsLayer scope. Covers the wrap-the-next-modifier mental model, the canonical pitfalls (padding vs background, clickable placement, clip before background, graphicsLayer placement), and why hoisting an entire Modifier chain via remember { Modifier.… } is rarely a real perf win be
Agent skill · version 0.0.0-main.1794521040.g1b32f81 · from skydoves/compose-performance-skills
Install
npx yarkr-cli add skill:skydoves/compose-performance-skills/ordering-modifier-chainsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/compose-performance-skills/ordering-modifier-chains
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/compose-performance-skills/ordering-modifier-chainsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/compose-performance-skills/ordering-modifier-chainsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.