一键导入
这个仓库中的 skills
Expert knowledge for @variojs/cli — the command-line toolchain for the Vario Schema-First UI system. Covers three commands: `vario dev` (file watching with Node.js native fs.watch, auto-validation, auto-codegen pipeline), `vario generate/gen` (Schema→TypeScript code generation: types.ts with inferred state types, schema.ts export), and `vario validate` (Schema validation using @variojs/schema's validateSchemaWithResult). Also covers the programmatic API: startDevServer, generateCode, validateFiles, and their option types. Use this skill whenever the user is working with vario-cli, the vario command, schema file watching, code generation from Vario schema, schema validation, dev server setup, CI pipeline integration, or any @variojs/cli API. Also trigger when user mentions Vario CLI, vario dev, vario gen, vario validate, or wants to set up a Vario development workflow.
Expert knowledge for @variojs/core — the framework-agnostic runtime engine of the Vario Schema-First UI system. Covers RuntimeContext (flat state, _get/_set, $emit, $methods), Expression Engine (parsing, AST validation, sandbox evaluation, whitelist functions, dependency tracking, compilation caching), Action VM (execute instruction pipeline: set/call/emit/if/loop/batch/navigate/log/push/pop/shift/unshift/splice), path utilities (parsePath, getPathValue, setPathValue, path caching), loop context pool (createLoopContext/releaseLoopContext, object reuse), Schema analysis tools (analyzeSchema, findNode, findNodes, findPathById, createQueryEngine, traverseSchema), security model (multi-layer sandbox, AST whitelist, property blacklist, nesting depth limits, timeout/maxSteps), error types (VarioError, ActionError, ExpressionError, ServiceError, BatchError), and performance optimizations (expression cache, path cache, loop context pool, WeakMap caching). Use this skill whenever the user is working with vario-core, R
Expert knowledge for developing with @variojs/vue — the Vue 3 rendering layer of the Vario Schema-First UI system. Covers useVario composable, Schema→VNode rendering, model binding, event handling, directives, expressions, control flow (cond/show/loop), Vue features (refs, lifecycle, provide/inject, teleport, transition, keep-alive), VNode plugin system (VNodePlugin interface, wrapComponent/decorateVNode hooks, built-in & custom plugins), performance optimization (Scope-Weight Hybrid auto-adaptive: path-memo, subtree componentization, loop componentization), schema query API, computed/methods registration, error boundaries, node context, and TypeScript type patterns. Use this skill whenever the user is working with vario-vue, useVario, schema rendering, writing Vario Schema for Vue, configuring renderer options, debugging rendering issues, building forms or dynamic UI with JSON Schema in Vue, or asking about any @variojs/vue API. Also trigger when user mentions Vario + Vue, schema-driven rendering, Action VM