/game-creator:quick-game [2d|3d] [game-name] OR [tweet-url]from game-creator
Rapidly scaffolds and implements a playable game prototype with core gameplay loop, skipping assets, design, audio, and deployment. Supports 2D (Phaser) or 3D (Three.js) and can derive game concepts from tweets.
Ships in game-creator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build a playable game prototype as fast as possible. This is /viral-game without the polish — just scaffold + implement the core loop. Get something on screen, then incrementally add layers with /add-assets, /design-game, /add-audio, /game-deploy, and /monetize-game.
What you'll get:
What you skip (run these later if you want):
/add-assets — pixel art sprites (2D) or 3D models/design-game — visual polish, particles, transitions/add-audio — music and sound effects/record-promo — promo video capture/game-deploy — deploy to here.now/monetize-game — Play.fun integrationParse $ARGUMENTS to determine the game concept:
Direct specification: [2d|3d] [game-name]
2d (Phaser) or 3d (Three.js). If not specified, default to 2d.Tweet URL: If arguments contain a tweet URL (x.com/*/status/*, twitter.com/*/status/*, fxtwitter.com/*/status/*):
fetch-tweet skillMeshy API Key (3D only): If 3D, check for MESHY_API_KEY. If missing, ask the user (link to https://app.meshy.ai). Store for model generation.
Infrastructure (main thread):
~/.claude/plugins/cache/local-plugins/game-creator/*/templates/ or templates/ relative to this plugingame-creator repo, create in examples/<game-name>/. Otherwise, create in ./<game-name>/.templates/phaser-2d/ → targettemplates/threejs-3d/ → targetpackage.json name and index.html titlenpm installnpm run dev) in the background. Check port availability first — if 3000 is taken, try 3001, 3002, etc.Game implementation (subagent via Task):
Launch a Task subagent with:
You are building a quick game prototype. Speed is the priority — get a playable core loop working.
Project path:
<project-dir>Engine:<2d|3d>Game concept:<description>Skill to load:phaser(2D) orthreejs-game(3D)Implement in this order:
- Input (touch + keyboard from the start)
- Player movement / core mechanic
- Fail condition (death, collision, timer)
- Scoring
- Restart flow (GameState.reset() → clean slate)
Scope: 1 scene, 1 mechanic, 1 fail condition. Keep it tight.
Rules:
- All cross-module communication via EventBus
- All magic numbers in Constants.js
- No title screen — boot directly into gameplay
- No in-game score HUD — Play.fun widget handles score display
- Mobile-first input: touch + keyboard, use unified InputSystem pattern
- Import
SAFE_ZONEfrom Constants.js — keep UI belowSAFE_ZONE.TOP- Minimum 7-8% canvas width for collectibles/hazards
- Character sizing:
GAME.WIDTH * 0.12toGAME.WIDTH * 0.15for character-driven games- Preserve the template's
createButton()helper in GameOverScene — do NOT rewrite it- Wire spectacle events:
SPECTACLE_ENTRANCE,SPECTACLE_ACTION,SPECTACLE_HIT,SPECTACLE_COMBO,SPECTACLE_STREAK,SPECTACLE_NEAR_MISS- Add
isMutedto GameState for future audio support- Ensure restart is clean — 3 restarts in a row should work identically
After the subagent returns:
npm run build in the project directory to confirm no errorsnode scripts/iterate-client.js --url http://localhost:<port> --iterations 1 (uses scripts/cdp.mjs; copy both from the plugin if missing), Read output/iterate/shot-0.png, and do a quick visual check/quick-game 2d asteroid-dodge
Result: Copies Phaser template → implements player ship, asteroid spawning, collision death, score counter, restart flow → dev server running at localhost:3000 in ~2 minutes. Shapes only, no polish.
/quick-game https://x.com/user/status/123456
Result: Fetches tweet → abstracts game concept → scaffolds and implements a playable prototype inspired by the tweet content.
Cause: Vite config or import paths incorrect. Fix: Verify vite.config.js has correct root. Check that main.js is referenced in index.html.
Cause: Scaffold skipped EventBus/GameState/Constants. Fix: Every game needs core/EventBus.js, core/GameState.js, core/Constants.js. Re-run scaffold or create manually.
Tell the user:
Your game is running at
http://localhost:<port>. Open it in a browser to play!To keep building, run these commands:
/add-assets— replace shapes with pixel art sprites/design-game— add visual polish (particles, gradients, juice)/add-audio— add music and sound effects/game-deploy— deploy to the web/monetize-game— add Play.fun integrationOr run
/viral-gamenext time for the full one-shot pipeline (assets, polish, deploy, monetize all in one go).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
31 skills in this plugin
/add-3d-assetsReplace primitive 3D shapes with real GLB models — animated characters, world props, buildings, and scenery for Three.js games. Use when the user says "add 3D models", "replace the boxes with real models", "add GLB assets", or "make the 3D game look real". For 2D pixel art, use add-assets instead. Do NOT use for 2D pixel art (use add-assets) or gameplay changes (use add-feature)./add-assetsReplace geometric shapes with pixel art sprites — recognizable characters, enemies, and items with optional animation. Use when the user says "add sprites", "replace the shapes with real art", "add pixel art", "make the characters look real", or "add game assets". For 3D games, use add-3d-assets instead. Do NOT use for 3D models (use add-3d-assets) or gameplay changes (use add-feature)./add-audioAdd music and sound effects to a game using the Web Audio API — background music, gameplay themes, and SFX. Zero dependencies. Use when the user says "add music", "add sound effects", "add audio", "make it sound good", "add BGM", or "add SFX to my game". Do NOT use for gameplay features or visual design./add-featureAdd a new gameplay feature to an existing browser game following its architecture patterns. Use when the user says "add a feature", "add double-jump", "add a power-up", "add a leaderboard", or describes a specific game mechanic to implement. Do NOT use for visual-only changes (use design-game) or replacing shapes with sprites (use add-assets)./add-multiplayerAdd real-time or turn-based multiplayer to an existing browser game using PartyKit (Cloudflare Durable Objects). Scaffolds a room-based server, a NetworkManager client, EventBus events, GameState fields, Constants, and extends render_game_to_text(). Use when the user says "add multiplayer", "make this multiplayer", "add real-time co-op", "add online play", "scaffold multiplayer", or "add netcode". Do NOT use for solo leaderboards (use monetize-game), single-player AI opponents (use add-feature), or peer-to-peer/WebRTC games./design-gameAudit and improve the visual design, polish, and player experience of an existing game. Use when the user says "make my game look better", "improve the design", "add polish", "add juice", "add particles", "fix the UI", or "make it more visually appealing". Do NOT use for gameplay logic changes (use add-feature instead).npx claudepluginhub playableintelligence/game-creator --plugin game-creatorOther plugins' skills for the same job