Deck No. 01 · Project

Browser Game

A playable Phaser game with accounts and a leaderboard, on a public URL.

A small 2D game that runs in a browser tab, built with Phaser 4, with player accounts and an online leaderboard, deployed where anyone can play it.

Who it's forWeb developers and determined beginners who want one finished game, not an engine tour. You should have Node.js, a free Supabase project, a Vercel account and a game idea that fits one screen. The deck picks Phaser for 2D; the alternatives show the swap for a 3D game in three.js.
npx skills add phaserjs/phaser@02d8931b626d9764c133cbb3fbf99966c03c757c --skill game-setup-and-config scenes physics-arcade -g -y && \
npx skills add gamedev-skills/awesome-gamedev-agent-skills@c6ca6c41c839b68319ffc08430b99ab768debc32 --skill game-feel -g -y && \
npx skills add supabase/agent-skills@c9be0e931b7930f7d02126d04774d904c381e7d7 --skill supabase -g -y && \
npx skills add microsoft/playwright-cli@c872a33cec77fa03c28fa7c6d1ad99d15d04ce42 --skill playwright-cli -g -y && \
npx skills add vercel-labs/agent-skills@5a37a6329fbad3666c3207392a6a7c0110e92efb --skill deploy-to-vercel -g -y

Fetches 7 skills from 5 author repos, each pinned to the version we reviewed. Nothing is mirrored. Uses the open-source skills CLI; needs Node.js 22.20 or newer.

What's inside

7 skills. Each card links to its author's repository at the exact version we reviewed.

  1. Phaser game setup and config 1/7 Official Phaser 4 setup Ready Creates a Phaser 4 game with the right GameConfig: renderer choice, scale modes, pixel art settings, FPS limits, canvas placement and the boot sequence. @phaserjs MIT

    Phaser game setup and config

    The first file of the game. Phaser's own skill sets the renderer, scale mode and pixel art options for version 4, so scaling is decided before the first sprite.

    Works right away Official · Phaser Studio MIT
    Source phaserjs/phaser at 02d8931
  2. Phaser scenes 2/7 Official Phaser 4 scenes Ready Structures a Phaser 4 game into scenes: lifecycle methods, switching and transitions, parallel UI scenes, passing data between scenes and cleaning up on restart. @phaserjs MIT

    Phaser scenes

    Menu, level, game over and the leaderboard screen are all scenes. This covers switching between them, a HUD on top and resetting state when the player hits retry.

    Works right away Official · Phaser Studio MIT
    Source phaserjs/phaser at 02d8931
  3. Phaser Arcade Physics 3/7 Official Phaser 4 physics Ready Adds Arcade Physics to a Phaser 4 game: bodies, velocity and gravity, colliders and overlaps, groups, world bounds and collision categories. @phaserjs MIT

    Phaser Arcade Physics

    Movement, gravity and collisions for the game itself, with colliders, groups and world bounds. Enough for a platformer or a top-down game.

    Works right away Official · Phaser Studio MIT
    Source phaserjs/phaser at 02d8931
  4. Game feel 4/7 Game craft Ready Adds screen shake, hit-stop, eased tweens, squash and stretch and knockback on top of a working mechanic, sized by event tier and with reduce-shake and reduce-flash options. @gamedev-skills Apache-2.0

    Game feel

    For when the mechanic works but feels flat. Shake, hit-stop and eased tweens, sized by event, with options to reduce shake and flashes. Its Phaser part is a summary, so expect to adapt the samples.

    Works right away Community · Abhishek Barali Apache-2.0
    Source gamedev-skills/awesome-gamedev-agent-skills at c6ca6c4
  5. Supabase 5/7 Official Database & auth Makes your agent check current Supabase docs first, turn on row-level security for exposed tables and run a security checklist for auth, keys, views and storage. @supabase MIT

    Supabase

    Accounts and the score table in one backend. Its row-level security checklist matters here, because a score table that any client can write to invites cheating.

    Official · Supabase MIT
    Source supabase/agent-skills at c9be0e9
  6. Playwright CLI 6/7 Official Browser testing Needs app Drives a real browser from the command line: open pages, click, type, read snapshots, console and network, mock requests, and write, run and debug Playwright tests. @microsoft Apache-2.0

    Playwright CLI

    The agent opens the game in a real browser, presses keys and reads the console and network log, so a script error or a failed sign-in shows up before you share the link.

    Needs an app or CLI Official · Microsoft Apache-2.0
    Source microsoft/playwright-cli at c872a33
  7. Deploy to Vercel 7/7 Official Deploy Deploys your project to Vercel as a preview unless you ask for production, by git push or the Vercel CLI, with a temporary deploy that needs no account as fallback. @vercel-labs Not stated

    Deploy to Vercel

    Puts the game on a public URL as a preview first, so friends can play it before you promote it to production.

    Official · Vercel Not stated
    Source vercel-labs/agent-skills at 5a37a63

Good to know

What you bring

  • Supabase project (free tier available)
  • Supabase CLI or MCP server (optional)
  • Node.js and npm
  • playwright-cli (npm package @playwright/cli) or Playwright 1.59 or newer in your project
  • Node.js and npm (installs or runs the Vercel CLI)
  • Vercel account to keep a deployment (temporary deploys expire unless claimed)

Pick one, not both

  • 3D: for a three.js game, replace the three Phaser cards and game-feel with threejs-fundamentals, threejs-game-director and threejs-gameplay-systems from the Web Game Dev pack. threejs-gameplay-systems brings its own feel recipes, so do not keep game-feel next to it.
  • Hosting: this deck puts the game on Vercel. If you would rather publish on itch.io, take itch-publish from the Web Game Dev pack in place of deploy-to-vercel, and check that sign-in still works inside the itch.io page.
  • Backend: the supabase skill answers database and auth questions for the whole project. Do not add a second database or auth skill next to it.
  • Browser: playwright-cli, agent-browser by Vercel and webapp-testing by Anthropic do the same job. Install exactly one.
  • More Phaser: the three cards here are part of a larger official set. Add loading-assets or scale-and-responsive from phaserjs/phaser by name when the game needs them.
Review slipDeck No. 01
  • Every skill file read in full
  • Pinned to a reviewed version
  • Author and licence on every card
  • Requirements and costs disclosed
  • No sponsored skills inside
Last reviewed
Nov 2026
Reviewed