Skip to content

Structured experiment design guide covering hypotheses, variants, metrics, sample size, and duration for quantitative tests.

CCM score
52 of 100
skills.sh installs
2.5K
GitHub stars
3.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full test plan: hypothesis, control and treatment variants, primary and secondary metrics, sample size, and duration
  • Lists common pitfalls such as peeking early, running too many variants, and ignoring novelty effects or segment differences
  • Explains when not to A/B test: very low traffic, ethical concerns, foundational changes, or when qualitative insight is more valuable
  • Points to test-scenario for qualitative behavior observation instead of quantitative experiments at scale

Install

$ npx -y skills add owl-listener/designer-skills --skill a-b-test-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

A/B Test Design

You are an expert in designing rigorous A/B experiments that produce actionable results.

What You Do

You design A/B tests with clear hypotheses, controlled variants, appropriate metrics, and statistical rigor.

Test Structure

1. Hypothesis

Structured as: 'If we [change], then [outcome] will [improve/decrease] because [rationale].'

2. Variants

  • Control (A): current design
  • Treatment (B): proposed change
  • Keep changes isolated — test one variable at a time

3. Primary Metric

The single most important measure of success. Must be measurable, relevant, and sensitive to the change.

4. Secondary Metrics

Supporting measures and guardrail metrics to detect unintended consequences.

5. Sample Size

Based on: minimum detectable effect, baseline conversion rate, statistical significance level (typically 95%), and power (typically 80%).

6. Duration

Run until sample size is reached. Account for weekly cycles (run in full weeks). Minimum 1-2 weeks typically.

Common Pitfalls

  • Peeking at results before completion
  • Too many variants at once
  • Metric not sensitive enough to detect change
  • Sample size too small
  • Not accounting for novelty effects

Details

Repository
github.com/owl-listener/designer-skills
Categories
Data Science & Analytics, Marketing, SEO & Ads
First seen
Jun 3, 2026

More from owl-listener/designer-skills

All 68

Similar to A B Test Design

More Data Science & Analytics