write-judge-prompt

Design binary LLM-as-Judge evaluators for subjective failure modes.

Updated May 5, 2026
One-click install
npx skills add https://github.com/iani-kuli/harness_bro --skill write-judge-prompt-iani-kuli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-judge-prompt
Source: https://github.com/iani-kuli/harness_bro/tree/main/.claude/skills/curated/evals/write-judge-prompt
Command: npx skills add https://github.com/iani-kuli/harness_bro --skill write-judge-prompt-iani-kuli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the challenge of evaluating subjective AI outputs where traditional code-based checks like regex or schema validation fail to capture nuance, tone, or semantic quality.

Core Features & Use Cases

  • Binary Evaluation Design: Creates clear, actionable Pass/Fail criteria for specific failure modes.
  • Few-Shot Calibration: Guides the inclusion of labeled examples to ensure the judge understands borderline cases.
  • Structured Output Enforcement: Standardizes judge responses to include both a detailed critique and a final verdict.
  • Use Case: Use this to build a custom evaluator that detects if a customer support bot is maintaining a professional tone while avoiding overly robotic language.

Quick Start

Ask the assistant to help you design a binary judge prompt for a specific failure mode by providing your human-labeled trace examples.

Frequently Asked Questions about write-judge-prompt

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

FAQPage Schema
How do I evaluate subjective LLM outputs like tone or relevance when deterministic code checks fail?

To evaluate subjective LLM outputs like tone or relevance, you can design a binary LLM-as-Judge evaluator that applies semantic assessment to subjective failure modes. This approach uses structured output definitions and few-shot examples to ensure consistent, actionable results.

How do I design few-shot examples for an LLM-as-Judge prompt?

Designing few-shot examples for an LLM-as-Judge prompt involves calibrating the evaluator with human-labeled trace examples of borderline cases. This few-shot calibration guides the judge to understand nuanced distinctions and apply consistent pass/fail criteria.

What is the best way to enforce structured output for an LLM-as-Judge evaluation?

The best way to enforce structured output for an LLM-as-Judge evaluation is to standardize the response format to include both a detailed critique and a final binary verdict. This structured output enforcement ensures evaluation results are actionable and consistent.

Can I use an LLM-as-Judge to evaluate if a customer support bot maintains a professional tone?

Yes, you can use an LLM-as-Judge to evaluate if a customer support bot maintains a professional tone. You build a custom binary evaluator that detects specific failure modes, such as avoiding overly robotic language while maintaining professionalism.

When should I not use binary classification for AI alignment evaluation?

You should not use binary classification for AI alignment evaluation when a subjective failure mode requires a spectrum of scores rather than a clear pass/fail verdict. This approach is strictly designed for binary evaluation, limiting its use for multi-tiered quality assurance.

Do I need human-labeled trace examples to build an LLM-as-Judge evaluator?

Yes, you need human-labeled trace examples to build an LLM-as-Judge evaluator. Providing these examples during the design phase is required for few-shot calibration, ensuring the judge understands borderline cases and evaluates subjective failure modes accurately.