Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

android-presentation-mvi

Skill by cosmictaserdev-creator

Guides the creation of Android and KMP presentation layers using MVI. It covers State, Action, Event, ViewModel, Root and Screen composables, UI models, UiText error mapping and process death handling.

  • Score 87
  • 1.5k stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install android-presentation-mvi

Built from the published package, never by AI.

git clone --depth 1 https://github.com/cosmictaserdev-creator/Convx /tmp/Convx && mkdir -p ~/.claude/skills && cp -r /tmp/Convx/contributor/skills/android-presentation-mvi ~/.claude/skills/android-presentation-mvi

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install android-presentation-mvi in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives an AI assistant a set of conventions for the presentation layer of Android and Kotlin Multiplatform screens. It defines a single state data class, a sealed interface of user actions, and a sealed interface of one-time events. A ViewModel exposes a StateFlow, handles actions through onAction, and sends events through a Channel. The skill also covers splitting each screen into a Root composable that holds the ViewModel and a Screen composable that only receives state and onAction.

The skill explains when to map errors to UiText resources and when to use plain strings for dynamic values. It also shows how to create UI models with a Ui suffix and how to restore form fields with SavedStateHandle after process death. It is written for Android and KMP developers who create or review ViewModels, screens and composables.

Written from the project's SKILL.md and checked against it.

What it can do

  • State and actionsDefines a single state data class and a sealed interface of user actions for each screen.
  • ViewModel patternShows a ViewModel with a StateFlow for state, a Channel for events and an onAction handler.
  • Root and Screen splitExplains a Root composable that holds the ViewModel and a previewable Screen composable.
  • UiText error mappingDescribes mapping domain errors to UiText string resources with toUiText extension functions.
  • UI modelsDescribes creating presentation models with formatted values, suffixed with Ui.
  • Process death handlingShows restoring essential form fields with SavedStateHandle after process death.
  • Naming conventionsLists naming patterns for ViewModels, state, actions, events, composables and UI models.
  • New screen checklistProvides a checklist for adding a new screen with MVI structure.

What you need

  • Android or Kotlin Multiplatform project
  • Jetpack Compose
  • Koin for koinViewModel examples

Try asking

  • Add a ViewModel for a note list screen with state, actions and events.
  • Create a Root and Screen composable split for a settings screen.
  • Map my DataError enum to UiText string resources.

Good to know

  • The skill shows patterns and examples, not a complete project.
  • ObserveAsEvents is named in the triggers but its implementation is not shown in the source.
  • Dispatcher injection is advised only in specific cases.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: contributor/skills/android-presentation-mvi/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to android-presentation-mvi

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

android-presentation-mvi: common questions

What is MVI in this Android skill?

The skill uses MVI with a State data class, sealed Action and Event interfaces, and a ViewModel that holds a StateFlow and processes actions.

When should I use UiText instead of String?

The source says to use UiText for strings from a string resource or that could be localized. Plain String is for always-dynamic values such as a user name or formatted date.

Does the skill cover process death?

Yes. It shows using SavedStateHandle to restore essential form fields and advises saving only what truly matters.

How do I install android-presentation-mvi?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is android-presentation-mvi free?

The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.

Is android-presentation-mvi safe to use?

It scores 87 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to android-presentation-mvi?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

android-presentation-mvi Install

Add to stack

Loading.