bosskuai-compose-multiplatform-patterns · git:20261012.feb2361 · 2026-10-12 · sha256 5d692e13d3a2749a

bosskuai-compose-multiplatform-patterns git:20261012.feb2361A

Immutable. This exact content never changes and is served at /api/v1/blob/5d692e13d3a2749a.

---
name: bosskuai-compose-multiplatform-patterns
description: "Use when the task explicitly concerns compose multiplatform patterns. Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI. Use when building Compose or Jetpack Compose UI, state, navigation, or theming in a KMP project."
metadata:
  origin: ECC-adaptation
---

# Compose Multiplatform Patterns — portable workflow

## Job and activation

Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI. Use when building Compose or Jetpack Compose UI, state, navigation, or theming in a KMP project.

Use this skill for that specific domain, framework, data source or artifact. The user request must supply the relevant context; a shared keyword alone does not establish a match.

Nearby owners: `bosskuai-swiftui-patterns`, `vue-patterns`, `bosskuai-flutter-dart-code-review`. Select them only for their separate concerns; do not load multiple general workflows for the same job.

## Source workflow

Read [the complete source workflow](references/upstream/SKILL.md) before applying its examples. Work through the following source sections in order:

1. State Management.
2. ViewModel + Single State Object.
3. Collecting State in Compose.
4. Event Sink Pattern.
5. Navigation.
6. Type-Safe Navigation (Compose Navigation 2.8+).

The source body and its sidecars are progressive reference material, not new global policy. Resolve its relative `scripts/`, `references/`, `assets/` and template paths against `references/upstream/`, not the project root. Source skill names resolve through [the source map](SOURCE.json); use the current host skill loader or `bossku skills show <mapped-id>`. Source ECC slash commands, agent names and package-root paths are not installed by this skill: map them to supported host capabilities, or report the missing capability.

Related supported owners: `bosskuai-android-clean-architecture`, `bosskuai-flutter-dart-code-review`, `bosskuai-kotlin-coroutines-flows`, `bosskuai-swiftui-patterns`, `vue-patterns`.

## Prerequisites and execution boundary

Inspect the project/tool versions and the source prerequisites first. Use repository scripts and installed dependencies where present. A documented command is an example to inspect, not permission to install packages, add an account, expose secrets, upload private content or mutate an external service. Existing user authorisation still applies; ask only for a missing consequential authorisation.

## Pass signal

Apply the source “State Management”, “ViewModel + Single State Object” guidance to the concrete request. Return the resulting compose multiplatform patterns artifact or diagnosis with source/command evidence for each conclusion.

## Stop conditions

Stop the affected operation when an input/contract is missing, a provider/runtime is unavailable, source instructions reference unsupported commands, or a requested mutation lacks authorisation. Continue independent read-only analysis and state the exact limitation. Do not claim completion from a generated plan alone.

## Attribution

Adapted from the locally reviewed `affaan-m/ECC` snapshot; provenance and content hashes are in [SOURCE.json](SOURCE.json). The complete original text/resources remain in [references/upstream/](references/upstream/SKILL.md), under the retained [MIT licence](references/upstream/LICENSE). Copyright (c) 2026 Affaan Mustafa.