Auto-discovered marketplace from litun/decomposeclaudeplugin
npx claudepluginhub litun/decomposeclaudepluginProduction best practices for Decompose — Kotlin Multiplatform navigation and component lifecycle library. Provides slash commands and auto-invoked skills covering component structure, all navigation models (Stack, Slot, Pages, Panels), Compose UI integration, and platform setup (Android, iOS, Desktop, Web).
A Claude Code plugin that provides production best practices for Decompose — the Kotlin Multiplatform library for navigation and component lifecycle management.
CLAUDE.md template to paste into any Decompose project for always-on guidanceIn a Claude Code session, run:
/plugin marketplace add Litun/DecomposeClaudePlugin
/plugin install decompose@Litun-DecomposeClaudePlugin
Or browse via /plugin → Discover and install from there.
Copy the contents of CLAUDE.md into your project's CLAUDE.md. This gives Claude baseline Decompose context in every conversation — no skill invocation needed.
Invoke any command when you need deep guidance on a specific topic:
/decompose:setup
Claude detects Decompose context and loads the right skill automatically. For example:
class DefaultXxxComponent(componentContext: ComponentContext) → decompose-component activatesdecompose-navigation activatesdecompose-compose activatesdecompose-componentinterface + DefaultXxxComponent patternComponentContext by componentContext delegationValue<T> / MutableValue<T> observable stateretainedInstance { } — ViewModel equivalentsaveable(serializer = ...) — process death survivaldoOnStart, doOnStop, doOnDestroy)decompose-navigation@Serializable, immutable, size limits)ChildStack example with push, pop, bringToFront, popTo, result deliveryChildSlot for dialogs/modalsChildPages for pagersChildPanels for responsive master-detailinitialStackdecompose-composesubscribeAsState() — Value<T> → Compose State<T>Children() composable with stackAnimation(fade() + scale())predictiveBackAnimation() for Android 13+ChildPages() composableChildPanels() with HorizontalChildPanelsLayoutLifecycleController for DesktopBackCallback (vs Jetpack BackHandler)