playground-website-debugging
Skill by WordPress
Debugs the WordPress Playground website by running its dev server from source and inspecting it with Playwright MCP. Aimed at developers investigating UI bugs, JavaScript errors and hanging requests.
Install playground-website-debugging
Built from the published package, never by AI.
git clone --depth 1 https://github.com/WordPress/wordpress-playground /tmp/wordpress-playground && mkdir -p ~/.claude/skills && cp -r /tmp/wordpress-playground/.agents/skills/playground-website-debugging ~/.claude/skills/playground-website-debuggingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install playground-website-debugging in Claude Code
git clone --depth 1 https://github.com/WordPress/wordpress-playground /tmp/wordpress-playground && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/wordpress-playground/.agents/skills/playground-website-debugging ~/.gemini/antigravity-cli/skills/playground-website-debuggingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install playground-website-debugging in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through debugging the WordPress Playground website. It runs the dev server from source with npm run dev, then uses Playwright MCP to open the site at 127.0.0.1:5400 and inspect it. The skill explains the three-layer iframe structure and the request pipeline through the Service Worker and PHP-WASM, which helps with hanging requests.
It covers checks for JavaScript errors, pending network requests, navigation timing, block editor and plugin pages. It is aimed at developers working on Playground itself who need to investigate UI bugs or verify WordPress behavior in the browser. Hover-first and JS click workarounds handle WordPress submenus that sit off-screen.
Written from the project's SKILL.md and checked against it.
What it can do
- browser_navigateOpens the Playground website URL in the browser.
- browser_snapshotReturns the page tree, including content inside both nested iframes.
- browser_take_screenshotCaptures the current visual state for comparison.
- browser_clickClicks elements such as the Playground URL bar.
- browser_typeTypes text such as a WordPress admin path into a field.
- browser_press_keyPresses a key such as Enter.
- browser_console_messagesLists JavaScript errors and warnings at a chosen level.
- browser_network_requestsLists XHR and fetch requests and their status.
- browser_run_codeRuns custom Playwright code, such as timing a navigation.
What you need
- Node.js, with the version set in .nvmrc
- Playwright MCP server
- System PHP, needed for the CORS proxy
Try asking
- Start the Playground dev server and check the console for JavaScript errors.
- Find pending or failed fetch requests on the Playground website.
- Open wp-admin/plugins.php in Playground and take a screenshot.
Good to know
- Features that use the CORS proxy, such as fetching external resources, fail without system PHP.
- WordPress submenu items stay off-screen until the parent is hovered, so direct clicks can fail.
- The first dev server build can take up to about 120 seconds.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/playground-website-debugging/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to playground-website-debugging
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
playground-website-debugging: common questions
What does npm run dev start?
It starts the Playground dev server on port 5400 and a PHP CORS proxy on port 5263. The site still loads if the proxy fails, but features that rely on it will not work.
How does the skill find hanging requests?
Requests with no status code are still pending. Requests failing with net::ERR_FAILED usually mean a service worker timeout after 25 seconds, which can indicate a PHP-WASM deadlock.
Why does browser_click fail on some WordPress menus?
WordPress admin CSS moves sidebar submenu items off-screen until the parent menu is hovered, so clicks report the element is outside the viewport. Hovering the parent first or using a JS click works around it.
How do I install playground-website-debugging?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is playground-website-debugging free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is playground-website-debugging safe to use?
It scores 78 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to playground-website-debugging?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
