compose-performance-audit

Audit Jetpack Compose code for performance anti-patterns and guide profiling.

1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/escorponox/musiharmony --skill compose-performance-audit-escorponox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose-performance-audit
Source: https://github.com/escorponox/musiharmony/tree/main/.claude/skills/compose-performance-audit
Command: npx skills add https://github.com/escorponox/musiharmony --skill compose-performance-audit-escorponox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill diagnoses and resolves performance bottlenecks in Jetpack Compose UI, ensuring smooth and responsive user experiences by identifying and fixing issues like jank, slow rendering, and excessive recompositions.

Core Features & Use Cases

  • Code Review: Analyzes Compose code for common performance anti-patterns.
  • Profiling Guidance: Instructs users on how to collect performance data using Android Studio tools (Layout Inspector, Perfetto).
  • Root Cause Analysis: Pinpoints specific issues such as unstable parameters, incorrect key usage in lazy lists, heavy computations during composition, and inefficient state management.
  • Remediation: Provides concrete code fixes and refactoring suggestions.
  • Use Case: A user reports that their Android app's scrolling performance in a list is choppy. This Skill can help them identify if the issue is due to unstable item keys or heavy composables within the list items, and guide them to fix it.

Quick Start

Review the provided Composable code for performance issues and suggest optimizations.

Frequently Asked Questions about compose-performance-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix janky scrolling in Jetpack Compose?

To fix janky scrolling in Jetpack Compose, you audit your Composable code for unstable parameters and incorrect key usage in lazy lists, then apply refactoring suggestions to eliminate excessive recompositions and slow rendering bottlenecks.

What causes excessive recompositions in Android Compose?

Excessive recompositions in Android Compose are caused by performance anti-patterns like unstable parameters, incorrect key usage in lazy lists, heavy computations during composition, and inefficient state management that triggers unnecessary UI updates.

How to profile Jetpack Compose UI performance?

To profile Jetpack Compose UI performance, you collect rendering and recomposition data using Android Studio profiling tools like Layout Inspector and Perfetto, which pinpoint specific slow rendering bottlenecks in your app.

Do I need to understand Compose state management to optimize UI performance?

Yes, optimizing Compose UI performance requires understanding state management and the recomposition lifecycle to identify inefficient state handling that triggers unnecessary recompositions and jank during rendering.

What is the best way to find unstable parameters causing Compose jank?

The best way to find unstable parameters causing Compose jank is performing a root cause analysis via code review and profiling tools, identifying anti-patterns, and applying concrete code fixes for smooth rendering results.