wordpress-router

Classify WordPress repositories and route to the appropriate domain skill.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/HungNth/wordpress-notify-nth --skill wordpress-router-hungnth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wordpress-router
Source: https://github.com/HungNth/wordpress-notify-nth/tree/main/.opencode/skills/wordpress-router
Command: npx skills add https://github.com/HungNth/wordpress-notify-nth --skill wordpress-router-hungnth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers quickly identify the type of WordPress codebase (plugin, theme, block theme, WP core checkout, or full site) and route the work to the correct specialized domain skill.

Core Features & Use Cases

  • Repo kind detection: Classifies the repository by inspecting common indicators (package.json, composer.json, block.json, theme.json, wp-content).
  • Guardrails and routing: Routes to targeted WordPress domain skills based on user intent and repository kind.
  • Quick setup at task start: Provides a consistent starting point to minimize misrouting and setup overhead.
  • Use Case: At project kickoff, classify a repo as a plugin and automatically hand off to the wp-plugin-development skill.

Quick Start

Run the project triage script to classify the repo and follow the emitted routing guidance, e.g., node skills/wp-project-triage/scripts/detect_wp_project.mjs and consult skills/wordpress-router/references/decision-tree.md.

Frequently Asked Questions about wordpress-router

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

FAQPage Schema
How do I identify whether a WordPress codebase is a plugin, theme, or core checkout?

To identify a WordPress codebase, inspect repository indicators like package.json, composer.json, block.json, theme.json, and wp-content. This classification determines whether the project is a plugin, theme, block theme, WP core checkout, or full site for accurate workflow routing.

What is the best way to route WordPress development tasks to the correct workflow?

The best way to route WordPress tasks is by running a project triage script that analyzes repository indicators. It classifies the codebase and applies decision-tree guidance to delegate work to specialized domain skills based on user intent and repository kind.

Does WordPress routing work with both block themes and classic themes?

Yes, WordPress routing works with both block themes and classic themes. The detection mechanism inspects specific files like theme.json and block.json to distinguish between block themes, standard themes, plugins, and WP core checkouts before delegating.

Can I use WP-CLI to classify a repository during project setup?

You can classify a repository by running the project triage script, such as node skills/wp-project-triage/scripts/detect_wp_project.mjs. This script analyzes repository indicators to provide consistent starting points and minimize misrouting overhead at task kickoff.

Why does my WordPress project keep getting misrouted to the wrong development workflow?

WordPress projects get misrouted when repository indicators are ambiguous or missing. The triage script relies on detecting files like composer.json and wp-content to apply guardrails and route accurately, so ensuring these indicators exist prevents incorrect workflow delegation.