
Wordpress Router
wordpress/agent-skillsOfficial
Routes WordPress repos to the right workflow by first classifying plugin, theme, block theme, or core checkout.
- skills.sh installs
- 6.3K
- GitHub stars
- 2.4K
- last updated
- Aug 21, 2026
What it does
- Covers triage of the repo root via
detect_wp_project.mjs, then routing to blocks, theme.json, REST API, WP-CLI, performance, security, testing, and release work - Reads
composer.json,package.json,style.css,block.json,theme.json, andwp-content/when the project kind is unknown - Enforces a confirmation of WordPress version targets and the repo's existing build and test tooling before any changes are made
- Designed for agents starting most WordPress tasks that need a quick project classification and delegation to a domain skill
Install
$ npx -y skills add wordpress/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/wordpress/agent-skills
- Categories
- PHP & Laravel, Skill & Plugin Building
- First seen
- Apr 16, 2026
More from wordpress/agent-skills
All 17- Wp Wpcli And Ops6.2K
- Wp Project Triage6.2K
- Wp Block Development6.1K
- Wp Playground5.3K
- Wp Phpstan5.1K
- Wp Abilities Api4.8K
- Wp Interactivity Api4.6K
- Wpds4.5K
- Blueprint4.1K
- Wp Plugin Directory Guidelines4.1K
- Wp Abilities Audit3.1K
- Wp Abilities Verify3K
- Wp Plugin Development9K
- Wp Performance7K
- Wp Rest Api6.6K
- Wp Block Themes6.5K
Similar to Wordpress Router
More PHP & Laravel
wp-project-triageSkillwordpress/agent-skills6.2K installsDeterministic WordPress repository inspector that outputs a JSON report of project type, tooling, and version hints.
wp-playgroundSkillwordpress/agent-skills5.3K installsRoutes ambiguous WordPress Playground work to the right local CLI, browser sharing, debugging, or Blueprint workflow.
wordpress-plugin-developmentSkillsickn33/agentic-awesome-skills125 installsWordPress plugin development workflow covering architecture, hooks, admin screens, REST endpoints, and WordPress 7.0 features.
wordpress-contentSkilljezweb/claude-skills1.7K installsCreate, update, and schedule WordPress posts, pages, media, taxonomy, and menus via WP-CLI or REST.
wp-block-themesSkillautomattic/agent-skills533 installsFilesystem-based workflow for building WordPress block themes, covering theme.json, templates, patterns, and style variations.
wordpressPluginjezweb/claude-skills1.1K starsManage WordPress sites: content creation, blog posts, media, Elementor page editing, and WP-CLI workflows.