add-game
Add a second game to the monorepo (apps/<game>) from the seed game, wired to the gate. Load when asked to create a new game / app / prototype in this repo.
SKILL.md.claude/skills/add-game/SKILL.md
GitHubAdd a game
cp -r apps/game apps/<game>withoutnode_modules,dist.package.json:name=<game>(the directory name),description.vite.config.ts:gameApp(<port>), next free even port (8080 game, 8082, 8084…); the preview is port + 1. Same port ine2e/playwright.config.ts(url, the preview port).index.html:<title>.- Anything two games need (a helper, a Pixi setup) → a new
packages/<name>with"exports": "./index.ts"(no build step, seepackages/vite-config), not a copy. vp install, thenvp run readygreen: the new game'sreadyruns with the others.- Update: CLAUDE.md (architecture, ports),
.claude/settings.jsonallow(vp -C apps/<game> test|build|run e2e), README commands if they nameapps/game.