build-judge

Build a binary LLM evaluator that returns JSON Pass or Fail verdicts.

16|3|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/breethomas/bette-think --skill build-judge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-judge
Source: https://github.com/breethomas/bette-think/tree/main/plugins/pm-thought-partner/skills/build-judge
Command: npx skills add https://github.com/breethomas/bette-think --skill build-judge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps product teams create a focused, repeatable LLM-based evaluator that issues a binary Pass or Fail for one specific failure mode that cannot be reliably checked with code, reducing manual labeling drift and increasing evaluation consistency.

Core Features & Use Cases

  • Single-Failure Focus: Build one judge per failure mode (tone mismatch, faithfulness, relevance, completeness, instruction following).
  • Few-Shot Grounding: Incorporates PM-provided human-labeled examples including clear Pass, clear Fail, and borderline cases to teach nuance.
  • Structured Outputs & Validation: Enforces a critique-first JSON format and requires testing against held-out labels to measure agreement before deployment.

Quick Start

Build a pass/fail LLM judge for the identified failure mode using 20+ labeled pass and fail examples and return a JSON critique and Pass or Fail verdict.

Frequently Asked Questions about build-judge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an LLM judge for pass/fail evaluation of subjective failure modes?

Build an LLM judge by creating a focused evaluator that issues a binary Pass or Fail verdict for one specific failure mode using few-shot examples of clear and borderline cases, requiring structured JSON output with a critique string and result.

What is a binary LLM judge in an evaluation pipeline?

A binary LLM judge is an automated evaluator that decides Pass or Fail for generated outputs when subjective failures like tone, faithfulness, relevance, or completeness cannot be checked with code and require human-labeled examples for validation.

How many labeled examples do I need to create a few-shot LLM evaluator?

Create a few-shot LLM evaluator using 20 or more human-labeled pass and fail examples, including clear Pass, clear Fail, and borderline cases, to teach the judge nuance before testing against held-out labels.

Can I use an LLM judge to evaluate multiple failure modes at once?

No, this approach requires building one judge per failure mode, such as tone mismatch, faithfulness, relevance, completeness, or instruction following, to ensure focused and repeatable evaluation consistency.

How do I validate an LLM judge before deploying it in an evaluation pipeline?

Validate an LLM judge by testing its structured critique and Pass or Fail verdicts against held-out human-labeled examples to measure agreement and reduce manual labeling drift before deployment.

When should I use a binary LLM judge instead of code-based checks?

Use a binary LLM judge when subjective failure modes like tone, faithfulness, relevance, or completeness cannot be reliably checked with code, requiring human-labeled examples and structured JSON output for consistent evaluation.