compose-performance-audit

Audit Jetpack Compose UIs for rendering, jank, and recomposition issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Code-first analysis: identify recomposition storms, unstable keys, heavy work in composition, and expensive layouts.
  • Profiling guidance: provide steps to instrument with Layout Inspector, Perfetto, macrobenchmark, and frame timing checks.
  • Remediation and verification: propose fixes and validate improvements with before/after metrics on real devices.

Quick Start

Start with a code-first review of the target Compose project to locate recomposition hotspots and validate fixes with profiling data.

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 jank and excessive recompositions in Jetpack Compose?

Fix jank and recompositions by performing a code-first review to identify unstable keys and heavy composition work, then validate remediation with profiling tools like Layout Inspector and Perfetto.

What's the best way to profile slow rendering in an Android Compose UI?

Profile slow rendering in Compose UI by instrumenting your app with Perfetto and macrobenchmark to capture frame timing checks and identify root causes of dropped frames.

When do I need a full Compose performance audit for my Android app?

You need a Compose performance audit when your Android app experiences slow rendering, jank, or recomposition storms that degrade user experience across apps and libraries.

Can I use macrobenchmark to verify Compose UI performance improvements?

Yes, you can use macrobenchmark to verify Compose UI performance improvements by measuring before and after metrics on real devices to validate the effectiveness of your fixes.

Why does my Compose UI suffer from recomposition storms?

Compose UI suffers from recomposition storms due to unstable keys, expensive layouts, or heavy work executed during composition, which you can identify through a structured code-first analysis.

Does this audit workflow work for Android projects with Compose-based UI only?

Yes, this audit workflow applies specifically to Android projects with Compose-based UI, focusing on remediating slow rendering, jank, and excessive recompositions across the application.