/awesome-pm-skills:eval-planfrom awesome-pm-skills
Builds an eval plan for an AI feature - error analysis on real traces, failure-mode ranking, code checks and binary LLM judges validated against human labels, CI tests, production monitoring, and a launch bar. Use when you ask how do we eval this, how do I test an AI feature, our LLM outputs are inconsistent, are the evals good enough, LLM-as-judge, hallucinations, or what accuracy is good enough to launch. Draws on 41 Lenny's Podcast guests incl. Hamel Husain, Shreya Shankar and Sander Schulhoff.
Ships in awesome-pm-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn a vague 'the AI feels off' into a ranked list of failure modes, a small set of trustworthy evaluators, and a CI + monitoring plan you can paste into a doc. Built from 169 insights from 41 Lenny's Podcast guests. Lead team: Hamel Husain, Shreya Shankar, Sander Schulhoff.
If the user attached traces, logs, a PRD, a judge prompt or a CSV of outputs, read them first and infer what you can. Then ask at most 4 of:
| If... (situation) | Use | From | Why |
|---|---|---|---|
| You have traces and no systematic quality process | Error analysis (open code, axial code, count) | Hamel Husain, Shreya Shankar | Grounds every later eval in real failures; the fix list falls out of a pivot table |
| A top failure is subjective and survives a clear prompt instruction | Narrow binary LLM judge + confusion matrix | Shreya Shankar, Hamel Husain | One failure mode, pass/fail, validated against human labels |
| A failure is checkable by code (valid JSON, length, string match) | Code-based evaluator | Hamel Husain | Cheaper and needs no meta-evaluation |
| No traces yet (pre-launch) or a fuzzy feature like memory | Hero use cases to evals, 30-40 failing examples, ten great evals | Kevin Weil, Dianne Penn, Cat Wu | You can write the eval before the product; it is the spec |
| Brand-new form factor, use cases not converged | Vibes first, evals after convergence | Howie Liu, Dan Shipper | Evals need a scaffold and known use cases to test against |
| Multi-step agent or deep-research style flow | Step-level evals + task-category hill climbing | Chip Huyen, Roman Ugarte | End-to-end scores hide which step broke |
| Professional / subjective domain, no unit test | Expert rubric as verifier | Brendan Foody, Garrett Lord | An expert writes what excellent contains; a model scores against it |
| High traffic in production | Online judges + implicit signals | Shreya Shankar, Kiriti Badam | Evals cover known failures; monitoring finds unknown ones |
| Untrusted input, agents with tools, vendor guardrail pitch | Adaptive red teaming + vendor questions | Sander Schulhoff | Static test sets and 99 percent claims are meaningless |
Budget: about 3-4 days of upfront work, then about 30 minutes a week (Shreya Shankar).
Done when: a ranked failure-mode table exists with counts, severity and a fix type for each.
Done when: each judge has a confusion matrix with both off-diagonal cells small, and a named owner.
# Eval Plan: <feature>
**Owner / date / stage:** ... | **Stakes:** low / medium / catastrophic-at-scale | **Evals-vs-vibes call + reason:** ...
## 1. Data
Source of traces: ... | Sample size annotated: ... | Saturation reached? y/n | Annotator with domain context: ...
## 2. Failure modes (ranked)
| # | Failure mode | Count | Severity | Fix type (prompt / code check / judge) | Owner |
|---|---|---|---|---|---|
## 3. Evaluators
| Failure mode | Type | Definition (one failure, pass/fail) | Human-labeled N | False pos | False neg | Status |
|---|---|---|---|---|---|---|
## 4. Launch bar
Metric(s) and threshold: ... | Accuracy band and product shape: ... | Hero cases (N, pass target): ...
## 5. Pipeline
CI: labeled failing traces as tests | Online: judge on ~N sampled traces/day, dashboard | Implicit signals: ... | Add a metric after every incident: y/n
## 6. Agents / security (if applicable)
Step-level evals: ... | Adaptive red-team plan: ... | Logging: all inputs and outputs
## 7. Cadence
Upfront: ~3-4 days | Weekly: ~30 min on new samples | Re-calibrate on: model swap, new user behavior
## Open risks / criteria drift log
...
## Next 3 actions
1. ...
2. ...
3. ...
Score each 1-5 (1 / 3 / 5 shown), total /40, then give the top 3 fixes with the guest behind each.
| Criterion | 1 | 3 | 5 |
|---|---|---|---|
| Grounded in real failures | Tests invented at a desk | Some traces reviewed ad hoc | Open/axial coding on real traces, saturation reached (Hamel Husain, Shreya Shankar) |
| Human context in labeling | LLM writes the notes | Mixed | Domain-context human wrote the notes; LLM only clusters |
| Failure-mode ranking | One blended quality score | Categories, no counts | Counts plus severity, with fix type per failure |
| Evaluator design | Likert scales or generic metrics (cosine, hallucination score) | Some binary checks | Code checks first; narrow binary judges, 4-7 total |
| Judge validation | None, or raw agreement only | Agreement plus spot checks | Confusion matrix, both error types near zero (Shreya Shankar) |
| Launch bar and product shape | No threshold | Threshold with no rationale | Explicit bar tied to accuracy band and stakes (Kevin Weil, Marily Nika) |
| Pipeline | Manual, one-off | CI or monitoring, not both | CI regressions plus sampled online judges plus a metric per incident (Nick Turley) |
| Maintenance and drift | Set and forget | Occasional refresh | Weekly review, criteria revisited, re-calibrated on model swaps |
| Output: scores table, total, top 3 fixes, and one line on whether the evals are trustworthy enough to gate a release. |
"The answer is, just write down the first thing that you see that's wrong, the most upstream error. Don't worry about all the errors, just capture the first thing that you see that's wrong, and stop, and move on." — Hamel Husain, Lenny's Podcast (00:22:38)
"That's just in most cases, that's a weasel way of not making a decision." — Hamel Husain, Lenny's Podcast (00:52:16)
"if you only have the error 10% of the time, then you can easily have 90% agreement by just having a judge say it passes all the time." — Hamel Husain, Lenny's Podcast (00:57:55)
"They don't have this matrix and they haven't iterated to make sure that these two types of errors have gone down to zero, then it's a bad smell. Go and ask them to go fix that." — Shreya Shankar, Lenny's Podcast (00:59:56)
"If the model gets it right 60% of the time, you build a very different product than if the model gets it right 95% of the time versus if the model gets it right 99.5% of the time." — Kevin Weil, Lenny's Podcast (00:18:16)
"you can patch a bug, but you can't patch a brain." — Sander Schulhoff, Lenny's Podcast (00:40:49)
references/frameworks.md - every framework in this skill, how to run itreferences/quotes.md - verified quotes with timestampsai-product-bets - hand off when the question is which AI feature to build, not how to evaluate it.experiment - hand off for A/B tests and trustworthiness checks once evals gate the release.metrics - hand off to turn failure rates and resolution rates into a north star and metric tree.spec - hand off to write the PRD that wraps the eval as the requirement.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub benjaminearlevans/skills --plugin awesome-pm-skills25 skills in this plugin
/agent-workflowSets up how you and your team build and work with AI agents, and produces an Agent Workflow Charter (agent lanes, plan-mode loop, autonomy ladder with promotion criteria, rules file, review policy, security rules, rollout plan). Use when you ask 'how should we work with Claude Code / Codex / Cursor', 'how many agents should I run', 'should the agent be autonomous', 'plan mode', 'CLAUDE.md', 'AI-native team', 'roll out AI to my team', or 'my agent keeps screwing up'. Draws on 110 Lenny's Podcast guests incl. Claire Vo, Boris Cherny and Aishwarya Naresh Reganti./ai-product-betsDecide which AI features to build, delay, shelve or kill, and whether each one gets better as models improve. Produces an AI Bet Memo (feature-by-feature verdicts, retest triggers, scaffolding ledger, moat and safety check) from a roadmap or idea list. Use for 'AI strategy', 'AI roadmap', 'what should we build with AI', 'will the next model make this obsolete', 'build vs wait for the model', 'will OpenAI/Anthropic build this', 'agent or chatbot', 'is this feature worth shipping'. Draws on 118 Lenny's Podcast guests incl. Nick Turley, Kevin Weil and Dianne Penn.