using-strong-skipping-correctly

Community

Control strong skipping for composables.

Authorskydoves
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Jetpack Compose's Strong Skipping Mode changes the way restartable composables are memoized and how capturing lambdas are remembered. This skill helps engineers reason about when composables skip, when they don't, and how to audit lambda captures and escape hatches to ensure correct behavior.

Core Features & Use Cases

  • Verify that Strong Skipping is active for the project and identify any opt-out flags or legacy settings.
  • Audit lambda capture sites inside @Composable scopes to ensure captures are stable or hoisted with remember.
  • Identify gaps where strong skipping does not memoize, such as LazyListScope.items, Modifier.pointerInput, object expressions, and non-@Composable scopes.
  • Apply escape hatches like @DontMemoize, @NonSkippableComposable, @NonRestartableComposable, and @ReadOnlyComposable with proper rationale.
  • Prove behavior at runtime using @TraceRecomposition and CI stability checks to guard against regressions.

Quick Start

Verify your Kotlin / Compose plugin version and perform an initial audit on a sample composable to confirm strong skipping behavior.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: using-strong-skipping-correctly
Download link: https://github.com/skydoves/compose-performance-skills/archive/main.zip#using-strong-skipping-correctly

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.