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.
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-playgroundRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/WordPress/agent-skills /tmp/agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-skills/skills/wp-playground ~/.gemini/antigravity-cli/skills/wp-playgroundAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
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.
