Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

jetpack-compose-performance

Skill by android

Diagnoses and optimizes existing Android Jetpack Compose UI code. It targets recomposition overhead, dropped frames and UI lag. Published by android, with Google LLC credited as author.

  • Score 94
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install jetpack-compose-performance

Built from the published package, never by AI.

git clone --depth 1 https://github.com/android/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/jetpack-compose/jetpack-compose-performance ~/.claude/skills/jetpack-compose-performance

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install jetpack-compose-performance in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an AI assistant diagnose and optimize existing Android Jetpack Compose UI code. It focuses on performance bottlenecks that cause recomposition overhead, dropped frames and UI lag. The skill is published by android, and its metadata credits Google LLC as author.

The skill runs an exhaustive audit of the target code against seven rule categories. The visible sections cover state, snapshots and stability, layouts and measurement, and lazy layouts. Before reporting a finding or editing code, the assistant must read the matching reference file for the approved fix pattern. It also lists release build practices, including R8 minification and baseline profiles. It is aimed at developers who work on Compose screens and need to find and fix performance problems.

Written from the project's SKILL.md and checked against it.

What it can do

  • State and stability auditChecks state reads, snapshot writes, remember keys, derived state and stability annotations in Compose code.
  • Phase deferral and backwards write checksFlags state reads and writes that cross composition, layout and draw phases in the wrong order.
  • Layout and measurement reviewReviews coordinates, offsets, wrapper nodes, subcomposition and intrinsic measurements for cost.
  • Lazy layout reviewChecks lazy lists and grids for key and contentType use, index lookups and selection state.
  • Release build checksReminds the assistant to profile release builds with R8 enabled and baseline profiles generated.

Try asking

  • Audit this Compose screen for recomposition problems and list the findings.
  • Check my LazyColumn items for missing keys and contentType.
  • Review this composable for backwards state writes and suggest fixes.

Good to know

  • Reference files must be read before any finding or edit is reported.
  • Advises against blanket use of @Stable, @Immutable or ImmutableList.
  • Profiling should be done on release builds, not debuggable builds.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: jetpack-compose/jetpack-compose-performance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md20 KB
  • references/android/develop/ui/compose/custom-modifiers.md27 KB
  • references/android/develop/ui/compose/performance/backwards-write.md12 KB
  • references/android/develop/ui/compose/performance/stability/strongskipping.md7 KB
  • references/animation.md8 KB
Show all 10 files
  • references/effects-and-threading.md17 KB
  • references/graphics-performance.md9 KB
  • references/layouts.md9 KB
  • references/lazy-layouts.md13 KB
  • references/state-and-stability.md27 KB

Alternatives to jetpack-compose-performance

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

jetpack-compose-performance: common questions

What does the jetpack-compose-performance skill check?

It audits Compose code across seven categories, with the visible sections covering state and stability, layouts and measurement, and lazy layouts. It also reminds users to use release builds with R8 and baseline profiles.

Should this skill add @Stable or @Immutable to all my models?

No. The source says not to treat these annotations as default fixes, and never to add them to models that contain collections under Strong Skipping Mode. Removal is only advised for large lazy datasets.

Can I profile performance on a debug build?

The source says never to profile or benchmark debuggable builds, because ART runtime verification severely degrades performance.

How do I install jetpack-compose-performance?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is jetpack-compose-performance free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is jetpack-compose-performance safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to jetpack-compose-performance?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

jetpack-compose-performance Install

Add to stack

Loading.