wp-project-triage
Original:🇺🇸 English
Translated
1 scriptsChecked / no sensitive code detected
Use when you need a deterministic inspection of a WordPress repository (plugin/theme/block theme/WP core/Gutenberg/full site) including tooling/tests/version hints, and a structured JSON report to guide workflows and guardrails.
8installs
Sourceautomattic/agent-skills
Added on
NPX Install
npx skill4agent add automattic/agent-skills wp-project-triageTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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
- 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, andsignals.tooling - Re-run after changes that affect structure/tooling (adding ,
theme.json, build config).block.json
Failure modes / debugging
- If it reports , check whether the repo root is correct.
unknown - If scanning is slow, add/extend ignore directories in the script.