build
Run build verification — checks compilation, validates level configs, finds missing imports
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run build verification — checks compilation, validates level configs, finds missing imports
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a Three.js + WebXR game from scratch starting from a concept description
Add a game mechanic by implementing a puzzle class with world objects and interaction wiring
Create or modify a game level with environment, decorations, and props
Run semantic validation on a generated game — checks level configs, puzzle wiring, level transitions, decoration types, and model references
| name | build |
| description | Run build verification — checks compilation, validates level configs, finds missing imports |
| user-invocable | true |
| allowed-tools | Read, Bash, Glob, Grep |
| context | fork |
Run build verification for a Three.js + WebXR game project.
Complete ALL checks in a SINGLE run. NEVER use AskUserQuestion.
Read the CLAUDE.md file in the repo root to understand project structure and conventions.
The argument may be a game path:
/build games/my-game/build → auto-detect by finding the most recently modified games/*/GAME_DESIGN.mdAfter resolving the game directory, all operations run inside it.
Run npm run build inside the game directory and capture output. Report any errors.
For each <game-dir>/src/levels/level*.js:
id, name, environment, decorations, props, playerSpawnenvironment has at least sky or enclosuredecorations is an array with at least one entryprops is an array (can be empty)playerSpawn has position arrayFor each .js file in <game-dir>/src/:
For each level config:
.glb files, check they exist in <game-dir>/public/models/N/Print a summary:
Build Verification Results (games/<slug>):
- Vite build: PASS / FAIL (details)
- Level configs: N valid, M issues
- Imports: All resolved / N missing
- Models: All present / N missing
Overall: PASS / FAIL
If FAIL, list specific issues with file paths and line numbers for easy fixing.