openai-develop-web-game

Automate web game development and testing with Playwright.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/cpfcoaching/glowing-palm-tree --skill openai-develop-web-game
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-develop-web-game
Source: https://github.com/cpfcoaching/glowing-palm-tree/tree/main/.skills_backup/openai-develop-web-game
Command: npx skills add https://github.com/cpfcoaching/glowing-palm-tree --skill openai-develop-web-game

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a systematic approach to building and iterating on web games, offering a development + testing loop that automates tasks and ensures quality.

Core Features & Use Cases

  • Automated Testing: Run Playwright-based test scripts to validate game changes.
  • Integration Points: Offers a single canvas and render_game_to_text for state inspection.
  • Time Stepping Hook: Allows deterministic time increments for testing.
  • Use Case: Ideal for developers who need to implement small changes to a web game and quickly verify them through automated testing.

Quick Start

To begin, use the 'openai-develop-web-game' skill with the following command: node scripts/web_game_playwright_client.js --url http://localhost:5173 --actions-file actions_payloads.json

Frequently Asked Questions about openai-develop-web-game

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate testing for an HTML/JS web game?

Automating testing for an HTML/JS web game involves running Playwright-based scripts that execute defined action payloads against your local development environment to validate functionality after small changes.

Can I use Playwright to inspect game state during automated tests?

Yes, Playwright can inspect game state during automated tests by leveraging a single canvas integration point alongside the render_game_to_text function to verify visual and logical outputs.

How do I make web game testing deterministic with Playwright?

Web game testing becomes deterministic with Playwright by utilizing a built-in time stepping hook that allows controlled, deterministic time increments during automated test execution.

Do I need specific action payloads to run automated web game tests?

Yes, specific action payloads provided in a JSON file are required to execute the Playwright test client, defining the precise interactions for validating your web game functionality.

What is the best way to validate small changes in web game development?

The best way to validate small changes in web game development is an automated testing loop using Playwright to run defined action payloads against your HTML/JS application.