ab-testing

ab-testing

Team Pick
Analytics & Attribution
Corey Haines
Experiment design with the math done up front: a sample size table showing that a 10% lift at a 1% baseline needs 150k visitors per variant.
REPO
coreyhaines31/marketingskills
INSTALL
npx skills add
NEEDS
Baseline rate, traffic
Last updated
August 4, 2026

Preview

ab-testing

What it is.

You give it your baseline conversion rate and your traffic, and it tells you whether the test you want is possible before designing it: a hypothesis with a prediction, one variable, and the test type your volume supports.

The sample size table answers the first question. At a 1% baseline a 10% lift needs about 150k visitors per variant and a 50% lift about 6k; at a 10% baseline those fall to about 12k and 550.

What you get.

  • A sample size table by baseline rate and target lift
  • A hypothesis structure, so a test predicts an outcome instead of watching one
  • Test type guidance across A/B, A/B/n, multivariate and split URL, with traffic needs per type
  • A one-variable-per-test rule, with the reason
  • A read on whether your traffic supports testing at all
HOW TO USE IT

How to set it up.

1

Install with npx skills add coreyhaines31/marketingskills --skill ab-testing -a claude-code.

2

Get your baseline conversion rate and your weekly traffic before anything else, because together they decide whether a valid test is possible at all.

3

Look your numbers up in the sample size table. At a 1% baseline chasing a 10% lift you need roughly 150k per variant, which most pages do not have.

4

Write the hypothesis as a specific prediction with reasoning behind it. Let us see what happens is not a hypothesis.

5

Change one variable. Multivariate needs very high traffic, which the table makes plain.

6

Pick the test type from the traffic column, not from what sounds thorough.

Pricing Plans

Free. MIT license.

Checked against the repo in July 2026.

Use cases

A go or no-go call

Someone proposes a headline test. Hand over the baseline conversion rate and your weekly traffic, and the sample size table says whether the lift you're chasing is reachable on your volume.

Post-mortem on flat results

A year of testing produced no winners. Run the numbers through the table and you'll usually find the tests were underpowered and called early, with the traffic each one needed shown next to what it got.

Choosing the test type

The team wants multivariate because it sounds thorough. The traffic requirement per test type turns the choice into math, and multivariate usually loses it.

When testing is off

The math says your page can't support a valid test. The stated fallback comes back with the verdict: make a larger change and measure it as a before-and-after, without pretending significance.

Best for

Deciding whether to test at all

The sample size table answers this in a minute, and for most B2B pages the honest answer is no.

A testing program with no wins

Usually underpowered tests called early. The table shows how much traffic the lift you wanted would have needed.

Choosing between A/B and multivariate

The traffic column per test type turns that choice into math instead of preference.

Read the source

Published by Corey Haines. Opens in a new tab.
Open the Tool

Questions about ab-testing

How much traffic do I need?
Can I test more than one change?
What if I do not have the traffic?
Does it implement the test?

Questions about Analytics & Attribution

How much traffic does a test need?
What happens when you stop a test early?
Strengths
  • Publishes sample sizes by baseline and lift, so the feasibility question is answered before the test.
  • One variable per test, stated as a rule with the reason attached.
  • Test types carry their traffic requirement, which stops multivariate ambition on thin traffic.
  • Requires a hypothesis with a prediction instead of a change and a hope.
Limitations
  • The sample sizes are a quick reference and not a replacement for a power calculation on your own variance.
  • It designs and it will not implement. Your testing tool does that.
  • Most B2B pages cannot support a valid test, and this skill will tell you so, which is useful and unwelcome.
Skip this if
  • Skip it if you already size a test before you run it.

The team behind these plays.

We build inbound GTM engines for B2B software teams, and these are the plays we build from. Tell us the pipeline target and we'll show the plan under it.