Write Judge Prompt
Design binary Pass/Fail LLM-as-Judge evaluators for one subjective failure mode at a time.
- CCM score
- 79 of 100
- skills.sh installs
- 858
- GitHub stars
- 1.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the four required judge components: task criterion, Pass/Fail definitions, labeled few-shot examples, and structured critique-then-verdict output
- Includes guidance on choosing inputs per failure mode, selecting training-split examples, and choosing an initial model
- Enforces binary outcomes only, with no Likert scales, and warns against dev/test examples leaking into the prompt
- Designed for teams with error analysis and labeled traces who need checks that code-based evaluators cannot perform
Install
$ npx -y skills add hamelsmu/evals-skills --skill write-judge-prompt -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Write LLM-as-Judge Prompt
Design a binary Pass/Fail LLM-as-Judge evaluator for one specific failure mode. Each judge checks exactly one thing.
Prerequisites
- Error analysis is complete. The failure mode is identified.
- You have human-labeled traces for this failure mode (at least 20 Pass and 20 Fail examples).
- A code-based evaluator cannot check this failure mode. Exhaust code-based options before reaching for a judge — many failure modes that seem subjective reduce to keyword checks, regex, or API calls when you understand the domain. Example: detecting whether an AI interviewing coach suggests "general" questions (asking about typical behavior instead of a specific past event) seems to require semantic understanding, but in practice a keyword check for words like "usually," "typical," and "normally" could work quite well.
The Four Components
Every judge prompt requires exactly four components:
1. Task and Evaluation Criterion
State what the judge evaluates. One failure mode per judge.
You are an evaluator assessing whether a real estate assistant's email
uses the appropriate tone for the client's persona.
Details
- Repository
- github.com/hamelsmu/evals-skills
- Categories
- AI Agents & LLM Apps, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the write-judge-prompt skill do?
It designs binary Pass/Fail LLM-as-Judge evaluators for subjective criteria such as tone, faithfulness, relevance and completeness. Each judge checks exactly one failure mode, and the skill defines the criterion, Pass and Fail definitions, few-shot examples and structured output.
When should I use write-judge-prompt instead of a code-based check?
Use it when a failure mode requires interpretation that regex, schema validation or execution tests cannot handle. The skill says to exhaust code-based options first, and it should not be used to validate or calibrate the judge, which is the job of validate-evaluator.
How do I install write-judge-prompt?
Run npx -y skills add hamelsmu/evals-skills --skill write-judge-prompt -y in your project. The skill then guides your agent through writing a judge prompt with the four required components.
What does the skill need before I can use it?
Error analysis must already identify the failure mode, and you need human-labeled traces with at least 20 Pass and 20 Fail examples for it. The skill also expects a training split of 10-20% of labeled data for few-shot examples.
Where does write-judge-prompt stand in its category?
It sits in the AI Agents & LLM Apps category on Claude Marketplaces, alongside microsoft-foundry, azure-ai and several google-agents-cli skills. Its focus is narrow: writing one binary judge prompt for one subjective failure mode.
More from hamelsmu/evals-skills
All 7Similar to Write Judge Prompt
More AI Agents & LLM Appsvalidate-evaluatorhamelsmu/evals-skills761 installsCalibrates an LLM judge against human labels using data splits, TPR/TNR, and bias correction.
eval-audithamelsmu/evals-skills1.5K installsAudit an LLM eval pipeline for missing error analysis, unvalidated judges, and vanity metrics, to find problems before trusting results.
advanced-evaluationmuratcankoylan/agent-skills-for-context-engineering199 installsPractical patterns for LLM-as-judge systems covering position bias, rubric calibration, and pairwise comparison reliability.
ai-evalsrefoundai/lenny-skills2.2K installsSystematic AI evaluation strategy that replaces vibe checks with human, code-based, and LLM-as-a-judge methods.
agent-evaluationneolabhq/context-engineering-kit1.4K installsEvaluation framework for testing and improving Claude Code commands, skills, and agents against outcome-based rubrics.
online-evalslaunchdarkly/ai-tooling1.9K installsAttach LLM-as-a-judge evaluators to config variations for automatic quality scoring between 0.0 and 1.0.