Nov 30, 2026

26 Agent Skills for Jetpack Compose Performance

Compose Performance Skills gives your coding agent a symptom-to-skill lookup, diagnostic workflows, and fix recipes for Jetpack Compose performance work — stability, recomposition, lazy lists, and the measurement loop that verifies every change.

#tutorial#debugging#workflow

A Compose screen janks, your agent suggests a random remember block, and nobody can say why. skydoves/compose-performance-skills attacks that guesswork: a curated library of Agent Skills focused on one axis — Jetpack Compose performance — covering stability, recomposition, lazy layouts, custom modifiers, side effects, baseline profiles, R8, hot reload, and the measurement loop that ties them together. The library ships 26 skills across 9 categories, and every skill is grounded in primary sources: Android Developers documentation, the Compose compiler, posts by Ben Trengrove, Chris Banes, and Manuel Vivo, and the skydoves open source projects.

Why This Skill Matters

General Android skill libraries stay broad; performance work needs depth on a single axis. This repo's skills follow the open Agent Skills standard (the same SKILL.md format used by Anthropic's Skills API, Android Studio Agent mode, and Gemini), and each one is written as operational instructions for an LLM rather than documentation for humans: terse imperative steps, RIGHT and WRONG snippet pairs, MUST and MUST NOT directives, and a Verification checklist that proves the work was done. Every API reference is pinned to a version, and every skill body stays under 500 lines with longer material in references/.

Installation

The skills live under nested category folders (<category>/<slug>/SKILL.md), so a plain git clone into ~/.claude/skills does not surface them — the README notes community feedback confirmed this. Claude Code expects each skill at ~/.claude/skills/<slug>/SKILL.md, so use the bundled install script, which clones once to a stable location and symlinks each individual skill folder into place:

git clone https://github.com/skydoves/compose-performance-skills.git \
  ~/.claude/skills-sources/compose-performance-skills

~/.claude/skills-sources/compose-performance-skills/scripts/install-skills.sh

The script is idempotent and accepts a custom target directory (./scripts/install-skills.sh /path/to/agent/skills) or --uninstall to remove the symlinks. Restart Claude Code afterwards. For Android Studio Agent mode and Gemini, which scan project-local directories, run the same script against the project's agent skills directory:

cd <your-android-project>
git clone https://github.com/skydoves/compose-performance-skills.git \
  .compose-performance-skills-source

./.compose-performance-skills-source/scripts/install-skills.sh .agent/skills

One boundary from the README: the Android CLI (android skills add --skill <name>) manages only Google's first-party skill catalog, so this community library cannot be installed through it — the two sets coexist on the same project.

Real Workflow: Diagnose a Janky LazyColumn

The README's quickstart prompt names the symptoms directly:

My LazyColumn drops frames during fast scroll. Composables show in the layout inspector but recomposition counts spike on every scroll tick. Diagnose the stability issue and fix it.

Claude Code matches the symptoms (dropped frames, recomposition counts, LazyColumn) against skill frontmatter and loads stability/diagnosing-compose-stability. That skill walks through enabling Compose Compiler reports in release mode and parsing <module>-composables.txt for unstable parameters, then hands off to stability/stabilizing-compose-types for the fix. The chain is explicit in each skill's body — a diagnostic skill names the fix skills it can hand off to, so the agent does not have to infer the path.

The same symptom-driven lookup scales to the rest of the library through INDEX.md, the repo's symptom-to-skill table: scroll jank points at the lists/ skills, a custom modifier recomposing on every parent invalidation points at modifiers/migrating-to-modifier-node, and "no clear starting point" points at the audit/ orchestrator, which sequences the others into an end-to-end Measure → Diagnose → Fix → Verify loop.

Tips

  • Start from INDEX.md, not from the category folders. It maps symptoms and APIs to skills, so you describe the problem you see instead of guessing which skill applies.
  • The repo's editorial position is five non-negotiable rules carried across every skill as MUST and MUST NOT directives. Two of them: skippability is a diagnostic, not a KPI — do not chase 100%; and always measure in release plus R8 plus a real device, because debug builds lie.
  • Keep the source clone at ~/.claude/skills-sources/compose-performance-skills so updates are a single git pull inside it; the symlinks pick the changes up.
  • The install script accepts a custom target directory, so the same clone can also target a project's .agent/skills.

When Not to Use This

The README scopes the library explicitly. It is not for general Compose tutorials and onboarding — the official Compose pathway covers that. Compose Multiplatform skills mostly apply, but iOS, Desktop, and Web targets are not validated here, and non-Compose Android performance work (View system, RecyclerView, app startup outside Compose) is out of scope. The library was iterated against Claude Code, where the SKILL.md files load directly; other compatible runtimes have not been individually end-to-end tested, and the author welcomes integration reports at the issue tracker. Licensed Apache-2.0.


See the leaderboard for more skills.