skills/wp-playground/SKILL.md
Use for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground/cli (server, run-blueprint, build-snapshot), auto-mounting plugins/themes, switching WP/PHP versions, blueprints, and debugging (Xdebug).
npx skillsauth add WordPress/agent-skills wp-playgroundInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
npm/npx available.--auto-mount or explicit mount mapping).node -v) before running CLI.cd <plugin-or-theme-root>
npx @wp-playground/cli@latest server --auto-mount
--wp=<version> / --php=<version> as needed.--skip-wordpress-setup and mount the whole tree.--mount=/host/path:/vfs/path (repeatable) when auto-mount is insufficient (multi-plugin, mu-plugins, custom content).--mount-before-install for bootstrapping installer flows.references/cli-commands.mdnpx @wp-playground/cli@latest run-blueprint --blueprint=<file-or-url>
--blueprint-may-read-adjacent-files when required.references/blueprints.md for structure and common flags.npx @wp-playground/cli@latest build-snapshot --blueprint=<file> --outfile=./site.zip
--xdebug (or --enable-xdebug depending on CLI release) to expose an IDE key, then connect VS Code/PhpStorm to the host/port shown in CLI output.--auto-mount for plugin/theme debugging.references/debugging.md--wp= to pin WP (e.g., 6.9.0) and --php= to test compatibility.https://playground.wordpress.net/#<base64-or-json-blueprint>https://playground.wordpress.net/?blueprint-url=<public-url-or-zip>--verbosity=debug to confirm steps executed.wp plugin list inside Playground shell via browser terminal if exposed) or UI click-path.--verbosity=debug.--blueprint-may-read-adjacent-files.--port=<free-port>.--experimental-multi-worker if enabled; or enable it to improve throughput on CPU-bound runs.tools
Verify a WordPress plugin's Abilities API registrations: enumerate abilities, check that callback behavior matches each annotation's claim (the adversarial readonly-but-writes detection), validate permissions and schemas, and validate audit documents produced by wp-abilities-audit.
tools
Audit a WordPress plugin's REST surface and produce a standardized audit document proposing Abilities API registrations. Produces a markdown doc with a YAML schema and prose sections that humans and agents can both consume when planning a registration rollout. Works on any WP plugin.
tools
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.
tools
Use when reviewing WordPress plugins for GPL compliance, checking license headers or compatibility, evaluating upsell/freemium/trialware patterns, validating plugin naming or trademark rules, checking plugin slugs, understanding why a plugin was rejected from WordPress.org, or answering any question about the 18 WordPress.org Plugin Directory guidelines — even if the user doesn't mention 'guidelines' explicitly.