Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

wp-playground

Skill by WordPress

Routes WordPress Playground tasks to the right workflow. It covers local CLI runs with @wp-playground/cli, browser previews, share links, snapshots, mounts, version switching and Xdebug.

  • Score 81
  • 2.4k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install wp-playground

Built from the published package, never by AI.

git clone --depth 1 https://github.com/WordPress/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/skills/wp-playground ~/.claude/skills/wp-playground

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install wp-playground in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a routing wrapper for WordPress Playground work. It first identifies the user's intent, such as Blueprint authoring, a local CLI run, a browser-only website workflow, or debugging. It then loads only the focused reference needed for that task. Blueprint JSON work is handed to the separate blueprint skill, so schema details live in one place.

The source covers local execution with the @wp-playground/cli server, run-blueprint, build-snapshot, mounts and version switching. It also covers Xdebug, runtime logs and stuck CLI runs, plus browser-only workflows with Query API and Blueprint URL setup and share links. Playground runs WordPress in WebAssembly with SQLite. The skill is aimed at developers who need disposable WordPress test environments.

Written from the project's SKILL.md and checked against it.

What it can do

  • Workflow routingPicks the right Playground workflow and loads only the focused reference needed.
  • Local CLI executionCovers the @wp-playground/cli server, run-blueprint, build-snapshot, mounts and version switching.
  • DebuggingPoints to guidance on Xdebug, runtime logs, worker flags and stuck CLI runs.
  • Browser website workflowsCovers Query API and Blueprint URL setup, share links and browser limitations.
  • Blueprint delegationSends Blueprint JSON authoring and review to the separate blueprint skill.

What you need

  • Node.js 20.18+ for the Playground CLI
  • npm or npx

Try asking

  • Run my plugin folder in a local WordPress Playground server
  • Create a share link for a WordPress preview with my plugin installed
  • Help me debug a stuck Playground CLI run with Xdebug

Good to know

  • Browser-only Playground cannot read local filesystem paths.
  • Playground instances are disposable and SQLite-backed, so they must not point at production data.
  • Playground cannot provide PHP extensions, native database access or persistence; use wp-env, Docker or the project environment instead.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/wp-playground/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • references/cli.md5 KB
  • references/debugging.md975 B
  • references/mcp.md2 KB
  • references/sites-api.md5 KB
Show all 7 files
  • references/webmcp.md2 KB
  • references/website.md6 KB

Alternatives to wp-playground

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

wp-playground: common questions

What versions of WordPress and PHP does this target?

The source says it targets WordPress 7.0+ and PHP 7.4.0+. The Playground CLI requires Node.js 20.18+.

Can I use this skill to write Blueprint JSON?

Not directly. The source says Blueprint JSON authoring or review should use the blueprint skill, and this wrapper routes to it.

When should I use a full WordPress stack instead?

The source says to use wp-env, Docker or the project-provided environment when a task needs PHP extensions, native database access, persistence or production-like infrastructure.

How do I install wp-playground?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is wp-playground free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is wp-playground safe to use?

It scores 81 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to wp-playground?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

wp-playground Install

Add to stack

Loading.