vani-spa-app

- The user asks to update the Vani SPA app under src/spa-app

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vani-spa-app" with this command: npx skills add itsjavi/vani/itsjavi-vani-vani-spa-app

Vani SPA App

When to Use

  • The user asks to update the Vani SPA app under src/spa-app

  • Requests mention the landing page/homepage or landing examples

Quick Rules

  • SPA app code lives in src/spa-app ; entry points are entry-client.ts , entry-server.ts , and root.html

  • UI components live in src/spa-app/components

  • Import Vani runtime helpers from @/vani and @/vani/html

  • Use cn() from src/spa-app/components/utils for composing class names

  • Favor small composable sections (e.g. HeroSection , FeaturesSection )

Workflow Checklist

Use this checklist in responses:

  • Identify the target section/component in src/spa-app/components

  • Apply UI/content changes using Vani component patterns (component , h.* )

  • Keep class names composed with cn() and ensure Tailwind utility consistency

  • If the change touches landing examples, update landing-page-examples.ts

  • Update src/spa-app/styles.css only when global styles are needed

  • Scan for related copy/links in the landing page and update as needed

Component Pattern

Use Vani components and HTML helpers:

import { component } from '@/vani' import * as h from '@/vani/html' import { cn } from './utils'

export const ExampleSection = component(() => { return () => h.section( { className: cn('bg-slate-950 py-16 text-white') }, h.div({ className: cn('mx-auto max-w-6xl px-6') }, 'Content'), ) })

Common Targets

  • Landing page layout: src/spa-app/components/landing-page.ts

  • Landing examples: src/spa-app/components/landing-page-examples.ts

  • App entry: src/spa-app/app.ts

Present Results to User

Return updates as a checklist and include file paths that changed.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

vani-incremental-mount

No summary provided by upstream source.

Repository SourceNeeds Review
General

vani-spa-setup

No summary provided by upstream source.

Repository SourceNeeds Review
General

vani-jsx-setup

No summary provided by upstream source.

Repository SourceNeeds Review
General

vani-forms-inputs

No summary provided by upstream source.

Repository SourceNeeds Review