
Jetpack Compose Performance Auditor
Finds and fixes Android Jetpack Compose UI code that causes lag, jank, or excess recomposition.
- Repository
- android/skills
- Stars
- 10,278
- Licence
- Apache-2.0
- Files
- 10 files
What it does
Once installed, the agent reviews existing Android Jetpack Compose UI code for performance problems such as unnecessary recomposition, state reads and writes in the wrong rendering phase, lazy list issues, and graphics or animation overhead. Before flagging anything it is told to open the matching reference file in the skill for the approved fix pattern, then reports findings and can edit code to apply those fixes. It also points to production settings like release builds, R8 and baseline profiles.
Great for
- Android developers whose Compose screens stutter, drop frames or feel laggy
- Teams preparing a release and wanting a performance review of existing Compose code
- Developers learning which Compose state and stability patterns cost performance
Skip it if
- Writing new Compose screens from scratch, since the skill targets analysis of existing code (its description says so) and may over-optimize early code
- Non-Android or non-Compose UI frameworks, where the guidance does not apply
- Projects where the agent would edit production code without review, since it can change code and the guidance includes some opinionated trade-offs that should be checked by a human
Try asking
- “Review my LazyColumn screen for recomposition problems and suggest fixes”
- “Why does my Compose list drop frames while scrolling? Check the state reads.”
- “Audit this composable for backwards writes and fix any I find”
- “Should I use derivedStateOf or computedStateOf here?”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 10 original files, the Apache-2.0 licence and an attribution note.
jetpack-compose-performance.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip jetpack-compose-performance.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip jetpack-compose-performance.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Give the agent the specific file or screen to audit so it can apply the full checklist rather than a broad scan.
- Profile on a release build with baseline profiles before and after changes to confirm the gains are real.
- Review any edits the agent makes, especially around stability annotations and collection types, before merging.
What's inside
- references/android/develop/ui/compose/custom-modifiers.md
- references/android/develop/ui/compose/performance/backwards-write.md
- references/android/develop/ui/compose/performance/stability/strongskipping.md
- references/animation.md
- references/effects-and-threading.md
- references/graphics-performance.md
- references/layouts.md
- references/lazy-layouts.md
- references/state-and-stability.md
- SKILL.md
Redistributed unmodified from android/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.