A free, open source test runner for WordPress
One command runs the checks wordpress.org and ThemeForest reviewers run, adds static analysis, and writes one report.
npx wp-shakedown run ./my-theme php-lint: Checking syntax with PHP 8.4.25.ok php-lint: 0 findings, 0.3sok theme-check: 3 findings, 1.1sok wp-json: 1 finding, 0.4s php-compat: Checking against PHP 7.4 and newer.ok php-compat: 2 findings, 2.8sok wpcs: 41 findings, 3.6sok theme-review: 6 findings, 0.6s2 errors, 19 warnings, 32 notes.5 fixed, 1 new, 52 still open.Report: ~/.wp-shakedown/reports/aurora-3f9c1a/report.md01 / Checks
Every finding lands in one schema with a stable ID, so baselines and diffs work across all of them.
On a theme or a plugin
| php-lint | php -l | PHP syntax errors |
| theme-check | Theme Check | What the theme directory rejects on upload |
| wpcs | PHPCS + WPCS | Unescaped output, missing nonces, unprepared SQL |
| php-compat | PHPCompatibilityWP | Code your Requires PHP cannot run |
| phpstan | PHPStan | Calls to functions that do not exist |
| wp-json | JSON Schema | Mistakes in theme.json and block.json |
| eslint | ESLint | Undefined variables, hook mistakes |
| stylelint | Stylelint | Invalid values, duplicate selectors |
| theme-review | Own rules | What human theme reviewers ask for |
On a WordPress folder, read-only
| integrity | Core and plugin files that differ from the release |
| updates | Outdated, abandoned and closed software |
| vulnerabilities | Known vulnerabilities in installed versions |
| config | Risky settings and files in the web root |
| site-health | The Site Health tests, through WP-CLI |
02 / Web page
A local page on 127.0.0.1 for every project you track. Runs wait in a queue, three at a time.
aurora
theme
2 errors, 19 warnings
2 min ago
client-site
WordPress folder · 14 parts
6 warnings
3 h ago
shop-tools
plugin
lumen
theme
Clean
1 d ago
Ran 2 min ago, wporg-theme. 5 fixed, 1 new, 52 still open
aurora
theme ~/Sites/wp/wp-content/themes/aurora
Experimental checks from theme reviews
03 / Profiles
04 / Ways in
npx wp-shakedown run . --fail-on warning
npx wp-shakedown ui
npx -y wp-shakedown mcp
Exit codes and SARIF for CI, a local page for your projects, an MCP server for Claude Code or Cursor.
05 / Decisions
06 / Questions
Yes. GPL-2.0-or-later, no paid tier, no account.
Your code does not. Theme and plugin slugs with their versions go to wordpress.org and WPVulnerability to look up updates and vulnerabilities.
They make the PHP checks fastest. Without them, WP_SHAKEDOWN_PHP=bundled runs the same checks on the WebAssembly PHP of WordPress Playground.
wp-shakedown runs exactly those. It adds pinned versions, one finding format for fourteen engines, a baseline and a diff against the last run.
It runs the automated part and the points human theme reviewers raise most. Keyboard focus and menus still need a person.
Node.js 22.18 or newer on macOS and Linux. Windows is not tested yet.
Oleksandr Poslushnyak, who makes WordPress themes at jkdevstudio. AI agents write most of the code and he reviews every change.