majidmanzarpour avatar

Threejs Gameplay Systems

This is a full-stack workflow for building playable Three.js prototypes with actual design thinking baked in. It ships with a Vite+TypeScript scaffold, forces you to write a design brief and core loop contract before you code, and loads reference guides for physics engine selection, game feel tuning, and level design when the context demands it. Use it when you're starting a new browser game or when your prototype has mechanics but no pressure, reward, or fail state. The workflow is opinionated about deterministic update order, allocation-light hot paths, and proving behavior through real input rather than describing it. It catches the common trap of building a static Three.js demo and calling it gameplay. The included checklists and reference ledger keep you honest about whether something is actually playable or just pretty.

skills.sh installs
3.8K
GitHub stars
2.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-gameplay-systems --agent claude-code

Installs into .claude/skills of the current project.

Files

Three.js Gameplay Systems

Create or evolve a playable browser game loop with clear ownership, responsive controls, deterministic update order, and a space that shapes player decisions.

Resolve <this-skill-dir> and local references from the actual loaded skill file; resolve sibling skills beside it before using runner-discovered alternatives.

References

FileRead it when
references/game-feel.mdtuning feel, juice, impact, hitstop, screenshake, or claiming polished gameplay
references/genre-design.mddesigning levels, arenas, tracks, waves, holes, puzzles, encounters, or difficulty curves
references/physics-engine-selection.mdadding or changing physics, collision-heavy gameplay, vehicles, rolling balls, character controllers, sensors, moving platforms

Start here

python3 <this-skill-dir>/scripts/create_threejs_game.py ./my-game

Copies assets/threejs-vite-game/, rewrites the project name, and gives the game its own visual test and canvas inspector. --force copies into a non-empty directory, overwriting files that collide with the scaffold and leaving everything else in place.

Design first

Sponsors

Details

Repository
github.com/majidmanzarpour/threejs-game-skills
Categories
Frontend Development, DevOps & CI/CD, Code Review & Quality, Automation & Workflows, Design & UI/UX, Game Development
First seen
Jul 14, 2026

More from majidmanzarpour/threejs-game-skills

All 9
1mantinedev avatarmantine-comboboxmantinedev/skillsBuild custom dropdown/select/autocomplete/multiselect components using Mantine's Combobox primitives. Use this skill when: (1) creating a new custom select-like3.8Kskills.sh installs
2yaklang avatararbitrary-write-to-rceyaklang/hack-skillsArbitrary write to RCE playbook. Use when you have an arbitrary write primitive (from heap exploitation, format string, or OOB write) and need to convert it int3.8Kskills.sh installs
3dpearson2699 avataralarmkitdpearson2699/swift-ios-skillsImplement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, StandBy, and paired Apple Watch system UI. Covers AlarmManag3.8Kskills.sh installs
4yaklang avatardangling-markup-injectionyaklang/hack-skillsDangling markup injection playbook. Use when HTML injection is possible but JavaScript execution is blocked (CSP, sanitizer strips event handlers, WAF blocks sc3.8Kskills.sh installs
5dpearson2699 avatartipkitdpearson2699/swift-ios-skillsImplement and review Apple TipKit feature-discovery UI for iOS 17+ apps. Use when adding or auditing in-app tips, contextual help, coach marks, Tip, TipView, po3.8Kskills.sh installs
6dotnet avataruse-js-interopdotnet/skillsAdd, review, or fix JavaScript interop in Blazor components. USE FOR: calling JavaScript from Blazor, calling .NET from JavaScript, collocated .razor.js modules3.7Kskills.sh installs