Skip to main content
skill CX Codex

wp-project-triage — Claude Code skill: what it does, how to install

The skill inspects a WordPress repo and prints JSON: project kind, tooling and tests found, version hints. Handy before you touch an unfamiliar plugin or theme.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add WordPress/agent-skills --skill wp-project-triage -a claude-code
Open on GitHub

What wp-project-triage does

Point it at a WordPress folder and it tells you what lives there: a plugin, a classic theme, a block theme, WP core, Gutenberg, or a whole site. The answer comes back as JSON with the project kind, the signals it found, and the tooling in place.

Mechanically it is one script. node skills/wp-project-triage/scripts/detect_wp_project.mjs writes the report to stdout, and skills/wp-project-triage/references/triage.schema.json documents the expected shape. The agent then reads that report to pick guardrails: which commands exist, whether tests are set up, which versions the code targets. When a signal is missing, the author's advice is to extend the detector instead of guessing.

It targets WordPress 7.0+ and PHP 7.4.0+; the agent needs bash and node, and some workflows call for WP-CLI. That is worth checking before the first run. Got unknown back? Confirm the repo root. Scan dragging? Add ignore directories to the script. Re-run it once theme.json, block.json or a build config shows up.

What it helps with

  • tell a plugin apart from a block theme before editing
  • see which tests and build scripts the repo already carries
  • find the WordPress and PHP versions the code aims at
  • hand a machine-readable report to agent guardrails
  • re-check the structure after adding theme.json or a build config

Example prompts for the agent

  • Run node skills/wp-project-triage/scripts/detect_wp_project.mjs and tell me what kind of project this folder is.
  • Look at the triage report first: which tests can I actually run here?
  • The report says unknown — check the repo root and run the detector again.

How to install wp-project-triage

1Skills CLI (Vercel)

npx skills add WordPress/agent-skills --skill wp-project-triage -a claude-code

2Manually: put the files in place

~/.claude/skills/wp-project-triage/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wp-project-triage/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about wp-project-triage

How do I install wp-project-triage in Claude Code?

Run npx skills add WordPress/agent-skills --skill wp-project-triage -a claude-code. The skill file lands at ~/.claude/skills/wp-project-triage/SKILL.md.

What does wp-project-triage do?

It works out the kind of WordPress project and collects tooling, test and version signals into a structured JSON report. The agent uses that report to choose commands and checks.

What does it need to run?

WordPress 7.0+ and PHP 7.4.0+ in the project, plus bash and node on the agent side. Some workflows also require WP-CLI, so check for it up front.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set19

wp-block-themes Guides the agent through building WordPress block themes, editing theme.json, and organizing templates. Useful when styles fail to apply in the Site Editor. CX Codex +1 5,800installs wp-rest-api A skill for WordPress REST API work: register routes, validate arguments, wire permission checks, and track down 401 or 404 responses. CX Codex +1 5,900installs wp-block-development A WordPress skill for Claude Code, Codex and Cursor that walks an agent through Gutenberg block work, from block.json metadata down to deprecations. CX Codex +1 5,500installs wordpress-router Identifies the structure of a WordPress codebase and directs the agent to the appropriate workflow. Useful before starting work on plugins, themes, or core checkouts. CX Codex +1 5,600installs wp-wpcli-and-ops A skill for WordPress operations through wp: move domains, export the database, install plugins, inspect cron. Useful when the agent has to touch a live site, not just theme files. CX Codex +1 5,500installs wp-playground A thin routing wrapper that picks the right WordPress Playground workflow for the agent: Blueprint, local CLI, browser share links or debugging. CX Codex +1 4,700installs wp-phpstan Sets up PHPStan static analysis in WordPress plugins and themes, while managing baselines and WordPress-specific PHPDoc types. CX Codex +1 4,600installs wp-abilities-api A skill for WordPress Abilities API work: registering abilities and categories in PHP, exposing them over REST, reading them in JS. Useful when a client can't see an ability. CX Codex +1 4,300installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor