About wp-project-triage
wp-project-triage is a skill for identifying the type and tooling of a WordPress repository before changes are made. It runs a detector that reports project signals, tools, tests, and version hints to guide workflow choices.
Key features
- 01Detect WordPress project kinds
- 02Report PHP and Node tooling
- 03Identify available tests
- 04Show version hints and sources
- 05Emit structured JSON
Use cases
- 01Orient before modifying a WordPress repo
- 02Choose workflow guardrails from detected tooling
- 03Check project signals after structural changes
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ firecrawl/ agent-skills --skill wp-project-triageAfter installing, type/wp-project-triagein Claude Code to confirm it loaded.
Bundled filesreferences/triage.schema.jsonscripts/detect_wp_project.mjs
Details
From the project READMEWP 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
- Run the detector (prints JSON to stdout):
node skills/wp-project-triage/scripts/detect_wp_project.mjs
- If you need the exact output contract, read:
skills/wp-project-triage/references/triage.schema.json
- Use the report to select workflow guardrails:
- project kind(s)
- PHP/Node tooling present
- tests present
- version hints and sources
- If the report is missing signals you need, update the detector rather than guessing.
Verification
- The JSON should parse and include:
project.kind,signals, andtooling. - 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.
Comments
Markdown supported