New advertisers: 50% off your first month with code FIRSTMONTHSee slots
wordpress avatar

Wp Project Triage

Deterministic WordPress repository inspector that outputs a JSON report of project type, tooling, and version hints.

skills.sh installs
6.2K
GitHub stars
2.4K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers plugins, themes, block themes, WP core, Gutenberg, and full sites, reporting project kind, signals, tooling, tests, and version sources
  • Includes the detect_wp_project.mjs script, which prints JSON to stdout, and a triage.schema.json output contract
  • Guides workflow guardrails by reporting PHP and Node tooling presence, test availability, and where version hints come from
  • Designed for agents that need repo conventions and commands confirmed before making changes to an unfamiliar WordPress project

Install

$ npx -y skills add wordpress/agent-skills --skill wp-project-triage -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

WP Project Triage

When to use

Use this skill to quickly understand what kind of WordPress repo you’re in and what commands/conventions to follow before making changes.

Inputs required

  • Repo root (current working directory).

Procedure

  1. Run the detector (prints JSON to stdout):
    • node skills/wp-project-triage/scripts/detect_wp_project.mjs
  2. If you need the exact output contract, read:
    • skills/wp-project-triage/references/triage.schema.json
  3. Use the report to select workflow guardrails:
    • project kind(s)
    • PHP/Node tooling present
    • tests present
    • version hints and sources
  4. If the report is missing signals you need, update the detector rather than guessing.

Verification

  • The JSON should parse and include: project.kind, signals, and tooling.
  • Re-run after changes that affect structure/tooling (adding theme.json, block.json, build config).

Failure modes / debugging

  • If it reports unknown, check whether the repo root is correct.
  • If scanning is slow, add/extend ignore directories in the script.

Details

Repository
github.com/wordpress/agent-skills
Category
PHP & Laravel
First seen
Apr 16, 2026

More from wordpress/agent-skills

All 17

Similar to Wp Project Triage

More PHP & Laravel