# Playground

> Spin up a WordPress Playground instance with the plugin mounted and activated

- Skill: `majiayu000/playground` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add majiayu000/playground`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/playground/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/majiayu000/playground

---


# Start WordPress Playground

Spin up an ephemeral WordPress Playground with agentic-admin mounted from the local working directory.

## Important: Mount + Activation Gotchas

- **Do NOT include `activatePlugin` in the blueprint steps.** Mounted directories are not available when blueprint steps execute, so activation will fail with "Plugin file does not exist."
- **Do NOT use `mountBeforeInstall`** — it does not help; the mount is still unavailable at blueprint step time.
- **Always use an empty blueprint** (`{"steps": []}`) with the `mount` option, then activate via WP-CLI after startup.

## Steps

1. **Start Playground** with an empty blueprint and mount the plugin:
   - Blueprint: `{"steps": []}`
   - Options: `{"mount": ["<project-root>:/wordpress/wp-content/plugins/agentic-admin"]}`
   - Where `<project-root>` is the current working directory

2. **Activate the plugin** via WP-CLI (only after Playground is running):
   - `plugin activate agentic-admin`

3. **Report** the URL and credentials to the user:
   - Site URL (typically http://127.0.0.1:9400)
   - Plugin page: `<site-url>/wp-admin/admin.php?page=agentic-admin`
   - Credentials: admin / password

4. If any step fails, check logs with `get_playground_logs` and report the error.

