SkillTrust

← All skills

deferring-state-reads

100 / 100 · Low risk

Fine to try.

By skydoves/compose-performance-skills (GitHub) · coding · 530 stars · scanned at commit 1b32f81

Use this skill to push frequently-changing Jetpack Compose state reads (scroll position, animation values, drag offsets) out of the Composition phase and down into Layout or Draw using lambda-based modifiers like Modifier.offset { }, Modifier.layout { }, Modifier.graphicsLayer { }, Modifier.drawBehind { }, and Modifier.drawWithCache { }. Covers the three-phase model (Composition, Layout, Draw), why a state read at phase N invalidates phase N and every phase below, the modifier-phase cheat sheet…

Works with any agent that supports SKILL.md skills.

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/'deferring-state-reads' ] || [ -L ~/.agents/skills/'deferring-state-reads' ]; then echo 'A skill folder named deferring-state-reads 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/deferring-state-reads' && mkdir -p ~/.agents/skills && cp -R "$d"/'recomposition/deferring-state-reads' ~/.agents/skills/'deferring-state-reads' && 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/'deferring-state-reads' ~/.claude/skills/'deferring-state-reads' (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

The badge for skydoves/compose-performance-skills shows the score of its lowest-scoring skill.

SkillTrust badge for skydoves/compose-performance-skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/skydoves/compose-performance-skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/skydoves/compose-performance-skills/)

Score history

DateVersionScore
2026-11-081b32f81100
2026-11-071b32f8195