debugging-recompositions
CommunityDiagnose recompositions, map causes, verify fixes
Software Engineering#debugging#jetpack-compose#recomposition#layout-inspector#argument-change-reasons#trace-recomposition#android-studio-hedgehog
Authorskydoves
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps developers identify which Jetpack Compose composables recompose and why, using Android Studio Layout Inspector recomposition counts, per-parameter Argument Change Reasons, and runtime @TraceRecomposition to enable release-mode validation and end-to-end verification of fixes.
Core Features & Use Cases
- Identify recomposition sources with Layout Inspector counts and skip counts to prioritize optimization work.
- Inspect per-parameter Argument Change Reasons (Changed / Unchanged / Uncertain / Static / Unknown) to name the exact cause and guide the fix.
- Use runtime @TraceRecomposition in release builds to confirm that a fix eliminates recompositions on the hot path.
- Map diagnostic findings to targeted stability or skipping improvements and validate end-to-end behavior.
Quick Start
Enable recomposition counts in Layout Inspector, reproduce the scenario, then review the suspect composable argument-change reasons to plan the next action.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: debugging-recompositions Download link: https://github.com/skydoves/compose-performance-skills/archive/main.zip#debugging-recompositions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.