skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
onmax/nuxt-skills75 installs

nuxt-protokit

Use when building schema-driven prototypes with nuxt-protokit (@websideproject/nuxt-protokit) - provides definePrototype, usePrototype, ProtoTool, collections, derived values, and visualizations for rapid SaaS tool prototyping.

How do I install this agent skill?

npx skills add https://github.com/onmax/nuxt-skills --skill nuxt-protokit
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a framework for building schema-driven prototypes in Nuxt 4. It handles data persistence using local browser storage and optional server synchronization. It follows secure practices such as offering AES-GCM encryption for local data and using standard framework protections against data injection. No malicious code or security threats were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

nuxt-protokit

Schema-driven rapid prototyping for Nuxt 4. Turn a TypeScript schema into a persistent, interactive SaaS tool in minutes — backed by Y.js CRDT + IndexedDB, auto-synced across tabs, with optional server sync.

When to Use

  • Defining a PrototypeSchema with fields, collections, derived values, or visualizations
  • Writing usePrototype() or useProtoCollection() composables
  • Using <ProtoTool>, <ProtoDashboard>, <ProtoCrudModal>, <ProtoCalendar>, <ProtoViz> components
  • Configuring offline persistence, encryption, namespace isolation, or corruption recovery
  • Creating custom field/viz extensions with defineProtokitExtension
  • Using headless mode (defineHeadlessSchema) without UI components

Quick Start

// schema.ts
import { definePrototype } from '@websideproject/nuxt-protokit'

export const schema = definePrototype({
  key: 'my-tool',
  title: 'My Tool',
  shortTitle: 'My Tool',
  description: 'Description',
  icon: 'i-heroicons-calculator',
  fields: {
    revenue:  { type: 'number', label: 'Revenue',  default: 0, format: 'money' },
    growth:   { type: 'range',  label: 'Growth %', default: 10, min: 0, max: 100 },
    plan:     { type: 'select', label: 'Plan',     default: 'starter',
                options: ['starter', 'pro', 'enterprise'] },
  },
  derived: {
    projectedRevenue: {
      deps: ['revenue', 'growth'],
      compute: ctx => ctx.fields.revenue * (1 + ctx.fields.growth / 100),
    },
  },
})
<!-- pages/my-tool.vue -->
<script setup>
import { schema } from '~/schema'
const proto = usePrototype(schema)
</script>

<template>
  <ProtoTool :schema="schema" :prototype="proto" />
</template>

Available Guidance

FileTopics
references/schema.mdPrototypeSchema, all field types, CollectionSchema, DerivedDef, DashboardLayout, ProtoAction
references/composables.mdusePrototype, useProtoCollection, useProtoDoc, namespace, encryption options
references/components.mdProtoTool, ProtoDashboard, ProtoCrudModal, ProtoCalendar, ProtoViz, ProtoActionBar
references/visualizations.mdAll 12 viz types with config interfaces and examples
references/offline-first.mdY.js + IndexedDB, multi-tab sync, encryption, corruption recovery, server sync
references/extensions.mddefineProtokitExtension, custom field/viz type registration
references/headless.mddefineHeadlessSchema, programmatic usage without UI components
references/module-authoring.mdBuilding a Nuxt module that ships custom fields/viz: protokit:register-extension hook, plugin pattern

Progressive Loading

Load only what you need:

DO NOT read all files at once. Load based on current task.

Related Skills

  • nuxt — Nuxt 4 routing, server routes, middleware
  • nuxt-ui — @nuxt/ui components for surrounding page layout
  • vue — Vue 3 composables, reactivity patterns

Module Config (nuxt.config.ts)

export default defineNuxtConfig({
  modules: ['@websideproject/nuxt-protokit'],
  protokit: {
    serverSync: true,          // default — syncs to /api/yjs
    // serverSync: false       // local-only, no HTTP
    // serverSync: { enabled: true, baseUrl: '/api/yjs' }
  }
})

Token efficiency: Main skill ~400 tokens. Each reference file ~800–1400 tokens.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/onmax/nuxt-skills/nuxt-protokit">View nuxt-protokit on skillZs</a>