WordPress Router

94TrustedInstructions only

Categorization of WordPress codebases to trigger appropriate development workflows.

What it does

Wordpress Router acts as a dispatcher for WordPress development projects. By identifying the specific nature of a directory, it ensures the assistant uses relevant standards for plugins, themes, or core distributions before attempting any modifications.

This system standardizes how technical tasks are approached by matching the codebase structure against established WordPress development patterns. It prevents misapplication of tools by verifying the project type first, ensuring that subsequent actions align with the environment's specific constraints and requirements.

When it earns its place

Reach for it when…

Apply this at the inception of any task involving a WordPress project, especially when jumping into a new or unfamiliar codebase where the specific architecture—such as block themes, plugin structures, or full site checkouts—is not immediately documented.

Look elsewhere when…

This is not designed for direct code editing or generating content blocks. Avoid using it if you are already inside a specific workflow that has clearly defined parameters, or when working on web technologies outside the WordPress ecosystem where its detection logic is irrelevant.

What to say to use it

You never invoke a skill directly — the assistant picks it up when your request matches what it covers. These are the kinds of things that do that.

  • Identify what type of WordPress project this is
  • Prepare the environment for a new plugin task
  • Which workflow should I use for this theme repo
  • Help me sort out the architecture of this site

Install it

Install for all your projects

Copy the skill directory into your personal skills folder. Claude picks it up on its own the next time your request matches what it does — there is nothing to enable.

bash
git clone --depth 1 --branch trunk https://github.com/WordPress/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/wordpress-router ~/.claude/skills/wordpress-router

Install for one project only

Put it in the project's own skills folder instead, so it can be committed and shared with everyone working on that repository.

bash
cp -r /tmp/agent-skills/skills/wordpress-router .claude/skills/wordpress-router

If a skill of the same name exists in both places, the personal one wins.

Installing on Claude.ai or through the API instead? The full guide covers every surface.

Pair it with an MCP server