evals-implement
Installation
SKILL.md
evals-implement
What this skill does
Generates the complete executable evaluation implementation following EDD Principle VIII (Close Production Loop) from the published goldset, with automated unit testing to verify evaluator correctness.
Output:
- Grader/Metric Implementation - Python evaluators for each goldset criterion with binary pass/fail
- PromptFoo: Python grader functions with JSON output in
evals/{system}/graders/ - DeepEval: Custom metric classes inheriting from
BaseMetric
- PromptFoo: Python grader functions with JSON output in
- Evaluator Unit Tests - Automated tests (
evals/{system}/tests/test_check_*.py) that run the goldset pass/fail examples against the generated graders to ensure the evaluator itself is accurate - Evaluation Configuration - Complete config file (
config.jsorconfig.py) with Tier 1 + Tier 2 evaluation structure - Auto-handoff to
/evals-validateto run validation
Key EDD Principles Applied:
- Principle VIII: Close Production Loop - Failure type gates route to appropriate actions
- Principle II: Binary Pass/Fail - Ensure graders return strictly 1.0 (pass) or 0.0 (fail)
- Principle IX: Test Data as Code - Unit test generated code against dataset examples