Pr agent judge

From gonzalezpazmonica/pm-workspace · View interactive version

Pr agent judge is an AI agent skill from the GitHub repository gonzalezpazmonica/pm-workspace. Usar cuando se añade pr-agent como juez externo en el Code Review Court.

How to use this skill

Skill file

Skill: pr-agent-judge (SPEC-124)

Wrapper sobre qodo-ai/pr-agent (10.9k ⭐, 60.1% F1) como juez externo opt-in del Code Review Court.

Rol dentro del Court

Court actual: 4 jueces (correctness, security, architecture, cognitive).

Con opt-in: 5 jueces → añade diversidad (jueces externos con benchmark público).

Se activa solo si COURT_INCLUDE_PR_AGENT=true en pm-config.md.

Invocación

# Modo local (sin CI)
bash scripts/pr-agent-run.sh --pr-number 593 --mode review --output court-format

Salida JSON compatible con formato Court:

{
  "judge": "pr-agent",
  "version": "qodo-ai/pr-agent@0.27",
  "verdict": "approve | request_changes | comment",
  "findings": [
    {
      "severity": "medium",
      "category": "correctness",
      "file": "src/foo.ts",
      "line": 42,
      "message": "..."
    }
  ],
  "summary": "..."
}

Modos

Requirements

Si pr-agent no está instalado, el wrapper falla gracefully reportando {"status":"SKIPPED","reason":"pr-agent not installed"} sin bloquear al Court.

Feature flags en pm-config.md

COURT_INCLUDE_PR_AGENT   = false        # default opt-in
PR_AGENT_VERSION         = "0.27"       # pin
PR_AGENT_MODEL           = "mid"        # tier, resuelto via preferences.yaml
PR_AGENT_MAX_LINES       = 1000         # evita token blowout

Relación con agentes internos

Cuándo NO usar

Referencias

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.