Skip to content
wordpress-router logo

WordPress Router

wordpress-router

Before you touch a WordPress repo, this skill figures out what you're actually working with.

SKILL.md

Full skill instructions

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

  1. Run the project triage script:
    • node skills/​wp-project-triage/​scripts/​detect_wp_project.mjs
  2. 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.
  3. Route to domain workflows based on user intent + repo kind:
    • For the decision tree, read: skills/​wordpress-router/​references/​decision-tree.md.
  4. Apply guardrails before making changes:
    • Confirm any version constraints if unclear.
    • Prefer the repo’s existing tooling and conventions for builds/​tests.

Verification

  • Re-run the triage script if you create or restructure significant files.
  • Run the repo’s lint/​test/​build commands that the triage output recommends (if available).

Failure modes / debugging

  • If triage reports kind: unknown, inspect:
    • root composer.json, package.json, style.css, block.json, theme.json, wp-content/.
  • If the repo is huge, consider narrowing scanning scope or adding ignore rules to the triage script.

Escalation

  • If routing is ambiguous, ask one question:
    • “Is this intended to be a WordPress plugin, a theme (classic/​block), or a full site repo?”

More PHP & Laravel skills

Handles the full WordPress plugin development cycle: structure, activation hooks, Settings API, security hardening, and release prep.

2.2K 7.1K
View
wp-performance logo
PHP & Laravel

wp-performance

A backend-only profiling workflow for slow WordPress sites when you can't click around in wp-admin.

2.2K 5.3K
View
wp-rest-api logo
PHP & Laravel

wp-rest-api

This handles the full lifecycle of WordPress REST API work: registering custom routes with proper namespacing, exposing custom post...

2.2K 5.2K
View
wp-block-themes logo
PHP & Laravel

wp-block-themes

Handles the full filesystem layer of WordPress block theme development: theme.json editing for global settings and styles, template and...

2.2K 5.2K
View

This covers the full lifecycle of WordPress Gutenberg block development: scaffolding with @wordpress/create-block, managing block.json...

2.2K 4.9K
View
wp-wpcli-and-ops logo
PHP & Laravel

wp-wpcli-and-ops

This is a guardrails-first approach to WordPress operations through WP-CLI.

2.2K 4.8K
View
wp-project-triage logo
PHP & Laravel

wp-project-triage

Before you start refactoring a WordPress repo or setting up CI, run this to get a deterministic JSON report of what you're actually...

2.2K 4.7K
View
wp-playground logo
PHP & Laravel

wp-playground

Use for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground/cli (server, run-blueprint, build-snapshot), auto-mounting plugins/themes, switching WP/PHP versions, blueprints, and debugging (Xdebug).

2.2K 4.1K
View
wp-phpstan logo
PHP & Laravel

wp-phpstan

Configures and manages PHPStan static analysis for WordPress plugins and themes, handling the quirks that make WordPress codebases...

2.2K 4.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View