Compose State Management

Manage Compose state, remember APIs, side effects, snapshots, and screen-level state, events, reducers, and ViewModel holders without leaks or loops.

9 stars 1 forksMobile Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add PanPanFR/oh-my-openkilo --skill compose-state-management
Manual install
git clone --depth 1 https://github.com/PanPanFR/oh-my-openkilo.git /tmp/oh-my-openkilo
mkdir -p ~/.claude/skills
cp -r /tmp/oh-my-openkilo/archive/skills/android/compose-state-management ~/.claude/skills/compose-state-management

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Compose State Management

## When To Use
- Use this skill when the request is about: compose side effect problem, remember vs derivedstateof, android ui state reducer, state management in compose or xml android.
- Primary outcome: Manage Compose state, remember APIs, side effects, snapshots, lifecycle-aware collection, and screen-level state, events, reducers, and ViewModel holders without leaks or loops.
- Reach for this skill when the problem lives inside a composable or Compose runtime primitive, or when designing screen state holders and event channels. Hand off pure data-layer or build work to `kotlin-data-layer` or `android-build-release`.
- Handoff skills when the scope expands:
- `kotlin-data-layer`
- `android-compose`

## Workflow
1. Classify the issue: local remembered state, saved state, derived state, lifecycle-aware collection, one-off side effects, or screen-level state/event design.
2. Pick the narrowest Compose primitive: `remember`, `rememberSaveable`, `derivedStateOf`, `produceState`, `collectAsStateWithLifecycle`, `LaunchedEffect`, `DisposableEffect`, `SideEffect`, or `snapshotFlow`.
3. Keep durable UI state separate from transient events such as snackbars, navigation, and analytics.
4. Implement screen state with explicit loading, success, empty, and error handling; separate persistent state from one-off events using StateFlow and SharedFlow.
Read the full skill on GitHub

Details

Skill name
compose-state-management
Path
archive/skills/android/compose-state-management/SKILL.md
License
MIT
Repo updated
2 November 2026

FAQ

What does the Compose State Management skill do?

Manage Compose state, remember APIs, side effects, snapshots, and screen-level state, events, reducers, and ViewModel holders without leaks or loops.

How do I install the Compose State Management skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add PanPanFR/oh-my-openkilo --skill compose-state-management. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Compose State Management popular?

It lives in PanPanFR/oh-my-openkilo, which has 9 GitHub stars and 1 forks.

Related skills

Adaptive

9

PanPanFR/oh-my-openkilo

Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as button

Mobile Development

Agentmemory

9

PanPanFR/oh-my-openkilo

Index for agentmemory internals: how it is wired into a host agent, its architecture and ports, configuration flags, capture hooks, MCP tool surface, and REST fallback. Use when installing or debugging agentmemory itself, when a memory tool name or parameter is unclear, or when capture is not recording. For normal recall and save work, use agentmemory-ops instead.

AI, LLMs & Agents

Agentmemory History

9

PanPanFR/oh-my-openkilo

Read past work: resume the last session, recap recent sessions, list agent-linked commits, trace a line back to the session that wrote it, or compact the current conversation for handoff. Use when the user says "where were we", "resume", "recap", "session history", "what did we do", "why is this code here", "who wrote this", or "handoff".

AI, LLMs & Agents

Display Glasses with Jetpack Compose Glimmer

9

PanPanFR/oh-my-openkilo

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. Covers Glimmer design principles, workflows, and interaction models for the glasses form factor. Use this skill to build an Android XR Augmented Experience app with Jetpack Compose Glimmer. Don't use for audio-only AI glasses without a display, non-glasses Android XR headsets (spatial panels or 3D volumes with Jetpack Compose for XR), or phone and tablet Material 3 UIs.

Mobile Development

Compose Performance

9

PanPanFR/oh-my-openkilo

Expert guidance on diagnosing and fixing Jetpack Compose performance problems using recomposition tracing, stability/immutability annotations, and Compose compiler metrics. Use this for jank, slow lists, or recomposition complaints.

Mobile Development

Edge to Edge

9

PanPanFR/oh-my-openkilo

Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility.

Mobile Development

Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.