Skip to content
automattic avatar

Wp Playground

Disposable WordPress Playground instances for testing plugins and themes, running Blueprints, and debugging with Xdebug.

CCM score
57 of 100
skills.sh installs
331
GitHub stars
211
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers local spin-up via @wp-playground/cli with server --auto-mount, plus run-blueprint and build-snapshot for scripted setups and shareable ZIPs
  • Includes browser-only previews through URL fragments and query parameters, plus a live Blueprint Editor for authoring JSON
  • Guards against production data, requires Node.js 20.18 or newer, and sets --wp and --php versions for reproduction
  • Designed for WordPress developers who need fast, isolated environments for testing and reproducing issues without a full stack

Install

$ npx -y skills add automattic/agent-skills --skill wp-playground -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Procedure

0) Guardrails

  • Playground instances are ephemeral and SQLite-backed; never point at production data.
  • Confirm Node ≥ 20.18 (node -v) before running CLI.
  • If mounting local code, ensure it is clean of secrets; Playground copies files into an in-memory FS.

1) Quick local spin-up (auto-mount)

Details

Repository
github.com/automattic/agent-skills
Categories
PHP & Laravel, Testing & QA
First seen
Jun 3, 2026

More from automattic/agent-skills

All 12

Similar to Wp Playground

More PHP & Laravel