Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

wordpress-router — Claude Code skill: what it does, how to install

Identifies the structure of a WordPress codebase and directs the agent to the appropriate workflow. Useful before starting work on plugins, themes, or core checkouts.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add WordPress/agent-skills --skill wordpress-router -a claude-code
Open on GitHub

What wordpress-router does

The skill executes node skills/wp-project-triage/scripts/detect_wp_project.mjs to classify the current workspace. It checks whether the project is a plugin, a block theme, or a core checkout. It also detects tooling like Composer, Node, @wordpress/scripts, and test suites like PHPUnit. It prevents misdirected edits.

Next, it reads skills/wordpress-router/references/decision-tree.md to map the task to domain-specific instructions. The skill targets WordPress 7.0+ and PHP 7.4.0+. An environment with bash and Node.js is required, while certain routines also expect WP-CLI. Massive repositories will slow down triage unless you configure ignore rules.

What it helps with

  • classify the repository type across plugins, themes, and core checkouts
  • identify active build tools and test suites like PHPUnit or wp-env
  • route the agent through the appropriate decision tree
  • guard against version mismatches on WordPress codebases

Example prompts for the agent

  • Triage this repository and detect whether it is a plugin or a theme.
  • Inspect the WordPress project structure and report available test runners.
  • Route this Gutenberg block task to the appropriate workflow.

How to install wordpress-router

1Skills CLI (Vercel)

npx skills add WordPress/agent-skills --skill wordpress-router -a claude-code

2Manually: put the files in place

~/.claude/skills/wordpress-router/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wordpress-router/

From the same set8

The whole set →
wp-plugin-development WordPress This skill guides WordPress plugin work, from project structure and hooks to admin settings, security checks and release packaging. Claude Code CX Codex Cursor +1 7,900installs wp-performance WordPress Backend profiling skill for optimizing WordPress sites using WP-CLI, REST headers, and diagnostic scripts without browser access. Claude Code CX Codex Cursor +1 6,100installs wp-block-themes WordPress Guides the agent through building WordPress block themes, editing theme.json, and organizing templates. Useful when styles fail to apply in the Site Editor. Claude Code CX Codex Cursor +1 5,800installs wp-block-development WordPress A WordPress skill for Claude Code, Codex and Cursor that walks an agent through Gutenberg block work, from block.json metadata down to deprecations. Claude Code CX Codex Cursor +1 5,500installs wp-wpcli-and-ops WordPress A skill for WordPress operations through wp: move domains, export the database, install plugins, inspect cron. Useful when the agent has to touch a live site, not just theme files. Claude Code CX Codex Cursor +1 5,400installs wp-phpstan WordPress Sets up PHPStan static analysis in WordPress plugins and themes, while managing baselines and WordPress-specific PHPDoc types. Claude Code CX Codex Cursor +1 4,600installs wpds WordPress Feeds WordPress Design System docs to your agent through an MCP server, so UI work lands on real components and tokens instead of guesses. Claude Code CX Codex Cursor +1 4,000installs

Similar

gitnexus-pdg-query abhigyanpatwari Helps inspect control dependencies and data flow within functions via the GitNexus pdg_query tool. Useful for tracing variable definitions and discovering guard clauses. Claude Code CX Codex Cursor +1 320installs cost-booster-edit ruvnet Runs simple structural code edits through agent-booster's WASM engine with no LLM call and no token bill. Built for the same transform repeated across a project. Claude Code CX Codex Cursor +1 679installs cost-benchmark ruvnet Runs corpus benchmarks to evaluate booster performance and compare spend against Gemini or Claude baselines. Generates verifiable cost tables before releases. Claude Code CX Codex Cursor +1 679installs cli-anything-browser HKUDS This skill maps Chrome's Accessibility Tree to a virtual filesystem. Agents navigate pages, inspect elements, and click buttons with standard terminal commands. Claude Code CX Codex Cursor +1 588installs voice-agents sickn33 A coding skill that walks an agent through building a voice assistant: speech recognition, model reply, synthesis, and the fight over latency. Claude Code CX Codex Cursor +1 890installs browser ruvnet Automates web browsers using agent-browser and accessibility snapshots. It cuts LLM context size by 93% using element references instead of full DOM trees. Claude Code CX Codex Cursor +1 674installs setup-matt-pocock-skills Matt Pocock This skill configures a repository for Matt Pocock's engineering skills by setting its issue tracker, triage labels, and domain docs layout. Run it before using the other skills. Claude Code 1,052,851installs to-tickets Matt Pocock Turns a plan, spec, or conversation into small end-to-end tickets with explicit blockers. Use it to agree on the work breakdown before tickets go to a tracker. Claude Code 711,230installs

Questions about wordpress-router

How do I install wordpress-router in Claude Code?

Run npx skills add WordPress/agent-skills --skill wordpress-router -a claude-code.

What does wordpress-router do?

It runs a project triage script to identify the WordPress project type and routes tasks using a structured decision tree.

What prerequisites does this skill require?

It needs bash, Node.js, and a project targeting WordPress 7.0+ with PHP 7.4.0+. Selected workflows also require WP-CLI.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor