WordPress/wordpress-router
Classifies WordPress repos and routes to the right workflow
Open source
Description
wordpress-router is an agent skill from the WordPress project that sorts a WordPress codebase into its type at the start of a task and sends the work to the right workflow. Before an agent edits anything, it works out whether the repository is a plugin, a classic theme, a block theme, a Gutenberg block or a WordPress core checkout. It does this with a triage script that reads files such as composer.json, package.json, style.css and block.json, rather than leaving the agent to scan for them by hand. Once the type is known, the skill hands the task to the matching domain skill and its guardrails. Examples from the skill's own use cases include routing a block theme to the theme.json and full-site editing workflow, checking for WP-CLI before running scaffolding commands, choosing a test runner for a new repository, and picking the REST API workflow for a plugin that mixes custom endpoints and blocks. It also resolves cases where a repo could match more than one type. It suits developers who point a coding assistant at unfamiliar WordPress code and want it to start from the right place.…
Highlights
- Detects plugin, classic theme, block theme, block or core
- Runs a triage script over project files
- Routes the task to the matching WordPress workflow
- Helps pick test runners and tooling for new repos
Ratings & Reviews
No ratings yet
Be the first to rate WordPress/wordpress-router.
People also visit
WordPress/wordpress-router FAQ
What does this skill do?
It classifies a WordPress repository and routes the task to the right workflow or domain skill.
How do I install it?
Run npx skills add https://github.com/WordPress/agent-skills --skill wordpress-router, or paste the repository link and ask your coding assistant to install it.
Who is it for?
Developers working on WordPress plugins, themes or blocks with a coding assistant.
Which project types does it detect?
Plugins, classic themes, block themes, Gutenberg blocks and WordPress core checkouts.
Is it free?
The skill is in a public repository on GitHub and the page shows no price, so it is open source.
What are the best WordPress/wordpress-router alternatives?
Popular alternatives to WordPress/wordpress-router include WordPress/wp-project-triage, wordpress-router and wp-project-triage. See all WordPress/wordpress-router alternatives











