threejs-ecs-ts — Claude Code skill: what it does, how to install
threejs-ecs-ts is a skill that provides ECS architecture patterns in TypeScript for Three.js and helps build games and 3D scenes with hundreds of independent entities.
MIT 200 installs ★ 35 updated 2026-10-21
npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a claude-codeWhat threejs-ecs-ts does
This skill couples Three.js rendering with Entity Component System architecture in TypeScript. ECS cleanly isolates component data from system logic and numeric entity identifiers. It scales well when complex scenes outgrow standard Three.js object trees.
Under the hood, the stub installs 12 focused skills authored by Nice Wolf Studio. They cover core entity managers (ecs-architecture), queries (ecs-queries), event dispatching, serialization, scene setup, and React Three Fiber integration (r3f-ecs-integration).
For basic Three.js scenes without architectural complexity, this pattern adds unnecessary overhead — the upstream repository points to cloudai-threejs instead.
What it helps with
- Structure 3D browser games using modular ECS systems
- Query and filter active scene entities without nested hierarchies
- Integrate an ECS loop into React Three Fiber projects
- Define strict TypeScript types for game components and systems
Example prompts for the agent
- Set up a mobile-optimized Three.js game with ECS architecture
- Create component patterns and systems using the
ecs-architectureskill - Connect an entity component system to React Three Fiber via
r3f-ecs-integration
How to install threejs-ecs-ts
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a claude-code2Manually: put the files in place
~/.claude/skills/threejs-ecs-ts/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/threejs-ecs-ts/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a codex2Manually: put the files in place
.agents/skills/threejs-ecs-ts/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a cursor2Manually: put the files in place
.cursor/skills/threejs-ecs-ts/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install podo/design-agent-skills skills/threejs-ecs-ts2Manually: put the files in place
.github/skills/threejs-ecs-ts/SKILL.md1Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a gemini-cli2Platform CLI
gemini skills install https://github.com/podo/design-agent-skills --path skills/threejs-ecs-tsManually: put the files in place
.devin/skills/threejs-ecs-ts/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about threejs-ecs-ts
How to install threejs-ecs-ts in Claude Code?
Run npx skills add podo/design-agent-skills --skill threejs-ecs-ts -a claude-code. The skill file lands at ~/.claude/skills/threejs-ecs-ts/SKILL.md.
What is included in threejs-ecs-ts?
It brings 12 individual skills, including component patterns, system queries, serialization, game typing, performance guidance, and React Three Fiber bindings.
When should you skip this skill?
Skip it for simple 3D visuals without game logic or heavy entity state. The documentation recommends cloudai-threejs for simpler scenes.
Source text
SKILL.md · MIT
---
name: threejs-ecs-ts
description: |
Three.js combined with Entity Component Systems (ECS) and TypeScript: structured architecture
patterns for games and complex interactive scenes with many independent objects, from the
Nice Wolf Studio skill collection.
triggers:
- "Three.js ECS"
- "entity component"
- "threejs-ecs-ts"
- "Nice Wolf Studio"
- "3D game architecture"
das:
category: creative-3d
upstream: "https://github.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts"
version: latest
install: false
---
# threejs-ecs-ts
> Catalogue stub — full package: [Nice-Wolf-Studio/claude-skills-threejs-ecs-ts](https://github.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts)
<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->
## Decision tree
1. **Is the full skill already installed?**
This package installs 12 skills (`ecs-architecture`, `ecs-component-patterns`, `ecs-system-patterns`, `ecs-queries`, `ecs-events`, `ecs-serialization`, `ecs-performance`, `typescript-game-types`, `typescript-ecs-types`, `typescript-performance`, `threejs-scene-setup`, `r3f-ecs-integration`); checking the first.
- Global: `f=~/.agents/skills/ecs-architecture/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
- Project: `f=.agents/skills/ecs-architecture/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"`
- `installed` → the skill is installed as `ecs-architecture`, invoke it and proceed
- `pointer` → go to step 2
2. **Detect scope, then install:**
```bash
[ -e ~/.agents/skills/threejs-ecs-ts ] && echo "global" || echo "project"
```
**Global:**
```bash
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/architecture.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/component-patterns.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/system-patterns.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/queries.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/events.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/serialization.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/performance.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/typescript/game-types.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/typescript/typescript-ecs-types.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/typescript/typescript-performance.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/threejs/scene-setup.md -g -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/react/r3f-ecs-integration.md -g -y
```
**Project:**
```bash
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/architecture.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/component-patterns.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/system-patterns.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/queries.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/events.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/serialization.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/ecs/performance.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/typescript/game-types.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/typescript/typescript-ecs-types.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/typescript/typescript-performance.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/threejs/scene-setup.md -y
npx skills add https://raw.githubusercontent.com/Nice-Wolf-Studio/claude-skills-threejs-ecs-ts/main/skills/react/r3f-ecs-integration.md -y
```
> **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation.
**Heads-up**
- **License:** MIT
<!-- das:install:end -->
## Invoke after install
Describe the task ("set up a mobile-optimized Three.js game with ECS architecture") or name a skill:
- Skill name: `ecs-architecture` — EntityManager, ComponentManager, systems, world
- Skill name: `ecs-component-patterns`, `ecs-system-patterns`, `ecs-queries`, `ecs-events`, `ecs-serialization`, `ecs-performance`
- Skill name: `typescript-game-types`, `typescript-ecs-types`, `typescript-performance`
- Skill name: `threejs-scene-setup` — renderer, camera, lighting, resize and animation loop
- Skill name: `r3f-ecs-integration` — ECS with React Three Fiber
- Trigger phrases: "Three.js ECS", "entity component", "3D game architecture"
## What it does
Combines Three.js rendering with Entity Component System architecture in TypeScript, giving the agent a structured approach to complex interactive 3D scenes. ECS separates data (components) from logic (systems) and entities (IDs), which scales to many independent objects such as game characters, simulations or interactive installations. Ideal when scene complexity exceeds what simple object hierarchies handle cleanly.
Upstream publishes plain topic markdown, not SKILL.md folders, and its README install (clone and symlink into `~/.claude/plugins`) does not register anything in Claude Code. This stub therefore installs individual topic files as skills, one command each; the repository holds many more topics (more Three.js areas, mobile, React Three Fiber, game systems) that can be installed the same way by pointing the command at another `skills/<area>/<topic>.md` raw URL.
## When NOT to use
- Simple Three.js scenes without architectural complexity — use `cloudai-threejs` instead
- WebGPU-specific rendering features — use `webgpu-claude-skill` instead
- Architecture/BIM 3D workflows — use `threejs-claude-skill-package` instead
© podo · MIT · podo/design-agent-skills