Skip to content
Back to skills

Pr Agent Judge

ASecurity

Usar cuando se añade pr-agent como juez externo en el Code Review Court.

  • 50 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentsgobashdockergitapisecurity

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 28, 2026

npx -y skills add gonzalezpazmonica/savia --skill pr-agent-judge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr Agent Judge?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pr Agent Judge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gonzalezpazmonica-pr-agent-judge/badge)](https://www.skillsdirectory.com/skills/gonzalezpazmonica-pr-agent-judge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
layer: peripheral
name: pr-agent-judge
description: Usar cuando se añade pr-agent como juez externo en el Code Review Court.
metadata:
  savia.maturity: beta
---

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

> Wrapper sobre [qodo-ai/pr-agent](https://github.com/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

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

Salida JSON compatible con formato Court:

```json
{
  "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

- `review` — code review completo
- `describe` — descripción automática del PR
- `improve` — sugerencias de mejora

## Requirements

- [pr-agent](https://github.com/qodo-ai/pr-agent) instalado: `pip install pr-agent` o Docker
- `GITHUB_TOKEN` env var (para acceder al PR)
- Anthropic API key o compatible (`PR_AGENT_MODEL` en pm-config.md). Por defecto resuelto via tier: `mid` → `~/.savia/preferences.yaml` model_mid.

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

- Complementa `correctness-judge`, `security-judge`, `architecture-judge`, `cognitive-judge`.
- NO reemplaza ninguno — opt-in para diversity, no para rebaja.
- Orchestrator (`court-orchestrator`) agrega los 5 verdicts con policy ya definida.

## Cuándo NO usar

- PRs > 1000 líneas (coste token excesivo — usar flag PR_AGENT_MAX_LINES)
- PRs de docs-only (rendimiento bajo del tool en ese contexto)
- Rama `agent/*` autogenerada (evitar feedback loop self-review)

## Referencias

- [qodo-ai/pr-agent](https://github.com/qodo-ai/pr-agent)
- SPEC-124 — docs/propuestas/SPEC-124-pr-agent-wrapper.md
- `.claude/agents/court-orchestrator.md`

Files in this skill

  • DOMAIN.md2.6 KB
  • SKILL.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…