product-experiments

Design, execute, and analyze A/B tests to validate product hypotheses and measure incremental impact.

1.3k|169|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/RefoundAI/lenny-skills --skill product-experiments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: product-experiments
Source: https://github.com/RefoundAI/lenny-skills/tree/main/skills/product-experiments
Command: npx skills add https://github.com/RefoundAI/lenny-skills --skill product-experiments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Product teams often ship changes without knowing whether they truly moved the metrics that matter, or they misinterpret experiment results due to statistical pitfalls like sample ratio mismatches, false positives, and short-term bias. This Skill provides frameworks from Lenny's Podcast and Newsletter guests (Ronny Kohavi, Archie Abrams, Lauryn Isford, and others) to run rigorous experiments and make sound ship, iterate, or kill decisions.

Core Features & Use Cases

  • Hypothesis & Experiment Design: Draft falsifiable hypotheses, choose success and guardrail metrics, and calculate required sample sizes before committing engineering time.
  • Statistical Rigor: Apply checks like Sample Ratio Mismatch (SRM), Twyman's Law for suspicious results, CUPED variance reduction, and false positive risk analysis.
  • Decision Frameworks: Use long-term holdouts, the Three Reasons to Skip an Experiment framework, and the Kill/Iterate/Ship decision model for failed tests.
  • Use Case: A PM wants to test a new onboarding flow. The Skill helps them estimate that detecting a 5% lift on a 10% converting step needs 60,000+ users per variation, suggests lowering the confidence interval to 85%, and defines guardrail metrics to protect long-term retention.

Quick Start

Ask the agent to help design an A/B test for a specific product change, including hypothesis, sample size, guardrail metrics, and validity checks.

Frequently Asked Questions about product-experiments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design an A/B test for a product feature?

Start with a falsifiable hypothesis about user behavior, define a primary success metric plus guardrail metrics, and calculate the required sample size before launching. The Skill provides frameworks like the Overall Evaluation Criterion and risk assessment questions to structure the test.

When should I skip running an experiment?

Skip experiments when results would take too long to reach significance, when the change is a low-risk industry best practice, or when launching something entirely new with no control group. The Skill's Three Reasons to Skip an Experiment framework walks through each scenario.

What is a Sample Ratio Mismatch in A/B testing?

A Sample Ratio Mismatch occurs when the actual control-versus-treatment split deviates from the designed ratio, signaling bugs or data pipeline issues. It is checked with a chi-squared test and is considered the single most important validity check for any A/B test.

How many users do I need for a statistically significant A/B test?

Detecting a 5% relative change on a step converting at 10% requires over 60,000 users per variation. Early-stage products can lower the confidence interval to 85% or use techniques like CUPED to reduce the sample size needed.

What should I do when an experiment fails?

Evaluate three options: iterate once more with specific improvements, kill the project and reallocate resources, or ship anyway and claw back the negative impact. Failed experiments still provide learning value when hypotheses and insights are documented.

Why do surprising A/B test results usually indicate a bug?

Twyman's Law states that any result that looks too good to be true usually is, with flaws found roughly nine out of ten times. Investigate suspicious wins by checking for sample ratio mismatches, data pipeline errors, and replicating the experiment before celebrating.