Scroll AI Now

Agent skill

Game dev

Game development: design, asset pipelines, Phaser, Unity CLI and builds, vanilla JS frontend, GM mode, match booking.

By notque · notque/vexjoy‑agent · MIT License · ★ 452 · 368 lines

New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill

What it does

Game dev is a design skill from notque/vexjoy‑agent, a GitHub repo with 452 stars.
In short, it gives your assistant a method and taste rules for visual work.
The file is 368 lines long and is set out in parts such as “Mode Selection”, “Design Mode”, “Workflow” and “Discovery Mode”.
It is plain instructions, with no code to run.

When to use it

Reach for it when you want screens, pages or graphics that look considered, not generic.
Everything it needs is in this one file.
It asks for these tools: Read.

Safety check

Our checker read all 368 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It flagged nothing else to watch for.
The text links to no outside sites.
It is shared under the MIT license.
Still read it before you use it, like any instructions you give your AI.

Open in the appOriginal on GitHub

What is inside

How to use it

Read the full guide to using an agent skill

Want your own? How to write an agent skill that works

The full skill

---
name: game-dev
description: "Game development: design, asset pipelines, Phaser, Unity CLI and builds, vanilla JS frontend, GM mode, match booking."
user-invocable: true
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Grep
  - Glob
  - Task
  - Skill
routing:
  not_for: "non-game frontend (use frontend), non-game backend (use workflow)"
  triggers:
    - game design
    - game design audit
    - game improvement
    - core loop
    - game feel
    - game balance
    - game economy
    - make game
    - game pipeline
    - game audio
    - deploy game
    - phaser
    - 2d game
    - platformer
    - arcade physics
    - tilemap
    - AI sprite
    - generate sprite
    - spritesheet pipeline
    - animated spritesheet
    - large GM implementation
    - GM systems overhaul
    - pixel art
    - screen shake
    - game qa
    - unity cli
    - unity editor
    - unity project
    - unity hub
    - unity license
    - unity batch mode
    - unity batchmode
    - unity.exe
    - editmode tests
    - playmode tests
    - pixijs
    - pixi.js
    - pixi react
    - "@pixi/react"
    - 2D WebGL
    - GPU particles
    - combat renderer
    - normal map 2D
    - pixi filters
    - sprite rendering GPU
    - rive
    - rive-app
    - skeletal animation
    - character animation
    - spine animation
    - animation state machine
    - idle animation
    - hit reaction animation
    - "@rive-app/react-canvas"
    - .riv files
    - combat effects
    - CSS particles
    - particle replacement
    - framer motion combat
    - combat animations
    - card transforms
    - CSS 3D
    - combat juice
    - visual effects upgrade
    - effects.ts
    - combat polish
  pairs_with:
    - frontend
    - workflow
  complexity: Comprehensive
  category: game-development
---

# Game Development

Six modes: **Design** (diagnosis, auditing, improvement), **Pipeline** (full
lifecycle orchestration), **Sprite** (AI sprite generation), **Phaser** (2D
engine builds), **Unity** (`unity` CLI, batch builds, tests, licensing), **GM**
(large multi-system implementations). Cross-cutting concerns (audio, QA,
deploy) load as needed. Classify the request and follow the matching section.

## Mode Selection

| Mode | Signals |
|------|---------|
| **Design** | game design, improve game, retention, churn, core loop, audit, game feel, balance, economy |
| **Pipeline** | make game, scaffold, game lifecycle, game audio, deploy game, game QA |
| **Sprite** | AI sprite, generate character, portrait, spritesheet, animated sheet, pixel art |
| **Phaser** | Phaser, 2D game, platformer, arcade physics, tilemap, side scroller |
| **Unity** | Unity project, `unity` CLI, `Unity.exe -batchmode`, `-executeMethod`, Unity build or tests, Unity license error, exit code 198 |
| **GM** | large GM implementation, multi-system GM, CPU systems, multi-wave overhaul |

If the request spans modes, load both primary references. Design + Pipeline is
common (design an improvement then implement it). Sprite + Phaser is common
(generate assets then wire into a Phaser game).

---

## Design Mode

Evidence-led game design diagnosis with 61 runnable capabilities. Start from
repository evidence; never guess when the repo can answer.

