
Wordpress Router
Before you touch a WordPress repo, this skill figures out what you're actually working with. It runs a triage script that detects whether you've got a plugin, theme, block theme, or core checkout, checks what tooling is present (Composer, @wordpress/scripts, PHPUnit, wp-env), then routes you to the right workflow based on your intent. The decision tree lives in a reference doc, so routing is consistent. Honestly, this is just good hygiene for any WordPress automation. If you skip classification and guess wrong, you'll waste time running the wrong build commands or missing required tests. One clarifying question beats ten minutes of backtracking.
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 5
- skills.sh installs
- 6K
- GitHub stars
- 2.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wordpress/agent-skills --skill wordpress-router --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/wordpress/agent-skills
- Categories
- Backend & APIs, Testing & QA, Security, AI & Agent Building, Release Management, Debugging, Automation & Workflows, CLI & Terminal, PHP & Laravel
- First seen
- Apr 16, 2026
More from wordpress/agent-skills
All 17- Wp Wpcli And Ops6K
- Wp Project Triage5.9K
- Wp Block Development5.9K
- Wp Playground5.1K
- Wp Phpstan4.9K
- Wp Abilities Api4.6K
- Wp Interactivity Api4.5K
- Wpds4.3K
- Blueprint4K
- Wp Plugin Directory Guidelines3.9K
- Wp Abilities Audit2.9K
- Wp Abilities Verify2.8K
- Wp Plugin Development8.6K
- Wp Performance6.7K
- Wp Rest Api6.3K
- Wp Block Themes6.3K