Ai eval design and iteration

From samarv/Shanon · View interactive version

Ai eval design and iteration is an AI agent skill from the GitHub repository samarv/Shanon. Develop "quizzes" (evals) to measure model performance on specific tasks. Use these benchmarks to guide fine-tuning, determine product UX patterns, and track performance improvements over time. Use this when launching a new AI feature, switching between model versions, or optimizing for high-stakes

How to use this skill

Skill file

AI Eval Design and Iteration

In traditional software, inputs and outputs are defined. In AI, inputs and outputs are fuzzy. Evals (evaluations) are the "unit tests" for AI products. They allow you to move from "vibes-based" development to metric-driven iteration. By building a rigorous "quiz" for your model, you can determine exactly how capable your product is and where it requires human-in-the-loop scaffolding.

The Eval Workflow

1. Identify "Hero Use Cases"

Don't start with generic benchmarks (like MMLU). Instead, define the specific "hero" scenarios your product must master.

2. Design the "Quiz" (The Eval)

Create a set of tests to gauge how well the model knows the subject material.

3. Apply the "Hill Climbing" Process

Use the eval scores to guide your development cycle.

4. Determine UX Based on Accuracy Thresholds

The "score" of your eval dictates the product's user interface. Kevin Weil's 60/95/99 Rule:

Examples

Example 1: Deep Research Tool

Example 2: Customer Support Agent

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.