Plugin Check with Playground CLI While working on the WordPress.org MCP server (yes, WordPress.org now accepts plugin su...

Plugin Check with Playground CLI While working on the WordPress.org MCP server (yes, WordPress.org now accepts plugin submissions directly from your you AI assistant), I wanted to make it easy for AI agents to run plugins against Plugin Check before trying to submit a plugin to the Plugin Directory for review.The best Claude could come up with was a convoluted prompt, explaining how to set up wp-env, set up Plugin Check, and run it locally. It was long, required a lot of steps, and gave ample opportunity for AI agents to get stuck or confused and give up.While participating in Automattic’s AI Enablement training in New York, I managed to come up with a much easier way with the help of WordPress Playground (Thank you Adam and Bero for you help)! Turns out it supports running inline CLI commands now, albeit still requiring a blueprint.json file.The whole command can now be condensed down to:Create blueprint.json { "steps": [ {"step": "installPlugin", "pluginData": {"resource": "wordpress...

Read Original

Related