store-viewmodel
Skill by woocommerce
Store-viewmodel gives an AI assistant the ViewModel patterns used in the WooCommerce store management app. It is for writing, editing, reviewing, and debugging ViewModels. POS (WooPos*) code is out of scope.
Install store-viewmodel
Built from the published package, never by AI.
git clone --depth 1 https://github.com/woocommerce/woocommerce-android /tmp/woocommerce-android && mkdir -p ~/.claude/skills && cp -r /tmp/woocommerce-android/.agents/skills/store-viewmodel ~/.claude/skills/store-viewmodelRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/woocommerce/woocommerce-android /tmp/woocommerce-android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/woocommerce-android/.agents/skills/store-viewmodel ~/.gemini/antigravity-cli/skills/store-viewmodelAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Store-viewmodel is an agent skill that gives an AI assistant the ViewModel patterns used in the WooCommerce store management app. It loads a patterns document and covers ScopedViewModel, Hilt, StateFlow, triggerEvent, navArgs, and savedState flows. It is meant for writing, editing, exploring, debugging, or reviewing ViewModels.
The skill also covers combine with asLiveData, sealed state hierarchies, custom events, init blocks, and companion object placement. It is limited to the store management app. POS code named WooPos* is out of scope, and the source directs those requests to the pos skill instead. The skill allows Bash, Read, Write, Edit, Grep, and Glob tool use and can be invoked by the user.
Written from the project's SKILL.md and checked against it.
What it can do
- ScopedViewModel and HiltCovers ScopedViewModel patterns and Hilt injection in store app ViewModels.
- StateFlow stateCovers StateFlow usage and combining flows with asLiveData.
- navArgsCovers reading navigation arguments inside ViewModels.
- savedState flowsCovers savedState flow patterns for ViewModels.
- EventsCovers triggerEvent and custom event patterns.
- Sealed state hierarchiesCovers modeling ViewModel state as sealed hierarchies.
- Init blocks and companion objectsCovers init block usage and companion object placement.
Try asking
- Review this store ViewModel and check its StateFlow usage.
- Add navArgs to this store ViewModel and wire it through Hilt.
- Refactor this ViewModel's state into a sealed hierarchy.
Good to know
- Not for POS (WooPos*) code. Use the pos skill instead.
Security check
B- Allowed to use Bash, Write, Edit without limitsIn
SKILL.md
Checked automatically: .agents/skills/store-viewmodel/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadWriteEditGrepGlob
Alternatives to store-viewmodel
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
store-viewmodel: common questions
What does store-viewmodel cover?
It covers ScopedViewModel, Hilt, StateFlow, triggerEvent, navArgs, savedState flows, custom events, and sealed state hierarchies in the store management app. The source lists these topics in its description.
Can I use store-viewmodel for POS code?
No. The source says it is not for POS (WooPos*) code and directs those tasks to the pos skill.
Who publishes store-viewmodel?
The source names woocommerce as the publisher of this skill.
How do I install store-viewmodel?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is store-viewmodel free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is store-viewmodel safe to use?
It scores 66 of 100. Grades: maintenance A, licence C, quality B. Security check: grade B (allowed to use bash, write, edit without limits). Review the code before you install. How grades work.
What are alternatives to store-viewmodel?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
