Skip to content

Author Flat Three.js Game Levels

Design and verify flat, readable Three.js game levels with clear routes, collision, and lighting.

Repository
MengTo/Skills
Stars
7,187
Licence
MIT
Files
2 files

What it does

This skill gives an AI agent a detailed set of rules for building game levels in Three.js, a JavaScript 3D library for browsers. Once installed, the agent keeps every walkable area on one flat plane, separates visuals from collision and navigation data, places enemies, gates, pickups and exits so players can read them, and ties every local light to a visible source like a torch. It also describes checks the agent should run, including browser playthroughs on desktop and mobile.

Great for

  • Indie or hobby developers building flat-world 3D browser games with Three.js
  • Level designers who want consistent, testable level data and lighting rules
  • Teams that want an agent to verify playthroughs on desktop and mobile

Skip it if

  • Games that need stairs, ramps, jumps or multi-floor levels, since the skill explicitly forbids vertical traversal
  • Projects not using Three.js, where the guidance is specific to that library
  • Anyone expecting a ready-made level or engine; it sets rules and a process, not assets

Try asking

  • “Author a flat arena with an enemy encounter zone, a checkpoint and a reset path in my Three.js game”
  • “Revise this level so the torches have visible emitters and a source-to-light inventory”
  • “Check my level data for walkable slopes or out-of-plane navigation links”
  • “Plan desktop and mobile playthrough tests for the gate and pickup routes”
Step-by-step guide: how to use Author Flat Three.js Game LevelsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 2 original files, the MIT licence and an attribution note.

    author-game-levels.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip author-game-levels.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip author-game-levels.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • State your gameplay plane height and tolerance up front so the agent can validate against it.
  • Provide your existing level data and collision setup so the agent can check agreement between layers.
  • Ask for the source-to-light inventory explicitly when your level uses torches or lanterns.

What's inside

  • agents/openai.yaml
  • SKILL.md

Redistributed unmodified from MengTo/Skills under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.