Skill Press

No. 963 · wp-project-triage

WP Project Triage

A field guide from WordPress

WordPress

When to use it

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.

Rank
No. 963 of 971
Installs
Not listed yet
Runs in
Claude, GitHub Copilot, Codex, Cursor
Length
153 words · 1 min
Files
5
License
GPL-2.0-or-later

Get this skill

Download the skill folder (.zip, 14 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "wp-project-triage" Agent Skill by WordPress, from https://github.com/WordPress/agent-skills.

1. Fetch the whole folder skills/wp-project-triage — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/WordPress/agent-skills.git 7374e6f1c913b3b02b25465d266d9c0e0a04fc96
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "wp-project-triage":
   - Claude Code: ~/.claude/skills/wp-project-triage/ (all projects) or .claude/skills/wp-project-triage/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that wp-project-triage/SKILL.md exists and its frontmatter says name: wp-project-triage.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/WordPress/agent-skills/tree/7374e6f1c913b3b02b25465d266d9c0e0a04fc96/skills/wp-project-triage --skill wp-project-triage

Claude.ai

Upload the .zip as a custom skill.

  1. In Settings → Capabilities, turn on “Code execution and file creation”.
  2. Download the .zip above.
  3. Go to Customize → Skills, click + → Create skill → Upload a skill, and choose it.
Anthropic’s guide to using skills ↗

Contents

  1. When to use
  2. Inputs required
  3. Procedure
  4. Verification
  5. Failure modes / debugging

The skill, in full

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.

More in Testing & Code Review

All Testing & Code Review skills →

More from WordPress

From WordPress/agent-skills at 7374e6f, GPL-2.0-or-later. Install counts from skills.sh.