nuxt-protokit
БесплатноБез исполняемых скриптовНе проверенUse when building schema-driven prototypes with nuxt-protokit (@websideproject/nuxt-protokit) - provides definePrototype, usePrototype, ProtoTool…
от onmax★ 729 звёзд на GitHubОб этом скилле
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
PrototypeSchemawith fields, collections, derived values, or visualizations - Writing
usePrototype()oruseProtoCollection()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
| File | Topics |
|---|---|
| references/schema.md | PrototypeSchema, all field types, CollectionSchema, DerivedDef, DashboardLayout, ProtoAction |
| references/composables.md | usePrototype, useProtoCollection, useProtoDoc, namespace, encryption options |
| references/components.md | ProtoTool, ProtoDashboard, ProtoCrudModal, ProtoCalendar, ProtoViz, ProtoActionBar |
| references/visualizations.md | All 12 viz types with config interfaces and examples |
| references/offline-first.md | Y.js + IndexedDB, multi-tab sync, encryption, corruption recovery, server sync |
| references/extensions.md | defineProtokitExtension, custom field/viz type registration |
| references/headless.md | defineHeadlessSchema, programmatic usage without UI components |
| references/module-authoring.md | Building a Nuxt module that ships custom fields/viz: protokit:register-extension hook, plugin pattern |
Progressive Loading
Load only what you need:
- Defining fields, collections, or layout? → references/schema.md
- Writing
usePrototypeor composable options? → references/composables.md - Using
<ProtoTool>,<ProtoCrudModal>,<ProtoCalendar>? → references/components.md - Configuring
visualizations: []in schema? → references/visualizations.md - Encryption, multi-tenant, corruption? → references/offline-first.md
- Custom field or viz type? → references/extensions.md
- No UI, programmatic storage? → references/headless.md
- Building a Nuxt module that ships extensions? → references/module-authoring.md
DO NOT read all files at once. Load based on current task.
Related Skills
nuxt— Nuxt 4 routing, server routes, middlewarenuxt-ui— @nuxt/ui components for surrounding page layoutvue— 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.
Установить nuxt-protokit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл nuxt-protokit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nuxt-protokit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic