Skip to content
Back to search

flowmvi

SkillWorks with Claude CodeGitHub

FlowMVI skill for Kotlin Multiplatform MVI framework

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/respawn-app--flowmvi/badge.svg)](/listings/respawn-app--flowmvi)

HTML

<a href="/listings/respawn-app--flowmvi"><img src="/api/listings/respawn-app--flowmvi/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

* Get Started in 10 mins: * Latest version: * API Docs: * Sample App + Showcase (Web): * Ask questions on

<details> <summary>Version catalogs</summary>

[versions]
flowmvi = "< Badge above πŸ‘†πŸ» >"

[dependencies]
# Core KMP module
flowmvi-core = { module = "pro.respawn.flowmvi:core", version.ref = "flowmvi" }
# Test DSL
flowmvi-test = { module = "pro.respawn.flowmvi:test", version.ref = "flowmvi" }
# Compose multiplatform
flowmvi-compose = { module = "pro.respawn.flowmvi:compose", version.ref = "flowmvi" }
# Android (common + view-based)
flowmvi-android = { module = "pro.respawn.flowmvi:android", version.ref = "flowmvi" }
# Multiplatform state preservation
flowmvi-savedstate = { module = "pro.respawn.flowmvi:savedstate", version.ref = "flowmvi" }
# Performance metrics collection
flowmvi-metrics = { module = "pro.respawn.flowmvi:metrics", version.ref = "flowmvi" }
# Remote debugging client
flowmvi-debugger-client = { module = "pro.respawn.flowmvi:debugger-plugin", version.ref = "flowmvi" }
# Essenty (Decompose) integration
flowmvi-essenty = { module = "pro.respawn.flowmvi:essenty", version.ref = "flowmvi" }
flowmvi-essenty-compose = { module = "pro.respawn.flowmvi:essenty-compose", version.ref = "flowmvi" }

</details>

<details> <summary>Gradle DSL</summary>

dependencies {
    val flowmvi = "< Badge above πŸ‘†πŸ» >"
    // Core KMP module
    commonMainImplementation("pro.respawn.flowmvi:core:$flowmvi")
    // compose multiplatform
    commonMainImplementation("pro.respawn.flowmvi:compose:$flowmvi")
    // saving and restoring state
    commonMainImplementation("pro.respawn.flowmvi:savedstate:$flowmvi")
    // metrics collection & export
    commonMainImplementation("pro.respawn.flowmvi:metrics:$flowmvi")
    // essenty integration
    commonMainImplementation("pro.respawn.flowmvi:essenty:$flowmvi")
    commonMainImplementation("pro.respawn.flowmvi:essenty-compose:$flowmvi")
    // testing DSL
    commonTestImplementation("pro.respawn.flowmvi:test:$flowmvi")
    // android integration
    androidMainImplementation("pro.respawn.flowmvi:android:$flowmvi")
    // remote debugging client
    androidDebugImplementation("pro.respawn.flowmvi:debugger-plugin:$flowmvi")
}

</details>

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/plugin.json Β· Manifest Β· 6 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "flowmvi",
  3. "description": "FlowMVI skill for Kotlin Multiplatform MVI framework",
  4. "version": "3.3.0-alpha03",
  5. "repository": "https://github.com/respawn-llc/FlowMVI"
  6. }
