Automated summary
Documents the zero-build "Vanilla" engine of the Vanduo design system (HTML/CSS/JS with data-attribute components and a window.Vanduo runtime), covering install, API, --vd-* tokens, security, and caveats.
Strengths
- Covers all three install paths (CDN, ESM, IIFE) with exact dist variants and subpaths
- Precisely documents the runtime API (init, reinit, destroy, register) plus per-component methods
- Explains the --vd-* token model and the opt-in Fibonacci palette
- Flags real security pitfalls: sanitizeHtml denying inline style by default, escapeHtml, and the need for your own CSP and SRI
Limitations
- Does not spell out each component's markup, so exact classes and attributes still require the vanduo.dev docs
- Assumes ES2022 and modern browsers with no IE11 support
- Hex grid and music player are out of scope as separate packages
Use it when integrating or debugging Vanduo components in a plain HTML/CSS/JS page with no build step.
Avoid it if the project relies on another design system or a component framework that does not need the imperative window.Vanduo runtime.
Security analysis
SafeThis is documentation for a client-side CSS/JS UI framework. It contains no executable agent instructions, no shell commands beyond a package install example, no network exfiltration, and explicitly recommends CSP and SRI. Listing it poses no meaningful execution risk.
No concerns found
How this analysis is madeExamples
Add Vanduo to a static HTML page via CDN with a pinned version, call Vanduo.init(), and wire a modal and a toast using the data-vd-* attributes.We inject cards into the DOM dynamically with fetch and the Vanduo components stop working — show me how to use Vanduo.reinit and Vanduo.destroy for the new nodes.Theme Vanduo with --vd-* tokens, enable the Fibonacci palette, and render user-supplied HTML in a bubble using sanitizeHtml and escapeHtml without allowing inline styles.name: vanduo-framework description: Use when building UIs with @vanduo-oss/framework — the zero-build "Vanilla" HTML/CSS/JS engine of the Vanduo design system (data-attribute components + an imperative window.Vanduo runtime). Covers install (CDN/ESM/IIFE), the runtime API, the --vd-* token model, security, and caveats.
@vanduo-oss/framework
The Vanilla (zero-build) engine of the Vanduo design system: drop-in HTML/CSS/JS — 48+ components driven by .vd-* classes + data-vd-* attributes, an imperative window.Vanduo runtime, and a strict --vd-* token API. Consumes the values from @vanduo-oss/core. No build step required.
Install
pnpm add @vanduo-oss/framework # Node >=18
<!-- or CDN (pin a version; add SRI in production) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.7.1/dist/vanduo.min.css">
<script src="https://cdn.jsdelivr.net/gh/vanduo-oss/framework@v1.7.1/dist/vanduo.min.js"></script>
<script>Vanduo.init()</script>
Build variants in dist/: vanduo.min.css (or vanduo-core.min.css, no bundled icons), vanduo.esm.js (bundler), vanduo.cjs.js (CJS), vanduo.min.js (IIFE → global window.Vanduo). Subpaths: @vanduo-oss/framework/css, /css/core, /iife.
Architecture
- Component model —
.vd-*classes for styling +data-vd-*attributes that the runtime wires up (modal, flow, bubble, stepper, etc.). - Runtime —
Vanduo.init()once on load auto-initializes components;reinit/destroyhandle dynamic DOM. - Tokens — everything themable via
--vd-*CSS custom properties (Open Color default; opt-in Fibonacci palette viadata-palette="fibonacci"on<html>). - ESM vs IIFE — ESM bundles into an app; IIFE runs standalone and populates
window.Vanduo.
API
Runtime (window.Vanduo): init(root?), initComponents(root?), reinit(name, root?), destroy(root?), destroyAll(), getComponent(name), register(name, comp, opts?). Registry names are lowerCamelCase.
Component methods via Vanduo.components.* — e.g. toast.show({title,message,type,duration}), flow.next/prev/goTo, bubble.show/hide, stepper.setStep/next/prev, rating.get/setValue, transfer.getSelected, tree.getChecked, spotlight.start/next/prev/stop, validate.validateForm/addRule, waypoint.refresh.
Helpers (global): sanitizeHtml(html, {allowStyle?, allowSvg?}), escapeHtml(str), ready(cb), safeStorageGet/Set, debounce, throttle.
CSS entrypoints: /css (full), /css/core (tokens + components, no icons). Token namespaces: --vd-color/bg/text/border/shadow-*, --vd-btn/card/morph-*, palette scales --vd-oc-* / --vd-fib-*.
Security
sanitizeHtml()— whitelist-based; denies inlinestyleby default (attribute-injection vector), opt back in only for trusted source. Bubble/Popover restrict links tohttp/https/mailto.escapeHtml()is quote-safe for attribute contexts.- ESLint flags raw
innerHTMLassignment outside the sanitize helpers (no-restricted-syntax). - No bundled-style nonce injection — apply your own CSP; harden CDN tags with Subresource Integrity.
Caveats
- No-build consumers use CDN or local
/dist; bare ESM specifiers need a bundler/import map. - ES2022, modern browsers (no IE11 shims).
- Theming persists to
localStorage(vanduo-theme-preference);data-palette="fibonacci"is runtime opt-in (Open Color is default). - Hex grid and music player are separate packages (
@vanduo-oss/hex-grid,@vanduo-oss/music-player).
Docs
Full documentation and live demos: https://vanduo.dev
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/vanduo-framework-vanilla-ui-engine-mrx3y0qs/download' --output '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md.part' && mv '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md.part' '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md' && test -s '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/vanduo-framework' && cp -R '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs' '.claude/skills/vanduo-framework'Cursor
test -f '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md' && test -s '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/vanduo-framework' && cp -R '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs' '.cursor/skills/vanduo-framework'Codex
test -f '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md' && test -s '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/vanduo-framework' && cp -R '.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs' '.agents/skills/vanduo-framework'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs'openskills read 'vanduo-framework-vanilla-ui-engine-mrx3y0qs'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/vanduo-framework-vanilla-ui-engine-mrx3y0qs/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.