stabilizing-compose-types
CommunityStabilize Jetpack Compose types in three tiers.
Software Engineering#stability#compose#immutability#stable-marker#stability-configuration#kotlinx-collections-immutable#flow-handling
Authorskydoves
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides you through fixing unstable Jetpack Compose types after a stability diagnosis, using a three-tier strategy to make types truly stable or properly annotated.
Core Features & Use Cases
- Tiered stability strategy: restructure types to be truly stable with val and immutable fields, and then annotate with @Immutable or @Stable when ownership allows.
- Guidance for common scenarios: stabilize List/Set/Map parameters via kotlinx.collections.immutable, and apply stabilityConfigurationFiles for Java/third-party types.
- Validation and discipline: provide a StableHolder escape hatch when needed and require re-running the stability diagnosis to verify results.
Quick Start
Run the stability diagnostic, then apply the three-tier plan: make types truly stable with val and immutable fields, annotate with @Immutable or @Stable when appropriate, and configure stabilityConfigurationFiles for third-party or Java types, then re-run the diagnostic.
Dependency Matrix
Required Modules
None requiredComponents
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: stabilizing-compose-types Download link: https://github.com/skydoves/compose-performance-skills/archive/main.zip#stabilizing-compose-types 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.