Добавление фич в KMP-проект на Compose
★ 7.1 · vibe-coding
Реализация новой функциональности (Implement a Feature) is a Claude Code skill that walks a developer through a structured, step-by-step workflow for adding new features to the Meshtastic-Android codebase while preserving KMP compatibility and architectural integrity. Reach for it when you need to add a new screen or module to a multiplatform project without breaking layering, when you're unsure where to put the ViewModel, the typed navigation route, or the Koin DI binding, or when the feature must compile and run on both Android and Desktop targets. The skill covers five zones: updating `gradle/libs.versions.toml` with the correct `jetbrains-*` and `compose-multiplatform-*` aliases; defining MVI/UDF state and a framework-free ViewModel in `commonMain`; building adaptive UI with Jetpack Compose Multiplatform; wiring Navigation 3 typed routes and Koin Annotations (`@Factory`, `@Single`, `@KoinViewModel`) with mandatory registration in `AppKoinModule.kt` and `DesktopKoinModule.kt`; and isolating platform-specific APIs behind a `commonMain` interface injected via Koin or `CompositionLocal`. Verification runs Spotless, Detekt, `assembleDebug`, unit tests, and — whenever a KMP module is touched — `kmpSmokeCompile`; new reflection-heavy dependencies also require ProGuard rules in both `androidApp` and `desktopApp`.
- #kotlin-multiplatform
- #feature-development
- #koin-di
- #navigation-3
- #compose