the-judge
Qué hace
Esta skill hace que el agente revise una pull request en busca de corrección, seguridad y calidad del código, y luego publique una sola revisión con algunos comentarios bien fundamentados. Es para desarrolladores que quieren retroalimentación enfocada en lugar de una lista larga de notas menores.
Cuándo usarla
- ✓Cuando quieres una segunda opinión sobre una pull request antes de que la revise un compañero.
- ✓Cuando quieres una revisión que solo plantee puntos respaldados por evidencia en el código y en la documentación actual.
- ✓Cuando una pull request se ha vuelto desordenada y quieres que se señalen los problemas estructurales.
Link de la skill
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(quality)/the-judge/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero que revises esta pull request y publiques una revisión clara en GitHub con solo los comentarios que importan.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente ejecuta primero las comprobaciones propias del proyecto y después lee el código modificado y la documentación de las librerías que necesite. Conserva solo los hallazgos que puede respaldar con una referencia a un archivo o con una fuente oficial, y los publica juntos como una sola revisión.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
The Judge
Review a pull request like a senior engineer with a high conviction bar: few comments, every one backed by evidence, posted as a single consolidated GitHub review. The Judge would rather post three findings that matter than fifteen observations that waste the author's time.
Non-Negotiables
These rules override everything else in this skill. Read them before doing anything.
- Evidence or silence. An internal claim (about this repo's code) requires a verified
file:linecitation you confirmed by reading the file. An external claim (about a library, API, framework, version, deprecation, vulnerability, or best practice) requires a URL from an official source fetched during this review. A finding without evidence is not posted. Period. - Never assert external behavior from memory. Before claiming anything about how a dependency, API, or framework behaves, search current official documentation, changelogs, or security advisories. If research is inconclusive, downgrade the finding to a question or kill it. Training data is a rumor; the changelog is a source.
- Noise budget. Maximum 5 nit comments inline; overflow becomes a count in the summary. Do not flood the review with low-value notes when structural issues exist. Prefer a small number of high-conviction comments.
- Never comment on what the repo's own tooling catches. Run the repo's linters, type checkers, and focused tests first (Step 1). Anything they flag is out of scope for review comments.
- Every comment passes the gate. All comment bodies and the summary must pass
scripts/review_gate.pywith exit code 0 before posting. No exceptions, no manual overrides. - Language: the user chooses; English is the default. If the invocation names a language ("judge this PR in Portuguese", "revise em português"), write the entire review in it, natively and correctly, with full diacritics; never plain-ASCII degraded text. Absent an explicit request, write in English. Verdict tokens (APPROVE, COMMENT, REQUEST_CHANGES), code identifiers, quoted strings, and tool output stay verbatim in any language.
- Spend tokens where judgment lives. Read only the diff, the files it touches, and their direct callers or callees when tracing a finding requires it; never ingest the whole repo. Detection a regex can do runs in
scripts/scan_bypasses.py, not in prose. A finding that is deterministic by nature goes to the lint-rule flywheel so the next review costs less than this one. - The first review is the whole review. Everything visible in round 1 is raised in round 1, batched in one consolidated review. Holding a finding for a later round is forbidden; trickled comments are how reviews become infinite ping-pong. Re-reviews verify resolution; they do not open new fronts (see Convergence Contract).
Severity and Verdict
| Severity | Emoji | Definition | Verdict effect |
|---|---|---|---|
| blocker | 🔴 | Changes whether the PR should merge: data loss, exploitable security, incorrect money, broken auth, irreversible migration, PII in logs | REQUEST_CHANGES |
| should-fix | 🟠 | Real defect, but not a merge risk | COMMENT |
| nit | 🟡 | Minor. Capped at 5 inline; overflow counted in summary | No effect |
| pre-existing | 🟣 | Bug the PR did not introduce. Summary only, never inline | No effect |
Verdict mapping: any 🔴 present, REQUEST_CHANGES. Zero 🔴 and zero 🟠, APPROVE. Anything else, COMMENT.
Own-PR fallback: GitHub returns 422 when you APPROVE or REQUEST_CHANGES your own PR. scripts/post_review.py detects when the PR author equals the authenticated gh user, posts as COMMENT, and appends a one-line footer at the end of the summary stating the intended verdict. The TL;DR already carries the verdict token, so the footer only explains the mechanics. Do not fight this; it is API behavior.
Workflow
Step 0: Resolve context
gh pr view --json number,title,body,author,url,baseRefName,headRefName,additions,deletions,changedFiles
gh api user --jq .login
gh pr diff <number>
gh pr view <number> --json files --jq '.files[].path'
Classify every changed file as core or mechanical (generated code, lockfiles, snapshots, vendored deps, build artifacts, migrations output). Mechanical files are skipped and listed in the summary. Detect moved code: 3+ consecutive lines deleted in one place and added identically elsewhere is a move, not new code; do not re-review it as new.
Determine the round. Fetch your own
Preguntas frecuentes
¿Dejará muchos comentarios pequeños?
No. La skill limita las notas menores a un número pequeño y pone el resto en el resumen.
¿Necesita la CLI de GitHub?
Sí. La skill publica su revisión con el comando gh, así que debe estar configurado.
¿Adivina cómo se comporta una librería?
No. Indica que hay que consultar la documentación oficial actual antes de afirmar algo sobre una librería externa.
Detalles
Descripción original del autor
Evidence-first pull request judge that reviews a PR and posts one consolidated GitHub review with inline comments via the gh CLI. Runs the repo's own deterministic checks first, researches current official docs before any claim about external libraries or APIs, then reviews correctness, security, structural quality (code judo, spaghetti growth, file-size limits), and AI slop including useless code comments. Every finding must carry evidence, every comment passes a deterministic noise gate before posting, and the verdict (APPROVE, COMMENT, REQUEST_CHANGES) is weighed by findings. Use when asked
Popularidad
- Estrellas en GitHub
- 7,1 mil
- Posición en el ranking
- #13565
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
component-common-domain-detection
7,1 milAyuda a tu agente a encontrar la lógica de negocio repetida en varias partes de una base de código y a sugerir cómo combinarla.
component-flattening-analysis
7,1 milAyuda a tu agente a encontrar código mal colocado y aplanar las estructuras de carpetas de componentes desordenadas, para que cada pieza esté donde debe.
component-identification-sizing
7,1 milAyuda a tu agente a mapear las partes de una base de código y medir su tamaño, para encontrar qué módulo conviene dividir primero.
coupling-analysis
7,1 milAyuda a tu agente a comprobar cuán estrechamente dependen unas partes de una base de código de otras, y qué conexiones conviene aflojar primero.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.