# threejs-scene-builder

threejs-scene-builder — a skill for building 3D scenes with Three.js and React Three Fiber: from basic setup to procedural generation and animation retargeting.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 2 installs · ★ 8 repo stars
- Author: Prompt-or-Die-Labs
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Prompt-or-Die-Labs/hyper-forge/tree/HEAD/.claude/skills/threejs-scene-builder/SKILL.md
- Updated: 2025-11-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/threejs-scene-builder

## What it does

The skill builds 3D apps with Three.js and React Three Fiber. It includes functions for scene setup with camera, lights and OrbitControls, a set of materials (PBR, glass, toon shading), geometry helpers, and templates for characters with Ready Player Me avatars. The agent writes scene manager code, adds objects with shadows, connects physics and animations.

Requires the `three` library and React Three Fiber dependencies if using R3F. Triggers on requests about creating 3D scenes, setting up characters, procedural content generation, or Mixamo animation integration. The agent generates TypeScript classes with types from `@types/three`, deploys a renderer with shadow support, and configures camera controllers.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Prompt-or-Die-Labs/hyper-forge --skill threejs-scene-builder -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/threejs-scene-builder/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/threejs-scene-builder/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Prompt-or-Die-Labs/hyper-forge --skill threejs-scene-builder -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/threejs-scene-builder/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Prompt-or-Die-Labs/hyper-forge --skill threejs-scene-builder -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/threejs-scene-builder/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Prompt-or-Die-Labs/hyper-forge .claude/skills/threejs-scene-builder
```

2. **Manually: put the files in place**
- File: `.github/skills/threejs-scene-builder/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Prompt-or-Die-Labs/hyper-forge --skill threejs-scene-builder -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Prompt-or-Die-Labs/hyper-forge --path .claude/skills/threejs-scene-builder
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/threejs-scene-builder/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Prompt-or-Die-Labs/hyper-forge --skill threejs-scene-builder -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Prompt-or-Die-Labs/hyper-forge/tree/HEAD/.claude/skills/threejs-scene-builder/SKILL.md

## When to use it
- deploy a Three.js scene with camera and lighting
- add a 3D character with animation
- set up a React Three Fiber app
- generate procedural 3D geometry
- retarget Mixamo animation

## Example prompts
- Build a Three.js scene with a cube and OrbitControls
- Add a Ready Player Me character with walk animation
- Generate a procedural landscape with lighting

## Similar
- [threejs-scene](https://affpapa.org/en/nevibecode/skills/threejs-scene.md) — skill · 671 installs
- [threejs-scene-composition](https://affpapa.org/en/nevibecode/skills/threejs-scene-composition.md) — skill · 169 installs
- [threejs-materials](https://affpapa.org/en/nevibecode/skills/threejs-materials.md) — skill · 21100 installs
- [threejs-geometry](https://affpapa.org/en/nevibecode/skills/threejs-geometry.md) — skill · 20600 installs
- [threejs-aaa-graphics-builder](https://affpapa.org/en/nevibecode/skills/threejs-aaa-graphics-builder.md) — skill · 4300 installs
- [threejs](https://affpapa.org/en/nevibecode/skills/threejs.md) — skill · 3600 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
