Agent Skill for Evaluation-Driven Development (EDD) - guide AI evaluation strategies with the 50-40-10 rule
SaferSkills independently audited eval-coach (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
A bulleted imperative like {match} tells the agent to never reveal, disclose, or mention something to the user. Used adversarially it can instruct the agent to hide its tool calls or lie about what it did — stripping the transparency a user relies on to trust the agent.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An Agent Skill for designing comprehensive AI evaluation strategies using Evaluation-Driven Development (EDD).
Eval Coach guides you through a structured 5-step framework for evaluating LLM applications:
Invoke this skill when:
Two fundamentally different types of evaluations:
| Type | Starting Point | Goal | When Failure Occurs |
|---|---|---|---|
| Capability | Near 0% | Push higher over time | Expected - iterate and improve |
| Regression | Near 100% | Maintain - don't drop | Alarming - investigate immediately |
Key Insight: Convert production bugs into regression tests. Every bug you fix becomes a test that ensures it never happens again.
Agents are probabilistic. Use the right metric:
pass@k = Probability of at least one success in k attempts
1 - (1-p)^kpass^k = Probability of succeeding every time in k attempts
p^kEach layer has blind spots, but together they cover each other:
Different agent types require different evaluation strategies:
| Agent Type | Primary Graders | Key Considerations | Benchmarks |
|---|---|---|---|
| Coding | Deterministic (tests pass?) | Static analysis, outcome verification | SWE-bench |
| Conversational | LLM-as-Judge + outcome | Interaction quality, turn count | τ-Bench |
| Research | Coverage + groundedness | Source quality validation | BrowseComp |
| Computer Use | UI state + backend | Sandboxed GUI, screenshot vs DOM | WebArena |
Build these into your core eval suite, not as an afterthought:
When evals fail, investigate systematically:
Common Pitfalls:
When running in Claude Code, use the AskUserQuestion tool to create an interactive, guided experience. Present structured choices at each step rather than dumping all questions at once.
Step-by-step interaction pattern:
Example interaction flow:
Step 1: "What type of AI application are you evaluating?"
- [ ] Agent/Assistant
- [ ] RAG System
- [ ] Classifier
- [ ] Other (describe)
Step 2: "What are your primary success metrics?"
- [ ] Accuracy/Correctness
- [ ] Relevance
- [ ] Latency
- [ ] Cost efficiency
- [ ] Safety/Compliance
Step 3: "What test case categories do you need?"
- [ ] Happy path (common inputs)
- [ ] Edge cases (unusual but valid)
- [ ] Adversarial (invalid/malicious)Progress Tracking: Use TodoWrite at the start of each session to create trackable items:
Mark each step complete as you finish. This gives the user visibility into progress.
Use AskUserQuestion to gather:
From answers, help define:
Mark Step 1 complete in TodoWrite.
Use AskUserQuestion to ask about test case distribution preference (recommend 50-35-15).
Guide creation of test cases using template:
# Test Case Template
name: descriptive_name
category: happy_path | edge_case | adversarial
inputs:
# The inputs your agent receives
query: "user query here"
context: "any context"
outputs:
# What to validate
expected_fields: [field1, field2]
should_mention: [keyword1, keyword2]
should_not_contain: [forbidden_term]
min_length: 100
max_length: 5000Categories:
CRITICAL: Always include adversarial cases that test for silent failures - when the agent reconciles contradictory data instead of flagging it.
Mark Step 2 complete in TodoWrite.
Use AskUserQuestion to present the 50-40-10 rule with cost breakdown. Ask which evaluation tiers to include.
Match methods to evaluation needs:
| What to Measure | Method | Cost | When |
|---|---|---|---|
| Schema/format | Automated | Free | Always (CI) |
| Keywords present | Automated | Free | Always (CI) |
| Semantic quality | LLM-as-Judge | $0.01-0.05 | Pre-deploy |
| Relevance to input | LLM-as-Judge | $0.01-0.05 | Pre-deploy |
| Input-Data Consistency | LLM-as-Judge | $0.01-0.05 | Pre-deploy |
| Subjective quality | Human | $5-50 | Edge cases |
| Safety/compliance | Human + Automated | Varies | Always |
Map user's metrics (from Step 1) to appropriate methods. Summarize choices before proceeding.
Mark Step 3 complete in TodoWrite.
Use AskUserQuestion to ask about CI/CD preferences and recommend tier structure.
Integration tiers:
Tier 1: PR-Level (<5 min)
Tier 2: Pre-Deploy (15-30 min)
Tier 3: Production Monitoring (Continuous)
Mark Step 4 complete in TodoWrite.
Use AskUserQuestion to discuss monitoring needs and drift types.
Track these signals:
Recommendation: Pin model versions, run weekly evals on production samples.
Mark Step 5 complete in TodoWrite.
dataset.py with their specific test casestemplates/evaluators.pyAfter completing the framework, provide:
## Evaluation Plan for [Product Name]
### Business Objectives
- Primary goal: [goal]
- Success criteria: [criteria]
### Dataset Strategy
- Total test cases: [N]
- Happy path: [N1] cases
- Edge cases: [N2] cases
- Adversarial: [N3] cases
### Evaluation Methods
| Metric | Type | Method | Threshold |
|--------|------|--------|-----------|
| ... | ... | ... | ... |
### CI/CD Integration
- PR checks: [list]
- Pre-deploy: [list]
- Monitoring: [list]
### Next Steps
1. [First action]
2. [Second action]
3. [Third action]This skill includes starter templates in the templates/ directory:
dataset.py - LangSmith dataset creationevaluators.py - Common evaluator implementationscompare.py - Experiment comparison utilitiesSee examples/ for complete evaluation plans:
research_agent_eval.md - Multi-agent research system evaluation~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.