### Workflow

1. **Intake.** Read target repository's governing files. Search for game, product, UI, analytics, and research guidance. Use file search to find design docs, player copy, rules, UI, config, tests, analytics, issues. Separate facts into: observed, documented, measured, inferred.
2. **Ask only what the repo cannot answer.** Which player moment matters? What external evidence exists (playtests, telemetry, reviews)? Which constraints bind (platform, phase, team, time)?
3. **Load references.** Route greedily -- load every module that could change the recommendation:

| Signal | Load |
|--------|------|
| Promise, fantasy, loops, goals | `references/core-loop-and-pillars.md` |
| Ideation, novelty, removal, reuse | `references/creative-and-options.md` |
| Player motives, personas, values | `references/player-and-social.md` |
| Information, bias, randomness | `references/cognition-and-choice.md` |
| Failure, difficulty, fairness | `references/fairness-and-failure.md` |
| FTUE, flow, friction, session | `references/pacing-and-return.md` |
| Co-op, competition, social | `references/social-and-competitive.md` |
| Rewards, currencies, passes | `references/progression-and-economy.md` |
| Pitch, mood, prototype | `references/emotion-and-presentation.md` |
| Scope, sequence, estimates | `references/planning-and-production.md` |
| Full health report | All modules + `references/full-diagnostic.md` |

4. **Diagnose.** Trace the player path: cue -> interpretation -> choice -> response -> cost/reward -> feedback -> next intention. State player consequence, evidence, competing explanations, confidence, severity.
5. **Decide.** Offer 2-5 distinct options. For each: player-visible change, pillar fit, scope, dependencies, effort, reversibility, success metric, stop rule. Prefer reversible experiments. Reject dark patterns.
6. **Completion gate.** Every finding has evidence or is marked as inference. Every recommendation has a validation plan.

### Discovery Mode

When request is bare "game design" or "what reviews are available": load `references/capability-catalog.md` and present the full domain-organized catalog of 61 capabilities.

### Autonomous Improvement

When asked to improve a game's retention, churn, or engagement: load `references/autonomous-improvement.md`. Inspect the real game, run relevant capabilities, make the smallest safe reversible improvement, verify, leave a measurement plan.

---

## Pipeline Mode

Full lifecycle orchestration: SCAFFOLD -> ASSETS -> DESIGN -> AUDIO -> QA ->
DEPLOY. Each phase can be entered independently.

### Entry Detection

| Request | Entry Phase |
|---------|-------------|
| make a game, new game | SCAFFOLD |
| generate assets, add sprites | ASSETS |
| add juice, particles, screen shake | DESIGN |
| add audio, background music | AUDIO |
| test game, visual regression | QA |
| deploy, ship, publish, iOS | DEPLOY |

### Phase 1: SCAFFOLD

Detect engine (Three.js, Phaser, or vanilla canvas). Delegate to the appropriate engine skill or scaffold from template. A folder with `ProjectSettings/ProjectVersion.txt` is a Unity project: switch to Unity mode.

### Phase 2: ASSETS

Route by asset type:

| Asset | Reference |
|-------|-----------|
| 3D model, GLB, mesh | `references/game-asset-generator.md` + `references/meshyai.md` |
| Sprite, pixel art, tile | Load Sprite mode below |
| Image, texture, concept art | `references/fal-ai-image.md` |
| Environment, gaussian splat | `references/worldlabs.md` |
| Free assets, Sketchfab | `references/asset-sources.md` |
| Motion data, BVH, mocap | `references/motion-pipeline.md` |

### Phase 3: DESIGN

Add game feel: screen shake, particles, hit-stop, juice. Load `references/game-feel-patterns.md`. For React combat screens, load one file from the Combat Rendering and Animation table under Deep References. When dispatch pays, use a `general-purpose` worker that loads this skill and that reference.

### Phase 4: AUDIO

Web Audio API patterns, AudioManager, AudioBridge. Load `references/game-audio.md`.

### Phase 5: QA

Automated testing, visual regression, Playwright, canvas seams. Load `references/game-qa.md`.

### Phase 6: DEPLOY

| Target | Reference |
|--------|-----------|
| GitHub Pages, Vercel, general | `references/deploy.md` |
| iOS via Capacitor | `references/capacitor-ios.md` |
| Promo video | `references/promo-video.md` |

