wp-playground

Installation
Summary

Fast, disposable WordPress instances in the browser or locally via CLI, with auto-mounting, version switching, and Xdebug debugging.

  • Spin up ephemeral WordPress sites in WebAssembly with SQLite; supports WordPress 6.9+ and PHP 7.2.24+, with quick version switching for compatibility testing.
  • CLI commands include server (auto-mount plugins/themes), run-blueprint (scripted setup), and build-snapshot (shareable ZIP exports) via Node.js 20.18+.
  • Auto-detect and mount local plugin or theme code; supports manual multi-mount paths and mount-before-install bootstrapping for complex setups.
  • Debug with Xdebug integration for VS Code and PhpStorm; browser-only workflows available via Playground URL fragments or the live Blueprint Editor.
SKILL.md

WordPress Playground

When to use

  • Spin up a disposable WordPress to test a plugin/theme without full stack setup.
  • Run or iterate on Playground Blueprints (JSON) locally.
  • Build a reproducible snapshot of a site for sharing or CI.
  • Switch WP/PHP versions quickly to reproduce issues.
  • Debug plugin/theme code with Xdebug in an isolated Playground.

Inputs required

  • Host machine readiness: Node.js ≥ 20.18, npm/npx available.
  • Project path to mount (--auto-mount or explicit mount mapping).
  • Desired WP version/PHP version (optional; defaults to latest WP, PHP 8.3).
  • Blueprint location/URL if running a blueprint.
  • Port preference if 9400 conflicts.
  • Whether Xdebug is needed.
Related skills

More from wordpress/agent-skills

Installs
1.0K
GitHub Stars
1.5K
First Seen
Feb 1, 2026