phaser-playtest

Drive headless Chromium sessions to verify Phaser 4 game runtime behavior.

17|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Yakoub-ai/phaser4-gamedev --skill phaser-playtest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phaser-playtest
Source: https://github.com/Yakoub-ai/phaser4-gamedev/tree/main/skills/phaser-playtest
Command: npx skills add https://github.com/Yakoub-ai/phaser4-gamedev --skill phaser-playtest

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the critical gap between code compilation and game execution, catching runtime failures like black screens, asset 404s, and uncaught exceptions that TypeScript cannot detect.

Core Features & Use Cases

  • Headless Runtime Verification: Boots your game in a headless Chromium environment to verify it actually runs, renders content, and maintains performance.
  • Scenario-Based Testing: Drives scripted user input and asserts on live game state to ensure features like movement, combat, and state persistence work as expected.
  • Use Case: Before deploying your game, use this skill to automatically verify that all assets load correctly, the game boots to the main menu, and the player can successfully complete a level without triggering console errors.

Quick Start

Use the phaser-playtest skill to run a full runtime verification on the current project.

Frequently Asked Questions about phaser-playtest

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

FAQPage Schema
How do I automate runtime verification for a Phaser 4 game?

You can perform runtime verification by driving headless Chromium sessions via Playwright to detect rendering failures, asset loading errors, and performance regressions in your game.

What is headless browser testing for HTML5 game development?

Headless browser testing for game development boots your game in a headless Chromium environment to verify it runs, renders content, and maintains performance without a physical display.

Can I use Playwright to test scripted gameplay scenarios in Phaser?

Yes, Playwright can drive scripted user input and assert on live game state to ensure features like movement, combat, and state persistence work as expected in Phaser.

Do I need Playwright to run automated smoke tests for my web game?

Yes, Playwright is required as a dependency to execute headless browser assertions, drive scripted gameplay, and inspect game state for continuous integration workflows.

How do I catch asset loading errors and black screens before deploying my game?

Catch asset 404s and black screens by running automated runtime verification that boots your game in headless Chromium to detect uncaught exceptions and rendering failures that TypeScript cannot find.