# Test WordPress Sites in Playground

WordPress setup often slows down quick plugin tests and demos. This skill helps Claude, Codex, and Claude Code create disposable Playground environments with reusable blueprints.

## Install

```bash
npx skillstore add crazyswami/wp-playground
```

## Metadata

- - Status: approved
- - Slug: crazyswami-wp-playground
- - Version: 1.0.0
- - Author: CrazySwami
- - GitHub username: CrazySwami
- - License: MIT
- - Repository: https://github.com/CrazySwami/wordpress-dev-skills/tree/main/skills/wp-playground
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: medium
- - Risk factors: scripts, network, external\_commands, filesystem
- - Quality score: 50
- - Quality tier: warning
- - Public page: https://skillstore.pages.dev/skills/crazyswami-wp-playground
- - Manifest: https://skillstore.pages.dev/api/skills/crazyswami-wp-playground/manifest

## Capabilities

- Provides quick-start browser and CLI workflows for WordPress Playground.
- Includes base and WooCommerce blueprint examples for repeatable test environments.
- Shows URL parameters for installing plugins, themes, and specific WordPress versions.
- Explains local plugin and theme mounting for development previews.
- Demonstrates JavaScript API usage for programmatic Playground control.
- Compares Playground with Docker for testing and demo scenarios.

## Use Cases

- Plugin Compatibility Check: Spin up a temporary WordPress site with selected plugins and versions before installing them elsewhere.
- WooCommerce Demo Build: Create a disposable store preview with WooCommerce and Storefront for client review or internal testing.
- Theme Preview Session: Mount a local theme directory and inspect changes in a browser without setting up Docker.

## Prompt Templates

### Start a Basic Playground

```
Use the wp-playground skill to show me the simplest browser and CLI options for starting a temporary WordPress Playground site.
```

### Create a Plugin Test Plan

```
Use the wp-playground skill to plan a temporary WordPress Playground test for WooCommerce, Yoast SEO, and a selected WordPress version.
```

### Design a Reusable Blueprint

```
Use the wp-playground skill to design a reusable Playground blueprint for a WordPress development site with common plugins and site options.
```

### Compare Playground and Docker

```
Use the wp-playground skill to compare WordPress Playground and Docker for my plugin workflow, including persistence, networking, WP-CLI, and performance tradeoffs.
```

## Limitations

- Playground environments are temporary unless users export or persist data.
- Performance is slower than native PHP because WordPress runs through WebAssembly.
- Networking and WP-CLI behavior are limited compared with Docker.
- The skill provides guidance and templates, not a managed hosting environment.

## Best Practices

- Review every npx command and blueprint before running it locally.
- Use WordPress.org plugin and theme sources when building shared demos.
- Export snapshots or document setup steps when a test site must be recreated.

## Anti Patterns

- Do not use Playground as a substitute for production-like performance testing.
- Do not load untrusted blueprint URLs without reviewing their steps.
- Do not mount directories that contain secrets, private keys, or unrelated project data.

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-06-29T03:17:57.902\+00:00
- - Summary: Static high-severity weak-cryptography alerts were false positives on ordinary WordPress text fields and descriptions. The skill is legitimate WordPress Playground guidance, but it has medium operational risk because it instructs users to run npx commands, enable Playground networking, mount local directories, and use blueprint steps that can execute PHP or WP-CLI.

## Stats

- - Views: 278
- - Downloads: 3
- - Favorites: 0
- - Popularity score: 0
