Ai product evaluation design

From samarv/Shanon · View interactive version

Ai product evaluation design is an AI agent skill from the GitHub repository samarv/Shanon. Transition from traditional PRDs to "Evals" (evaluations) to guide AI model behavior. Use this skill when launching new AI features, debugging unpredictable model outputs, or moving from a prompted prototype to a production-ready agent.

How to use this skill

Skill file

AI Product Evaluation Design

In the era of LLMs, product development moves from writing static specifications to defining "correctness" through Evals. Since models are stochastic, you cannot "fix a bug" with a single line of code; instead, you must "hill climb" toward better behavior by building robust datasets that measure model performance against your product goals.

The Three-Tier Evaluation Framework

Depending on the complexity of the feature, use one or more of these evaluation methods:

1. Deterministic Evals (Pass/Fail)

Best for extraction, tool-calling, or objective facts.

2. Human Preference Evals (Side-by-Side)

Best for tone, creativity, and visual design (like the "Canvas" layout).

3. Model-Graded Evals (LLM-as-a-Judge)

Best for scaling quality checks without manual labor.

Step-by-Step Process for Designing Evals

1. Create the "Ground Truth" Dataset

Build a spreadsheet with the following columns to define the model's target behavior:

2. Define Decision Boundaries

For agentic features (like Canvas or Task execution), define the "Trigger Boundary":

3. Identify Performance Regressions

When you optimize for one skill (e.g., "Being more concise"), you may accidentally "brain damage" another skill (e.g., "Formatting code correctly").

Examples

Example 1: Deterministic Eval for a "Tasks" Tool

Example 2: Preference Eval for Writing Style

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.