From data-liberation
Validates WordPress plugins and themes at runtime using wp-now. Starts a local server, checks HTTP responses and PHP debug logs for errors.
How this skill is triggered — by the user, by Claude, or both
Slash command
/data-liberation:testing-wp-runtimeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when you need to verify that a WordPress plugin or theme loads correctly at runtime.
Use this skill when you need to verify that a WordPress plugin or theme loads correctly at runtime.
Do not use this skill for static linting — use testing-php or testing-js for that.
wp-now requires a --mode flag based on the project type:
Plugin Name: header): use --mode=pluginstyle.css with Theme Name: header): use --mode=themeCheck the project root to determine which mode to use:
head -20 *.php style.css 2>/dev/null
Start wp-now in the background on an available port:
wp-now start --mode=<plugin|theme> --port=8881 &
Wait a few seconds for the server to initialize, then verify it is running:
curl -s -o /dev/null -w "%{http_code}" http://localhost:8881/
After the server starts, check the WordPress debug log for errors:
find /tmp -name "debug.log" -path "*/wp-content/*" 2>/dev/null | head -1 | xargs tail -50 2>/dev/null
Look for:
Test key endpoints to verify the project works:
# Homepage
curl -s -o /dev/null -w "%{http_code}" http://localhost:8881/
# wp-admin (should redirect to login)
curl -s -o /dev/null -w "%{http_code}" http://localhost:8881/wp-admin/
For plugins, also check if the plugin is active:
curl -s http://localhost:8881/ | grep -c "<plugin-specific-identifier>"
Always stop wp-now when done testing:
kill $(lsof -t -i:8881) 2>/dev/null
npx claudepluginhub automattic/data-liberation-agent --plugin data-liberationAudits WordPress core, PHP, MySQL/MariaDB, plugins, and themes for outdated versions, compatibility issues, and updates via WP-CLI over SSH.
Assess WordPress installations for vulnerabilities, including WordPress 7.0 attack surfaces like RTC, AI Connector, and Abilities API. Uses WPScan, Metasploit, and enumeration techniques.
Reviews WordPress PHP code for performance anti-patterns in queries, hooks, caching, AJAX, and templates. Use for auditing themes/plugins, optimizing WP_Query, or diagnosing slow loads/timeouts.