What problem does it solve?
This Skill streamlines the development of web games by providing a robust loop for implementing small changes, running automated tests with Playwright, and inspecting visual and textual output.
Core Features & Use Cases
- Iterative Development: Implement changes in small, manageable steps.
- Automated Testing: Utilize Playwright for deterministic testing, including input simulation and state capture.
- Visual & State Inspection: Review screenshots and text-based game state (
render_game_to_text) to verify correctness.
- Use Case: When building a new character movement mechanic, you can implement the code, run the Playwright script to test forward, backward, jump, and special ability inputs, then visually confirm the character's animations and state changes in the captured screenshots and JSON output.
Quick Start
Use the develop-web-game skill to run the Playwright client against http://localhost:5173 with the provided action payloads.