ai-evals
refoundai/lenny-skills
Design and run systematic evaluations for AI products to measure model quality and output performance.
What is ai-evals?
This skill helps you create rigorous evaluations for AI features and models by guiding you through rubric design, test case creation, and measurement methodology. Use it when building evals for LLM products, measuring model quality, or trying to systematically assess AI output quality against clear success criteria.
- Understand what you're evaluating and define what 'good' looks like
- Design eval approaches including rubrics, test cases, and measurement methods
- Guide implementation with edge case analysis and scoring criteria
- Connect evals to actual product requirements and user needs
- Help identify and cluster failure patterns through manual review
How to install ai-evals
npx skills add https://github.com/refoundai/lenny-skills --skill ai-evalsHow to use ai-evals
- 1.Clarify what AI feature or model you're testing and define success criteria
- 2.Manually review a sample of outputs to understand actual failure patterns
- 3.Design your eval rubric with specific, measurable criteria (avoid vague language)
- 4.Create test cases covering common failure modes and edge cases
- 5.Implement scoring (prefer binary Pass/Fail over Likert scales)
- 6.If using an LLM as judge, validate it against human expert scoring first
- 7.Run evals iteratively and refine based on results
Use cases
- Creating test cases and rubrics for a new LLM feature before shipping to users
- Measuring whether a model upgrade actually improved output quality on your specific use case
- Systematically analyzing failure modes by manually reviewing outputs and identifying patterns
- Designing pass/fail criteria for AI-generated content in a product workflow
- Validating an LLM-as-judge approach by comparing its scoring against human expert review
- Product managers building AI features
- ML engineers measuring model performance
- AI product builders designing specifications
- Teams shipping LLM-powered products
- Anyone systematizing quality checks for AI outputs
ai-evals FAQ
Evals are systematic specifications of what 'good' looks like for AI output—they're the product requirement document for AI products. Testing is checking if code works; evals measure if the AI behavior meets user needs.
Yes. You cannot write good evals without first understanding failure patterns through manual trace analysis. This error analysis and open coding step is essential.
No. Force binary Pass/Fail decisions instead. Likert scales produce meaningless averages and hide what actually failed.
You can, but you must first validate that the LLM judge agrees with human experts on a sample of outputs. Don't assume an LLM judge is reliable without this validation.
Connect your eval criteria back to actual user needs and product requirements. Ask: are users actually experiencing this as a problem, and will fixing it improve their experience?
Full instructions (SKILL.md)
Source of truth, from refoundai/lenny-skills.
name: ai-evals description: Help users create and run AI evaluations. Use when someone is building evals for LLM products, measuring model quality, creating test cases, designing rubrics, or trying to systematically measure AI output quality.
AI Evals
Help the user create systematic evaluations for AI products using insights from AI practitioners.
How to Help
When the user asks for help with AI evals:
- Understand what they're evaluating - Ask what AI feature or model they're testing and what "good" looks like
- Help design the eval approach - Suggest rubrics, test cases, and measurement methods
- Guide implementation - Help them think through edge cases, scoring criteria, and iteration cycles
- Connect to product requirements - Ensure evals align with actual user needs, not just technical metrics
Core Principles
Evals are the new PRD
Brendan Foody: "If the model is the product, then the eval is the product requirement document." Evals define what success looks like in AI products—they're not optional quality checks, they're core specifications.
Evals are a core product skill
Hamel Husain & Shreya Shankar: "Both the chief product officers of Anthropic and OpenAI shared that evals are becoming the most important new skill for product builders." This isn't just for ML engineers—product people need to master this.
The workflow matters
Building good evals involves error analysis, open coding (writing down what's wrong), clustering failure patterns, and creating rubrics. It's a systematic process, not a one-time test.
Questions to Help Users
- "What does 'good' look like for this AI output?"
- "What are the most common failure modes you've seen?"
- "How will you know if the model got better or worse?"
- "Are you measuring what users actually care about?"
- "Have you manually reviewed enough outputs to understand failure patterns?"
Common Mistakes to Flag
- Skipping manual review - You can't write good evals without first understanding failure patterns through manual trace analysis
- Using vague criteria - "The output should be good" isn't an eval; you need specific, measurable criteria
- LLM-as-judge without validation - If using an LLM to judge, you must validate that judge against human experts
- Likert scales over binary - Force Pass/Fail decisions; 1-5 scales produce meaningless averages
Deep Dive
For all 2 insights from 2 guests, see references/guest-insights.md
Related Skills
- Building with LLMs
- AI Product Strategy
- Evaluating New Technology
Related skills
More from refoundai/lenny-skills and the wider catalog.

ai-product-strategy
Strategic guidance for building AI products using frameworks from 94 product leaders.

analyzing-user-feedback
Extract actionable insights from customer feedback using techniques from 56 product leaders.

behavioral-product-design
Apply behavioral science principles to product design for habit formation, retention, and reduced friction.

brand-storytelling
Craft compelling brand narratives that make your story memorable and repeatable.

building-a-promotion-case
Build a compelling promotion case by framing it as solving company problems, not personal advancement.

building-sales-team
Build and scale a high-performing sales organization using proven frameworks from 14 product leaders.