wp-project-triage
We need to translate the given text from English to Brazilian Portuguese. The text describes a deterministic WordPress repository inspection tool that outputs structured JSON. We must preserve the name "wp-project-triage" but it's not in the text, so we don't include it. Also preserve technical terms like JSON, Node.js, PHP, etc. No extra commentary. Translation: "Inspeção determinística de repositório WordPress com saída JSON estruturada para orientação de fluxo de trabalho. Detecta o tipo de projeto (plugin, tema, tema de bloco, WP core, Gutenberg, site completo) e gera um relatório JSON validado por esquema incluindo ferramentas, testes e dicas de versão. Executa via script detector Node.js na raiz do repositório; gera os campos project.kind, signals e tooling para orientar fluxos de trabalho downstream. Identifica a presença de ferramentas PHP/Node e frameworks de teste para informar quais comandos e convenções..." Note: The original text ends with
npx skills add https://github.com/wordpress/agent-skills --skill wp-project-triageWP 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.