Back to skills
SKILL.md
Llm Evaluation Engineer
ASecurityUse when designing, configuring, executing, and auditing reproducible evaluations, benchmarks, and test suites for LLM-driven components, agent workflows, and prompt revisions.
- 7 stars
- 0 votes
- 0 copies
- 2 views
- Added November 9, 2026
Works with
Security analysis
100/100npx -y skills add Harmitx7/tribunal-kit --skill llm-evaluation-engineer --agent claude-codeAre you the author of Llm Evaluation Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/harmitx7-llm-evaluation-engineer)---
name: llm-evaluation-engineer
description: 'Use when designing, configuring, executing, and auditing reproducible evaluations, benchmarks, and test suites for LLM-driven components, agent workflows, and prompt revisions.'
version: 1.0.0
last-updated: 2026-10-30
skills:
- testing-patterns
- data-validation-schemas
- property-based-testing
tools: Read, Grep, Glob, Bash, Edit, Write
scripts-binding:
- src/evaluation/index.js
- src/evaluation/evaluation_runner.js
inputs:
task: 'string'
target_component: 'string'
dataset_path: 'string'
outputs:
evaluation_report: 'object'
passed: 'boolean'
metrics: 'object'
trigger:
- 'llm evaluation'
- 'evaluate agent'
- 'benchmark design'
- 'evaluation criteria'
- 'ai test suite'
- 'llm evaluation engineer'
---
# LLM Evaluation Engineer
## Mandatory Pre-Flight Context Inspection
Before designing, configuring, or running evaluations in the `llm-evaluation-engineer` domain, inspect these 5 critical parameters:
1. **Measurable Criteria Definition**: Ensure success criteria are explicitly defined with quantitative thresholds (e.g., Precision $\ge 0.85$, Recall $\ge 0.90$) rather than subjective impressions.
2. **Gold-Standard Dataset Schema**: Validate that evaluation datasets conform to `EvaluationDatasetSchema` with verified label provenance and tamper-evident checksums.
3. **Deterministic Separation**: Separate deterministic checks (linters, AST walkers, unaltered compilers) from model-based subjective assessments.
4. **Variance & Power Budget**: For stochastic components, mandate at least 3–5 repeated runs; for statistical significance, require $N \ge 30$ cases.
5. **Non-Masking Safety Invariant**: Enforce that improvements in average aggregate scores can never conceal or excuse a critical safety/vulnerability regression.
## Activation Boundaries
- **Activate when:** Designing benchmark suites, configuring evaluation datasets, defining measurable evaluation rubrics, selecting classification/ranking metrics, or executing batch agent evaluations.
- **DO NOT activate when:** The task is focused solely on static AST linting without model or prompt evaluation, or when diagnosing specific single-failure debugging traces (use `systematic-debugging` or `debugger`).
## 🔁 Multi-Pass Execution Protocol
| Pass | Phase | Core Action | Adaptive Depth |
| :--------- | :------------------- | :------------------------------------------------------------------------------------------------------------ | :--------------------- |
| **Pass 1** | **Understand** | Deconstruct the target component, its input/output contract, and the specific claims under evaluation. | Fast / Standard / Deep |
| **Pass 2** | **Plan** | Define the evaluation dataset split, select appropriate mathematical metrics, and establish baseline runs. | Standard / Deep |
| **Pass 3** | **Execute** | Run the evaluation in isolated sandboxes (`WorktreeSandbox`), enforcing bounded timeouts and memory ceilings. | All Modes |
| **Pass 4** | **Verify** | Compute metrics (Precision, Recall, F1, ECE, Brier) using explicit denominators and safe division. | All Modes |
| **Pass 5** | **Attack & Falsify** | Audit for benchmark leakage, cherry-picking, data contamination, and sample size inadequacy. | Standard / Deep |
## Detailed Decision Procedure & Workflow
1. **Requirement Translation:**
- Convert qualitative goals into explicit evaluation properties: required outputs, forbidden outputs, and ground-truth matches.
2. **Dataset Partitioning:**
- Enforce partitioning into `train`, `validation`, and `held_out_eval` sets. Verify with `checkPartitionLeakage` that no case in `held_out_eval` leaks from training fixtures ($Jaccard < 0.85$).
3. **Execution & Isolation:**
- Execute candidates through supported CLI or library interfaces. Isolate each run inside clean worktrees or process sandboxes. Enforce per-case timeouts (default 10,000ms).
4. **Metric Computation:**
- Run `calculateConfusionMatrix` for binary classification tasks. Report all denominators and flag any zero-denominator cases.
- For probabilistic predictions, run `calculateBrierScore` and `calculateExpectedCalibrationError`.
5. **Synthesis & Reporting:**
- Output structured, versioned reports adhering to `EvaluationResultSchema`. Include duration, token usage, confidence, and full failure breakdowns.
## Epistemic Invariants & Evidence Rules
- **No Speculative Accuracy:** Never report an aggregate accuracy percentage without stating the exact numerator, denominator, task type, and dataset split.
- **Supremacy of Deterministic Checks:** In any conflict between an LLM evaluator judgment and a compiler/test exit code, the test exit code is ground truth ($E_2/E_5 > E_0$).
## Common Failure Modes & Recovery
- **Failure:** Benchmark score jumps to 100% due to test-set leakage.
- **Remedy:** Quarantine leaking cases; rerun `auditDatasetIntegrity` with strict token-overlap filters.
- **Failure:** Overconfident agent fails on subtle boundary cases.
- **Remedy:** Calculate ECE across 10 bins; flag `OVERCONFIDENT` diagnosis; adjust prompt confidence calibration guidelines.
## Verification Command
```bash
node -e "const { validateEvaluationCase, validateEvaluationDataset } = require('./src/evaluation'); console.log('LLM Evaluation Engineer Ready');"
```
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.