Skip to content
automattic avatar

Wp Project Triage

Deterministic WordPress repository inspector that emits a structured JSON triage report for guiding workflows.

CCM score
50 of 100
skills.sh installs
365
GitHub stars
211
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project kind detection for plugins, themes, block themes, WP core, Gutenberg, and full sites
  • Reports tooling, test presence, and version hints with their sources, using the schema in triage.schema.json
  • Provides project.kind, signals, and tooling fields that downstream workflow guardrails can select against
  • Designed for agents working in a WordPress 6.9+ repo before making changes, with WP-CLI needed for some workflows

Install

$ npx -y skills add automattic/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/automattic/agent-skills
Category
PHP & Laravel
First seen
Jun 3, 2026

Questions

What does the wp-project-triage skill do?

wp-project-triage runs a deterministic inspection of a WordPress repository, covering plugins, themes, block themes, WP core, Gutenberg and full sites. It reports project kind, tooling, tests and version hints as structured JSON that guides later workflows.

How do I install wp-project-triage?

Run npx -y skills add automattic/agent-skills --skill wp-project-triage -y in your project. After that, wp-project-triage lets the agent detect what kind of WordPress repo it is in before making changes.

Where does wp-project-triage rank in its category?

wp-project-triage sits in the PHP & Laravel category and ranks in the top 100 on that category page. It is aimed at WordPress repositories rather than Laravel projects, which sets it apart from the skills around it.

What does wp-project-triage need to run?

wp-project-triage needs a filesystem-based agent with bash and node, and its target is WordPress 6.9+ with PHP 7.2.24+. Some of its workflows require WP-CLI.

More from automattic/agent-skills

All 12

Similar to Wp Project Triage

More PHP & Laravel