Wordpress Router
Routes WordPress repos to the right workflow by classifying plugins, themes, block themes, and core checkouts first.
- CCM score
- 50 of 100
- skills.sh installs
- 475
- GitHub stars
- 211
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers the first step of most WordPress tasks: classifying the codebase as plugin, classic or block theme, WP core checkout, or full site
- Runs
detect_wp_project.mjstriage, then reads the output for project kind, available tooling, present test suites, and version hints - Points to a decision tree for choosing among blocks, theme.json, REST API, WP-CLI, performance, security, testing, and release workflows
- Designed for agents working on WordPress 6.9+ (PHP 7.2.24+) repos, with some workflows requiring WP-CLI
Install
$ npx -y skills add automattic/agent-skills --skill wordpress-router -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
WordPress Router
When to use
Use this skill at the start of most WordPress tasks to:
- identify what kind of WordPress codebase this is (plugin vs theme vs block theme vs WP core checkout vs full site),
- pick the right workflow and guardrails,
- delegate to the most relevant domain skill(s).
Inputs required
- Repo root (current working directory).
- The user’s intent (what they want changed) and any constraints (WP version targets, WP.com specifics, release requirements).
Procedure
- Run the project triage script:
node skills/wp-project-triage/scripts/detect_wp_project.mjs
- Read the triage output and classify:
- primary project kind(s),
- tooling available (PHP/Composer, Node, @wordpress/scripts),
- tests present (PHPUnit, Playwright, wp-env),
- any version hints.
- Route to domain workflows based on user intent + repo kind:
- For the decision tree, read:
skills/wordpress-router/references/decision-tree.md.
- For the decision tree, read:
- Apply guardrails before making changes:
- Confirm any version constraints if unclear.
- Prefer the repo’s existing tooling and conventions for builds/tests.
Verification
Details
- Repository
- github.com/automattic/agent-skills
- Category
- PHP & Laravel
- First seen
- Jun 3, 2026
Questions
What does the wordpress-router skill do?
It classifies a WordPress codebase, such as a plugin, theme, block theme, WP core checkout or full site, and routes the task to the right workflow or domain skill. It runs a project triage script first, then reads a decision tree to pick the right next step. It targets WordPress 6.9+ with PHP 7.2.24+.
How do I install the wordpress-router skill?
Run npx -y skills add automattic/agent-skills --skill wordpress-router -y inside your project. Once installed, the agent uses it at the start of WordPress tasks to identify the repo type before making changes.
Which other skills are in the PHP & Laravel category?
wordpress-router ranks in the top 100 on the PHP & Laravel category page. Other skills that lead that category include laravel-specialist, php-pro, laravel-patterns, laravel-verification and laravel-plugin-discovery. This skill focuses on WordPress repo routing rather than Laravel or general PHP work.
Does wordpress-router require any tools?
The skill works as a filesystem-based agent with bash and node. Some of the workflows it routes to need WP-CLI.
More from automattic/agent-skills
All 12Similar to Wordpress Router
More PHP & Laravelwp-project-triageautomattic/agent-skills365 installsDeterministic WordPress repository inspector that emits a structured JSON triage report for guiding workflows.
wp-block-themesautomattic/agent-skills563 installsFilesystem-based workflow for building WordPress block themes, covering theme.json, templates, patterns, and style variations.
wp-playgroundwordpress/agent-skills5.7K installsRoutes ambiguous WordPress Playground work to the right local CLI, browser sharing, debugging, or Blueprint workflow.
wordpress-plugin-developmentsickn33/agentic-awesome-skills125 installsWordPress plugin development workflow covering architecture, hooks, admin screens, REST endpoints, and WordPress 7.0 features.
wp-block-developmentwordpress/agent-skills6.6K installsStructured workflow for building WordPress Gutenberg blocks, covering block.json, registration, rendering, and migrations.
wordpress-plugin-fundamentalsbobmatnyc/claude-mpm-skills455 installsModern WordPress plugin scaffolding with OOP structure, hooks, wpdb access, and Settings API guidance.