Store App ViewModel Patterns

SkillAI & models

Main app ViewModel patterns (ScopedViewModel, Hilt, StateFlow, triggerEvent, navArgs, savedState flows, events). Use when writing, editing, exploring, debugging, or reviewing ViewModels in the store management app. Covers navArgs, combine+asLiveData, sealed state hierarchies, custom events, init blocks, and companion object placement. NOT for POS (WooPos*) code — use the `pos` skill instead.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Store App ViewModel Patterns skill

What this skill tells your AI

The instructions your AI receives, as published by woocommerce/woocommerce-android in .agents/skills/store-viewmodel/SKILL.md and read by ahel’s review.

@docs/store-viewmodel-patterns.md

Signals

GitHub stars
319
Forks
146
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
store-viewmodel
Source
github.com/woocommerce/woocommerce-android