This repo is the companion project for the YouTube build: “Vibe Coding 2D Games with Claude Code & Agent Skills (Full Tutorial)” (watch on YouTube)
It includes:
- A small Phaser 3 + TypeScript + Vite platformer scene (parallax background, infinite ground, movement/jump/attack).
- The Agent Skills used in the video (Claude Code + Codex CLI).
If you want the all-in-one workflow kit I use across Claude Code, Codex CLI, and Cursor—including ready-to-run agents/skills/rules and full source from my YouTube builds—check out BuilderPack.ai.
- Install deps:
npm install-
Add the Oak Woods art pack (required — not included in this repo). See Assets (Required) below.
-
Run:
npm run devControls:
- Arrow keys: move + jump
X: attack
This repo ships two skills, each packaged for both tools (so 4 copies total):
- Phaser game dev
- Claude Code:
.claude/skills/phaser-gamedev/SKILL.md - Codex CLI:
.codex/skills/phaser-gamedev/SKILL.md
- Claude Code:
- Playwright testing (including canvas/Phaser testing patterns)
- Claude Code:
.claude/skills/playwright-testing/SKILL.md - Codex CLI:
.codex/skills/playwright-testing/SKILL.md
- Claude Code:
Each SKILL.md contains its triggers, workflow, and reference docs.
This repository does not include the Oak Woods art assets (we can’t redistribute them).
- Get the pack from:
- Extract/copy the assets into:
public/assets/oakwoods/
The game expects this structure (filenames and folders must match):
public/assets/oakwoods/
assets.json
oak_woods_tileset.png
background/
background_layer_1.png
background_layer_2.png
background_layer_3.png
character/
char_blue.png
decorations/
fence_1.png
fence_2.png
grass_1.png
grass_2.png
grass_3.png
lamp.png
rock_1.png
rock_2.png
rock_3.png
shop.png
shop_anim.png
sign.png
Notes:
public/assets/oakwoods/assets.jsonis included here as a manifest/index.- Only the manifest is tracked; the extracted art is ignored by git.
Oak Woods asset pack by brullov:
