develop-web-game

Run Playwright-based tests with virtual-time stepping and capture game states.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/sidjamyl/GAMES-JTI- --skill develop-web-game-sidjamyl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: develop-web-game
Source: https://github.com/sidjamyl/GAMES-JTI-/tree/main/.agents/skills/develop-web-game
Command: npx skills add https://github.com/sidjamyl/GAMES-JTI- --skill develop-web-game-sidjamyl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the development and testing of web games by providing a robust loop for implementing small changes, running automated tests, and inspecting results.

Core Features & Use Cases

  • Iterative Development: Implement small changes and immediately validate them.
  • Automated Testing: Run Playwright-based tests with controlled input bursts and pauses.
  • State Inspection: Review screenshots and text output from render_game_to_text to verify game state.
  • Use Case: When building a new platformer game, use this Skill to implement a single jump mechanic, run Playwright tests to ensure the character jumps correctly, and then iterate on the jump height and duration based on visual feedback.

Quick Start

Use the develop-web-game skill to run the Playwright client against http://localhost:5173 with 3 iterations and a 250ms pause between them.

Frequently Asked Questions about develop-web-game

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

FAQPage Schema
How do I automate web game testing with Playwright?

Automating web game testing with Playwright involves running a client script that executes deterministic tests using virtual-time stepping, controlled input bursts, and pauses to validate mechanics iteratively.

How do I inspect game state during automated testing?

You inspect game state during automated testing by reviewing screenshots and text output generated from a render_game_to_text function, allowing you to visually and programmatically verify game state after executing test iterations.

Does Playwright support deterministic testing for web games?

Playwright supports deterministic testing for web games when paired with virtual-time stepping and state capture mechanisms. This allows tests to execute with controlled input bursts and pauses for reliable validation of game logic.

What is the best way to iteratively develop a web game mechanic?

The best way to iteratively develop a web game mechanic is implementing small code changes, running automated Playwright tests immediately after, and inspecting screenshots and text output to validate and adjust the mechanic based on visual feedback.

Can I run Playwright tests against a local development server for a web game?

You can run Playwright tests against a local development server for a web game by pointing the testing client script to your local URL, such as localhost:5173, and specifying the number of iterations and pause durations between them.