/akc-cycle:llm-as-judgefrom akc-cycle
Design pattern for LLM-as-judge evaluators: binary checks as evidence, one named verdict.
Ships in akc-cycle. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Core rule in one line:
Collect evidence with binary Yes/No checks, let the LLM issue one named holistic verdict, and never aggregate the answers into a score.
Rubrics were invented to structure human evaluation, where assessors can score dimensions independently. For an LLM, invert the design: force the checks it tends to skip, and leave the judgment holistic — that is what it is good at.
| Principle | Do | Don't |
|---|---|---|
| ① Binary checks | Decompose criteria into Yes/No questions with 1-line evidence each | "Rate specificity 1–5" |
| ② Named holistic verdict | Pick exactly one verdict from a fixed enum, judging the whole | "Total 12 points → pass" |
| ③ No aggregation | Enumerate the No answers as the verdict's rationale | Use the Yes-ratio as a quality metric |
Ask "is there a runnable command example? Yes/No", not "how specific is this?". Good binary questions are verifiable (the text settles them black-or-white) and evidentiary (a No names what is missing). Require one line of evidence per answer — a file read, a path check, a measured command output.
Holistic judgment — one conclusion from the whole, without passing through per-dimension numbers — is the LLM's strength. Design the verdict enum so each value maps 1:1 to a next action, e.g.:
Keep / Improve / Update / Retire / Merge into [X]Save / Improve then Save / Absorb into [X] / DropPrefer this over bare accept / reject: downstream code can dispatch on the
enum directly. Verdicts that name a target (Merge into [X], Absorb into [X])
structurally forbid vague judgments like "overlaps with something".
Two rules replace the score:
Before finalizing a non-passing draft verdict, make the judge attack it:
--help output? measure it").Discipline: one question tests exactly one verifiable claim (atomicity); questions seek disconfirmation, not affirmation. After a fix, re-judge with the same question set, once only — regenerating questions makes it impossible to tell whether the fix worked or the bar moved.
| Single-draft gate (N=1) | Library-scale audit (tens of items) | |
|---|---|---|
| Pressure-test questions | Unconditional, 3–5 per draft | Non-passing candidates only, 1–3 |
| Rationale | Cost is negligible | Generating for every item is mostly waste |
The judge's attention is a diluting resource. A controlled comparison on a 73-item skill library (2026-07) made this concrete: an everything-in-one-context pass returned all-Keep, while fresh-context small batches with unconditional reference verification surfaced 12/73 non-passing items — half with deterministic evidence (404 links, deleted files, retired CLI flags), including passing verdicts previously issued for two files that did not exist on disk. A dedicated overlap probe reproduced the set-level view (0 genuine duplications across 17 candidate clusters) without needing all bodies in one context.
Design consequences:
ls, --help, fetch — before the LLM sees the item. Never let a judge issue
a passing verdict on a file that is not there.ls?You are a quality evaluator for {artifact type}. Evaluate as follows.
## Step 1: Binary checks (all mandatory)
Answer each with Yes/No plus one line of evidence.
- Q1: {verifiable question, e.g. is there a runnable code example?}
- Q2: {verifiable question}
- Q3: {verifiable question}
- Q4: {verifiable question}
## Step 2: Item-specific refutation questions (only if the draft verdict leans failing)
Pick one draft verdict, generate 1–3 Yes/No questions that try to refute it,
and answer each with one line of evidence.
## Step 3: Verdict
Choose exactly one. Output no scores or points.
- {verdict_1}: {meaning and next action}
- {verdict_2}: {meaning and next action}
- {verdict_3}: {meaning and next action}
Enumerate every No-answered question in the rationale.
If any dominant No ({domain-specific fatal condition}) is present, choose
{failing verdict} even when everything else is Yes.
## Output format
Return JSON matching the schema below. Where the runtime supports structured outputs,
hand it the schema there rather than asking for JSON in prose.
Output schema:
{
"verdict": "Improve",
"evidence": [
{ "question": "Runnable code example?", "answer": "No", "detail": "steps are prose-only, zero commands" },
{ "question": "Referenced paths exist?", "answer": "Yes", "detail": "ls confirmed all 3 paths" }
],
"pressure_test": [
{ "question": "Are prose-only steps reproducible as-is?", "answer": "No", "detail": "step 3's arguments are ambiguous" }
],
"reason": "Dominant No on actionability; adding a worked example to step 3 would reach the passing bar"
}
verdict is an enum — downstream code dispatches on it directly; the No items
in evidence are the improvement list handed to the next stage.
harness-sync, publishes to), so cite the ADR rather than a skills/ path.skill-stocktake — worked implementation at library scale (binary screen →
pressure-test → holistic verdict, deterministic pre-pass, overlap probe).learn-eval — worked implementation at N=1 (unconditional dynamic questions,
same-question-set re-judge).skill-writer §4 — creation-time draft gate: one fresh subagent without Bash,
named verdict Publishable / Fix / Drop, same-question re-judge once.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
21 skills in this plugin
/agent-stocktakeAudit the agent definitions in a Claude Code harness (~/.claude/agents or a repo's .claude/agents) and give each a verdict./author-calibrated-evalPolish LLM-written prose with the author's own reading as ground truth./context-syncAudit a repo's context documents (CLAUDE.md, ADRs, README, graph.jsonld) for role overlap and staleness against the code, and fix them; README findings are only flagged. Use when the docs may have drifted from the code or duplicate each other. For README content, use readme-writer./decision-historyRecord a design decision as a dated, past-tense entry in the repo's docs/decision-history/, or decide whether it clears the filing bar or belongs in the commit body. Use when recording a decision (経緯を残して / ADR にして), or when context-sync finds a buried decision./generation-auditAudit the harness when a new Claude model takes a role (judge, build or everyday)./harness-boundaryDesign lens: which layer a harness mechanism belongs in, and whether it outlives the next model or runtime.Generated from the plugin's indexed repository (shimo4228/akc-cycle) — no native marketplace selected
npx claudepluginhub p/shimo4228-akc-cycle