
Wp Project Triage
Before you start refactoring a WordPress repo or setting up CI, run this to get a deterministic JSON report of what you're actually dealing with. It scans for project type (plugin, theme, block theme, core), checks what tooling is present (Composer, npm, webpack), looks for tests, and pulls version hints from headers and manifests. The schema is documented, so you can wire it into workflows or guardrails without guessing. It's especially useful if you're building agents or scripts that need to adapt behavior based on repo structure. If it reports "unknown" you're probably in the wrong directory, and if you need signals it doesn't catch yet, you're meant to extend the detector script rather than work around it.
- skills.sh installs
- 5.9K
- GitHub stars
- 2.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wordpress/agent-skills --skill wp-project-triage --agent claude-codeInstalls into .claude/skills of the current project.
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
- 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.
Sponsors
Details
- Repository
- github.com/wordpress/agent-skills
- Categories
- Documentation, AI & Agent Building, Release Management, PHP & Laravel
- First seen
- Apr 16, 2026
More from wordpress/agent-skills
All 17- Wp Block Development5.9K
- Wp Playground5.1K
- Wp Phpstan4.9K
- Wp Abilities Api4.6K
- Wp Interactivity Api4.5K
- Wpds4.3K
- Blueprint4K
- Wp Plugin Directory Guidelines3.9K
- Wp Abilities Audit2.9K
- Wp Abilities Verify2.8K
- Wp Plugin Development8.6K
- Wp Performance6.7K
- Wp Rest Api6.3K
- Wp Block Themes6.3K
- Wordpress Router6K
- Wp Wpcli And Ops6K