threejs-gameplay-systems

Design and implement playable Three.js game systems: covering game loop, architecture, control systems, cameras, physics, levels and encounters, audio hooks, feedback mechanisms, and game feel.

Last repository push
GitHub Stars
126
Forks
11
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "threejs-gameplay-systems" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d31b7e59070668a5fd7d701e0fd58ada4542ef940a5c2575ec75b805f2cc6cc2. Verify the upstream source and version against https://github.com/mintdotgg/mint-threejs-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Design and implement playable Three.js game systems: covering game loop, architecture, control systems, cameras, physics, levels and encounters, audio hooks, feedback mechanisms, and game feel.

0 Downloads

Introduction source: third_party · mintdotgg · 0.0.1 Reference

SkillPi interpretation

Tasks
Design and implement playable Three.js game loops, architecture, controls, cameras, physics, levels, encounters, audio hooks, feedback, and game feel.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: threejs-gameplay-systems
description: "Design and implement playable Three.js game loops, architecture, controls, cameras, physics, levels, encounters, audio hooks, feedback, and game feel."

Three.js Gameplay Systems

Create a playable, maintainable loop with clear ownership and responsive controls.

Read By Need

  • Always for implementation: references/gameplay-workflows.md.
  • New games, major loop changes, levels, encounters, progression, or difficulty: references/game-design-level-design.md.
  • Physics or collision-heavy work: references/physics-engine-selection.md.
  • Model axes, constrained motion, multiple moving actors, or terrain queries: ../../references/spatial-contracts.md.
  • Feel, impact, juice, or polished gameplay: references/game-feel.md.
  • Before claiming broad gameplay complete: references/quality-gates.md.
  • Generated audio or 3D gameplay assets: ../../references/mint-mcp-assets.md.

Workflow

  1. Inspect scripts, dependencies, loop ownership, input, camera, state, entities, UI, diagnostics, and current gameplay.
  2. Define the player promise, primary verb, objective, pressure, reward, fail/retry path, skill expression, and non-goals.
  3. Plan the first playable space or encounter: start, decision, threat, reward, escalation, recovery, and landmarks.
  4. Choose small ownership boundaries such as core, game, entities, systems, assets, ui, and tests.
  5. Implement in playable increments: input, state, entity, collision/physics, feedback, HUD/audio event, and diagnostics.
  6. Tune movement, camera, timing, difficulty, feedback, and restart through short play loops.
  7. Verify build, browser rendering, real input, objective progress, and fail/retry when relevant.

Gameplay code emits audio events. Mint-produced audio files belong in a stable runtime asset matrix; Mint MCP calls never belong in browser code.

New-Game Scaffold

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

Use --force only when overwriting the target is intended.

Technical Defaults

  • TypeScript, Vite, and Three.js modules.
  • Custom collision for simple arcade triggers; Rapier for robust rigid-body gameplay; cannon-es only when its smaller JavaScript footprint is useful.
  • Fixed-step simulation for physics and seeded randomness for deterministic QA.
  • Shared resources, explicit update order, and allocation-light hot paths.
  • Web Audio for playback; Mint MCP for generated production audio.

Final Response

Report player-facing behavior, controls, design/level decisions when relevant, architecture, tuned values, verification evidence, assets, and remaining edge cases.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 Three.js 游戏开发的全套 gameplay systems 设计与实现指导,涵盖游戏循环、控制系统、物理、关卡、音频、反馈等核心模块
  • 面向有实际开发需求的开发者,属于明确场景的通用工具,实用价值高
Trigger Precision82/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档中缺少显式的 When to Use 章节,用户可能不清楚具体适用场景

    Recommendation: 建议补充 When to Use 章节,明确说明该 Skill 适用的具体场景和用户群体

Highlights

  • description 明确描述了功能范围,skill_body 中进一步细化了工作流、技术默认和 scaffold 脚本
  • 触发词覆盖合理,边界清晰
Structure and Standards68/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    文档中引用了多个 references 文件(如 gameplay-workflows.md、game-design-level-design.md 等),但未传入这些文件

    Recommendation: 建议补充所有被引用的 references 文件,或调整文档结构避免依赖外部未传入文件

  • 文档结构缺少显式 When to Use Reported severity: Minor

    文档结构中缺少显式的 When to Use 章节

    Recommendation: 建议补充 When to Use 章节,提升文档完整性

Highlights

  • Phase/步骤清晰(Workflow 7 步),有出口条件(Final Response 要求报告内容)
  • 含端到端示例(New-Game Scaffold 脚本调用),frontmatter 完整
Execution Reliability75/100

Areas to improve

  • 引用文件缺失导致子功能执行失败风险 Reported severity: Major

    由于引用文件缺失,用户可能无法完整执行工作流中的某些步骤

    Recommendation: 建议补充所有被引用的 references 文件,或调整文档结构避免依赖外部未传入文件

Highlights

  • 工具来源明确(Three.js、Rapier、cannon-es),参数正确(--force 覆盖)
  • 覆盖主要异常(--force 确认机制),不可逆操作有确认机制
Evidence Verifiability (mean of the first four)76/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.