What It Does
Greenfish CMP Skill is a practical development guide for building Compose Multiplatform applications. It combines Kotlin Multiplatform for shared logic with Compose Multiplatform for declarative UI across iOS, Android, and desktop platforms.
How It Works
The skill enforces consistent patterns through an MVI (Model-View-Intent) architecture with unidirectional state flows. It uses Koin annotations with KSP for compile-time-safe dependency injection, eliminating manual wiring. Every screen follows strict conventions: one class per file, named design tokens instead of magic numbers, mock data separation, and adaptive layouts that switch from bottom navigation (under 600dp) to sidebar navigation (600dp+).
Use Cases
- Building cross-platform apps that share code across Android, iOS, and desktop
- Implementing consistent Material 3 design systems across platforms
- Setting up maintainable Kotlin projects with clear architectural patterns
- Creating adaptive UIs that respond to different screen sizes
Who Benefits
Design system leads and product designers working with development teams on multiplatform products. Useful for teams standardizing component patterns and ensuring UI consistency across platforms without duplicating design logic.