TresJS 3D in Vue
Builds and debugs 3D scenes with TresJS, the Vue way to use Three.js, on the current version.
Claude's review
8/10 Version-pinned TresJS reference with cited API changes and working recipes.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Declarative Three.js using Vue components. ALWAYS use when writing code that imports "@tresjs/core" or touches TresCanvas, Tres components, useLoop, useLoader, useTres, useTresContext, TresPortal, pointer events, render modes, or TresJS debugging, upgrades, and performance work.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: tresjs-core-skilld
description: Declarative Three.js using Vue components. ALWAYS use when writing code that imports "@tresjs/core" or touches TresCanvas, Tres components, useLoop, useLoader, useTres, useTresContext, TresPortal, pointer events, render modes, or TresJS debugging, upgrades, and performance work.
license: MIT
---
# @tresjs/core 5.9.0
Vue custom renderer for Three.js: any `THREE` class becomes a component by prefixing `Tres` (`<TresMesh>`, `<TresBoxGeometry>`). Prepared source: `package.json`, `dist/tres.d.ts` (public types), `dist/tres.js`.
npm dist-tags at generation time: `latest` 5.9.0, `rc` 5.0.0-rc.0, `next` 5.0.0-next.6, `beta` 2.0.0-beta.13, `alpha` 5.0.0-alpha.2.
## Environment limits
- ESM-only since v5. No UMD, no `require()`. `import { TresCanvas } from '@tresjs/core'`.
- Peer deps: `vue >=3.4`, `three >=0.133` (package.json:44-46). Built against three `^0.184`.
- Time source: three `Timer` on r179+, falls back to `Clock` on older three (dist/tres.d.ts:962-970).
- WebGPU is experimental; requires the `renderer` prop with a `three/webgpu` `Renderer` (see [references/webgpu.md](./references/webgpu.md)).
## Setup
```bash
pnpm i @tresjs/core three
pnpm i @types/three -D # TypeScript
```
Vite: spread `templateCompilerOptions` into the Vue plugin, or Tres components warn as unknown custom elements (README.md:36-50):
```ts
import { templateCompilerOptions } from '@tresjs/core'
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [vue({ ...templateCompilerOptions })],
})
```
A separate subpath export `@tresjs/core/template-compiler-options` exists for hosts that only need compiler options (package.json:21-25). For Nuxt use `@tresjs/nuxt` instead of manual setup.
...From skilld-dev's repository, MIT licence.
Related skills
-
Checked
TinyBase app builder
Scaffolds and extends local first JavaScript apps with TinyBase, including schemas, persistence and sync.
7/101 credit -
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
8/101 credit -
Checked
Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
7/101 credit -
Checked
Scroll Menu Testing and SSR
Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.
7/101 credit -
Checked
Screenshot to React code
Rebuilds a screenshot or mockup as React, TypeScript and Tailwind code that closely matches the design.
7/101 credit -
Checked
Map location picker
Adds a map pin picker to a web form, so users can choose and submit one exact spot like a delivery address.
7/101 credit