smithery/neversight

vani-spa-setup

Create a minimal Vani SPA root with explicit updates

Installation

$ npx skills add smithery/neversight --skill vani-spa-setup

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/neversight · top by installs.

npx skills add smithery/neversight

Browse all from smithery/neversight

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 1,348 B
  • docs SUMMARY.md 74 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Vani SPA Setup

Instructions for the agent to scaffold a basic Vani SPA using explicit updates.

When to Use

Use this when a user needs a new Vani SPA root, a simple component, or a quick demo that mounts to a DOM element.

Steps

  1. Create a root component with component that returns a render function.
  2. Store local state in variables and call handle.update() from event handlers.
  3. Find the root element by id and throw if missing.
  4. Mount the component with renderToDOM(App(), root) (arrays also work).

Arguments

  • rootId - DOM id of the mount node (defaults to app)
  • componentName - name of the root component (defaults to App)
  • includeCounter - whether to include a counter example (defaults to true)

Examples

Example 1 usage pattern:

Create a Counter component and mount it to #app with explicit updates.

Example 2 usage pattern:

Create an App component that composes child components and mount it to a custom root id.

Output

Example output:

Created: src/app.ts
Updated: src/main.ts
Notes: Uses handle.update() for all state changes.

Present Results to User

Provide a short explanation of how the root is mounted, list the files touched, and mention where explicit updates occur.