README.md Β· README Β· 342 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. ![FlowMVI Framework Banner](https://opensource.respawn.pro/FlowMVI/banner.webp)
  2. [![CI](https://github.com/respawn-llc/FlowMVI/actions/workflows/ci.yml/badge.svg)](https://github.com/respawn-llc/FlowMVI/actions/workflows/ci.yml)
  3. ![License](https://img.shields.io/github/license/respawn-llc/flowMVI)
  4. ![GitHub last commit](https://img.shields.io/github/last-commit/respawn-llc/FlowMVI)
  5. ![Issues](https://img.shields.io/github/issues/respawn-llc/FlowMVI)
  6. ![GitHub top language](https://img.shields.io/github/languages/top/respawn-llc/flowMVI)
  7. [![AndroidWeekly #563](https://androidweekly.net/issues/issue-563/badge)](https://androidweekly.net/issues/issue-563/)
  8. [![Slack channel](https://img.shields.io/badge/Chat-Slack-orange.svg?style=flat&logo=slack)](https://kotlinlang.slack.com/messages/flowmvi/)
  9. [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/respawn-llc/FlowMVI)
  10. ![badge][badge-android] ![badge][badge-jvm] ![badge][badge-js] ![badge][badge-nodejs] ![badge][badge-linux] ![badge][badge-windows] ![badge][badge-ios] ![badge][badge-mac] ![badge][badge-watchos] ![badge][badge-tvos] ![badge][badge-wasm]
  11. #### FlowMVI is a Kotlin Multiplatform Architectural Framework.
  12. It **adds a plug-in system** to your code that helps prevent crashes, handle errors,
  13. split responsibilities, reuse code, collect analytics, debug & log operations, monitor & improve performance,
  14. achieve thread-safety, save state, manage background jobs, and more.
  15. ## ⚑️ Quickstart:
  16. * Get Started in 10 mins:
  17. [![Quickstart](https://img.shields.io/website?down_color=red&down_message=Offline&label=Quickstart&up_color=green&up_message=Online&url=https%3A%2F%2Fopensource.respawn.pro%2FFlowMVI)](https://opensource.respawn.pro/FlowMVI/quickstart)
  18. * Latest version:
  19. [![Maven Central](https://img.shields.io/maven-central/v/pro.respawn.flowmvi/core?label=Maven%20Central)](https://central.sonatype.com/namespace/pro.respawn.flowmvi)
  20. * API Docs:
  21. [![Javadoc](https://javadoc.io/badge2/pro.respawn.flowmvi/core/javadoc.svg)](https://opensource.respawn.pro/FlowMVI/javadocs/index.html)
  22. * Sample App + Showcase (Web):
  23. [![Sample](https://img.shields.io/badge/Click_Me-Click_Me?style=flat&color=00b147)](https://opensource.respawn.pro/FlowMVI/sample/)
  24. * Ask questions on
  25. [![Slack](https://img.shields.io/badge/Chat-Slack-orange.svg?style=flat&logo=slack)](https://kotlinlang.slack.com/messages/flowmvi/)
  26. <details>
  27. <summary>Version catalogs</summary>
  28. ```toml
  29. [versions]
  30. flowmvi = "< Badge above πŸ‘†πŸ» >"
  31. [dependencies]
  32. # Core KMP module
  33. flowmvi-core = { module = "pro.respawn.flowmvi:core", version.ref = "flowmvi" }
  34. # Test DSL
  35. flowmvi-test = { module = "pro.respawn.flowmvi:test", version.ref = "flowmvi" }
  36. # Compose multiplatform
  37. flowmvi-compose = { module = "pro.respawn.flowmvi:compose", version.ref = "flowmvi" }
  38. # Android (common + view-based)
  39. flowmvi-android = { module = "pro.respawn.flowmvi:android", version.ref = "flowmvi" }
  40. # Multiplatform state preservation
  41. flowmvi-savedstate = { module = "pro.respawn.flowmvi:savedstate", version.ref = "flowmvi" }
  42. # Performance metrics collection
  43. flowmvi-metrics = { module = "pro.respawn.flowmvi:metrics", version.ref = "flowmvi" }
  44. # Remote debugging client
  45. flowmvi-debugger-client = { module = "pro.respawn.flowmvi:debugger-plugin", version.ref = "flowmvi" }
  46. # Essenty (Decompose) integration
  47. flowmvi-essenty = { module = "pro.respawn.flowmvi:essenty", version.ref = "flowmvi" }
  48. flowmvi-essenty-compose = { module = "pro.respawn.flowmvi:essenty-compose", version.ref = "flowmvi" }
  49. ```
  50. </details>
  51. <details>
  52. <summary>Gradle DSL</summary>
  53. ```kotlin
  54. dependencies {
  55. val flowmvi = "< Badge above πŸ‘†πŸ» >"
  56. // Core KMP module
  57. commonMainImplementation("pro.respawn.flowmvi:core:$flowmvi")
  58. // compose multiplatform
  59. commonMainImplementation("pro.respawn.flowmvi:compose:$flowmvi")
  60. // saving and restoring state
  61. commonMainImplementation("pro.respawn.flowmvi:savedstate:$flowmvi")
  62. // metrics collection & export
  63. commonMainImplementation("pro.respawn.flowmvi:metrics:$flowmvi")
  64. // essenty integration
  65. commonMainImplementation("pro.respawn.flowmvi:essenty:$flowmvi")
  66. commonMainImplementation("pro.respawn.flowmvi:essenty-compose:$flowmvi")
  67. // testing DSL
  68. commonTestImplementation("pro.respawn.flowmvi:test:$flowmvi")
  69. // android integration
  70. androidMainImplementation("pro.respawn.flowmvi:android:$flowmvi")
  71. // remote debugging client
  72. androidDebugImplementation("pro.respawn.flowmvi:debugger-plugin:$flowmvi")
  73. }
  74. ```
  75. </details>
  76. ## πŸš€ Why FlowMVI?
  77. Usually architecture frameworks mean boilerplate, restrictions, and support difficulty for marginal benefits
  78. of "clean code". FlowMVI does not dictate what your code should do or look like.
  79. Instead, this library focuses on **building a supporting infrastructure** to enable new possibilities for your app.
  80. Here's what you get:
  81. * Powerful plug-in system to **reuse any business logic** you desire.
  82. Write your auth, error handling, analytics, logging, configuration, and any other code **once**
  83. and forget about it, focusing on more important things instead.
  84. * Automatically **recover from exceptions**, prevent crashes, and report them to analytics.
  85. * Automatically collect and view logs: forget about `Log.e("asdf")` sprinkling.
  86. * **Collect 50+ performance metrics** with Prometheus, Grafana, OpenTelemetry export and 5 lines of setup.
  87. * Manage concurrent, long-running **background jobs** with complete thread-safety.
  88. * Debounce, retry, batch, throttle, conflate, **intercept any operations** automatically
  89. * **Compress, persist, and restore state** automatically on any platform
  90. * Create **compile-time safe state machines** with a readable DSL. Forget about casts, inconsistent states, and `null`s
  91. * Share, distribute, disable, intercept, safely **manage side-effects**
  92. * Build fully **async, reactive and parallel apps** - with no manual thread synchronization required!
  93. * Write **simple, familiar MVVM+** code or follow MVI/Redux - no limits or requirements
  94. * Build restartable, reusable business logic components with **no external dependencies** or dedicated lifecycles
  95. * No base classes, complicated abstractions, or factories of factories - write **simple, declarative logic** using a DSL
  96. * Automatic multiplatform system **lifecycle handling**
  97. * First class, one-liner **Compose Multiplatform support** with Previews and UI tests.
  98. * Integrates with [Decompose](https://github.com/arkivanov/Decompose), Koin, Kodein, androidx.navigation, Nav3, and more
  99. * Dedicated **IDE Plugin for debugging and codegen** and app for Windows, Linux, macOS
  100. * The core **library has no dependencies** - just coroutines
  101. * Extensively covered by **350+ tests**
  102. * **Minimal performance overhead**, equal to using a simple Channel, with regular benchmarking
  103. * **Test any business logic** using clean, declarative DSL
  104. * Learn more by exploring the [sample app](https://opensource.respawn.pro/FlowMVI/sample/) in your browser
  105. * 10 minutes to try by following the [Quickstart Guide](https://opensource.respawn.pro/FlowMVI/quickstart).
  106. ## πŸ‘€ Show me the code!
  107. Here is an example of your new workflow:
  108. ### 1. Define a Contract:
  109. ```kotlin
  110. sealed interface State : MVIState {
  111. data object Loading : State
  112. data class Error(val e: Exception) : State
  113. data class Content(val user: User?) : State
  114. }
  115. sealed interface Intent : MVIIntent {
  116. data object ClickedSignOut : Intent
  117. }
  118. sealed interface Action : MVIAction { // optional side-effect
  119. data class ShowMessage(val message: String) : Action
  120. }
  121. ```
  122. ### 2. Declare your business logic:
  123. ```kotlin
  124. val authStore = store(initial = State.Loading, coroutineScope) {
  125. recover { e: Exception -> // handle errors
  126. updateState { State.Error(e) }
  127. null
  128. }
  129. init { // load data
  130. updateState {
  131. State.Content(user = repository.loadUser())
  132. }
  133. }
  134. reduce { intent: Intent -> // respond to events
  135. when (intent) {
  136. is ClickedSignOut -> updateState<State.Content, _> {
  137. action(ShowMessage("Bye!"))
  138. copy(user = null)
  139. }
  140. }
  141. }
  142. }
  143. ```
  144. FlowMVI lets you scale your app in a way that does not increase complexity.
  145. Adding a new feature is as simple as calling a function.
  146. ## Extend your logic with Plugins
  147. Powerful DSL allows you to hook into various events and amend any part of your logic:
  148. ```kotlin
  149. fun analyticsPlugin(analytics: Analytics) = plugin<MVIState, MVIIntent, MVIAction> {
  150. onStart {
  151. analytics.logScreenView(config.name) // name of the screen
  152. }
  153. onIntent { intent ->
  154. analytics.logUserAction(intent.name)
  155. }
  156. onException { e ->
  157. analytics.logError(e)
  158. }
  159. onSubscribe {
  160. analytics.logEngagementStart(config.name)
  161. }
  162. onUnsubscribe {
  163. analytics.logEngagementEnd(config.name)
  164. }
  165. onStop {
  166. analytics.logScreenLeave(config.name)
  167. }
  168. }
  169. ```
  170. Never write analytics, debugging, logging, or state persistence code again.
  171. ## Compose Multiplatform
  172. Using FlowMVI with Compose is a matter of one line of code:
  173. ```kotlin
  174. @Composable
  175. fun AuthScreen() {
  176. // subscribe based on system lifecycle - on any platform
  177. val state by authStore.subscribe
  178. when (state) {
  179. is Content -> {
  180. Button(onClick = { store.intent(ClickedSignOut) }) {
  181. Text("Sign Out")
  182. }
  183. }
  184. }
  185. }
  186. ```
  187. Enjoy testable UI and free `@Preview`s.
  188. ## Testing DSL
  189. Bundled Test Harness with minimal verbosity:
  190. ### Test Stores
  191. ```kotlin
  192. authStore.subscribeAndTest {
  193. // turbine + kotest example
  194. intent(ClickedSignOut)
  195. states.test {
  196. awaitItem() shouldBe Content(user = null)
  197. }
  198. actions.test {
  199. awaitItem() shouldBe ShowMessage("Bye!")
  200. }
  201. }
  202. ```
  203. ### Test plugins
  204. ```kotlin
  205. val timer = Timer()
  206. timerPlugin(timer).test(Loading) {
  207. onStart()
  208. // time travel keeps track of all plugin operations for you
  209. assert(timeTravel.starts == 1)
  210. assert(state is DisplayingCounter)
  211. assert(timer.isStarted)
  212. onStop(null)
  213. assert(!timer.isStarted)
  214. }
  215. ```
  216. Finally stop writing UI tests and replace them with unit tests.
  217. ## Debugger IDE Plugin + App
  218. IDE plugin generates code and lets you debug and control your app remotely:
  219. [![Plugin](https://img.shields.io/jetbrains/plugin/v/25766?style=flat)](https://plugins.jetbrains.com/plugin/25766-flowmvi)
  220. <video
  221. src='https://github.com/user-attachments/assets/05f8efdb-d125-4c4a-9bda-79875f22578f'
  222. controls
  223. width="100%"
  224. alt="FlowMVI IDE Plugin Demo">
  225. Your browser does not support the video element. You can view the demo at our website.
  226. </video>
  227. ## People love the library:
  228. <a href="https://star-history.com/#respawn-llc/flowmvi&Date">
  229. <picture>
  230. <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=respawn-llc/flowmvi&type=Date&theme=dark" />
  231. <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=respawn-llc/flowmvi&type=Date" />
  232. <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=respawn-llc/flowmvi&type=Date" />
  233. </picture>
  234. </a>
  235. ## Ready to try?
  236. Begin by reading the [Quickstart Guide](https://opensource.respawn.pro/FlowMVI/quickstart).
  237. ----
  238. ## License
  239. ```
  240. Copyright 2022-2026 Respawn Team and contributors
  241. Licensed under the Apache License, Version 2.0 (the "License");
  242. you may not use this file except in compliance with the License.
  243. You may obtain a copy of the License at
  244. https://www.apache.org/licenses/LICENSE-2.0
  245. Unless required by applicable law or agreed to in writing, software
  246. distributed under the License is distributed on an "AS IS" BASIS,
  247. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  248. See the License for the specific language governing permissions and
  249. limitations under the License.
  250. ```
  251. [badge-android]: https://img.shields.io/badge/-android-6EDB8D.svg?style=flat
  252. [badge-android-native]: https://img.shields.io/badge/support-[AndroidNative]-6EDB8D.svg?style=flat
  253. [badge-jvm]: https://img.shields.io/badge/-jvm-DB413D.svg?style=flat
  254. [badge-js]: https://img.shields.io/badge/-js-F8DB5D.svg?style=flat
  255. [badge-js-ir]: https://img.shields.io/badge/support-[IR]-AAC4E0.svg?style=flat
  256. [badge-nodejs]: https://img.shields.io/badge/-nodejs-68a063.svg?style=flat
  257. [badge-linux]: https://img.shields.io/badge/-linux-2D3F6C.svg?style=flat
  258. [badge-windows]: https://img.shields.io/badge/-windows-4D76CD.svg?style=flat
  259. [badge-wasm]: https://img.shields.io/badge/-wasm-624FE8.svg?style=flat
  260. [badge-apple-silicon]: https://img.shields.io/badge/support-[AppleSilicon]-43BBFF.svg?style=flat
  261. [badge-ios]: https://img.shields.io/badge/-ios-CDCDCD.svg?style=flat
  262. [badge-mac]: https://img.shields.io/badge/-macos-111111.svg?style=flat
  263. [badge-watchos]: https://img.shields.io/badge/-watchos-C0C0C0.svg?style=flat
  264. [badge-tvos]: https://img.shields.io/badge/-tvos-808080.svg?style=flat

Version history

  • v3.3.0-alpha0310/19/2026

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.