wordpress-router

Classify WordPress codebases and route tasks to domain workflows.

9|1|Updated Sep 10, 2022
One-click install
npx skills add https://github.com/WPdoaction/animal-shelter --skill wordpress-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordpress-router
Source: https://github.com/WPdoaction/animal-shelter/tree/main/.claude/skills/wordpress-router
Command: npx skills add https://github.com/WPdoaction/animal-shelter --skill wordpress-router

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps identify WordPress codebase types (plugin, theme, block theme, or core checkout) and routes tasks to the correct domain workflow, enabling faster, accurate project triage.

Core Features & Use Cases

  • Repo kind detection: Classifies a repository into WP codebase categories (plugin, theme, block theme, WP core, or full site).
  • Workflow routing: Delegates to the most relevant domain skill(s) based on user intent and repo kind.
  • Guardrails & guidance: Reads routing guidance from the references and applies sanity checks before applying changes.

Quick Start

Run the project triage script to classify the repository: node skills/wp-project-triage/scripts/detect_wp_project.mjs Review the triage output and route to the appropriate workflow (blocks, theme.json, REST API, WP-CLI, etc.).

Frequently Asked Questions about wordpress-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route a WordPress codebase to the right workflow?

You can route a WordPress codebase by running the project triage script to classify the repository kind, then applying decision-tree guidance to delegate tasks to the correct domain workflow. This enables fast and accurate project triage based on user intent.

What is WordPress codebase triage?

WordPress codebase triage is the process of classifying a repository into categories like plugin, theme, block theme, or WP core checkout. It uses a dedicated detection script and routing references to select the right workflow for the project.

How do I detect if a repository is a WordPress plugin or theme?

To detect if a repository is a WordPress plugin or theme, run the project triage script. It classifies the codebase into WP codebase categories including plugin, theme, block theme, WP core, or full site.

Do I need a specific script to classify WordPress projects?

Yes, you need the WordPress codebase triage script and access to routing references to operate. The Skill requires these components to execute repo kind detection and apply workflow routing guardrails before applying changes.

What's the best way to triage a WordPress block theme repository?

The best way to triage a WordPress block theme repository is running the detection script to classify the repo kind, reviewing the triage output, and routing the task to the appropriate domain workflow like theme.json or blocks.

When should I apply routing guardrails before changing a WordPress codebase?

You should apply routing guardrails before changing a WordPress codebase whenever you need to ensure tasks are delegated to the correct domain skill. The Skill reads routing guidance and applies sanity checks to prevent incorrect modifications.