Develops AR/VR experiences: Three.js scene building with Vite, glTF asset optimization with gltf-transform, Blender headless rendering, and WebXR deployment.
Agentic Workflow: Read -> Reason -> Act (ar-vr-development)
You are ar-vr-development (emerging) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — emerging context for ar-vr-development
- Domain: Develops AR/VR experiences: Three.js scene building with Vite, glTF asset optimization with gltf-transform, Blender headless rendering, and WebXR deployment.
- threejs-setup: Scaffold and build Three.js scenes —
npm create vite@latest my-scene -- --template vanilla
- asset-pipeline: Optimize 3D assets for the web —
npm install -g @gltf-transform/cli
- Check
knowledge and prerequisites: unity, unreal, blender, three-js
2. Reason — think for ar-vr-development
- For
threejs-setup: Scaffold and build Three.js scenes — decide which checks to run
- For
asset-pipeline: Optimize 3D assets for the web — decide which checks to run
- Evaluate trust/policy:
kdesk trust + kdesk doctor patterns for your inputs
3. Act — execute with ar-vr-development tools
- Tools:
Glob, Grep, Read, Bash, Npx (see frontmatter tools/allowed-tools)
- Use
safe_path for any write; record evidence (paths, checksums)
- Fingerprint:
ar-vr-development:b474403f
AR/VR Development
Web-based AR/VR with Three.js.
What This Skill Does
- Builds 3D scenes with Three.js
- Optimizes glTF assets for performance
- Deploys WebXR experiences
When to Use
- Web AR/VR prototypes
- 3D product visualization
- Immersive training demos
Real Commands
npm create vite@latest my-scene -- --template vanilla
npm install three @types/three
npx vite build
npm install -g @gltf-transform/cli
gltf-transform optimize model.glb -o model-optimized.glb
Scene Example
import * as THREE from 'three';
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, innerWidth / innerHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer();
renderer.setSize(innerWidth, innerHeight);
document.body.appendChild(renderer.domElement);
Testing
- Inspect asset sizes before deploy
- Verify Draco decoding at runtime
- Test with WebXR device emulation
Best Practices
- Compress glTF with draco
- Use LODs for complex scenes
- Keep framerates above 60fps on target devices
Capabilities
threejs-setup
Scaffold and build Three.js scenes
Parameters:
template (string): Vite template name
asset (string): 3D asset file to load
output-dir (string): Build output directory
Commands:
npm create vite@latest my-scene -- --template vanilla
npm install three @types/three
npm install vite
npx vite build
npx vite preview
Examples:
- vite scaffold starts a vanilla JS project
- npm install three adds the 3D engine
- vite build bundles the scene for production
asset-pipeline
Optimize 3D assets for the web
Parameters:
input (string): Input glTF file
output (string): Optimized output file
compression (string): draco, meshopt
Commands:
npm install -g @gltf-transform/cli
gltf-transform optimize model.glb -o model-optimized.glb
gltf-transform draco model.glb model-draco.glb
gltf-transform inspect model.glb
blender -b scene.blend -o //render -E CYCLES -f 1
Examples:
- gltf-transform optimize reduces file size
- gltf-transform draco compresses geometry
- blender -b renders headlessly
References
1---2name: "ar-vr-development"3description: "Develops AR/VR experiences: Three.js scene building with Vite, glTF asset optimization with gltf-transform, Blender headless rendering, and WebXR deployment. Use when working with threejs setup, asset pipeline or when the user mentions threejs setup, asset pipeline."4license: "MIT"5compatibility: "Requires unity, unreal, blender, three-js, webxr."6metadata:7 source: https://skillmd.com/skills/opknock/ar-vr-development8 author: Kdesk9 version: 2.0.010 category: emerging11allowed-tools: "Glob Grep Read Bash(blender:*) Bash(gltf-transform:*) Bash(npm:*) Bash(npx:*)"12---1314Develops AR/VR experiences: Three.js scene building with Vite, glTF asset optimization with gltf-transform, Blender headless rendering, and WebXR deployment.1516## Agentic Workflow: Read -> Reason -> Act (ar-vr-development)1718You are **ar-vr-development** (emerging) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.1920### 1. Read — emerging context for `ar-vr-development`21- Domain: Develops AR/VR experiences: Three.js scene building with Vite, glTF asset optimization with gltf-transform, Blender headless rendering, and WebXR deployment.22- **threejs-setup**: Scaffold and build Three.js scenes — `npm create vite@latest my-scene -- --template vanilla`23- **asset-pipeline**: Optimize 3D assets for the web — `npm install -g @gltf-transform/cli`24- Check `knowledge` and `prerequisites: unity, unreal, blender, three-js`2526### 2. Reason — think for `ar-vr-development`27- For `threejs-setup`: Scaffold and build Three.js scenes — decide which checks to run28- For `asset-pipeline`: Optimize 3D assets for the web — decide which checks to run29- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs3031### 3. Act — execute with `ar-vr-development` tools32- Tools: `Glob`, `Grep`, `Read`, `Bash`, `Npx` (see frontmatter `tools`/`allowed-tools`)33- Use `safe_path` for any write; record evidence (paths, checksums)34- Fingerprint: `ar-vr-development:b474403f`3536# AR/VR Development3738Web-based AR/VR with Three.js.3940## What This Skill Does41- Builds 3D scenes with Three.js42- Optimizes glTF assets for performance43- Deploys WebXR experiences4445## When to Use46- Web AR/VR prototypes47- 3D product visualization48- Immersive training demos4950## Real Commands5152```bash53npm create vite@latest my-scene -- --template vanilla54npm install three @types/three55npx vite build56npm install -g @gltf-transform/cli57gltf-transform optimize model.glb -o model-optimized.glb58```5960## Scene Example6162```js63import * as THREE from 'three';64const scene = new THREE.Scene();65const camera = new THREE.PerspectiveCamera(75, innerWidth / innerHeight, 0.1, 1000);66const renderer = new THREE.WebGLRenderer();67renderer.setSize(innerWidth, innerHeight);68document.body.appendChild(renderer.domElement);69```7071## Testing72- Inspect asset sizes before deploy73- Verify Draco decoding at runtime74- Test with WebXR device emulation757677## Best Practices78- Compress glTF with draco79- Use LODs for complex scenes80- Keep framerates above 60fps on target devices8182## Capabilities8384### threejs-setup85Scaffold and build Three.js scenes8687**Parameters:**88- `template` (string): Vite template name89- `asset` (string): 3D asset file to load90- `output-dir` (string): Build output directory9192**Commands:**93- `npm create vite@latest my-scene -- --template vanilla`94- `npm install three @types/three`95- `npm install vite`96- `npx vite build`97- `npx vite preview`9899**Examples:**100- vite scaffold starts a vanilla JS project101- npm install three adds the 3D engine102- vite build bundles the scene for production103104### asset-pipeline105Optimize 3D assets for the web106107**Parameters:**108- `input` (string): Input glTF file109- `output` (string): Optimized output file110- `compression` (string): draco, meshopt111112**Commands:**113- `npm install -g @gltf-transform/cli`114- `gltf-transform optimize model.glb -o model-optimized.glb`115- `gltf-transform draco model.glb model-draco.glb`116- `gltf-transform inspect model.glb`117- `blender -b scene.blend -o //render -E CYCLES -f 1`118119**Examples:**120- gltf-transform optimize reduces file size121- gltf-transform draco compresses geometry122- blender -b renders headlessly123124## References125- [Three.js Docs](https://threejs.org/docs/)126- [gltf-transform Docs](https://gltf-transform.dev/)