type
Skill
Three Vue3 ships an AI agent skill that teaches coding assistants the library's API, component/class split, and cleanup rules. Install it once and every new session already knows how to build a scene, load a model, pick objects, and dispose resources correctly.
What the skill covers
- The
<tv-scene>golden path with@createdand thev-model:*props - Component vs. class usage (
tv-gltf-loadervs.GLTFLoader(),<tv-rain>vs.RainEffect) - Camera framing with
FitCamera, picking withPicker, rotation withModelRotator - Shared sun direction through
globalParameterBusandSkyDome - Disposal:
disposeModel,disposeDRACOLoader, and effectdispose() - WebGPU and WebGL rendering through TSL node materials, switched with the
renderer-typeprop on<tv-scene>
Why install it in your home folder
Skills live in a per-user directory, not in each project. Installing once means the agent picks it up in every repository, and project files stay free of assistant-specific configuration.
Install
Pick the page for your agent:
- Claude Code —
~/.claude/skills - Codex CLI —
~/.codex/skills - DeepSeek Harness —
~/.dsh/skills - Other agents —
~/.agents/skills
Download the skill archive: three-vue3.zip
The archive contains a single three-vue3/ folder with SKILL.md at its root. Unzip it into the skills directory so the path ends with three-vue3/SKILL.md.
Sample prompts
Add a three-vue3 scene that loads /models/perseverance.glb, frames it with FitCamera,
and rotates it slowly with ModelRotator.
The rain effect keeps running after I leave the page. Audit the component for missing disposal.
Add hover highlighting to my GLB model using Picker and restore the original material color on leave.
Verification checklist
- The skills directory contains
three-vue3/SKILL.mdwith valid frontmatter. - A new agent session can answer "which component renders rain?" without browsing the repo.
- Generated code uses
<tv-scene>and@created, notonMounted+ a manual renderer. - Generated teardown calls
dispose()on effects, pickers, and loaded models.
