Claude Fable 5 Mirror Game — Development skill for Claude Code
A browser-native mini game engine and playable reflection-puzzle demo.
How to install Claude Fable 5 Mirror Game
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open leonvanzyl/claude-fable-5-mirror-game and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Fable 5 Mirror Game does
A browser-native mini game engine and playable reflection-puzzle demo,
Alternatives in Development
- CORS — Scan an endpoint for CORS misconfiguration — arbitrary-origin reflection, null-origin trust, credential exposu 4.5k ★
- Godogen — From Prompt To Playable Game — Godogen — From Prompt to Playable Game skill 2.8k ★
- Codex Prompt Handgepflegte Mega Und Mini Prompts — Codex-Prompt — Handgepflegte Mega- und Mini-Prompts fuer alle Plugins 1.5k ★
README
MirrorForge
A browser-native mini game engine and playable reflection-puzzle demo, rendered with **full-scene compute-shader ray tracing in WGSL** (WebGPU). No runtime dependencies — the math library, renderer, scene system, input, gameplay, and tooling are all built here.
A dim reflective chamber. A beam fires from an emitter and stops on a wall. Click the mirrors, rotate them, and guide the beam to the dark receiver. When it lands: light floods the disc, the beam turns green — solved.
Running
npm install # dev deps only: typescript, vite, vitest, @playwright/test, @webgpu/types
npx playwright install chromium
npm run dev # vite dev server (http://localhost:5173)
npm run build # production build
npm run preview # serve the build (http://localhost:4173)
npm test # vitest unit suites (math, intersect, beam, picking, …)
npm run e2e # playwright e2e (builds + serves automatically)
npm run verify # tsc --noEmit && vitest run && playwright test ← the gate
**Note:** the e2e suite builds and serves on port **4173** with `reuseExistingServer: false` (a stale server must never serve an old build). If a leftover `vite preview` holds that port, the e2e leg fails with a port-in-use error — close it first.
Requires a WebGPU-capable browser (latest Chrome/Edge). Unsupported browsers get a screen explaining exactly why.
Controls
| Input | Action |
|---|---|
| drag | orbit the camera |
| wheel | zoom |
| click a mirror | select it (pulsing tint) |
drag on the selected mirror / Q,E |
rotate it (the beam updates live) |
R / reset button |
reset the puzzle |
` (backtick) |
engineer's overlay: fps, accumulation, render modes, presets |
Architecture (one screen)
src/
main.ts boot, wiring, RAF loop, game wiring
math/ vec3 · mat4 · quat · scalar (pure, zero imports)
core/ ray · intersect · reflect · constants
Related Skills
Full Game
Build a complete game from idea to playable build, executing every phase end-to-end.
Phones
Make this game playable on phones, to YouGame's "Works on phones" bar
Claude Agents Gamekit
Build multi-agent game dev workflows for Unity, Godot, Web, WeChat Mini Games, and Cocos Creator with Claude C
Red Cliffs 3D
赤壁之戰 208 全 3D 戰場重現 — 單一 HTML + Three.js,九幕時間軸、電影運鏡、計策與火攻特效(demo 由 Claude Fable 5 產生)
Agent Game Forge
The local-first, bring-your-own-agent 2D game IDE. Codex or Claude Code drives, multi-engine on the roadmap.
Create Architecture
Guided, section-by-section authoring of the master architecture document for the game. Reads all GDDs, the sys
Related Agents
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Max Builder
Builds, validates, and packages a game for MAX messenger mini apps. Use when user asks to release, submit, or
Reflection
Self-improvement engine. Captures learnings, updates memory files, and identifies gaps in agents and context.