choosing-derivedstateof
100 / 100 · Low risk
Fine to try.
Use this skill to decide when Jetpack Compose derivedStateOf is the right tool and when it is pure overhead. Covers the "input frequency must exceed output frequency" rule, the mandatory remember { derivedStateOf { } } wrapper, the canonical pitfall of capturing non-state variables by initial value (and the remember(key) fix), and the snapshotFlow alternative for fire-and-forget side effects on derived values. Use when the developer mentions derivedStateOf, scroll-position-driven booleans, thre…
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'choosing-derivedstateof' ] || [ -L ~/.agents/skills/'choosing-derivedstateof' ]; then echo 'A skill folder named choosing-derivedstateof already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/skydoves/compose-performance-skills' "$d" && git -C "$d" checkout --quiet '1b32f81724c0d71fe9ef093ca44697f559fdab6e' -- 'recomposition/choosing-derivedstateof' && mkdir -p ~/.agents/skills && cp -R "$d"/'recomposition/choosing-derivedstateof' ~/.agents/skills/'choosing-derivedstateof' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'choosing-derivedstateof' ~/.claude/skills/'choosing-derivedstateof' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/skydoves/compose-performance-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 1b32f81 | 100 |
| 2026-11-07 | 1b32f81 | 95 |