---

## Sprite Mode

AI sprite generation: portrait, portrait-loop, spritesheet, per-row animated
sheets. Load `references/game-sprite-pipeline.md` for the full pipeline.

### Quick Steps

1. **Detect format.** Portrait (single image), portrait-loop (idle animation), spritesheet (action set), per-row (multiple animations in rows).
2. **Select backend.** Load `references/backend-chain.md` for dispatch: Codex CLI primary, Gemini fallback.
3. **Select style.** Load `references/style-presets.md` for 9 era/hardware presets.
4. **Generate.** Follow the pipeline for the detected format.
5. **Post-process.** Background removal, palette quantization, sheet assembly.
6. **Validate.** Check dimensions, frame counts, transparency, color consistency.

---

## Phaser Mode

Phaser 3 2D game engine builds. Load `references/phaser-gamedev.md` for the
full methodology.

### Core Patterns

Load `references/core-patterns.md` for scene lifecycle, transitions, and input handling.

| Task | Reference |
|------|-----------|
| Scene lifecycle, transitions | `references/core-patterns.md` |
| TypeScript entry, Boot/Game skeletons | `references/build-scaffolds.md` |
| Arcade physics, collision | `references/arcade-physics.md` |
| Tilemaps, tile layers | `references/tilemaps.md`, `references/tilemaps-and-physics.md` |
| Screen shake, particles, hit-stop | `references/game-feel-patterns.md` |
| Polish scaffolds | `references/polish-scaffolds.md` |
| Animate scaffolds | `references/animate-scaffolds.md` |

---

## Unity Mode

Build, test, and inspect Unity projects from a terminal, with the `unity` CLI
or classic `Unity.exe -batchmode`. Load the reference that matches the task:

| Signal | Reference |
|--------|-----------|
| `unity` CLI install, version drift, JSON output, exit codes, editors, projects, Editor control, Hub CLI migration | `references/unity-cli.md` |
| Player build, compile check, tests, `-executeMethod`, CLI-to-Editor flags, project lock, parallel builds | `references/unity-batchmode-builds.md` |
| License errors, exit code 198, `No valid Unity Editor license found`, Personal entitlement, activation, CI seats | `references/unity-licensing.md` |

### Workflow

1. **Locate.** Find the folder that holds `ProjectSettings/ProjectVersion.txt`; it can sit below the repository root. Read `m_EditorVersion`.
2. **Probe.** Run `unity --version`, `unity editors -i --json`, and `unity license status --json`. Without the CLI, use classic `Unity.exe`; installing or upgrading software needs the user's OK.
3. **Pick the tool** from the table in `references/unity-batchmode-builds.md`.
4. **Warn before launching.** Batch runs can still bring Unity windows to the front, so tell the user before Unity starts on a desktop they are using, and group the runs.
5. **Run headless with `--timeout` and a log file:** `--log-file` for `unity build`, `-- -logFile <path>` for `unity run`; `unity test` logs to `<project>/Logs/Editor.log`. Check `unity editors running --json` first: one Editor per project folder.
6. **Read the result.** Branch on the exit code, then on `errors[0].code`, then on the log (`error CS`, `Build Finished, Result:`).
7. **On a license error,** follow `references/unity-licensing.md` before you retry. Signals: `Unity.exe` exit 198, or CLI exit 6 with 198 in `errors[0].message`.

---

## GM Mode

Evidence-to-live implementation for large GM programs (multi-system, multi-wave,
CPU-intensive). Load `references/gm-brilliant-implementation.md` for the full
methodology.

### Applicability Gate

GM mode applies only when: multiple interconnected game systems change, CPU
performance is a concern, or the implementation spans multiple deployment waves.
If the gate fails, route to quick, workflow, or the target project's skill.

### Key References

| Signal | Reference |
|--------|-----------|
| Stage contracts, checkpoints | `references/stage-contracts.md` |
| CPU systems harmony | `references/cpu-systems-harmony.md` |
| Quality gates | `references/quality-gates.md` |
| Workflow DAG (34 stages) | `references/workflow-dag.md` |

---

## Deep References

Load when the task needs detailed patterns, catalogs, or specifications.

### Design

