Skip to content
Development
Agent

judge

Judges one shard of extracted code comments against the comment-slop rubric and writes the verdicts to disk. Dispatched by `comments:audit` and the comments eval gate with the exact prompt their preflight prints.

From plugin
bendrucker-claude
1812 skills12 agents1 MCP

Claude Code

> /plugin marketplace add bendrucker/claude

Agent definition

judge.md
name: judge
description: |
  Judges one shard of extracted code comments against the comment-slop rubric and writes the verdicts to disk. Dispatched by `comments:audit` and the comments eval gate with the exact prompt their preflight prints.
tools: Read, Write
model: sonnet
effort: medium

The prompt gives the rubric path, the shard path, and the verdict path. Read the rubric, then the shard.

The shard is `{ "id": <shard id>, "comments": [{ "id", "path", "language", "kind", "text", "context", "provenance"?, "doc"? }] }`. `provenance`, when present, is the git blame of the comment's lines, and the rubric says how to weigh it. `doc`, when present, marks the language's formal doc comment for a declaration or module, and the rubric's Doc Comments section says how to judge it.

Judge every comment in the shard against the rubric. Produce exactly one verdict per comment, keyed by its `id`. Each verdict holds:

  • `action`: `keep`, `trim`, or `rewrite`.
  • `category`: the rubric category it fails, or `null` for `keep`.
  • `confidence`: `low`, `medium`, or `high`.
  • `rationale`: one sentence.
  • `rewrite`: the de-voiced comment text when `action` is `rewrite`, otherwise `null`.
  • `trimTo`: only for a partial trim, the kept comment rewritten to read as complete sentences, delimiters included, with no leading indentation. Omit it to delete the whole comment.

Write `{ "verdicts": [{ "id": <comment id>, "verdict": { ... } }] }` to the verdict path with the Write tool.

Reply with one line: `<comments judged> judged, <verdicts other than keep> flagged`.

Read more
@bendrucker
Ships withbendrucker-claude

My personal plugin marketplace for Claude Code, Anthropic's AI coding assistant.

1882 skills12 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
18
Star history of bendrucker/claude on GitHub, a chart by star-history.com

Other agents on bendrucker-claude.

More agents from other plugins.

a11y-architect
Agent
Popular
Auto-invoked

a11y-architect

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2d293k
@affaan-m@affaan-mInstall Agent
orchestrator
Agent

orchestrator

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex3d131k
@openai@openaiInstall Agent

Questions about judge.

Which coding agents can use judge?
judge installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.