What problem does it solve?
This Skill removes the guesswork from web game iteration by providing a reliable development and testing loop that validates each change through automated bursts, screenshots, and state/text capture.
Core Features & Use Cases
- Deterministic iteration loop: implement small changes, advance time deterministically via
window.advanceTime(ms), and re-run the Playwright client to reduce flakiness.
- State observability: require
window.render_game_to_text so the test loop can capture concise, actionable JSON for debugging without relying only on visuals.
- Action-driven verification: run scripted keyboard/mouse bursts based on a shared payload reference to validate movement, combat, interactions, menus/pause, and win/lose transitions.
- Debug-first diagnostics: capture console errors and screenshot artifacts after each burst, then fix the first new issue before continuing.
Quick Start
Run the Playwright loop by pointing it at your running game URL and providing the skill’s action payloads file so it performs repeated input bursts, captures screenshots, and records render_game_to_text state.