An AI skill for generating localized Leaf templates and HTML-over-the-wire fragments that perfectly align with FOSMVVM ViewModels.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install fosmvvm-leaf-view-generator
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install fosmvvm-leaf-view-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The FOSMVVM Leaf View Generator is a specialized tool designed to bridge the gap between Swift ViewModels and web-based user interfaces. By automating the creation of Leaf templates, it ensures that your web views are strictly aligned with their corresponding ViewModels, maintaining architectural consistency across your project. This tool is a core component of Openclaw Skills, helping developers implement the View layer of M-V-VM with precision and speed.
This skill handles the nuances of the FOSMVVM architecture, such as ensuring localized properties render correctly and mapping raw enum values to HTML data attributes for JavaScript interoperability. Whether you are building full-page layouts or lightweight fragments for dynamic DOM updates, this skill streamlines the process while adhering to best practices for maintainability and discoverability.
To utilize this skill within your AI coding environment, ensure you have the Openclaw Skills framework active. You can invoke the generator using the following command:
/fosmvvm-leaf-view-generator
Prerequisites include having your FOSMVVM ViewModels already defined, as the skill references them to build the corresponding view logic.
| Component | Description |
|---|---|
| Full-Page Templates | Uses #extend("base") and #export("content") for complete page rendering. |
| Fragment Templates | Lightweight, single-root elements designed for component-level rendering. |
| Data Attributes | Maps raw ViewModel values to data-{entity}-{field} for JS interaction. |
| Localization | Leverages LeafDataRepresentable for automatic translation of localized types. |
| Naming Convention | Strictly matches the ViewModel name (e.g., {Feature}View.leaf). |
Loading
A specialized generator for Fluent-backed persistence layers within the FOSMVVM architecture, covering models, migrations, and automated tests.

A specialized generator for creating unified FOSMVVM Form Specifications that handle data properties, presentation logic, and multi-platform validation.

An automated scanning and archiving tool that transforms high-engagement X (Twitter) threads into structured Obsidian notes with expert translation.

Viking Memory provides AI agents with persistent, long-term semantic memory for recall of user preferences and conversation history.

A specialized AI generator that scaffolds React components and test suites based on the FOSMVVM ViewModelView architecture.

An AI coding agent skill designed to scaffold type-safe ServerRequest protocols and server-side controllers for standardized FOSMVVM communication.








































