A systematic workflow for hunting down Jetpack Compose performance issues, from recomposition storms to janky scrolling. Starts with code review looking for unstable parameters, missing keys in LazyColumn, and heavy work in composition blocks. If code review doesn't reveal the culprit, it walks you through profiling with Layout Inspector and Perfetto traces, then maps findings to concrete fixes like stabilizing data classes with @Immutable, remembering expensive computations, and deferring state reads to layout phase. The code smell examples are solid, especially the subtle ones like lambda captures and reading ScrollState during composition instead of in the modifier. Best used when you know something is slow but aren't sure if it's a recomposition issue or layout thrash.

skills.sh installs
596
GitHub stars
1K
last updated
Aug 21, 2026

Install

$ npx -y skills add new-silvermoon/awesome-android-agent-skills --skill compose-performance-audit --agent claude-code

Installs into .claude/skills of the current project.

Files

Compose Performance Audit

Overview

Audit Jetpack Compose view performance end-to-end, from instrumentation and baselining to root-cause analysis and concrete remediation steps.

Workflow Decision Tree

  • If the user provides code, start with "Code-First Review."
  • If the user only describes symptoms, ask for minimal code/context, then do "Code-First Review."
  • If code review is inconclusive, go to "Guide the User to Profile" and ask for Layout Inspector output or Perfetto traces.

1. Code-First Review

Collect:

  • Target Composable code.
  • Data flow: state, remember, derived state, ViewModel connections.
  • Symptoms and reproduction steps.

Focus on:

  • Recomposition storms from unstable parameters or broad state changes.
  • Unstable keys in LazyColumn/LazyRow (key churn, missing keys).
  • Heavy work in composition (formatting, sorting, filtering, object allocation).
  • Unnecessary recompositions (missing remember, unstable classes, lambdas).
  • Large images without proper sizing or async loading.
  • Layout thrash (deep nesting, intrinsic measurements, SubcomposeLayout misuse).

Sponsors

Details

Repository
github.com/new-silvermoon/awesome-android-agent-skills
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, Mobile Development
First seen
Jun 3, 2026

More from new-silvermoon/awesome-android-agent-skills

All 17
1netresearch avatarjira-communicationnetresearch/jira-skillUse when handling Jira issues, sprints, boards, links, fields, worklogs, attachments, or users, or on any Jira intent without a key ("create/find a ticket", "pi575skills.sh installs
2jshchnz avatarschedulerjshchnz/claude-code-schedulerSchedules Claude Code tasks to run automatically at specific times using native OS schedulers (launchd on macOS, crontab on Linux, Task Scheduler on Windows). H574skills.sh installs
3andreadellacorte avatargroove-daily-startandreadellacorte/grooveStart the workday: review yesterday, create today's daily memory, load tasks, prepare agenda. Use when beginning the day.572skills.sh installs
4pbakaus avatarresolve-reviewspbakaus/agent-reviewsResolve all PR review comments (human and bot) on current PR. Fetches unanswered comments, evaluates each one, fixes real issues, dismisses false positives, and552skills.sh installs
5odysseus0 avatarlandodysseus0/symphonyLand a PR by monitoring conflicts, resolving them, waiting for checks, and squash-merging when green; use when asked to land, merge, or shepherd a PR to complet544skills.sh installs
6pskoett avatarsimplify-and-hardenpskoett/pskoett-ai-skillsPost-completion self-review for coding agents that runs simplify, harden, and micro-documentation passes on non-trivial code changes. Use when: a coding task is540skills.sh installs