
develop-web-game
Build and debug playable HTML and JavaScript games.
- version
- 0.1.7
- GitHub stars
- 347
Install
/plugin install develop-web-game@khanelinix-ai-toolsRun it inside Claude Code after adding the marketplace with /plugin marketplace add khaneliman/khanelinix.
Contents
Discovered from sourceSkills 1
Develop Web Game
Build games in small verified steps: implement, run short input bursts, inspect text state plus screenshots, fix, repeat.
Load Detail On Demand
references/setup.md: environment variables and Playwright prerequisites.references/test-loop.md: action bursts, screenshots, console checks.references/game-guidelines.md: canvas, visuals, text state, deterministic time, fullscreen.references/progress-tracking.md:progress.mdhandling across agents.references/action_payloads.json: valid action keys and payload shape.
Setup
Resolve the absolute directory containing this SKILL.md, then set
WEB_GAME_CLIENT to scripts/web_game_playwright_client.js and
WEB_GAME_ACTIONS to references/action_payloads.json beneath that directory.
Read references/setup.md when either path or Playwright
availability is unclear.
Required Game Hooks
- Single primary canvas.
window.render_game_to_text()returning concise JSON game state.- Prefer deterministic
window.advanceTime(ms)for stable automated checks.
Iteration Loop
- Define one feature/behavior goal.
- Make smallest coherent code change.
- Run
$WEB_GAME_CLIENTwith short input bursts after each meaningful change. - Inspect latest text output, screenshot, and console errors.
- Verify all affected controls and state transitions end-to-end.
- Fix first concrete failure, then rerun.
- Reset between unrelated scenarios.
Read only focused references needed for current game task.
Example:
node "$WEB_GAME_CLIENT" --url http://localhost:5173 --actions-file "$WEB_GAME_ACTIONS" --iterations 3 --pause-ms 250
Signoff Bar
- New behavior works through actual controls, not only state injection.
render_game_to_textmatches visible game state.- Screenshots show gameplay beyond start/menu when gameplay changed.
- Important interactions cover cause, intermediate state, and outcome.
- Console has no new unhandled errors.
- Visual state is readable: key objects visible, text minimal, no broken layout.
Sponsors
Details
- Marketplace
- khaneliman/khanelinix
- Source
- modules/common/ai-tools/skills/develop-web-game
- Author
- khaneliman
- Category
- Developer Tools
More from khaneliman/khanelinix
All 43- diagnosing-bugsv0.1.3
- dotnet-toolkitv0.1.2
- engineering-principlesv0.1.22
- engineering-workflowv0.1.27
- figure-it-outv0.1.10
- git-toolkitv0.1.15
- github-toolkitv0.1.33
- howv0.1.7
- interrogatev0.1.10
- jj-toolkitv0.1.8
- lua-toolkitv0.2.0
- mcp-builderv0.1.6
- memory-profilerv0.1.6
- microsoft-teamsv0.1.0
- nix-toolkitv0.4.12
- okf-memoryv0.1.6
- performance-forensicsv0.1.4
- planning-with-filesv0.1.9
- program-orchestrationv0.1.5
- recallv0.1.7
- requirements-interviewv0.1.4
- researchv0.1.3
- rust-toolkitv0.1.6
- sarif-toolkitv0.1.5