# Develop Web Game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable...

- Repository: https://github.com/netease-youdao/LobsterAI (6161 stars)
- Category: Testing
- License: MIT
- Last updated: 2026-10-31
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add netease-youdao/LobsterAI --skill develop-web-game -g -a claude-code -y`
Codex: `npx skills add netease-youdao/LobsterAI --skill develop-web-game -g -a codex -y`
Cursor: `npx skills add netease-youdao/LobsterAI --skill develop-web-game -g -a cursor -y`
Gemini CLI: `npx skills add netease-youdao/LobsterAI --skill develop-web-game -g -a gemini-cli -y`

## Description

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Develop Web Game

Build games in small steps and validate every change. Treat each iteration as: implement → act → pause → observe → adjust.

## Skill paths (set once)

```bash
export SKILLS_ROOT="${LOBSTERAI_SKILLS_ROOT:-${SKILLS_ROOT:-$HOME/Library/Application Support/LobsterAI/SKILLs}}"
export WEB_GAME_CLIENT="$SKILLS_ROOT/develop-web-game/scripts/web_game_playwright_client.js"
export WEB_GAME_ACTIONS="$SKILLS_ROOT/develop-web-game/references/action_payloads.json"
```

Installed skills resolve from `$LOBSTERAI_SKILLS_ROOT` / `$SKILLS_ROOT` (production default: app `userData/SKILLs`, macOS usually `~/Library/Application Support/LobsterAI/SKILLs`).

## Workflow

The rest: https://github.com/netease-youdao/LobsterAI/blob/HEAD/SKILLs/develop-web-game/SKILL.md
