A free, open source test runner for WordPress

WordPress is real software. Test it that way

One command runs the checks wordpress.org and ThemeForest reviewers run, adds static analysis, and writes one report.

npx wp-shakedown run ./my-theme
Star
~/themes
php-lint: Checking syntax with PHP 8.4.25.
ok php-lint: 0 findings, 0.3s
ok theme-check: 3 findings, 1.1s
ok wp-json: 1 finding, 0.4s
php-compat: Checking against PHP 7.4 and newer.
ok php-compat: 2 findings, 2.8s
ok wpcs: 41 findings, 3.6s
ok theme-review: 6 findings, 0.6s
2 errors, 19 warnings, 32 notes.
5 fixed, 1 new, 52 still open.
Report: ~/.wp-shakedown/reports/aurora-3f9c1a/report.md

01 / Checks

Fourteen engines, one report

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-lintPHP syntax errors
theme-checkWhat the theme directory rejects on upload
wpcsUnescaped output, missing nonces, unprepared SQL
php-compatCode your Requires PHP cannot run
phpstanCalls to functions that do not exist
wp-jsonMistakes in theme.json and block.json
eslintUndefined variables, hook mistakes
stylelintInvalid values, duplicate selectors
theme-reviewWhat human theme reviewers ask for

On a WordPress folder, read-only

integrityCore and plugin files that differ from the release
updatesOutdated, abandoned and closed software
vulnerabilitiesKnown vulnerabilities in installed versions
configRisky settings and files in the web root
site-healthThe Site Health tests, through WP-CLI

02 / Web page

npx wp-shakedown ui

A local page on 127.0.0.1 for every project you track. Runs wait in a queue, three at a time.

Projects
QuickStandardDeep
Run allAdd
  • aurora

    theme

    2 errors, 19 warnings

    2 min ago

  • client-site

    WordPress folder · 14 parts

    6 warnings

    3 h ago

  • shop-tools

    plugin

    4 of 7 · wpcs
  • lumen

    theme

    Clean

    1 d ago

Every theme, plugin and site you track, with its last result
2Errors
19Warnings
32Notes

Ran 2 min ago, wporg-theme. 5 fixed, 1 new, 52 still open

The summary of the last run
  1. php-lint0 findings
  2. theme-check3 findings
  3. wp-json1 finding
  4. wpcsRunning
  5. php-compatWaiting
Engines report as they finish

aurora

theme ~/Sites/wp/wp-content/themes/aurora

WordPress.org theme directory
QuickStandardDeep
Run the checks

Experimental checks from theme reviews

Open the reportCopy a prompt for an assistant
One project: profile, depth, run, then hand the report to an assistant

03 / Profiles

One gate at a time

wporg-theme
A theme for the wordpress.org directory
envato
A theme for ThemeForest, with Envato's Theme Check
wporg-plugin
A plugin for the wordpress.org directory
site
A whole WordPress folder

04 / Ways in

Terminal, browser or agent

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

Why the results hold up

php -l runs on its own
PHPCS says nothing about a file it cannot parse.
IDs carry no line number
A warning stays the same warning when code above it moves.
Every tool version is pinned
Two machines give the same report.
The site is never written to
Reports go to ~/.wp-shakedown/reports.

06 / Questions

FAQ

Is it free?

Yes. GPL-2.0-or-later, no paid tier, no account.

What leaves my machine?

Your code does not. Theme and plugin slugs with their versions go to wordpress.org and WPVulnerability to look up updates and vulnerabilities.

Do I need PHP and Composer?

They make the PHP checks fastest. Without them, WP_SHAKEDOWN_PHP=bundled runs the same checks on the WebAssembly PHP of WordPress Playground.

Why not run PHPCS and PHPStan myself?

wp-shakedown runs exactly those. It adds pinned versions, one finding format for fourteen engines, a baseline and a diff against the last run.

Does it replace the directory review?

It runs the automated part and the points human theme reviewers raise most. Keyboard focus and menus still need a person.

Which systems?

Node.js 22.18 or newer on macOS and Linux. Windows is not tested yet.

Who builds it?

Oleksandr Poslushnyak, who makes WordPress themes at jkdevstudio. AI agents write most of the code and he reviews every change.

Run it before the reviewer does

npx wp-shakedown run ./my-theme
Read the docs