mavericks-mvi-en

Implement Mavericks 3.x ViewModel, State, and DI patterns in Android projects.

3|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/ujffdi/mavericks-mvi-skills --skill mavericks-mvi-en
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mavericks-mvi-en
Source: https://github.com/ujffdi/mavericks-mvi-skills/tree/main/skills/mavericks-mvi-en
Command: npx skills add https://github.com/ujffdi/mavericks-mvi-skills --skill mavericks-mvi-en

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mavericks MVI patterns involve many moving parts across State, ViewModel, DI (Hilt), UI subscriptions (Compose/Fragment), Async requests, and DeliveryMode one-shot events. This guide provides a cohesive set of best practices, patterns, and concrete examples to help teams implement and maintain these patterns consistently.

Core Features & Use Cases

  • Clear guidance for designing MavericksState data classes with immutability and safe defaults.
  • Practical patterns for MavericksViewModel initialization, Hilt DI integration, and fine-grained UI subscriptions in Compose and Fragment environments.
  • Techniques for handling Async, execute, and long-lived flows, plus one-shot delivery of events via DeliveryMode.

Quick Start

Install the mavericks-mvi-en skill into your agent's skills directory and begin by reading the state and ViewModel usage examples to scaffold Mavericks 3.x components in your Android project.

Frequently Asked Questions about mavericks-mvi-en

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement Mavericks MVI state management in an Android Compose project?

Design immutable MavericksState data classes with safe defaults and initialize MavericksViewModel using Hilt dependency injection to enable reliable state management and fine-grained UI subscriptions in Compose environments.

What is the best way to handle Async requests and long-lived flows in Mavericks 3.x?

Handle Async requests and long-lived flows in Mavericks 3.x by utilizing built-in Async workflows and execute methods to manage background operations and deliver state updates safely to subscribed UI components.

Can I use Mavericks MVI with Fragment-based UIs instead of Compose?

Yes, Mavericks MVI supports Fragment-based UIs alongside Compose by providing tailored subscription patterns that maintain consistent state delivery and ViewModel integration regardless of the Android UI toolkit in use.

How do I configure Hilt dependency injection for a MavericksViewModel?

Configure Hilt dependency injection for a MavericksViewModel by applying standard Hilt annotation patterns during ViewModel initialization to ensure proper dependency provisioning and align with Mavericks MVI best practices.

When should I use DeliveryMode for one-shot events in Mavericks MVI?

Use DeliveryMode for one-shot events in Mavericks MVI when you need to dispatch transient actions like navigation or snackbar triggers, ensuring these events are delivered only once to prevent duplicate UI reactions during configuration changes.