@wordpress/wp-project-triage

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.

View in AI SkillSafe app
2368 downloads
0 stars
0 demos
SKILL.md
namewp-project-triage
descriptionUse 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.
compatibilityTargets WordPress 7.0+ (PHP 7.4.0+). Filesystem-based agent with bash + node. Some workflows require WP-CLI.

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.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@wordpress/wp-project-triage/verified)](https://skillsafe.ai/skill/@wordpress/wp-project-triage/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@wordpress/wp-project-triage/installs)](https://skillsafe.ai/skill/@wordpress/wp-project-triage/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@wordpress/wp-project-triage/scan)](https://skillsafe.ai/skill/@wordpress/wp-project-triage/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@wordpress/wp-project-triage/eval)](https://skillsafe.ai/skill/@wordpress/wp-project-triage/)