What it does
Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow/skill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging).
Install
This skill ships in WordPress/agent-skills (Official, WordPress core fundamentals).
One command installs it for any assistant. Run this from your project root:
npx skills add WordPress/agent-skills --skill wordpress-router You'll be asked to choose a scope: project (shared with your team, committed to version control) or global (available across all your projects). Add --global to skip the prompt and install globally.
Use it in your AI assistant
The destination folder, and how the assistant discovers it, differs per tool:
Claude Code
.claude/skills/wordpress-router/ (or ~/.claude/skills/wordpress-router/ for all projects)
- Claude Code auto-discovers skills in .claude/skills/ (project) or ~/.claude/skills/ (global, every project).
- Claude reaches for the skill on its own when a task matches its description, or you can name it directly.
GitHub Copilot (VS Code)
.github/skills/wordpress-router/
- The skill is copied into .github/skills/wordpress-router/, where Copilot in VS Code picks it up.
- Copilot Chat applies it automatically once your task matches the skill's description.
OpenAI Codex
.codex/skills/wordpress-router/
- This installs the skill to .codex/skills/wordpress-router/, which Codex reads for standing instructions on matching tasks.
- Point Codex at it directly if needed: "follow .codex/skills/wordpress-router/SKILL.md for this task."
Cursor
.cursor/skills/wordpress-router/ (or ~/.cursor/skills/wordpress-router/ globally)
- Cursor discovers skills in .cursor/skills/ (project) or ~/.cursor/skills/ (global).
- Cursor loads it automatically when a request matches, same as its native Rules.
Compatibility
Targets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.