WordPress Playground Development Skill
Overview
Systematic review guidance for WordPress Playground-based demos and reproducible environments. Core principle: Playground setups should be deterministic, portable, and easy to understand from the Blueprint or CLI entrypoint alone. Review covers Blueprint structure, local CLI usage, embedded demos, repro environments, and demo-specific WordPress configuration.
When to Use
Use when:
- Reviewing a Blueprint JSON file
- Auditing docs that embed or link to Playground
- Building a zero-setup bug repro or demo
- Reviewing Playground CLI usage in local workflows or tests
- Designing a repeatable environment for blocks, plugins, or themes
Don't use for:
- General block or plugin review without Playground
- WP-CLI operations outside a Playground context
- Static analysis or CI setup alone
Code Review Workflow
Identify the Playground entrypoint
- Blueprint JSON
- Playground CLI command
- Embedded iframe or blueprint URL
- Local docs or scripts used to reproduce an issue
Check reproducibility first
- Explicit WordPress and PHP versions where needed
- Steps are ordered and self-contained
- No hidden manual steps outside the Blueprint/docs
Review setup steps
- Theme/plugin install and activation
- Login, site options, content seeding
- File writes, copies, or mounts
- Any
wp-cli steps used inside the Blueprint
Review developer ergonomics
- Can someone rerun this without guesswork?
- Is the landing page meaningful?
- Are local and browser-based flows clearly separated?
Classify findings
- CRITICAL: non-reproducible setup, hidden dependencies, broken step order, external assumptions not documented
- WARNING: versions implicit, overly brittle mounts, confusing landing page, heavyweight repro for a tiny issue
- INFO: could simplify steps, split demo from test data, or use a clearer Blueprint pattern
File-Type Specific Checks
Blueprint Files
- CRITICAL: Missing required setup step that makes the Blueprint non-functional
- WARNING: No explicit
preferredVersions when version compatibility matters
- WARNING: Repro depends on files adjacent to the Blueprint without documentation
- INFO: Could set a clearer
landingPage
Playground CLI Workflows
- WARNING: Local workflow uses
server or start with undocumented mounts
- WARNING: Blueprint path or auto-mount assumptions are implicit
- INFO: Could use
run-blueprint or build-snapshot for more deterministic flows
Embedded Demos and Repros
- CRITICAL: Demo depends on manual admin setup not captured in the Blueprint
- WARNING: Embedded example is too large or generic for the issue being demonstrated
- INFO: Could split teaching/demo content from bug repro content
Search Patterns for Quick Detection (PG-21)
Use these rg commands to find Playground-related files and setup logic.
Playground Discovery
rg -n "playground|blueprint|@wp-playground" . -g '*.{md,json,js,ts,tsx,yml,yaml}'
rg -n "\"steps\"|\"landingPage\"|\"preferredVersions\"" . -g '*.json'
CLI and Embed Flows
rg -n "run-blueprint|build-snapshot|@wp-playground/cli|npx @wp-playground/cli" . -g '*.{md,js,ts,sh,yml,yaml}'
rg -n "blueprint-url|playground.wordpress.net|wordpress.org/playground" . -g '*.{md,html,js,ts}'
Repro Steps
rg -n "\"step\": \"(login|wp-cli|installPlugin|installTheme|writeFile|mkdir|cp|mv|enableMultisite)\"" . -g '*.json'
Reference Files
references/blueprint-patterns.md - Blueprint structure, step selection, and deterministic setup
references/cli-and-local-workflows.md - @wp-playground/cli, mounts, local workflows, and snapshot usage
references/embedding-and-repros.md - Embedded demos, blueprint URLs, and issue reproduction patterns
references/sample-playground-blueprint.json - Minimal reproducible Blueprint fixture for local testing or adaptation
Output Format (PG-23)
For each finding include:
- Severity:
CRITICAL, WARNING, or INFO
- File and line number
- Repro or demo issue summary
- Why it matters for Playground reliability or clarity
- Recommended fix
If no issues are found, say so clearly and mention any residual ambiguity such as version drift, missing repro notes, or fragile local mounts.
1---2name: wp-playground-development-23description: WordPress Playground review and development guidance. Use when reviewing Blueprints, Playground JSON setup flows, `@wp-playground/cli` usage, embedded Playground demos, reproducible bug repros, docs examples, or when user mentions "WordPress Playground", "Blueprint", "playground.json", "run-blueprint", "build-snapshot", "embed Playground", or "zero-setup repro". Helps review Blueprint design, local Playground workflows, demo reliability, and reproducible WordPress environments.4---56# WordPress Playground Development Skill78## Overview910Systematic review guidance for WordPress Playground-based demos and reproducible environments. **Core principle:** Playground setups should be deterministic, portable, and easy to understand from the Blueprint or CLI entrypoint alone. Review covers Blueprint structure, local CLI usage, embedded demos, repro environments, and demo-specific WordPress configuration.1112## When to Use1314**Use when:**15- Reviewing a Blueprint JSON file16- Auditing docs that embed or link to Playground17- Building a zero-setup bug repro or demo18- Reviewing Playground CLI usage in local workflows or tests19- Designing a repeatable environment for blocks, plugins, or themes2021**Don't use for:**22- General block or plugin review without Playground23- WP-CLI operations outside a Playground context24- Static analysis or CI setup alone2526## Code Review Workflow27281. **Identify the Playground entrypoint**29 - Blueprint JSON30 - Playground CLI command31 - Embedded iframe or blueprint URL32 - Local docs or scripts used to reproduce an issue33342. **Check reproducibility first**35 - Explicit WordPress and PHP versions where needed36 - Steps are ordered and self-contained37 - No hidden manual steps outside the Blueprint/docs38393. **Review setup steps**40 - Theme/plugin install and activation41 - Login, site options, content seeding42 - File writes, copies, or mounts43 - Any `wp-cli` steps used inside the Blueprint44454. **Review developer ergonomics**46 - Can someone rerun this without guesswork?47 - Is the landing page meaningful?48 - Are local and browser-based flows clearly separated?49505. **Classify findings**51 - **CRITICAL:** non-reproducible setup, hidden dependencies, broken step order, external assumptions not documented52 - **WARNING:** versions implicit, overly brittle mounts, confusing landing page, heavyweight repro for a tiny issue53 - **INFO:** could simplify steps, split demo from test data, or use a clearer Blueprint pattern5455## File-Type Specific Checks5657### Blueprint Files5859- CRITICAL: Missing required setup step that makes the Blueprint non-functional60- WARNING: No explicit `preferredVersions` when version compatibility matters61- WARNING: Repro depends on files adjacent to the Blueprint without documentation62- INFO: Could set a clearer `landingPage`6364### Playground CLI Workflows6566- WARNING: Local workflow uses `server` or `start` with undocumented mounts67- WARNING: Blueprint path or auto-mount assumptions are implicit68- INFO: Could use `run-blueprint` or `build-snapshot` for more deterministic flows6970### Embedded Demos and Repros7172- CRITICAL: Demo depends on manual admin setup not captured in the Blueprint73- WARNING: Embedded example is too large or generic for the issue being demonstrated74- INFO: Could split teaching/demo content from bug repro content7576## Search Patterns for Quick Detection (PG-21)7778Use these `rg` commands to find Playground-related files and setup logic.7980### Playground Discovery8182```bash83rg -n "playground|blueprint|@wp-playground" . -g '*.{md,json,js,ts,tsx,yml,yaml}'84rg -n "\"steps\"|\"landingPage\"|\"preferredVersions\"" . -g '*.json'85```8687### CLI and Embed Flows8889```bash90rg -n "run-blueprint|build-snapshot|@wp-playground/cli|npx @wp-playground/cli" . -g '*.{md,js,ts,sh,yml,yaml}'91rg -n "blueprint-url|playground.wordpress.net|wordpress.org/playground" . -g '*.{md,html,js,ts}'92```9394### Repro Steps9596```bash97rg -n "\"step\": \"(login|wp-cli|installPlugin|installTheme|writeFile|mkdir|cp|mv|enableMultisite)\"" . -g '*.json'98```99100## Reference Files101102- `references/blueprint-patterns.md` - Blueprint structure, step selection, and deterministic setup103- `references/cli-and-local-workflows.md` - `@wp-playground/cli`, mounts, local workflows, and snapshot usage104- `references/embedding-and-repros.md` - Embedded demos, blueprint URLs, and issue reproduction patterns105- `references/sample-playground-blueprint.json` - Minimal reproducible Blueprint fixture for local testing or adaptation106107## Output Format (PG-23)108109For each finding include:1101111. Severity: `CRITICAL`, `WARNING`, or `INFO`1122. File and line number1133. Repro or demo issue summary1144. Why it matters for Playground reliability or clarity1155. Recommended fix116117If no issues are found, say so clearly and mention any residual ambiguity such as version drift, missing repro notes, or fragile local mounts.