smithery.ai

viewmodel-scaffold

Scaffold an MVVM view model with Observation and Swift Concurrency.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 639 B
  • docs SUMMARY.md 76 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

ViewModel Scaffold

Create a view model with typed state, Observation, and async actions.

When to Use

  • When a view needs business logic or async data.

Inputs

  • ViewModel name
  • State shape
  • Dependencies and async actions

Instructions

  1. Define an @Observable state model and public API.
  2. Implement async actions using async/await with clear actor isolation.
  3. Add Swift Testing coverage for state transitions.

Output

  • View model file and Swift Testing coverage.