| Signal | Reference |
|--------|-----------|
| 61 runnable capabilities | `references/capability-catalog.md` |
| Capability coverage matrix | `references/capability-matrix.md` |
| Full diagnostic report format | `references/full-diagnostic.md` |
| Individual capability specs | `references/capabilities/*.md` (61 files) |
| VFX containment rules | `references/vfx-containment.md` |
| Menus, HUD, shop, settings, or other screen UI (load first) | `skills/shared-patterns/ui-design-judgment.md` (game genre conventions win over web defaults), then `skills/frontend/frontend/references/distinctive-frontend-design-refs/game-ui-polish.md` |

### Pipeline

| Signal | Reference |
|--------|-----------|
| Game asset generator | `references/game-asset-generator.md` |
| Meshy AI 3D models | `references/meshyai.md` |
| Fal.ai image generation | `references/fal-ai-image.md` |
| WorldLabs environments | `references/worldlabs.md` |
| Asset sources catalog | `references/asset-sources.md` |
| Motion pipeline | `references/motion-pipeline.md` |
| Blender headless builds, Blender upgrade, 5.3 features (bake, KTX2) | `references/blender-headless-pipeline.md` |
| Rigging and animating characters, creatures and weapons in Blender with an agent | `references/blender-character-rigging.md` |
| Game audio | `references/game-audio.md` |
| Game QA | `references/game-qa.md` |
| Deploy targets | `references/deploy.md` |
| Capacitor iOS | `references/capacitor-ios.md` |

### Sprite

| Signal | Reference |
|--------|-----------|
| Full sprite pipeline | `references/game-sprite-pipeline.md` |
| Backend dispatch | `references/backend-chain.md` |
| Style presets | `references/style-presets.md` |
| Pixel art patterns | `references/pixel-art-sprites.md` |
| Output formats | `references/output-formats.md` |
| Prompt rules | `references/prompt-rules.md` |
| Background removal | `references/bg-removal-local.md` |
| Frame detection | `references/frame-detection.md` |
| Error catalog | `references/error-catalog.md` |

### Phaser

| Signal | Reference |
|--------|-----------|
| Full Phaser methodology | `references/phaser-gamedev.md` |
| Core patterns, scene lifecycle | `references/core-patterns.md` |
| Arcade physics | `references/arcade-physics.md` |
| Tilemaps and physics | `references/tilemaps-and-physics.md` |
| Game feel patterns | `references/game-feel-patterns.md` |
| Performance patterns | `references/performance.md` |

### Combat Rendering and Animation

Each file holds the workflow, hard rules, and its own loading table for `references/<slug>/`.

| Signal | Reference |
|--------|-----------|
| PixiJS, pixi.js, `@pixi/react`, 2D WebGL, GPU particles, normal map 2D, pixi filters, combat renderer | `references/pixijs-combat-renderer.md` |
| Rive, `@rive-app/react-canvas`, `.riv` files, skeletal or character animation, Spine, animation state machine, idle or hit reaction animation | `references/rive-skeletal-animator.md` |
| Combat effects, CSS particles, particle replacement, `effects.ts`, Framer Motion combat juice, CSS 3D card transforms, combat polish (no new deps) | `references/combat-effects-upgrade.md` |

### GM

| Signal | Reference |
|--------|-----------|
| Full GM methodology | `references/gm-brilliant-implementation.md` |
| Stage contracts | `references/stage-contracts.md` |
| CPU systems harmony | `references/cpu-systems-harmony.md` |
| Quality gates | `references/quality-gates.md` |
| Workflow DAG | `references/workflow-dag.md` |
| Anchor alignment | `references/anchor-alignment.md` |

Copyright (c) 2025 Claude Code Agents Contributors.
Published under the MIT License, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.

Are you the author?

This skill passed our automated safety check.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now, passed its automated safety check

Markdown
[![Featured on Scroll AI Now, passed its automated safety check](https://scrollainow.com/badge/safety-checked.svg)](https://scrollainow.com/skills/game-dev/)
HTML
<a href="https://scrollainow.com/skills/game-dev/"><img src="https://scrollainow.com/badge/safety-checked.svg" alt="Featured on Scroll AI Now, passed its automated safety check" height="28"></a>

More skills

All agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app