Use as the WordPress Playground routing wrapper for ambiguous Playground work, local CLI runs with @wp-playground/cli, playground.wordpress.net share links, browser previews, WebMCP site tools, snapshots, mounts, version switching, and Xdebug. For Blueprint JSON authoring or review, use the blueprint skill directly.
Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.
Prompt
Install the "wp-playground" Agent Skill by WordPress, from https://github.com/WordPress/agent-skills.
1. Fetch the whole folder skills/wp-playground — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
skill_checkout=$(mktemp -d)
git init "$skill_checkout"
git -C "$skill_checkout" fetch --depth 1 https://github.com/WordPress/agent-skills.git 7374e6f1c913b3b02b25465d266d9c0e0a04fc96
git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "wp-playground":
- Claude Code: ~/.claude/skills/wp-playground/ (all projects) or .claude/skills/wp-playground/ (this project only)
- Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that wp-playground/SKILL.md exists and its frontmatter says name: wp-playground.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.
skills CLI
One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).
This is a thin routing wrapper. Use it to pick the right Playground workflow, then load only the focused reference or skill needed for the task.
Procedure
Identify the user intent: Blueprint authoring/review, local CLI execution, browser-only website/share link workflow, Xdebug/stuck CLI run, or a mixed Playground request.
Route to the focused source below, loading more than one only when the request has multiple distinct parts.
For mixed requests, delegate Blueprint JSON work to blueprint, then return here for runtime, CLI, debugging, or sharing guidance.
Blueprint JSON, schema, steps, resources, bundles, or Blueprint review: use the blueprint skill directly. Do not duplicate Blueprint schema details here.
Local CLI execution: read references/cli.md for @wp-playground/cli server, run-blueprint, build-snapshot, mounts, version switching, and local validation.
Xdebug or stuck CLI runs: read references/debugging.md for Xdebug, runtime logs, worker flags, and stuck CLI runs.
Browser-only Playground website workflows: read references/website.md for Query API and Blueprint URL setup, share links, and browser limitations. It routes existing-site operations to separate WebMCP, Playground MCP, and Sites API references; load only the selected method. Unless the user requests a specific connection method, prefer available WebMCP tools for supported browser operations.
Inputs required
The intended workflow: Blueprint authoring, local CLI run, website/share link, snapshot, or debugging.
Project or bundle path if local code must be mounted or packaged.
Desired WordPress/PHP versions if compatibility matters.
Port preference if a local server is needed.
Whether browser-only sharing or local filesystem access is required.
Guardrails
Playground instances are disposable, SQLite-backed environments; never point them at production data.
Keep Blueprint JSON guidance in blueprint so the schema and examples have one source of truth.
For local CLI work, verify Node.js 20.18+ and npm/npx before running commands.
Browser-only Playground cannot read local filesystem paths; use public URLs, hosted ZIP bundles, or inline Blueprint JSON.
Verification
For Blueprint content, validate against the published schema and follow the blueprint skill verification.
For local CLI runs, verify the mounted plugin/theme or Blueprint side effects in the Playground instance.
For share links, open the generated URL and confirm the expected landing page and installed assets load.
Failure modes
Blueprint work routed here: stop and use the blueprint skill for schema keys, steps, resources, bundles, validation, or Blueprint review.
Local filesystem needed in a browser-only workflow: use references/cli.md; playground.wordpress.net cannot read local filesystem paths.
Shareable browser link requested from a local CLI workflow: use references/website.md; local server URLs are not portable share links.
Debugging treated as a second-hop reference: read references/debugging.md directly for Xdebug, logs, worker flags, and stuck CLI runs.
Escalation
If the task needs PHP extensions, native database access, persistence, or production-like infrastructure that Playground cannot provide, use a full WordPress stack such as wp-env, Docker, or the project-provided environment.